yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
overworld_editor.h File Reference
#include <cmath>
#include <unordered_map>
#include "absl/container/flat_hash_map.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/str_format.h"
#include "app/editor/editor.h"
#include "app/editor/graphics/gfx_group_editor.h"
#include "app/editor/graphics/palette_editor.h"
#include "app/editor/graphics/tile16_editor.h"
#include "app/editor/overworld/entity.h"
#include "app/gfx/bitmap.h"
#include "app/gfx/snes_palette.h"
#include "app/gfx/snes_tile.h"
#include "app/gui/canvas.h"
#include "app/gui/icons.h"
#include "app/gui/zeml.h"
#include "app/rom.h"
#include "app/zelda3/overworld/overworld.h"
#include "imgui/imgui.h"
Include dependency graph for overworld_editor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  yaze::app::editor::EntranceContext
 
class  yaze::app::editor::OverworldEditor
 Manipulates the Overworld and OverworldMap data in a Rom. More...
 

Namespaces

namespace  yaze
 
namespace  yaze::app
 Main namespace for the ImGui application.
 
namespace  yaze::app::editor
 Editors are the view controllers for the application.
 

Functions

constexpr ImVec2 yaze::app::editor::kOverworldCanvasSize (kOverworldMapSize *8, kOverworldMapSize *8)
 
constexpr ImVec2 yaze::app::editor::kCurrentGfxCanvasSize (0x100+1, 0x10 *0x40+1)
 
constexpr ImVec2 yaze::app::editor::kBlocksetCanvasSize (0x100+1, 0x4000+1)
 
constexpr ImVec2 yaze::app::editor::kGraphicsBinCanvasSize (0x100+1, kNumSheetsToLoad *0x40+1)
 

Variables

constexpr uint yaze::app::editor::k4BPP = 4
 
constexpr uint yaze::app::editor::kByteSize = 3
 
constexpr uint yaze::app::editor::kMessageIdSize = 5
 
constexpr uint yaze::app::editor::kNumSheetsToLoad = 223
 
constexpr uint yaze::app::editor::kTile8DisplayHeight = 64
 
constexpr uint yaze::app::editor::kOverworldMapSize = 0x200
 
constexpr ImGuiTableFlags yaze::app::editor::kOWMapFlags
 
constexpr ImGuiTableFlags yaze::app::editor::kToolsetTableFlags = ImGuiTableFlags_SizingFixedFit
 
constexpr ImGuiTableFlags yaze::app::editor::kOWEditFlags
 
constexpr absl::string_view yaze::app::editor::kWorldList
 
constexpr absl::string_view yaze::app::editor::kGamePartComboString = "Part 0\0Part 1\0Part 2\0"
 
constexpr absl::string_view yaze::app::editor::kTileSelectorTab = "##TileSelectorTabBar"
 
constexpr absl::string_view yaze::app::editor::kOWEditTable = "##OWEditTable"
 
constexpr absl::string_view yaze::app::editor::kOWMapTable = "#MapSettingsTable"
 
constexpr int yaze::app::editor::kEntranceTileTypePtrLow = 0xDB8BF
 
constexpr int yaze::app::editor::kEntranceTileTypePtrHigh = 0xDB917
 
constexpr int yaze::app::editor::kNumEntranceTileTypes = 0x2C