Editors are the view controllers for the application. More...
Namespaces | |
namespace | AgentUI |
namespace | anonymous_namespace{agent_chat_history_codec.cc} |
namespace | anonymous_namespace{agent_collaboration_coordinator.cc} |
namespace | anonymous_namespace{assembly_editor.cc} |
namespace | anonymous_namespace{editor_manager.cc} |
namespace | anonymous_namespace{gfx_group_editor.cc} |
namespace | anonymous_namespace{overworld_editor.cc} |
namespace | anonymous_namespace{overworld_entity_renderer.cc} |
namespace | anonymous_namespace{palette_editor.cc} |
namespace | anonymous_namespace{shortcut_manager.cc} |
namespace | anonymous_namespace{welcome_screen.cc} |
namespace | palette_internal |
namespace | test |
namespace | zsprite |
Namespace for the ZSprite format from Zarby's ZSpriteMaker. | |
Classes | |
class | AgentChatHistoryCodec |
class | AgentChatHistoryPopup |
ImGui popup drawer for displaying chat history on the left side. More... | |
class | AgentChatWidget |
Modern AI chat widget with comprehensive z3ed and yaze-server integration. More... | |
class | AgentCollaborationCoordinator |
class | AgentEditor |
Comprehensive AI Agent Platform & Bot Creator. More... | |
struct | AgentUITheme |
Centralized theme colors for Agent UI components. More... | |
class | AssemblyEditor |
Text editor for modifying assembly code. More... | |
struct | CommandEntry |
class | CommandManager |
class | CommandPalette |
struct | DictionaryEntry |
class | DungeonCanvasViewer |
Handles the main dungeon canvas rendering and interaction. More... | |
class | DungeonEditorV2 |
DungeonEditorV2 - Simplified dungeon editor using component delegation. More... | |
class | DungeonObjectInteraction |
Handles object selection, placement, and interaction within the dungeon canvas. More... | |
class | DungeonObjectSelector |
Handles object selection, preview, and editing UI. More... | |
class | DungeonRoomLoader |
Manages loading and saving of dungeon room data. More... | |
class | DungeonRoomSelector |
Handles room and entrance selection UI. More... | |
class | DungeonToolset |
Handles the dungeon editor toolset UI. More... | |
class | DungeonUsageTracker |
Tracks and analyzes usage statistics for dungeon resources. More... | |
class | Editor |
Interface for editor classes. More... | |
struct | EditorContext |
struct | EditorInfo |
Metadata about an available editor. More... | |
class | EditorManager |
The EditorManager controls the main editor window and manages the various editor classes. More... | |
class | EditorSelectionDialog |
Beautiful grid-based editor selection dialog. More... | |
class | EditorSet |
Contains a complete set of editors for a single ROM instance. More... | |
struct | ExampleAppPropertyEditor |
struct | ExampleMemberInfo |
struct | ExampleTreeNode |
class | ExtensionManager |
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 |
class | MapPropertiesSystem |
struct | MemoryEditorWithDiffChecker |
class | MenuBuilder |
Fluent interface for building ImGui menus with icons. More... | |
struct | MessageData |
class | MessageEditor |
struct | MessagePreview |
class | MusicEditor |
A class for editing music data in a Rom. More... | |
class | ObjectEditorCard |
Unified card combining object selection, emulator preview, and canvas interaction. More... | |
class | OverworldEditor |
Manipulates the Overworld and OverworldMap data in a Rom. More... | |
class | OverworldEntityRenderer |
Handles visualization of all overworld entities (entrances, exits, items, sprites) More... | |
class | PaletteEditor |
Allows the user to view and edit in game palettes. More... | |
struct | ParsedElement |
class | PopupManager |
struct | PopupParams |
class | ProjectFileEditor |
Editor for .yaze project files with syntax highlighting and validation. More... | |
class | ProposalDrawer |
ImGui drawer for displaying and managing agent proposals. More... | |
struct | RecentProject |
Information about a recently used project. 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 |
struct | Shortcut |
class | ShortcutManager |
class | SpriteEditor |
Allows the user to edit sprites. More... | |
struct | SpriteItem |
struct | TextElement |
class | Tile16Editor |
Popup window to edit Tile16 data. More... | |
struct | Toast |
class | ToastManager |
class | UserSettings |
Manages user preferences and settings persistence. More... | |
class | WelcomeScreen |
Modern welcome screen with project grid and quick actions. More... | |
class | WorkspaceManager |
Manages workspace layouts, sessions, and presets. More... | |
Enumerations | |
enum class | EditorType { kUnknown , kAssembly , kDungeon , kEmulator , kGraphics , kMusic , kOverworld , kPalette , kScreen , kSprite , kMessage , kHex , kAgent , kSettings } |
enum | SpriteItemColumnID { SpriteItemColumnID_ID , SpriteItemColumnID_Name , SpriteItemColumnID_Description } |
Column IDs for the sprite table. More... | |
enum class | ToastType { kInfo , kSuccess , kWarning , kError } |
Functions | |
std::string | GetRomStatusMessage (const Rom *rom) |
bool | IsRomReadyForEditing (const Rom *rom) |
absl::Status | DisplayPalette (gfx::SnesPalette &palette, bool loaded) |
Display SNES palette with enhanced ROM hacking features. | |
uint8_t | FindMatchingCharacter (char value) |
int8_t | FindDictionaryEntry (uint8_t value) |
std::optional< TextElement > | FindMatchingCommand (uint8_t b) |
std::optional< 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< DictionaryEntry > | BuildDictionaryEntries (Rom *rom) |
std::string | ReplaceAllDictionaryWords (std::string str, const std::vector< DictionaryEntry > &dictionary) |
DictionaryEntry | FindRealDictionaryEntry (uint8_t value, const std::vector< DictionaryEntry > &dictionary) |
absl::StatusOr< MessageData > | ParseSingleMessage (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< MessageData > | ReadAllTextData (uint8_t *rom, int pos) |
absl::Status | LoadExpandedMessages (std::string &expanded_message_path, std::vector< std::string > &parsed_messages, std::vector< MessageData > &expanded_messages, 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) |
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) |
std::string | PrintShortcut (const std::vector< ImGuiKey > &keys) |
std::vector< ImGuiKey > | ParseShortcut (const std::string &shortcut) |
void | ExecuteShortcuts (const ShortcutManager &shortcut_manager) |
Variables | |
constexpr std::array< const char *, 14 > | kEditorNames |
constexpr const char * | kOverworldEditorName = ICON_MD_LAYERS " Overworld Editor" |
constexpr const char * | kGraphicsEditorName = ICON_MD_PHOTO " Graphics Editor" |
constexpr const char * | kPaletteEditorName = ICON_MD_PALETTE " Palette Editor" |
constexpr const char * | kScreenEditorName = ICON_MD_SCREENSHOT " Screen Editor" |
constexpr const char * | kSpriteEditorName = ICON_MD_SMART_TOY " Sprite Editor" |
constexpr const char * | kMessageEditorName = ICON_MD_MESSAGE " Message Editor" |
constexpr const char * | kSettingsEditorName = ICON_MD_SETTINGS " Settings Editor" |
constexpr const char * | kAssemblyEditorName = ICON_MD_CODE " Assembly Editor" |
constexpr const char * | kDungeonEditorName = ICON_MD_CASTLE " Dungeon Editor" |
constexpr const char * | kMusicEditorName = ICON_MD_MUSIC_NOTE " Music Editor" |
constexpr ImGuiTableFlags | kGfxEditTableFlags |
const std::string | kSuperDonkeyTiles [] |
const std::string | kSuperDonkeySprites [] |
constexpr ImGuiTableFlags | kPaletteTableFlags |
constexpr ImGuiColorEditFlags | kPalNoAlpha = ImGuiColorEditFlags_NoAlpha |
constexpr ImGuiColorEditFlags | kPalButtonFlags |
constexpr ImGuiColorEditFlags | kColorPopupFlags |
constexpr uint32_t | kRedPen = 0xFF0000FF |
const std::string | kBankToken = "BANK" |
const std::string | DICTIONARYTOKEN = "D" |
constexpr uint8_t | kMessageTerminator = 0x7F |
constexpr uint8_t | DICTOFF = 0x88 |
constexpr uint8_t | kWidthArraySize = 100 |
constexpr int | kTextData = 0xE0000 |
constexpr int | kTextDataEnd = 0xE7FFF |
constexpr int | kNumDictionaryEntries = 0x61 |
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 int | kTextData2 = 0x75F40 |
constexpr int | kTextData2End = 0x773FF |
constexpr ImGuiTableFlags | kMessageTableFlags |
constexpr int | kGfxFont = 0x70000 |
constexpr int | kCharactersWidth = 0x74ADF |
constexpr int | kNumMessages = 396 |
constexpr int | kFontGfxMessageSize = 128 |
constexpr int | kFontGfxMessageDepth = 64 |
constexpr int | kFontGfx16Size = 172 * 4096 |
constexpr uint8_t | kBlockTerminator = 0x80 |
constexpr uint8_t | kMessageBankChangeId = 0x80 |
constexpr int | kCurrentMessageWidth = 172 |
constexpr int | kCurrentMessageHeight = 4096 |
const ImGuiTableFlags | toolset_table_flags_ = ImGuiTableFlags_SizingFixedFit |
const ImGuiTableFlags | music_editor_flags_ |
constexpr float | kInputFieldSize = 30.f |
constexpr unsigned int | k4BPP = 4 |
constexpr unsigned int | kByteSize = 3 |
constexpr unsigned int | kMessageIdSize = 5 |
constexpr unsigned int | kNumSheetsToLoad = 223 |
constexpr unsigned int | kOverworldMapSize = 0x200 |
constexpr ImGuiTableFlags | kOWMapFlags |
constexpr absl::string_view | kWorldList |
constexpr absl::string_view | kGamePartComboString = "Part 0\0Part 1\0Part 2\0" |
constexpr absl::string_view | kOWMapTable = "#MapSettingsTable" |
constexpr int | kTile16Size = 16 |
constexpr int | kTile8Size = 8 |
constexpr int | kTilesheetEditorWidth = 0x100 |
constexpr int | kTilesheetEditorHeight = 0x4000 |
constexpr int | kTile16CanvasSize = 0x20 |
constexpr int | kTile8CanvasHeight = 0x175 |
constexpr int | kNumScratchSlots = 4 |
constexpr int | kNumPalettes = 8 |
constexpr int | kTile8PixelCount = 64 |
constexpr int | kTile16PixelCount = 256 |
constexpr const char * | kGameStateNames [] |
constexpr const char * | kWorldNames [] |
constexpr const char * | kAreaSizeNames [] |
constexpr float | kHexByteInputWidth = 50.f |
constexpr float | kHexWordInputWidth = 70.f |
constexpr float | kCompactButtonWidth = 60.f |
constexpr float | kIconButtonWidth = 30.f |
constexpr float | kSmallButtonWidth = 80.f |
constexpr float | kMediumButtonWidth = 90.f |
constexpr float | kLargeButtonWidth = 100.f |
constexpr float | kTableColumnWorld = 120.f |
constexpr float | kTableColumnMap = 80.f |
constexpr float | kTableColumnAreaSize = 120.f |
constexpr float | kTableColumnLock = 50.f |
constexpr float | kTableColumnGraphics = 80.f |
constexpr float | kTableColumnPalettes = 80.f |
constexpr float | kTableColumnProperties = 100.f |
constexpr float | kTableColumnTools = 80.f |
constexpr float | kTableColumnView = 80.f |
constexpr float | kTableColumnQuick = 80.f |
constexpr float | kComboWorldWidth = 115.f |
constexpr float | kComboAreaSizeWidth = 115.f |
constexpr float | kComboGameStateWidth = 100.f |
constexpr float | kTableButtonGraphics = 75.f |
constexpr float | kTableButtonPalettes = 75.f |
constexpr float | kTableButtonProperties = 95.f |
constexpr float | kTableButtonTools = 75.f |
constexpr float | kTableButtonView = 75.f |
constexpr float | kTableButtonQuick = 75.f |
constexpr float | kCompactItemSpacing = 4.f |
constexpr float | kCompactFramePadding = 2.f |
constexpr ImGuiTabItemFlags | kSpriteTabFlags |
constexpr ImGuiTabBarFlags | kSpriteTabBarFlags |
constexpr ImGuiTableFlags | kSpriteTableFlags |
Editors are the view controllers for the application.
|
strong |
|
strong |
Enumerator | |
---|---|
kInfo | |
kSuccess | |
kWarning | |
kError |
Definition at line 17 of file toast_manager.h.
|
inline |
Definition at line 29 of file editor_safeguards.h.
References yaze::Rom::is_loaded(), and yaze::Rom::title().
|
inline |
Definition at line 36 of file editor_safeguards.h.
References yaze::Rom::is_loaded(), and yaze::Rom::title().
absl::Status yaze::editor::DisplayPalette | ( | gfx::SnesPalette & | palette, |
bool | loaded | ||
) |
Display SNES palette with enhanced ROM hacking features.
palette | SNES palette to display |
loaded | Whether the palette has been loaded from ROM |
Enhanced Features:
Performance Notes:
Definition at line 102 of file palette_editor.cc.
References kPalButtonFlags, yaze::gfx::SnesPalette::size(), and TEXT_WITH_SEPARATOR.
uint8_t yaze::editor::FindMatchingCharacter | ( | char | value | ) |
Definition at line 13 of file message_data.cc.
Referenced by yaze::editor::MessagePreview::DrawCharacterToPreview(), ParseMessageToData(), yaze::test::TEST_F(), and yaze::test::TEST_F().
int8_t yaze::editor::FindDictionaryEntry | ( | uint8_t | value | ) |
Definition at line 22 of file message_data.cc.
References DICTOFF.
Referenced by ParseSingleMessage(), ParseTextDataByte(), ReadAllTextData(), yaze::test::TEST_F(), and yaze::test::TEST_F().
std::optional< TextElement > yaze::editor::FindMatchingCommand | ( | uint8_t | b | ) |
Definition at line 29 of file message_data.cc.
Referenced by ParseMessageData(), ParseSingleMessage(), ParseTextDataByte(), and ReadAllTextData().
std::optional< TextElement > yaze::editor::FindMatchingSpecial | ( | uint8_t | value | ) |
Definition at line 38 of file message_data.cc.
References yaze::editor::TextElement::ID.
Referenced by ParseMessageData(), ParseTextDataByte(), and ReadAllTextData().
ParsedElement yaze::editor::FindMatchingElement | ( | const std::string & | str | ) |
Definition at line 49 of file message_data.cc.
References DICTIONARYTOKEN, and DICTOFF.
Referenced by ParseMessageToData(), yaze::test::TEST_F(), and yaze::test::TEST_F().
std::string yaze::editor::ParseTextDataByte | ( | uint8_t | value | ) |
Definition at line 77 of file message_data.cc.
References DICTIONARYTOKEN, FindDictionaryEntry(), FindMatchingCommand(), and FindMatchingSpecial().
Referenced by BuildDictionaryEntries(), ParseSingleMessage(), ReadAllTextData(), yaze::test::TEST_F(), and yaze::test::TEST_F().
std::vector< uint8_t > yaze::editor::ParseMessageToData | ( | std::string | str | ) |
Definition at line 107 of file message_data.cc.
References yaze::editor::ParsedElement::Active, DICTIONARYTOKEN, FindMatchingCharacter(), FindMatchingElement(), yaze::editor::TextElement::HasArgument, yaze::editor::TextElement::ID, yaze::util::logf(), yaze::editor::ParsedElement::Parent, and yaze::editor::ParsedElement::Value.
Referenced by yaze::editor::DictionaryEntry::DictionaryEntry(), yaze::editor::MessageEditor::DrawCurrentMessage(), and yaze::test::TEST_F().
std::vector< DictionaryEntry > yaze::editor::BuildDictionaryEntries | ( | Rom * | rom | ) |
Definition at line 152 of file message_data.cc.
References yaze::editor::DictionaryEntry::Contents, yaze::Rom::data(), kNumDictionaryEntries, kPointersDictionaries, kTextData, ParseTextDataByte(), and yaze::SnesToPc().
Referenced by yaze::editor::MessageEditor::Initialize(), yaze::test::MessageRomTest::SetUp(), and yaze::test::TEST_F().
std::string yaze::editor::ReplaceAllDictionaryWords | ( | std::string | str, |
const std::vector< DictionaryEntry > & | dictionary | ||
) |
Definition at line 184 of file message_data.cc.
Referenced by yaze::editor::MessageData::OptimizeMessageForDictionary(), yaze::test::TEST_F(), and yaze::test::TEST_F().
DictionaryEntry yaze::editor::FindRealDictionaryEntry | ( | uint8_t | value, |
const std::vector< DictionaryEntry > & | dictionary | ||
) |
Definition at line 195 of file message_data.cc.
References DICTOFF.
Referenced by yaze::editor::MessagePreview::DrawCharacterToPreview().
absl::StatusOr< MessageData > yaze::editor::ParseSingleMessage | ( | const std::vector< uint8_t > & | rom_data, |
int * | current_pos | ||
) |
Definition at line 205 of file message_data.cc.
References yaze::editor::MessageData::Address, yaze::editor::MessageData::ContentsParsed, yaze::editor::MessageData::Data, yaze::editor::MessageData::DataParsed, DICTIONARYTOKEN, FindDictionaryEntry(), FindMatchingCommand(), yaze::Get24LocalFromPC(), yaze::util::HexWord(), yaze::editor::MessageData::ID, kMessageTerminator, kPointersDictionaries, ParseTextDataByte(), and yaze::editor::MessageData::RawString.
Referenced by yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), and yaze::test::TEST_F().
std::vector< std::string > yaze::editor::ParseMessageData | ( | std::vector< MessageData > & | message_data, |
const std::vector< DictionaryEntry > & | dictionary_entries | ||
) |
Definition at line 285 of file message_data.cc.
References yaze::editor::DictionaryEntry::Contents, yaze::editor::MessageData::Data, DICTOFF, FindMatchingCommand(), FindMatchingSpecial(), kLine2, kLine3, and kScrollVertical.
Referenced by yaze::editor::MessageEditor::Initialize(), LoadExpandedMessages(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), and yaze::test::TEST_F().
std::vector< MessageData > yaze::editor::ReadAllTextData | ( | uint8_t * | rom, |
int | pos | ||
) |
Definition at line 346 of file message_data.cc.
References DICTIONARYTOKEN, FindDictionaryEntry(), FindMatchingCommand(), FindMatchingSpecial(), yaze::Get24LocalFromPC(), yaze::util::HexByte(), kBankToken, kMessageTerminator, kPointersDictionaries, kTextData2, and ParseTextDataByte().
Referenced by yaze::editor::MessageEditor::Initialize(), LoadExpandedMessages(), yaze::cli::message::anonymous_namespace{message.cc}::LoadMessages(), and yaze_load_messages().
absl::Status yaze::editor::LoadExpandedMessages | ( | std::string & | expanded_message_path, |
std::vector< std::string > & | parsed_messages, | ||
std::vector< MessageData > & | expanded_messages, | ||
std::vector< DictionaryEntry > & | dictionary | ||
) |
Definition at line 433 of file message_data.cc.
References yaze::Rom::LoadFromFile(), yaze::Rom::mutable_data(), ParseMessageData(), and ReadAllTextData().
Referenced by yaze::editor::MessageEditor::DrawExpandedMessageSettings().
bool yaze::editor::IsMouseHoveringOverEntity | ( | const zelda3::GameEntity & | entity, |
ImVec2 | canvas_p0, | ||
ImVec2 | scrolling | ||
) |
Definition at line 21 of file entity.cc.
References yaze::zelda3::GameEntity::x_, and yaze::zelda3::GameEntity::y_.
Referenced by yaze::editor::OverworldEntityRenderer::DrawEntrances(), yaze::editor::OverworldEntityRenderer::DrawExits(), yaze::editor::OverworldEntityRenderer::DrawItems(), and yaze::editor::OverworldEntityRenderer::DrawSprites().
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 yaze::editor::OverworldEditor::DrawOverworldCanvas().
bool yaze::editor::DrawEntranceInserterPopup | ( | ) |
Definition at line 58 of file entity.cc.
References ICON_MD_CANCEL, ICON_MD_DONE, and yaze::gui::InputHex().
bool yaze::editor::DrawOverworldEntrancePopup | ( | zelda3::OverworldEntrance & | entrance | ) |
Definition at line 82 of file entity.cc.
References yaze::zelda3::OverworldEntrance::deleted, yaze::zelda3::OverworldEntrance::entrance_id_, yaze::gui::InputHex(), yaze::gui::InputHexByte(), yaze::gui::InputHexWord(), yaze::zelda3::OverworldEntrance::is_hole_, kInputFieldSize, yaze::zelda3::GameEntity::map_id_, yaze::zelda3::GameEntity::x_, and yaze::zelda3::GameEntity::y_.
Referenced by yaze::editor::OverworldEditor::Update().
void yaze::editor::DrawExitInserterPopup | ( | ) |
Definition at line 124 of file entity.cc.
References yaze::gui::InputHex().
bool yaze::editor::DrawExitEditorPopup | ( | zelda3::OverworldExit & | exit | ) |
Definition at line 153 of file entity.cc.
References yaze::zelda3::OverworldExit::deleted_, yaze::zelda3::OverworldExit::door_type_1_, yaze::zelda3::OverworldExit::door_type_2_, yaze::zelda3::GameEntity::entity_id_, ICON_MD_CANCEL, ICON_MD_DELETE, ICON_MD_DONE, yaze::gui::InputHex(), yaze::gui::InputHexByte(), yaze::gui::InputHexWord(), yaze::zelda3::OverworldExit::is_automatic_, yaze::zelda3::OverworldExit::is_hole_, yaze::zelda3::OverworldExit::large_map_, yaze::zelda3::GameEntity::map_id_, yaze::zelda3::OverworldExit::room_id_, yaze::gui::TextWithSeparators(), yaze::zelda3::GameEntity::x_, yaze::zelda3::OverworldExit::x_camera_, yaze::zelda3::OverworldExit::x_scroll_, yaze::zelda3::GameEntity::y_, yaze::zelda3::OverworldExit::y_camera_, and yaze::zelda3::OverworldExit::y_scroll_.
Referenced by yaze::editor::OverworldEditor::Update().
void yaze::editor::DrawItemInsertPopup | ( | ) |
Definition at line 285 of file entity.cc.
References ICON_MD_CANCEL, ICON_MD_DONE, and yaze::zelda3::kSecretItemNames.
bool yaze::editor::DrawItemEditorPopup | ( | zelda3::OverworldItem & | item | ) |
Definition at line 315 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::Update().
void yaze::editor::DrawSpriteTable | ( | std::function< void(int)> | onSpriteSelect | ) |
Definition at line 352 of file entity.cc.
References yaze::editor::SpriteItem::SortWithSortSpecs(), SpriteItemColumnID_ID, and SpriteItemColumnID_Name.
Referenced by DrawSpriteEditorPopup(), and DrawSpriteInserterPopup().
void yaze::editor::DrawSpriteInserterPopup | ( | ) |
Definition at line 400 of file entity.cc.
References DrawSpriteTable(), and yaze::gui::InputHex().
bool yaze::editor::DrawSpriteEditorPopup | ( | zelda3::Sprite & | sprite | ) |
Definition at line 436 of file entity.cc.
References DrawSpriteTable(), ICON_MD_CLOSE, ICON_MD_DELETE, ICON_MD_DONE, yaze::zelda3::Sprite::map_id(), yaze::zelda3::Sprite::name(), yaze::zelda3::Sprite::set_deleted(), yaze::zelda3::Sprite::set_id(), and yaze::zelda3::Sprite::UpdateMapProperties().
Referenced by yaze::editor::OverworldEditor::Update().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
std::string yaze::editor::PrintShortcut | ( | const std::vector< ImGuiKey > & | keys | ) |
Definition at line 86 of file shortcut_manager.cc.
Referenced by yaze::editor::EditorManager::DrawMenuBar(), and yaze::editor::ShortcutManager::GetKeys().
std::vector< ImGuiKey > yaze::editor::ParseShortcut | ( | const std::string & | shortcut | ) |
Definition at line 102 of file shortcut_manager.cc.
References yaze::gui::MapKeyToImGuiKey().
void yaze::editor::ExecuteShortcuts | ( | const ShortcutManager & | shortcut_manager | ) |
Definition at line 140 of file shortcut_manager.cc.
References yaze::editor::ShortcutManager::GetShortcuts().
Referenced by yaze::editor::EditorManager::Update().
|
constexpr |
Definition at line 70 of file editor.h.
Referenced by yaze::editor::EditorManager::GenerateUniqueEditorTitle(), and yaze::editor::anonymous_namespace{editor_manager.cc}::GetEditorName().
|
constexpr |
Definition at line 135 of file editor_manager.cc.
|
constexpr |
Definition at line 136 of file editor_manager.cc.
|
constexpr |
Definition at line 137 of file editor_manager.cc.
|
constexpr |
Definition at line 138 of file editor_manager.cc.
|
constexpr |
Definition at line 139 of file editor_manager.cc.
|
constexpr |
Definition at line 140 of file editor_manager.cc.
|
constexpr |
Definition at line 141 of file editor_manager.cc.
|
constexpr |
Definition at line 142 of file editor_manager.cc.
|
constexpr |
Definition at line 143 of file editor_manager.cc.
|
constexpr |
Definition at line 144 of file editor_manager.cc.
|
constexpr |
Definition at line 40 of file graphics_editor.cc.
Referenced by yaze::editor::GraphicsEditor::UpdateGfxEdit(), and yaze::editor::GraphicsEditor::UpdateLinkGfxView().
const std::string yaze::editor::kSuperDonkeyTiles[] |
Definition at line 25 of file graphics_editor.h.
Referenced by yaze::editor::GraphicsEditor::DecompressSuperDonkey().
const std::string yaze::editor::kSuperDonkeySprites[] |
Definition at line 33 of file graphics_editor.h.
Referenced by yaze::editor::GraphicsEditor::DecompressSuperDonkey().
|
constexpr |
Definition at line 45 of file palette_editor.cc.
Referenced by yaze::editor::PaletteEditor::Update().
|
constexpr |
Definition at line 49 of file palette_editor.cc.
|
constexpr |
Definition at line 51 of file palette_editor.cc.
Referenced by DisplayPalette().
|
constexpr |
Definition at line 55 of file palette_editor.cc.
Referenced by yaze::editor::PaletteEditor::DrawCustomPalette(), yaze::editor::PaletteEditor::DrawQuickAccessTab(), and yaze::editor::PaletteEditor::HandleColorPopup().
|
constexpr |
Definition at line 30 of file screen_editor.cc.
Referenced by yaze::editor::ScreenEditor::DrawDungeonMapScreen().
const std::string yaze::editor::kBankToken = "BANK" |
Definition at line 96 of file message_data.h.
Referenced by ReadAllTextData().
const std::string yaze::editor::DICTIONARYTOKEN = "D" |
Definition at line 97 of file message_data.h.
Referenced by yaze::editor::DictionaryEntry::DictionaryEntry(), FindMatchingElement(), ParseMessageToData(), ParseSingleMessage(), ParseTextDataByte(), and ReadAllTextData().
|
constexpr |
Definition at line 98 of file message_data.h.
Referenced by ParseSingleMessage(), ReadAllTextData(), and yaze::editor::MessageEditor::Save().
|
constexpr |
Definition at line 99 of file message_data.h.
Referenced by yaze::editor::MessagePreview::DrawCharacterToPreview(), FindDictionaryEntry(), FindMatchingElement(), FindRealDictionaryEntry(), and ParseMessageData().
|
constexpr |
Definition at line 100 of file message_data.h.
Referenced by yaze::editor::MessageEditor::Initialize(), and yaze::editor::MessageEditor::Save().
|
constexpr |
|
constexpr |
Definition at line 173 of file message_data.h.
Referenced by yaze::editor::anonymous_namespace{message_editor.cc}::DisplayTextOverflowError(), and yaze::editor::MessageEditor::Save().
|
constexpr |
Definition at line 174 of file message_data.h.
Referenced by BuildDictionaryEntries(), and yaze::test::TEST_F().
|
constexpr |
Definition at line 175 of file message_data.h.
Referenced by BuildDictionaryEntries(), ParseSingleMessage(), and ReadAllTextData().
|
constexpr |
Definition at line 176 of file message_data.h.
Referenced by yaze::editor::MessagePreview::DrawCharacterToPreview(), and ParseMessageData().
|
constexpr |
Definition at line 177 of file message_data.h.
Referenced by yaze::editor::MessagePreview::DrawCharacterToPreview().
|
constexpr |
Definition at line 178 of file message_data.h.
Referenced by yaze::editor::MessagePreview::DrawCharacterToPreview(), and ParseMessageData().
|
constexpr |
Definition at line 179 of file message_data.h.
Referenced by yaze::editor::MessagePreview::DrawCharacterToPreview(), and ParseMessageData().
const std::string yaze::editor::CHEESE = "\uBEBE" |
Definition at line 195 of file message_data.h.
Referenced by yaze::editor::MessageData::OptimizeMessageForDictionary().
|
constexpr |
Definition at line 443 of file message_data.h.
Referenced by yaze::editor::anonymous_namespace{message_editor.cc}::DisplayTextOverflowError(), ReadAllTextData(), and yaze::editor::MessageEditor::Save().
|
constexpr |
Definition at line 444 of file message_data.h.
Referenced by yaze::editor::anonymous_namespace{message_editor.cc}::DisplayTextOverflowError(), and yaze::editor::MessageEditor::Save().
|
constexpr |
Definition at line 59 of file message_editor.cc.
Referenced by yaze::editor::MessageEditor::DrawDictionary(), yaze::editor::MessageEditor::DrawMessageList(), and yaze::editor::MessageEditor::Update().
|
constexpr |
Definition at line 21 of file message_editor.h.
Referenced by yaze::editor::MessageEditor::Initialize().
|
constexpr |
Definition at line 22 of file message_editor.h.
Referenced by yaze::editor::MessageEditor::Initialize(), and yaze::editor::MessageEditor::Save().
|
constexpr |
Definition at line 23 of file message_editor.h.
|
constexpr |
Definition at line 24 of file message_editor.h.
Referenced by yaze::editor::MessageEditor::Initialize().
|
constexpr |
Definition at line 25 of file message_editor.h.
Referenced by yaze::editor::MessageEditor::Initialize().
|
constexpr |
Definition at line 26 of file message_editor.h.
|
constexpr |
Definition at line 28 of file message_editor.h.
Referenced by yaze::editor::MessageEditor::Save().
|
constexpr |
Definition at line 29 of file message_editor.h.
|
constexpr |
Definition at line 12 of file message_preview.h.
Referenced by yaze::editor::MessageEditor::DrawMessagePreview(), and yaze::editor::MessagePreview::MessagePreview().
|
constexpr |
Definition at line 13 of file message_preview.h.
Referenced by yaze::editor::MessageEditor::DrawMessagePreview(), and yaze::editor::MessagePreview::MessagePreview().
const ImGuiTableFlags yaze::editor::toolset_table_flags_ = ImGuiTableFlags_SizingFixedFit |
Definition at line 56 of file music_editor.h.
const ImGuiTableFlags yaze::editor::music_editor_flags_ |
Definition at line 57 of file music_editor.h.
|
inlineconstexpr |
Definition at line 19 of file entity.cc.
Referenced by yaze::editor::MapPropertiesSystem::DrawBasicPropertiesTab(), yaze::editor::MapPropertiesSystem::DrawCustomFeaturesTab(), yaze::editor::MapPropertiesSystem::DrawMusicTab(), yaze::editor::MapPropertiesSystem::DrawOverlayControls(), yaze::editor::MapPropertiesSystem::DrawOverlayEditor(), DrawOverworldEntrancePopup(), yaze::editor::MapPropertiesSystem::DrawSpritePropertiesTab(), and yaze::editor::MapPropertiesSystem::DrawTileGraphicsTab().
|
constexpr |
Definition at line 26 of file overworld_editor.h.
|
constexpr |
Definition at line 27 of file overworld_editor.h.
|
constexpr |
Definition at line 28 of file overworld_editor.h.
|
constexpr |
Definition at line 29 of file overworld_editor.h.
|
constexpr |
Definition at line 30 of file overworld_editor.h.
Referenced by yaze::editor::OverworldEditor::CheckForCurrentMap(), yaze::editor::MapPropertiesSystem::DrawOverlayPreviewOnMap(), yaze::editor::OverworldEditor::DrawOverworldEdits(), yaze::editor::OverworldEditor::DrawOverworldMaps(), yaze::editor::OverworldEditor::EnsureMapTexture(), yaze::editor::OverworldEditor::HandleMapInteraction(), yaze::editor::OverworldEditor::LoadGraphics(), yaze::editor::OverworldEditor::Paste(), and yaze::editor::OverworldEditor::RenderUpdatedMapBitmap().
|
constexpr |
Definition at line 37 of file overworld_editor.h.
|
constexpr |
Definition at line 41 of file overworld_editor.h.
|
constexpr |
Definition at line 44 of file overworld_editor.h.
|
constexpr |
Definition at line 46 of file overworld_editor.h.
|
constexpr |
Definition at line 25 of file tile16_editor.h.
Referenced by yaze::editor::OverworldEditor::CheckForOverworldEdits(), yaze::editor::Tile16Editor::CommitChangesToOverworld(), yaze::editor::Tile16Editor::DrawToCurrentTile16(), yaze::editor::Tile16Editor::Initialize(), yaze::editor::OverworldEditor::LoadGraphics(), yaze::editor::OverworldEditor::Paste(), yaze::editor::Tile16Editor::RegenerateTile16BitmapFromROM(), yaze::editor::OverworldEditor::RenderUpdatedMapBitmap(), yaze::editor::Tile16Editor::SetCurrentTile(), yaze::editor::Tile16Editor::UpdateBlocksetBitmap(), and yaze::editor::Tile16Editor::UpdateOverworldTilemap().
|
constexpr |
Definition at line 26 of file tile16_editor.h.
Referenced by yaze::editor::Tile16Editor::DrawToCurrentTile16(), and yaze::editor::Tile16Editor::RegenerateTile16BitmapFromROM().
|
constexpr |
Definition at line 27 of file tile16_editor.h.
|
constexpr |
Definition at line 28 of file tile16_editor.h.
|
constexpr |
Definition at line 29 of file tile16_editor.h.
|
constexpr |
Definition at line 30 of file tile16_editor.h.
|
constexpr |
Definition at line 31 of file tile16_editor.h.
|
constexpr |
Definition at line 32 of file tile16_editor.h.
Referenced by yaze::editor::PaletteEditor::Load(), and yaze::editor::PaletteEditor::Update().
|
constexpr |
Definition at line 33 of file tile16_editor.h.
|
constexpr |
Definition at line 34 of file tile16_editor.h.
Referenced by yaze::editor::Tile16Editor::Initialize(), yaze::editor::Tile16Editor::RegenerateTile16BitmapFromROM(), and yaze::editor::Tile16Editor::SetCurrentTile().
|
inlineconstexpr |
Definition at line 8 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawGraphicsPopup(), yaze::editor::MapPropertiesSystem::DrawPalettesPopup(), yaze::editor::MapPropertiesSystem::DrawPropertiesPopup(), and yaze::editor::MapPropertiesSystem::DrawSpritePropertiesTab().
|
inlineconstexpr |
Definition at line 15 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 22 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawPropertiesPopup(), and yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 31 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawGraphicsPopup(), and yaze::editor::MapPropertiesSystem::DrawPalettesPopup().
|
inlineconstexpr |
Definition at line 32 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawPropertiesPopup().
|
inlineconstexpr |
Definition at line 33 of file ui_constants.h.
|
inlineconstexpr |
Definition at line 34 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawQuickAccessPopup(), and yaze::editor::MapPropertiesSystem::DrawViewPopup().
|
inlineconstexpr |
Definition at line 35 of file ui_constants.h.
|
inlineconstexpr |
Definition at line 36 of file ui_constants.h.
|
inlineconstexpr |
Definition at line 37 of file ui_constants.h.
|
inlineconstexpr |
Definition at line 40 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 41 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 42 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 43 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 44 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 45 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 46 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 47 of file ui_constants.h.
|
inlineconstexpr |
Definition at line 48 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 49 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 52 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 53 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawPropertiesPopup(), and yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 54 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawPropertiesPopup().
|
inlineconstexpr |
Definition at line 57 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 58 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 59 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 60 of file ui_constants.h.
|
inlineconstexpr |
Definition at line 61 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 62 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings().
|
inlineconstexpr |
Definition at line 65 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawGraphicsPopup(), yaze::editor::MapPropertiesSystem::DrawPalettesPopup(), yaze::editor::MapPropertiesSystem::DrawPropertiesPopup(), yaze::editor::MapPropertiesSystem::DrawQuickAccessPopup(), and yaze::editor::MapPropertiesSystem::DrawViewPopup().
|
inlineconstexpr |
Definition at line 66 of file ui_constants.h.
Referenced by yaze::editor::MapPropertiesSystem::DrawGraphicsPopup(), yaze::editor::MapPropertiesSystem::DrawPalettesPopup(), yaze::editor::MapPropertiesSystem::DrawPropertiesPopup(), yaze::editor::MapPropertiesSystem::DrawQuickAccessPopup(), and yaze::editor::MapPropertiesSystem::DrawViewPopup().
|
constexpr |
Definition at line 18 of file sprite_editor.h.
|
constexpr |
Definition at line 21 of file sprite_editor.h.
Referenced by yaze::editor::SpriteEditor::DrawVanillaSpriteEditor().
|
constexpr |
Definition at line 26 of file sprite_editor.h.