yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::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
 
struct  DictionaryEntry
 
class  DungeonEditor
 DungeonEditor class for editing dungeons. More...
 
class  Editor
 Interface for editor classes. More...
 
struct  EditorContext
 
class  EditorManager
 The EditorManager controls the main editor window and manages the various editor classes. More...
 
struct  ExampleAppPropertyEditor
 
struct  ExampleMemberInfo
 
struct  ExampleTreeNode
 
class  ExtensionManager
 
class  FileDialogWrapper
 
struct  FolderItem
 
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  Renderer
 The Renderer class represents the renderer for the Yaze application. More...
 
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...
 

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
}
 
enum  PaletteCategory
 

Functions

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 (Rom *rom)
 
absl::StatusOr< MessageDataParseSingleMessage (const std::vector< uint8_t > &rom_data, int *current_pos)
 
std::vector< std::string > ParseMessageData (std::vector< MessageData > &message_data, const std::vector< DictionaryEntry > &dictionary_entries)
 
std::vector< std::string > ImportMessageData (std::string_view filename)
 
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::OverworldEntrance &entrance)
 
void DrawExitInserterPopup ()
 
bool DrawExitEditorPopup (zelda3::OverworldExit &exit)
 
void DrawItemInsertPopup ()
 
bool DrawItemEditorPopup (zelda3::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 kBankToken = "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
 
constexpr uint8_t kScrollVertical = 0x73
 
constexpr uint8_t kLine1 = 0x74
 
constexpr uint8_t kLine2 = 0x75
 
constexpr uint8_t kLine3 = 0x76
 
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
 
const ImGuiTableFlags toolset_table_flags_ = ImGuiTableFlags_SizingFixedFit
 
const ImGuiTableFlags music_editor_flags_
 
constexpr float kInputFieldSize = 30.f
 
constexpr int kTile16Size = 0x10
 
constexpr std::array< const char *, 8 > kMapSettingsColumnNames
 
constexpr unsigned int k4BPP = 4
 
constexpr unsigned int kByteSize = 3
 
constexpr unsigned int kMessageIdSize = 5
 
constexpr unsigned int kNumSheetsToLoad = 223
 
constexpr unsigned int kTile8DisplayHeight = 64
 
constexpr unsigned int 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 ImGuiTabItemFlags kSpriteTabFlags
 
constexpr ImGuiTabBarFlags kSpriteTabBarFlags
 
constexpr ImGuiTableFlags kSpriteTableFlags
 
constexpr const char * kPaletteGroupAddressesKeys []
 

Detailed Description

Editors are the view controllers for the application.

Enumeration Type Documentation

◆ EditorType

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

Definition at line 25 of file editor.h.

◆ MyItemColumnID

Enumerator
MyItemColumnID_ID 
MyItemColumnID_Name 
MyItemColumnID_Action 
MyItemColumnID_Quantity 
MyItemColumnID_Description 

Definition at line 37 of file entity.h.

◆ PaletteCategory

Definition at line 22 of file snes_palette.h.

Function Documentation

◆ DisplayPalette()

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

◆ FindMatchingCharacter()

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

◆ FindDictionaryEntry()

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

◆ FindMatchingCommand()

◆ FindMatchingSpecial()

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

◆ FindMatchingElement()

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

Definition at line 49 of file message_data.cc.

References DICTIONARYTOKEN, and DICTOFF.

Referenced by ParseMessageToData().

◆ ParseTextDataByte()

◆ ParseMessageToData()

◆ BuildDictionaryEntries()

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

Definition at line 150 of file message_data.cc.

References yaze::Rom::data(), kNumDictionaryEntries, kPointersDictionaries, kTextData, ParseTextDataByte(), and yaze::SnesToPc().

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

Here is the call graph for this function:

◆ ParseSingleMessage()

◆ ParseMessageData()

std::vector< std::string > yaze::editor::ParseMessageData ( std::vector< MessageData > & message_data,
const std::vector< DictionaryEntry > & dictionary_entries )

Definition at line 262 of file message_data.cc.

References DICTOFF, FindMatchingCommand(), yaze::util::HexLong(), kLine2, kLine3, and kScrollVertical.

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

Here is the call graph for this function:

◆ ImportMessageData()

std::vector< std::string > yaze::editor::ImportMessageData ( std::string_view filename)

Definition at line 302 of file message_data.cc.

◆ ReplaceAllDictionaryWords()

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

◆ IsMouseHoveringOverEntity()

◆ MoveEntityOnGrid()

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

Definition at line 36 of file entity.cc.

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

Referenced by HandleEntityDragging().

Here is the call graph for this function:

◆ HandleEntityDragging()

◆ DrawEntranceInserterPopup()

bool yaze::editor::DrawEntranceInserterPopup ( )

Definition at line 105 of file entity.cc.

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

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

Here is the call graph for this function:

◆ DrawOverworldEntrancePopup()

◆ DrawExitInserterPopup()

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

Definition at line 162 of file entity.cc.

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

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

Here is the call graph for this function:

◆ DrawExitEditorPopup()

◆ DrawItemInsertPopup()

void yaze::editor::DrawItemInsertPopup ( )

◆ DrawItemEditorPopup()

bool yaze::editor::DrawItemEditorPopup ( zelda3::OverworldItem & item)
Todo
Implement deleting OverworldItem objects, currently only hides them

Definition at line 342 of file entity.cc.

References yaze::zelda3::OverworldItem::deleted, ICON_MD_CLOSE, ICON_MD_DELETE, ICON_MD_DONE, yaze::zelda3::OverworldItem::id_, and yaze::zelda3::kSecretItemNames.

Referenced by yaze::editor::OverworldEditor::DrawOverworldItems().

◆ DrawSpriteTable()

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

Definition at line 379 of file entity.cc.

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

Referenced by DrawSpriteEditorPopup(), and DrawSpriteInserterPopup().

Here is the call graph for this function:

◆ DrawSpriteInserterPopup()

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

Definition at line 428 of file entity.cc.

References DrawSpriteTable(), ICON_MD_CANCEL, and ICON_MD_DONE.

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

Here is the call graph for this function:

◆ DrawSpriteEditorPopup()

◆ kOverworldCanvasSize()

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

References kOverworldMapSize.

◆ kCurrentGfxCanvasSize()

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

◆ kBlocksetCanvasSize()

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

◆ kGraphicsBinCanvasSize()

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

References kNumSheetsToLoad.

◆ MapKeyToImGuiKey()

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

Definition at line 10 of file command_manager.cc.

Variable Documentation

◆ kDungeonObjectTableFlags

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

Definition at line 39 of file dungeon_editor.cc.

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

◆ kDungeonTabFlags

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

Definition at line 18 of file dungeon_editor.h.

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

◆ kDungeonTabBarFlags

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

Definition at line 21 of file dungeon_editor.h.

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

◆ kDungeonTableFlags

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

Definition at line 26 of file dungeon_editor.h.

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

◆ kEditorNames

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

Definition at line 38 of file editor.h.

◆ kGfxEditTableFlags

ImGuiTableFlags yaze::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::editor::GraphicsEditor::UpdateGfxEdit(), and yaze::editor::GraphicsEditor::UpdateLinkGfxView().

◆ kSuperDonkeyTiles

const std::string yaze::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 23 of file graphics_editor.h.

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

◆ kSuperDonkeySprites

const std::string yaze::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 31 of file graphics_editor.h.

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

◆ kPaletteTableFlags

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

Definition at line 48 of file palette_editor.cc.

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

◆ kPalNoAlpha

ImGuiColorEditFlags yaze::editor::kPalNoAlpha = ImGuiColorEditFlags_NoAlpha
constexpr

Definition at line 52 of file palette_editor.cc.

Referenced by yaze::editor::PaletteEditor::DrawPaletteGroup().

◆ kPalButtonFlags2

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

Definition at line 54 of file palette_editor.cc.

Referenced by DisplayPalette().

◆ kColorPopupFlags

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

Definition at line 58 of file palette_editor.cc.

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

◆ kRedPen

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

Definition at line 27 of file screen_editor.cc.

Referenced by yaze::editor::ScreenEditor::DrawDungeonMapsTabs().

◆ kMessageTerminator

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

◆ kBankToken

const std::string yaze::editor::kBankToken = "BANK"

◆ DICTIONARYTOKEN

◆ DICTOFF

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

◆ kTextData

◆ kTextDataEnd

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

◆ kNumDictionaryEntries

int yaze::editor::kNumDictionaryEntries = 97
constexpr

Definition at line 76 of file message_data.h.

Referenced by BuildDictionaryEntries().

◆ kPointersDictionaries

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

◆ kScrollVertical

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

◆ kLine1

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

Definition at line 79 of file message_data.h.

Referenced by yaze::editor::MessageEditor::DrawCharacterToPreview().

◆ kLine2

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

◆ kLine3

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

◆ CHEESE

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

◆ kMessageTableFlags

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

Definition at line 40 of file message_editor.cc.

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

◆ kDictTableFlags

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

Definition at line 44 of file message_editor.cc.

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

◆ kGfxFont

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

Definition at line 18 of file message_editor.h.

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

◆ kTextData2

◆ kTextData2End

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

◆ kCharactersWidth

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

◆ kNumMessages

int yaze::editor::kNumMessages = 396
constexpr

Definition at line 22 of file message_editor.h.

◆ kCurrentMessageWidth

int yaze::editor::kCurrentMessageWidth = 172
constexpr

Definition at line 23 of file message_editor.h.

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

◆ kCurrentMessageHeight

int yaze::editor::kCurrentMessageHeight = 4096
constexpr

Definition at line 24 of file message_editor.h.

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

◆ kFontGfxMessageSize

int yaze::editor::kFontGfxMessageSize = 128
constexpr

Definition at line 25 of file message_editor.h.

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

◆ kFontGfxMessageDepth

int yaze::editor::kFontGfxMessageDepth = 8
constexpr

Definition at line 26 of file message_editor.h.

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

◆ kWidthArraySize

uint8_t yaze::editor::kWidthArraySize = 100
constexpr

◆ kBlockTerminator

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

Definition at line 29 of file message_editor.h.

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

◆ kMessageBankChangeId

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

Definition at line 30 of file message_editor.h.

◆ toolset_table_flags_

const ImGuiTableFlags yaze::editor::toolset_table_flags_ = ImGuiTableFlags_SizingFixedFit

◆ music_editor_flags_

const ImGuiTableFlags yaze::editor::music_editor_flags_
Initial value:
= ImGuiTableFlags_SizingFixedFit |
ImGuiTableFlags_Resizable |
ImGuiTableFlags_Reorderable

Definition at line 50 of file music_editor.h.

Referenced by yaze::editor::MusicEditor::Update().

◆ kInputFieldSize

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

◆ kTile16Size

◆ kMapSettingsColumnNames

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

Definition at line 242 of file overworld_editor.cc.

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

◆ k4BPP

unsigned int yaze::editor::k4BPP = 4
constexpr

Definition at line 21 of file overworld_editor.h.

◆ kByteSize

unsigned int yaze::editor::kByteSize = 3
constexpr

Definition at line 22 of file overworld_editor.h.

◆ kMessageIdSize

unsigned int yaze::editor::kMessageIdSize = 5
constexpr

Definition at line 23 of file overworld_editor.h.

◆ kNumSheetsToLoad

unsigned int yaze::editor::kNumSheetsToLoad = 223
constexpr

Definition at line 24 of file overworld_editor.h.

Referenced by kGraphicsBinCanvasSize().

◆ kTile8DisplayHeight

unsigned int yaze::editor::kTile8DisplayHeight = 64
constexpr

Definition at line 25 of file overworld_editor.h.

◆ kOverworldMapSize

◆ kOWMapFlags

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

Definition at line 34 of file overworld_editor.h.

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

◆ kToolsetTableFlags

ImGuiTableFlags yaze::editor::kToolsetTableFlags = ImGuiTableFlags_SizingFixedFit
constexpr

Definition at line 36 of file overworld_editor.h.

◆ kOWEditFlags

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

Definition at line 37 of file overworld_editor.h.

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

◆ kWorldList

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

Definition at line 50 of file overworld_editor.h.

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

◆ kGamePartComboString

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

◆ kTileSelectorTab

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

Definition at line 55 of file overworld_editor.h.

Referenced by yaze::editor::OverworldEditor::DrawTileSelector().

◆ kOWEditTable

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

Definition at line 56 of file overworld_editor.h.

◆ kOWMapTable

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

◆ kSpriteTabFlags

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

Definition at line 16 of file sprite_editor.h.

◆ kSpriteTabBarFlags

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

Definition at line 19 of file sprite_editor.h.

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

◆ kSpriteTableFlags

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

Definition at line 24 of file sprite_editor.h.

◆ kPaletteGroupAddressesKeys

const char* yaze::gfx::kPaletteGroupAddressesKeys[]
constexpr

Definition at line 51 of file snes_palette.h.