Go to the source code of this file.
Macros | |
#define | TAB_ITEM(w) |
#define | END_TAB_ITEM() |
#define | MENU_ITEM(w) |
#define | MENU_ITEM2(w, v) |
#define | BUTTON_COLUMN(w) |
#define | TEXT_COLUMN(w) |
#define | BEGIN_TABLE(l, n, f) |
#define | SETUP_COLUMN(l) |
#define | TABLE_HEADERS() |
#define | NEXT_COLUMN() |
#define | END_TABLE() |
#define | HOVER_HINT(string) |
#define | PRINT_IF_ERROR(expression) |
#define | EXIT_IF_ERROR(expression) |
#define | RETURN_VOID_IF_ERROR(expression) |
#define | RETURN_IF_ERROR(expression) |
#define | ASSIGN_OR_RETURN(type_variable_name, expression) |
#define | ASSIGN_OR_RETURN_IMPL(error_or_value, type_variable_name, expression) |
#define | ASSIGN_OR_LOG_ERROR(type_variable_name, expression) |
#define | ASSIGN_OR_LOG_ERROR_IMPL(error_or_value, type_variable_name, expression) |
#define | APPEND_NUMBER(expression, number) |
#define | APPEND_NUMBER_INNER(expression, number) |
#define | TEXT_WITH_SEPARATOR(text) |
#define | TABLE_BORDERS_RESIZABLE ImGuiTableFlags_Borders | ImGuiTableFlags_Resizable |
#define | CLEAR_AND_RETURN_STATUS(status) |
Typedefs | |
using | ushort = unsigned short |
using | uint = unsigned int |
using | uchar = unsigned char |
#define TAB_ITEM | ( | w | ) |
Definition at line 4 of file constants.h.
Referenced by yaze::app::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::app::editor::DungeonEditor::Update(), yaze::app::editor::GraphicsEditor::Update(), yaze::app::editor::DungeonEditor::UpdateDungeonRoomView(), yaze::app::editor::GraphicsEditor::UpdateLinkGfxView(), and yaze::app::editor::GraphicsEditor::UpdateScadView().
#define END_TAB_ITEM | ( | ) |
Definition at line 5 of file constants.h.
Referenced by yaze::app::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::app::editor::DungeonEditor::Update(), yaze::app::editor::GraphicsEditor::Update(), yaze::app::editor::DungeonEditor::UpdateDungeonRoomView(), yaze::app::editor::GraphicsEditor::UpdateLinkGfxView(), and yaze::app::editor::GraphicsEditor::UpdateScadView().
#define MENU_ITEM | ( | w | ) |
Definition at line 9 of file constants.h.
Referenced by yaze::app::editor::EditorManager::DrawYazeMenuBar().
#define MENU_ITEM2 | ( | w, | |
v ) |
Definition at line 10 of file constants.h.
Referenced by yaze::app::editor::EditorManager::DrawYazeMenuBar().
#define BUTTON_COLUMN | ( | w | ) |
Definition at line 12 of file constants.h.
Referenced by yaze::app::editor::ScreenEditor::DrawInventoryToolset(), and yaze::app::editor::MusicEditor::DrawToolset().
#define TEXT_COLUMN | ( | w | ) |
Definition at line 16 of file constants.h.
Referenced by yaze::app::editor::ScreenEditor::DrawInventoryToolset(), yaze::app::editor::GraphicsEditor::DrawToolset(), and yaze::app::editor::OverworldEditor::DrawToolset().
#define BEGIN_TABLE | ( | l, | |
n, | |||
f ) |
Definition at line 20 of file constants.h.
Referenced by yaze::app::editor::MemoryEditorWithDiffChecker::Update(), and yaze::app::editor::GraphicsEditor::UpdateScadView().
#define SETUP_COLUMN | ( | l | ) |
Definition at line 21 of file constants.h.
Referenced by yaze::app::editor::MemoryEditorWithDiffChecker::Update(), and yaze::app::editor::GraphicsEditor::UpdateScadView().
#define TABLE_HEADERS | ( | ) |
Definition at line 23 of file constants.h.
Referenced by yaze::app::editor::GraphicsEditor::UpdateScadView().
#define NEXT_COLUMN | ( | ) |
Definition at line 27 of file constants.h.
Referenced by yaze::app::editor::OverworldEditor::DrawToolset(), yaze::app::editor::MemoryEditorWithDiffChecker::Update(), yaze::app::editor::GraphicsEditor::UpdateGfxEdit(), yaze::app::editor::GraphicsEditor::UpdateLinkGfxView(), and yaze::app::editor::GraphicsEditor::UpdateScadView().
#define END_TABLE | ( | ) |
Definition at line 29 of file constants.h.
Referenced by yaze::app::editor::MemoryEditorWithDiffChecker::Update(), and yaze::app::editor::GraphicsEditor::UpdateScadView().
#define HOVER_HINT | ( | string | ) |
Definition at line 33 of file constants.h.
Referenced by yaze::app::editor::OverworldEditor::DrawCustomOverworldMapSettings(), yaze::app::editor::GraphicsEditor::DrawGfxEditToolset(), yaze::app::editor::OverworldEditor::DrawOverworldMapSettings(), and yaze::app::editor::OverworldEditor::DrawToolset().
#define PRINT_IF_ERROR | ( | expression | ) |
Definition at line 36 of file constants.h.
Referenced by yaze::app::editor::DungeonEditor::DrawToolset(), yaze::app::editor::OverworldEditor::RefreshChildMap(), yaze::cli::anonymous_namespace{z3ed.cc}::RunCommandHandler(), yaze::app::editor::EditorManager::SetupScreen(), yaze::app::editor::MemoryEditorWithDiffChecker::Update(), and yaze::app::editor::Tile16Editor::UpdateTransferTileCanvas().
#define EXIT_IF_ERROR | ( | expression | ) |
Definition at line 44 of file constants.h.
Referenced by main().
#define RETURN_VOID_IF_ERROR | ( | expression | ) |
Definition at line 53 of file constants.h.
Referenced by yaze::app::editor::ScreenEditor::DrawDungeonMapsEditor(), and yaze::app::editor::EditorManager::SaveRom().
#define RETURN_IF_ERROR | ( | expression | ) |
Definition at line 62 of file constants.h.
Referenced by yaze::app::zelda3::overworld::OverworldMap::BuildMap(), yaze::app::zelda3::screen::Inventory::BuildTileset(), yaze::app::editor::OverworldEditor::CheckForCurrentMap(), yaze::app::gfx::lc_lz2::CompressV2(), yaze::app::gfx::lc_lz2::CompressV3(), yaze::app::zelda3::screen::Inventory::Create(), yaze::app::core::Renderer::CreateAndRenderBitmap(), yaze::app::core::Controller::CreateGuiContext(), yaze::app::editor::OverworldEditor::DrawAreaGraphics(), yaze::app::editor::DrawEditor(), yaze::app::editor::GraphicsEditor::DrawExperimentalFeatures(), yaze::app::editor::GraphicsEditor::DrawFileImport(), yaze::app::editor::PaletteEditor::DrawPaletteGroup(), yaze::app::editor::OverworldEditor::DrawTile16Selector(), yaze::app::editor::Tile16Editor::DrawTileEditControls(), yaze::app::gfx::PaletteGroupMap::for_each(), yaze::cli::ApplyPatch::handle(), yaze::cli::AsarPatch::handle(), yaze::cli::Backup::handle(), yaze::cli::Expand::handle(), yaze::cli::Open::handle(), yaze::cli::ReadFromRom::handle(), yaze::cli::Tile16Transfer::handle(), yaze::app::editor::Tile16Editor::InitBlockset(), yaze::app::editor::MessageEditor::Initialize(), yaze::app::zelda3::overworld::Overworld::Load(), yaze::app::Rom::LoadAllGraphicsData(), yaze::app::gfx::LoadAllPalettes(), yaze::app::editor::ScreenEditor::LoadDungeonMapTile16(), yaze::app::zelda3::overworld::Overworld::LoadExits(), yaze::app::Rom::LoadFromFile(), yaze::app::Rom::LoadFromPointer(), yaze::app::editor::OverworldEditor::LoadGraphics(), yaze::app::Rom::LoadLinkGraphics(), yaze::app::zelda3::overworld::OverworldMap::LoadPalette(), yaze::app::editor::OverworldEditor::LoadSpriteGraphics(), yaze::app::zelda3::overworld::Overworld::LoadSprites(), yaze::app::editor::Tile16Editor::LoadTile8(), yaze::app::Rom::LoadZelda3(), yaze::app::core::Controller::OnEntry(), yaze::app::core::Controller::OnLoad(), yaze::app::core::Controller::OnTestLoad(), yaze::app::editor::EditorManager::OpenProject(), yaze::app::Rom::ReadByte(), yaze::app::Rom::ReadByteVector(), yaze::app::Rom::ReadLong(), yaze::app::Rom::ReadWord(), yaze::app::editor::DungeonEditor::RefreshGraphics(), yaze::app::editor::OverworldEditor::RefreshMapPalette(), yaze::app::editor::OverworldEditor::RefreshTile16Blockset(), yaze::app::editor::MessageEditor::Save(), yaze::app::editor::OverworldEditor::Save(), yaze::app::Project::Save(), yaze::app::zelda3::dungeon::RoomEntrance::Save(), yaze::app::zelda3::overworld::Overworld::Save(), yaze::app::Rom::SaveAllPalettes(), yaze::app::editor::ScreenEditor::SaveDungeonMaps(), yaze::app::editor::ScreenEditor::SaveDungeonMapTile16(), yaze::app::zelda3::overworld::Overworld::SaveEntrances(), yaze::app::zelda3::overworld::Overworld::SaveExits(), yaze::app::zelda3::overworld::Overworld::SaveItems(), yaze::app::zelda3::overworld::Overworld::SaveLargeMaps(), yaze::app::zelda3::overworld::Overworld::SaveMap16Expanded(), yaze::app::zelda3::overworld::Overworld::SaveMap16Tiles(), yaze::app::zelda3::overworld::Overworld::SaveMap32Expanded(), yaze::app::zelda3::overworld::Overworld::SaveMap32Tiles(), yaze::app::zelda3::overworld::Overworld::SaveMapProperties(), yaze::app::zelda3::overworld::Overworld::SaveOverworldMaps(), yaze::app::Rom::SavePalette(), yaze::app::Rom::SaveToFile(), yaze::app::editor::Tile16Editor::SetCurrentTile(), yaze::app::editor::DungeonEditor::Update(), yaze::app::editor::EditorManager::Update(), yaze::app::editor::MessageEditor::Update(), yaze::app::editor::OverworldEditor::Update(), yaze::app::editor::Tile16Editor::Update(), yaze::app::editor::Tile16Editor::UpdateBlockset(), yaze::app::editor::GraphicsEditor::UpdateLinkGfxView(), yaze::app::editor::GraphicsEditor::UpdatePaletteColumn(), yaze::app::editor::GraphicsEditor::UpdateScadView(), yaze::app::editor::Tile16Editor::UpdateTile16Edit(), yaze::app::editor::Tile16Editor::UpdateTile16Transfer(), yaze::app::editor::Tile16Editor::UpdateTransferTileCanvas(), yaze::app::gfx::lc_lz2::ValidateCompressionResult(), yaze::app::gfx::lc_lz2::ValidateCompressionResultV3(), yaze::app::Rom::WriteByte(), yaze::app::Rom::WriteLong(), yaze::app::Rom::WriteShort(), yaze::app::Rom::WriteTile16(), and yaze::app::Rom::WriteWord().
#define ASSIGN_OR_RETURN | ( | type_variable_name, | |
expression ) |
Definition at line 70 of file constants.h.
Referenced by yaze::app::gfx::Bitmap::ApplyPalette(), yaze::app::gfx::Bitmap::ApplyPaletteFromPaletteGroup(), yaze::app::gfx::Bitmap::ApplyPaletteWithTransparent(), yaze::app::zelda3::overworld::Overworld::AssembleMap32Tiles(), yaze::app::zelda3::screen::Inventory::BuildTileset(), yaze::app::editor::GraphicsEditor::DecompressImportData(), yaze::app::editor::GraphicsEditor::DecompressSuperDonkey(), yaze::app::editor::DisplayPalette(), yaze::app::gui::DisplayPalette(), yaze::app::editor::PaletteEditor::DrawPaletteGroup(), yaze::app::editor::PaletteEditor::EditColorInPalette(), yaze::app::zelda3::overworld::Overworld::GetTile16ForTile32(), yaze::cli::Tile16Transfer::handle(), yaze::app::editor::DungeonEditor::Initialize(), yaze::app::Rom::Load2BppGraphics(), yaze::app::Rom::LoadAllGraphicsData(), yaze::app::editor::ScreenEditor::LoadDungeonMaps(), yaze::app::editor::ScreenEditor::LoadDungeonMapTile16(), yaze::app::editor::EntranceContext::LoadEntranceTileTypes(), yaze::app::Rom::LoadGfxGroups(), yaze::app::zelda3::overworld::Overworld::LoadItems(), yaze::app::Rom::LoadLinkGraphics(), yaze::app::zelda3::overworld::OverworldMap::LoadPalette(), yaze::app::zelda3::overworld::Overworld::LoadSpritesFromMap(), yaze::app::Rom::ReadHelper(), yaze::app::Rom::ReadTile16(), yaze::app::editor::PaletteEditor::ResetColorToOriginal(), yaze::app::Rom::SaveAllGraphicsData(), yaze::app::Rom::SaveGroupsToRom(), yaze::app::gfx::lc_lz2::ValidateCompressionResult(), and yaze::app::gfx::lc_lz2::ValidateCompressionResultV3().
#define ASSIGN_OR_RETURN_IMPL | ( | error_or_value, | |
type_variable_name, | |||
expression ) |
Definition at line 74 of file constants.h.
#define ASSIGN_OR_LOG_ERROR | ( | type_variable_name, | |
expression ) |
Definition at line 81 of file constants.h.
Referenced by yaze::app::zelda3::dungeon::RoomObject::AddTiles().
#define ASSIGN_OR_LOG_ERROR_IMPL | ( | error_or_value, | |
type_variable_name, | |||
expression ) |
Definition at line 85 of file constants.h.
#define APPEND_NUMBER | ( | expression, | |
number ) |
Definition at line 93 of file constants.h.
#define APPEND_NUMBER_INNER | ( | expression, | |
number ) |
Definition at line 96 of file constants.h.
#define TEXT_WITH_SEPARATOR | ( | text | ) |
Definition at line 98 of file constants.h.
Referenced by yaze::app::editor::DisplayPalette().
#define TABLE_BORDERS_RESIZABLE ImGuiTableFlags_Borders | ImGuiTableFlags_Resizable |
Definition at line 102 of file constants.h.
Referenced by yaze::app::editor::Tile16Editor::DrawTile16Editor(), and yaze::app::editor::Tile16Editor::UpdateTile16Transfer().
#define CLEAR_AND_RETURN_STATUS | ( | status | ) |
Definition at line 105 of file constants.h.
Referenced by yaze::app::editor::GraphicsEditor::Update(), and yaze::app::editor::PaletteEditor::Update().
using ushort = unsigned short |
Definition at line 112 of file constants.h.
using uint = unsigned int |
Definition at line 113 of file constants.h.
using uchar = unsigned char |
Definition at line 114 of file constants.h.