yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::editor Namespace Reference

Editors are the view controllers for the application. More...

Namespaces

namespace  anonymous_namespace{assembly_editor.cc}
 
namespace  anonymous_namespace{dungeon_editor.cc}
 
namespace  anonymous_namespace{editor_manager.cc}
 
namespace  anonymous_namespace{gfx_group_editor.cc}
 
namespace  anonymous_namespace{palette_editor.cc}
 
namespace  palette_internal
 
namespace  zsprite
 Namespace for the ZSprite format from Zarby's ZSpriteMaker.
 

Classes

class  AssemblyEditor
 Text editor for modifying assembly code. More...
 
class  CommandManager
 
class  ConstantManager
 
struct  DictionaryEntry
 
class  DungeonEditor
 DungeonEditor class for editing dungeons. More...
 
class  Editor
 Interface for editor classes. More...
 
struct  EditorContext
 
struct  EditorLayoutParams
 Dynamic Editor Layout Parameters. More...
 
class  EditorManager
 The EditorManager controls the main editor window and manages the various editor classes. More...
 
class  EntranceContext
 
struct  ExampleAppPropertyEditor
 
struct  ExampleMemberInfo
 
struct  ExampleTreeNode
 
class  ExtensionManager
 
struct  FlagsMenu
 
class  GfxGroupEditor
 Manage graphics group configurations in a Rom. More...
 
class  GraphicsEditor
 Allows the user to edit graphics sheets from the game or view prototype graphics. More...
 
class  HistoryManager
 
struct  MemoryEditorWithDiffChecker
 
struct  MessageData
 
class  MessageEditor
 
class  MusicEditor
 A class for editing music data in a Rom. More...
 
class  OverworldEditor
 Manipulates the Overworld and OverworldMap data in a Rom. More...
 
class  PaletteEditor
 Allows the user to view and edit in game palettes. More...
 
struct  ParsedElement
 
class  PopupManager
 
class  ResourceManager
 
class  ScreenEditor
 The ScreenEditor class allows the user to edit a variety of screens in the game or create a custom menu. More...
 
class  SettingsEditor
 
class  SpriteEditor
 Allows the user to edit sprites. More...
 
struct  SpriteItem
 
struct  TextElement
 
class  Tile16Editor
 Popup window to edit Tile16 data. More...
 

Typedefs

typedef struct yaze::app::editor::EditorLayoutParams EditorLayoutParams
 Dynamic Editor Layout Parameters.
 

Enumerations

enum class  EditorType {
  kAssembly , kDungeon , kGraphics , kMusic ,
  kOverworld , kPalette , kScreen , kSprite ,
  kMessage , kSettings
}
 
enum  MyItemColumnID {
  MyItemColumnID_ID , MyItemColumnID_Name , MyItemColumnID_Action , MyItemColumnID_Quantity ,
  MyItemColumnID_Description
}
 

Functions

absl::Status DrawEditor (EditorLayoutParams *params)
 
absl::Status DisplayPalette (gfx::SnesPalette &palette, bool loaded)
 
uint8_t FindMatchingCharacter (char value)
 
uint8_t FindDictionaryEntry (uint8_t value)
 
TextElement FindMatchingCommand (uint8_t b)
 
TextElement FindMatchingSpecial (uint8_t value)
 
ParsedElement FindMatchingElement (const std::string &str)
 
std::string ParseTextDataByte (uint8_t value)
 
std::vector< uint8_t > ParseMessageToData (std::string str)
 
std::vector< DictionaryEntryBuildDictionaryEntries (app::Rom *rom)
 
std::string ReplaceAllDictionaryWords (std::string str, std::vector< DictionaryEntry > dictionary)
 
bool IsMouseHoveringOverEntity (const zelda3::GameEntity &entity, ImVec2 canvas_p0, ImVec2 scrolling)
 
void MoveEntityOnGrid (zelda3::GameEntity *entity, ImVec2 canvas_p0, ImVec2 scrolling, bool free_movement)
 
void HandleEntityDragging (zelda3::GameEntity *entity, ImVec2 canvas_p0, ImVec2 scrolling, bool &is_dragging_entity, zelda3::GameEntity *&dragged_entity, zelda3::GameEntity *&current_entity, bool free_movement)
 
bool DrawEntranceInserterPopup ()
 
bool DrawOverworldEntrancePopup (zelda3::overworld::OverworldEntrance &entrance)
 
void DrawExitInserterPopup ()
 
bool DrawExitEditorPopup (zelda3::overworld::OverworldExit &exit)
 
void DrawItemInsertPopup ()
 
bool DrawItemEditorPopup (zelda3::overworld::OverworldItem &item)
 
void DrawSpriteTable (std::function< void(int)> onSpriteSelect)
 
void DrawSpriteInserterPopup ()
 
bool DrawSpriteEditorPopup (zelda3::Sprite &sprite)
 
constexpr ImVec2 kOverworldCanvasSize (kOverworldMapSize *8, kOverworldMapSize *8)
 
constexpr ImVec2 kCurrentGfxCanvasSize (0x100+1, 0x10 *0x40+1)
 
constexpr ImVec2 kBlocksetCanvasSize (0x100+1, 0x4000+1)
 
constexpr ImVec2 kGraphicsBinCanvasSize (0x100+1, kNumSheetsToLoad *0x40+1)
 
ImGuiKey MapKeyToImGuiKey (char key)
 

Variables

constexpr ImGuiTableFlags kDungeonObjectTableFlags
 
constexpr ImGuiTabItemFlags kDungeonTabFlags
 
constexpr ImGuiTabBarFlags kDungeonTabBarFlags
 
constexpr ImGuiTableFlags kDungeonTableFlags
 
constexpr std::array< const char *, 10 > kEditorNames
 
constexpr ImGuiTableFlags kGfxEditTableFlags
 
const std::string kSuperDonkeyTiles []
 
const std::string kSuperDonkeySprites []
 
constexpr ImGuiTableFlags kPaletteTableFlags
 
constexpr ImGuiColorEditFlags kPalNoAlpha = ImGuiColorEditFlags_NoAlpha
 
constexpr ImGuiColorEditFlags kPalButtonFlags2
 
constexpr ImGuiColorEditFlags kColorPopupFlags
 
constexpr uint32_t kRedPen = 0xFF0000FF
 
const uint8_t kMessageTerminator = 0x7F
 
const std::string BANKToken = "BANK"
 
const std::string DICTIONARYTOKEN = "D"
 
constexpr uint8_t DICTOFF = 0x88
 
constexpr int kTextData = 0xE0000
 
constexpr int kTextDataEnd = 0xE7FFF
 
constexpr int kNumDictionaryEntries = 97
 
constexpr int kPointersDictionaries = 0x74703
 
const std::string CHEESE = "\uBEBE"
 
constexpr ImGuiTableFlags kMessageTableFlags
 
constexpr ImGuiTableFlags kDictTableFlags
 
constexpr int kGfxFont = 0x70000
 
constexpr int kTextData2 = 0x75F40
 
constexpr int kTextData2End = 0x773FF
 
constexpr int kCharactersWidth = 0x74ADF
 
constexpr int kNumMessages = 396
 
constexpr int kCurrentMessageWidth = 172
 
constexpr int kCurrentMessageHeight = 4096
 
constexpr int kFontGfxMessageSize = 128
 
constexpr int kFontGfxMessageDepth = 8
 
constexpr uint8_t kWidthArraySize = 100
 
constexpr uint8_t kBlockTerminator = 0x80
 
constexpr uint8_t kMessageBankChangeId = 0x80
 
constexpr uint8_t kScrollVertical = 0x73
 
constexpr uint8_t kLine1 = 0x74
 
constexpr uint8_t kLine2 = 0x75
 
constexpr uint8_t kLine3 = 0x76
 
constexpr float kInputFieldSize = 30.f
 
constexpr int kTile16Size = 0x10
 
constexpr std::array< const char *, 8 > kMapSettingsColumnNames
 
constexpr uint k4BPP = 4
 
constexpr uint kByteSize = 3
 
constexpr uint kMessageIdSize = 5
 
constexpr uint kNumSheetsToLoad = 223
 
constexpr uint kTile8DisplayHeight = 64
 
constexpr uint kOverworldMapSize = 0x200
 
constexpr ImGuiTableFlags kOWMapFlags
 
constexpr ImGuiTableFlags kToolsetTableFlags = ImGuiTableFlags_SizingFixedFit
 
constexpr ImGuiTableFlags kOWEditFlags
 
constexpr absl::string_view kWorldList
 
constexpr absl::string_view kGamePartComboString = "Part 0\0Part 1\0Part 2\0"
 
constexpr absl::string_view kTileSelectorTab = "##TileSelectorTabBar"
 
constexpr absl::string_view kOWEditTable = "##OWEditTable"
 
constexpr absl::string_view kOWMapTable = "#MapSettingsTable"
 
constexpr int kEntranceTileTypePtrLow = 0xDB8BF
 
constexpr int kEntranceTileTypePtrHigh = 0xDB917
 
constexpr int kNumEntranceTileTypes = 0x2C
 
constexpr ImGuiTabItemFlags kSpriteTabFlags
 
constexpr ImGuiTabBarFlags kSpriteTabBarFlags
 
constexpr ImGuiTableFlags kSpriteTableFlags
 

Detailed Description

Editors are the view controllers for the application.

Typedef Documentation

◆ EditorLayoutParams

typedef struct yaze::app::editor::EditorLayoutParams yaze::app::editor::EditorLayoutParams

Dynamic Editor Layout Parameters.

Enumeration Type Documentation

◆ EditorType

enum class yaze::app::editor::EditorType
strong
Enumerator
kAssembly 
kDungeon 
kGraphics 
kMusic 
kOverworld 
kPalette 
kScreen 
kSprite 
kMessage 
kSettings 

Definition at line 30 of file editor.h.

◆ MyItemColumnID

Enumerator
MyItemColumnID_ID 
MyItemColumnID_Name 
MyItemColumnID_Action 
MyItemColumnID_Quantity 
MyItemColumnID_Description 

Definition at line 35 of file entity.h.

Function Documentation

◆ DrawEditor()

◆ DisplayPalette()

absl::Status yaze::app::editor::DisplayPalette ( gfx::SnesPalette & palette,
bool loaded )

◆ FindMatchingCharacter()

uint8_t yaze::app::editor::FindMatchingCharacter ( char value)

◆ FindDictionaryEntry()

uint8_t yaze::app::editor::FindDictionaryEntry ( uint8_t value)

◆ FindMatchingCommand()

◆ FindMatchingSpecial()

TextElement yaze::app::editor::FindMatchingSpecial ( uint8_t value)

◆ FindMatchingElement()

ParsedElement yaze::app::editor::FindMatchingElement ( const std::string & str)

Definition at line 47 of file message_data.cc.

References DICTIONARYTOKEN, and DICTOFF.

Referenced by ParseMessageToData().

◆ ParseTextDataByte()

◆ ParseMessageToData()

◆ BuildDictionaryEntries()

std::vector< DictionaryEntry > yaze::app::editor::BuildDictionaryEntries ( app::Rom * rom)

◆ ReplaceAllDictionaryWords()

std::string yaze::app::editor::ReplaceAllDictionaryWords ( std::string str,
std::vector< DictionaryEntry > dictionary )

◆ IsMouseHoveringOverEntity()

◆ MoveEntityOnGrid()

void yaze::app::editor::MoveEntityOnGrid ( zelda3::GameEntity * entity,
ImVec2 canvas_p0,
ImVec2 scrolling,
bool free_movement )

Definition at line 36 of file entity.cc.

References yaze::app::zelda3::GameEntity::set_x(), and yaze::app::zelda3::GameEntity::set_y().

Referenced by HandleEntityDragging().

Here is the call graph for this function:

◆ HandleEntityDragging()

◆ DrawEntranceInserterPopup()

bool yaze::app::editor::DrawEntranceInserterPopup ( )

Definition at line 105 of file entity.cc.

References ICON_MD_CANCEL, ICON_MD_DONE, and yaze::app::gui::InputHex().

Referenced by yaze::app::editor::OverworldEditor::DrawOverworldEntrances().

Here is the call graph for this function:

◆ DrawOverworldEntrancePopup()

◆ DrawExitInserterPopup()

void yaze::app::editor::DrawExitInserterPopup ( )
Todo
Implement deleting OverworldExit objects

Definition at line 163 of file entity.cc.

References ICON_MD_CANCEL, ICON_MD_DONE, and yaze::app::gui::InputHex().

Referenced by yaze::app::editor::OverworldEditor::DrawOverworldExits().

Here is the call graph for this function:

◆ DrawExitEditorPopup()

◆ DrawItemInsertPopup()

void yaze::app::editor::DrawItemInsertPopup ( )

◆ DrawItemEditorPopup()

bool yaze::app::editor::DrawItemEditorPopup ( zelda3::overworld::OverworldItem & item)

◆ DrawSpriteTable()

void yaze::app::editor::DrawSpriteTable ( std::function< void(int)> onSpriteSelect)

Definition at line 382 of file entity.cc.

References MyItemColumnID_ID, MyItemColumnID_Name, and yaze::app::editor::SpriteItem::SortWithSortSpecs().

Referenced by DrawSpriteEditorPopup(), and DrawSpriteInserterPopup().

Here is the call graph for this function:

◆ DrawSpriteInserterPopup()

void yaze::app::editor::DrawSpriteInserterPopup ( )
Todo
Implement deleting OverworldSprite objects

Definition at line 431 of file entity.cc.

References DrawSpriteTable(), ICON_MD_CANCEL, and ICON_MD_DONE.

Referenced by yaze::app::editor::OverworldEditor::DrawOverworldSprites().

Here is the call graph for this function:

◆ DrawSpriteEditorPopup()

◆ kOverworldCanvasSize()

ImVec2 yaze::app::editor::kOverworldCanvasSize ( kOverworldMapSize * 8,
kOverworldMapSize * 8 )
constexpr

◆ kCurrentGfxCanvasSize()

ImVec2 yaze::app::editor::kCurrentGfxCanvasSize ( 0x100+ 1,
0x10 *0x40+ 1 )
constexpr

◆ kBlocksetCanvasSize()

ImVec2 yaze::app::editor::kBlocksetCanvasSize ( 0x100+ 1,
0x4000+ 1 )
constexpr

◆ kGraphicsBinCanvasSize()

ImVec2 yaze::app::editor::kGraphicsBinCanvasSize ( 0x100+ 1,
kNumSheetsToLoad *0x40+ 1 )
constexpr

◆ MapKeyToImGuiKey()

ImGuiKey yaze::app::editor::MapKeyToImGuiKey ( char key)

Definition at line 11 of file command_manager.cc.

Variable Documentation

◆ kDungeonObjectTableFlags

ImGuiTableFlags yaze::app::editor::kDungeonObjectTableFlags
constexpr
Initial value:
=
ImGuiTableFlags_Resizable | ImGuiTableFlags_Reorderable |
ImGuiTableFlags_Hideable | ImGuiTableFlags_BordersOuter |
ImGuiTableFlags_BordersV

Definition at line 37 of file dungeon_editor.cc.

Referenced by yaze::app::editor::DungeonEditor::DrawObjectRenderer().

◆ kDungeonTabFlags

ImGuiTabItemFlags yaze::app::editor::kDungeonTabFlags
constexpr
Initial value:
=
ImGuiTabItemFlags_Trailing | ImGuiTabItemFlags_NoTooltip

Definition at line 20 of file dungeon_editor.h.

Referenced by yaze::app::editor::DungeonEditor::DrawDungeonTabView().

◆ kDungeonTabBarFlags

ImGuiTabBarFlags yaze::app::editor::kDungeonTabBarFlags
constexpr
Initial value:
=
ImGuiTabBarFlags_AutoSelectNewTabs | ImGuiTabBarFlags_Reorderable |
ImGuiTabBarFlags_FittingPolicyResizeDown |
ImGuiTabBarFlags_TabListPopupButton

Definition at line 23 of file dungeon_editor.h.

Referenced by yaze::app::editor::DungeonEditor::DrawDungeonTabView().

◆ kDungeonTableFlags

ImGuiTableFlags yaze::app::editor::kDungeonTableFlags
constexpr
Initial value:
=
ImGuiTableFlags_Resizable | ImGuiTableFlags_Reorderable |
ImGuiTableFlags_Hideable | ImGuiTableFlags_BordersOuter |
ImGuiTableFlags_BordersV

Definition at line 28 of file dungeon_editor.h.

Referenced by yaze::app::editor::DungeonEditor::DrawUsageStats(), and yaze::app::editor::DungeonEditor::UpdateDungeonRoomView().

◆ kEditorNames

std::array<const char *, 10> yaze::app::editor::kEditorNames
constexpr
Initial value:
= {
"Assembly", "Dungeon", "Graphics", "Music", "Overworld",
"Palette", "Screen", "Sprite", "Message", "Settings",
}

Definition at line 43 of file editor.h.

Referenced by DrawEditor().

◆ kGfxEditTableFlags

ImGuiTableFlags yaze::app::editor::kGfxEditTableFlags
constexpr
Initial value:
=
ImGuiTableFlags_Borders | ImGuiTableFlags_Resizable |
ImGuiTableFlags_Reorderable | ImGuiTableFlags_Hideable |
ImGuiTableFlags_SizingFixedFit

Definition at line 38 of file graphics_editor.cc.

Referenced by yaze::app::editor::GraphicsEditor::UpdateGfxEdit(), and yaze::app::editor::GraphicsEditor::UpdateLinkGfxView().

◆ kSuperDonkeyTiles

const std::string yaze::app::editor::kSuperDonkeyTiles[]
Initial value:
= {
"97C05", "98219", "9871E", "98C00", "99084", "995AF", "99DE0", "9A27E",
"9A741", "9AC31", "9B07E", "9B55C", "9B963", "9BB99", "9C009", "9C4B4",
"9C92B", "9CDD6", "9D2C2", "9E037", "9E527", "9EA56", "9EF65", "9FCD1",
"A0193", "A059E", "A0B17", "A0FB6", "A14A5", "A1988", "A1E66", "A232B",
"A27F0", "A2B6E", "A302C", "A3453", "A38CA", "A42BB", "A470C", "A4BA9",
"A5089", "A5385", "A5742", "A5BCC", "A6017", "A6361", "A66F8"}

Definition at line 24 of file graphics_editor.h.

Referenced by yaze::app::editor::GraphicsEditor::DecompressSuperDonkey().

◆ kSuperDonkeySprites

const std::string yaze::app::editor::kSuperDonkeySprites[]
Initial value:
= {
"A8E5D", "A9435", "A9934", "A9D83", "AA2F1", "AA6D4", "AABE4", "AB127",
"AB65A", "ABBDD", "AC38D", "AC797", "ACCC8", "AD0AE", "AD245", "AD554",
"ADAAC", "ADECC", "AE453", "AE9D2", "AEF40", "AF3C9", "AF92E", "AFE9D",
"B03D2", "B09AC", "B0F0C", "B1430", "B1859", "B1E01", "B229A", "B2854",
"B2D27", "B31D7", "B3B58", "B40B5", "B45A5", "B4D64", "B5031", "B555F",
"B5F30", "B6858", "B70DD", "B7526", "B79EC", "B7C83", "B80F7", "B85CC",
"B8A3F", "B8F97", "B94F2", "B9A20", "B9E9A", "BA3A2", "BA8F6", "BACDC",
"BB1F9", "BB781", "BBCCA", "BC26D", "BC7D4", "BCBB0", "BD082", "BD5FC",
"BE115", "BE5C2", "BEB63", "BF0CB", "BF607", "BFA55", "BFD71", "C017D",
"C0567", "C0981", "C0BA7", "C116D", "C166A", "C1FE0", "C24CE", "C2B19"}

Definition at line 32 of file graphics_editor.h.

Referenced by yaze::app::editor::GraphicsEditor::DecompressSuperDonkey().

◆ kPaletteTableFlags

ImGuiTableFlags yaze::app::editor::kPaletteTableFlags
constexpr
Initial value:
=
ImGuiTableFlags_Reorderable | ImGuiTableFlags_Resizable |
ImGuiTableFlags_SizingStretchSame | ImGuiTableFlags_Hideable

Definition at line 49 of file palette_editor.cc.

Referenced by yaze::app::editor::PaletteEditor::Update().

◆ kPalNoAlpha

ImGuiColorEditFlags yaze::app::editor::kPalNoAlpha = ImGuiColorEditFlags_NoAlpha
constexpr

◆ kPalButtonFlags2

ImGuiColorEditFlags yaze::app::editor::kPalButtonFlags2
constexpr
Initial value:
= ImGuiColorEditFlags_NoAlpha |
ImGuiColorEditFlags_NoPicker |
ImGuiColorEditFlags_NoTooltip

Definition at line 55 of file palette_editor.cc.

Referenced by DisplayPalette().

◆ kColorPopupFlags

ImGuiColorEditFlags yaze::app::editor::kColorPopupFlags
constexpr
Initial value:
=
ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoAlpha

Definition at line 59 of file palette_editor.cc.

Referenced by yaze::app::editor::PaletteEditor::HandleColorPopup().

◆ kRedPen

uint32_t yaze::app::editor::kRedPen = 0xFF0000FF
constexpr

◆ kMessageTerminator

const uint8_t yaze::app::editor::kMessageTerminator = 0x7F

◆ BANKToken

const std::string yaze::app::editor::BANKToken = "BANK"

◆ DICTIONARYTOKEN

◆ DICTOFF

uint8_t yaze::app::editor::DICTOFF = 0x88
constexpr

◆ kTextData

◆ kTextDataEnd

int yaze::app::editor::kTextDataEnd = 0xE7FFF
constexpr

◆ kNumDictionaryEntries

int yaze::app::editor::kNumDictionaryEntries = 97
constexpr

Definition at line 78 of file message_data.h.

Referenced by BuildDictionaryEntries().

◆ kPointersDictionaries

int yaze::app::editor::kPointersDictionaries = 0x74703
constexpr

◆ CHEESE

const std::string yaze::app::editor::CHEESE = "\uBEBE"

◆ kMessageTableFlags

ImGuiTableFlags yaze::app::editor::kMessageTableFlags
constexpr
Initial value:
= ImGuiTableFlags_Hideable |
ImGuiTableFlags_Borders |
ImGuiTableFlags_Resizable

Definition at line 40 of file message_editor.cc.

Referenced by yaze::app::editor::MessageEditor::DrawMessageList().

◆ kDictTableFlags

ImGuiTableFlags yaze::app::editor::kDictTableFlags
constexpr
Initial value:
=
ImGuiTableFlags_Borders | ImGuiTableFlags_Resizable

Definition at line 44 of file message_editor.cc.

Referenced by yaze::app::editor::MessageEditor::DrawDictionary(), and yaze::app::editor::MessageEditor::Update().

◆ kGfxFont

int yaze::app::editor::kGfxFont = 0x70000
constexpr

Definition at line 18 of file message_editor.h.

Referenced by yaze::app::editor::MessageEditor::Initialize().

◆ kTextData2

◆ kTextData2End

int yaze::app::editor::kTextData2End = 0x773FF
constexpr

◆ kCharactersWidth

int yaze::app::editor::kCharactersWidth = 0x74ADF
constexpr

◆ kNumMessages

int yaze::app::editor::kNumMessages = 396
constexpr

Definition at line 22 of file message_editor.h.

◆ kCurrentMessageWidth

int yaze::app::editor::kCurrentMessageWidth = 172
constexpr

Definition at line 23 of file message_editor.h.

Referenced by yaze::app::editor::MessageEditor::Initialize().

◆ kCurrentMessageHeight

int yaze::app::editor::kCurrentMessageHeight = 4096
constexpr

Definition at line 24 of file message_editor.h.

Referenced by yaze::app::editor::MessageEditor::Initialize().

◆ kFontGfxMessageSize

int yaze::app::editor::kFontGfxMessageSize = 128
constexpr

Definition at line 25 of file message_editor.h.

Referenced by yaze::app::editor::MessageEditor::Initialize().

◆ kFontGfxMessageDepth

int yaze::app::editor::kFontGfxMessageDepth = 8
constexpr

Definition at line 26 of file message_editor.h.

Referenced by yaze::app::editor::MessageEditor::Initialize().

◆ kWidthArraySize

uint8_t yaze::app::editor::kWidthArraySize = 100
constexpr

Definition at line 28 of file message_editor.h.

Referenced by yaze::app::editor::MessageEditor::Initialize().

◆ kBlockTerminator

uint8_t yaze::app::editor::kBlockTerminator = 0x80
constexpr

Definition at line 29 of file message_editor.h.

Referenced by yaze::app::editor::MessageEditor::Save().

◆ kMessageBankChangeId

uint8_t yaze::app::editor::kMessageBankChangeId = 0x80
constexpr

Definition at line 30 of file message_editor.h.

◆ kScrollVertical

uint8_t yaze::app::editor::kScrollVertical = 0x73
constexpr

◆ kLine1

uint8_t yaze::app::editor::kLine1 = 0x74
constexpr

◆ kLine2

uint8_t yaze::app::editor::kLine2 = 0x75
constexpr

◆ kLine3

uint8_t yaze::app::editor::kLine3 = 0x76
constexpr

◆ kInputFieldSize

float yaze::app::editor::kInputFieldSize = 30.f
constexpr

◆ kTile16Size

◆ kMapSettingsColumnNames

std::array<const char *, 8> yaze::app::editor::kMapSettingsColumnNames
constexpr
Initial value:
= {
"##WorldId", "##GfxId", "##PalId", "##SprGfxId",
"##5thCol", "##6thCol", "##7thCol", "##8thCol"}

Definition at line 258 of file overworld_editor.cc.

Referenced by yaze::app::editor::OverworldEditor::DrawCustomOverworldMapSettings(), and yaze::app::editor::OverworldEditor::DrawOverworldMapSettings().

◆ k4BPP

uint yaze::app::editor::k4BPP = 4
constexpr

Definition at line 30 of file overworld_editor.h.

◆ kByteSize

uint yaze::app::editor::kByteSize = 3
constexpr

Definition at line 31 of file overworld_editor.h.

◆ kMessageIdSize

uint yaze::app::editor::kMessageIdSize = 5
constexpr

Definition at line 32 of file overworld_editor.h.

◆ kNumSheetsToLoad

uint yaze::app::editor::kNumSheetsToLoad = 223
constexpr

Definition at line 33 of file overworld_editor.h.

◆ kTile8DisplayHeight

uint yaze::app::editor::kTile8DisplayHeight = 64
constexpr

Definition at line 34 of file overworld_editor.h.

◆ kOverworldMapSize

◆ kOWMapFlags

ImGuiTableFlags yaze::app::editor::kOWMapFlags
constexpr
Initial value:
=
ImGuiTableFlags_Borders | ImGuiTableFlags_Resizable

Definition at line 43 of file overworld_editor.h.

Referenced by yaze::app::editor::OverworldEditor::DrawCustomOverworldMapSettings(), and yaze::app::editor::OverworldEditor::DrawOverworldMapSettings().

◆ kToolsetTableFlags

ImGuiTableFlags yaze::app::editor::kToolsetTableFlags = ImGuiTableFlags_SizingFixedFit
constexpr

Definition at line 45 of file overworld_editor.h.

Referenced by yaze::app::editor::OverworldEditor::DrawToolset().

◆ kOWEditFlags

ImGuiTableFlags yaze::app::editor::kOWEditFlags
constexpr
Initial value:
=
ImGuiTableFlags_Resizable | ImGuiTableFlags_Reorderable |
ImGuiTableFlags_Hideable | ImGuiTableFlags_BordersOuter |
ImGuiTableFlags_BordersV

Definition at line 46 of file overworld_editor.h.

Referenced by yaze::app::editor::OverworldEditor::UpdateUsageStats().

◆ kWorldList

absl::string_view yaze::app::editor::kWorldList
constexpr
Initial value:
=
"Light World\0Dark World\0Extra World\0"

Definition at line 59 of file overworld_editor.h.

Referenced by yaze::app::editor::OverworldEditor::DrawCustomOverworldMapSettings(), and yaze::app::editor::OverworldEditor::DrawOverworldMapSettings().

◆ kGamePartComboString

absl::string_view yaze::app::editor::kGamePartComboString = "Part 0\0Part 1\0Part 2\0"
constexpr

◆ kTileSelectorTab

absl::string_view yaze::app::editor::kTileSelectorTab = "##TileSelectorTabBar"
constexpr

◆ kOWEditTable

absl::string_view yaze::app::editor::kOWEditTable = "##OWEditTable"
constexpr

Definition at line 65 of file overworld_editor.h.

◆ kOWMapTable

absl::string_view yaze::app::editor::kOWMapTable = "#MapSettingsTable"
constexpr

◆ kEntranceTileTypePtrLow

int yaze::app::editor::kEntranceTileTypePtrLow = 0xDB8BF
constexpr

◆ kEntranceTileTypePtrHigh

int yaze::app::editor::kEntranceTileTypePtrHigh = 0xDB917
constexpr

◆ kNumEntranceTileTypes

int yaze::app::editor::kNumEntranceTileTypes = 0x2C
constexpr

◆ kSpriteTabFlags

ImGuiTabItemFlags yaze::app::editor::kSpriteTabFlags
constexpr
Initial value:
=
ImGuiTabItemFlags_Trailing | ImGuiTabItemFlags_NoTooltip

Definition at line 14 of file sprite_editor.h.

◆ kSpriteTabBarFlags

ImGuiTabBarFlags yaze::app::editor::kSpriteTabBarFlags
constexpr
Initial value:
=
ImGuiTabBarFlags_AutoSelectNewTabs | ImGuiTabBarFlags_Reorderable |
ImGuiTabBarFlags_FittingPolicyResizeDown |
ImGuiTabBarFlags_TabListPopupButton

Definition at line 17 of file sprite_editor.h.

Referenced by yaze::app::editor::SpriteEditor::DrawVanillaSpriteEditor().

◆ kSpriteTableFlags

ImGuiTableFlags yaze::app::editor::kSpriteTableFlags
constexpr
Initial value:
=
ImGuiTableFlags_Resizable | ImGuiTableFlags_Reorderable |
ImGuiTableFlags_Hideable | ImGuiTableFlags_BordersOuter |
ImGuiTableFlags_BordersV

Definition at line 22 of file sprite_editor.h.