yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3 Namespace Reference

Zelda 3 specific classes and functions. More...

Namespaces

namespace  anonymous_namespace{diggable_tiles_patch.cc}
 
namespace  anonymous_namespace{game_data.cc}
 
namespace  anonymous_namespace{hyrule_magic.cc}
 
namespace  anonymous_namespace{object_geometry.cc}
 
namespace  anonymous_namespace{overworld.cc}
 
namespace  anonymous_namespace{room_layer_manager.cc}
 
namespace  anonymous_namespace{room_layout.cc}
 
namespace  anonymous_namespace{room_object.cc}
 
namespace  anonymous_namespace{sprite_oam_tables.cc}
 
namespace  anonymous_namespace{tracker.cc}
 
namespace  anonymous_namespace{zelda3_labels.cc}
 
namespace  draw_routines
 
namespace  DrawRoutineIds
 Canonical Draw Routine IDs.
 
namespace  DrawRoutineUtils
 Utility functions for tile writing used by all routines.
 
namespace  EntranceTypes
 Entrance type utilities.
 
namespace  formats
 
namespace  ItemTypes
 Item type utilities.
 
namespace  music
 Contains classes and functions for handling music data in Zelda 3.
 
namespace  ObjectCategories
 Object type categories for easier selection.
 
namespace  palette_internal
 
namespace  PaletteAddress
 
namespace  PaletteCount
 
namespace  PaletteGroupName
 
 
namespace  SpriteTypes
 Sprite type utilities.
 

Classes

struct  ColorComparison
 
struct  CustomObject
 Represents a decoded custom object (from binary format) More...
 
class  CustomObjectManager
 Manages loading and caching of custom object binary files. More...
 
class  DiggableTiles
 Manages diggable tile state as a 512-bit bitfield. More...
 
class  DiggableTilesPatch
 Generates ASM patches for table-based diggable tile lookup. More...
 
struct  DiggableTilesPatchConfig
 Configuration for diggable tiles ASM patch generation. More...
 
struct  DoorDimensions
 Door dimensions in tiles (8x8 pixel tiles) More...
 
class  DoorPositionManager
 Manages door position snapping and coordinate conversion. More...
 
struct  DrawContext
 Context passed to draw routines containing all necessary state. More...
 
struct  DrawRoutineInfo
 Metadata about a draw routine. More...
 
class  DrawRoutineRegistry
 Unified draw routine registry. More...
 
class  DungeonEditorSystem
 Comprehensive dungeon editing system. More...
 
struct  DungeonMap
 DungeonMap represents the map menu for a dungeon. More...
 
class  DungeonObjectEditor
 Interactive dungeon object editor with scroll wheel support. More...
 
struct  DungeonObjectInfo
 
class  DungeonObjectRegistry
 Minimal registry for dungeon objects (vanilla or custom). More...
 
class  DungeonState
 Interface for accessing dungeon game state. More...
 
class  DungeonValidator
 
class  EditorDungeonState
 Editor implementation of DungeonState. More...
 
struct  GameData
 
class  GameEntity
 Base class for all overworld and dungeon entities. More...
 
struct  GeometryBounds
 Bounding box result for a draw routine execution. More...
 
class  Inventory
 Inventory manages the inventory screen graphics and layout. More...
 
struct  ItemIcon
 Represents a single item icon (2x2 tiles = 4 tile words) More...
 
struct  LayerMergeType
 
struct  LoadOptions
 
struct  MouseConfig
 Mouse interaction configuration. More...
 
class  ObjectDimensionTable
 ROM-based object dimension lookup table. More...
 
class  ObjectDrawer
 Draws dungeon objects to background buffers using game patterns. More...
 
struct  ObjectDrawInfo
 Draw routine information for object rendering. More...
 
class  ObjectGeometry
 Side-car geometry engine that replays draw routines against an off-screen buffer to calculate real extents. More...
 
class  ObjectParser
 Direct ROM parser for dungeon objects. More...
 
struct  ObjectPriority
 Object metadata for tracking layer assignment. More...
 
struct  ObjectRoutineInfo
 Object routine information. More...
 
struct  ObjectSizeInfo
 Object size and orientation information. More...
 
struct  ObjectSubtypeInfo
 Object subtype information. More...
 
struct  ObjectTemplate
 
class  ObjectTemplateManager
 
struct  ObjectTranslucency
 Per-object translucency settings. More...
 
class  Overworld
 Represents the full Overworld data, light and dark world. More...
 
class  OverworldEntrance
 
struct  OverworldEntranceTileTypes
 
class  OverworldExit
 Represents an overworld exit that transitions from dungeon to overworld. More...
 
class  OverworldItem
 
class  OverworldMap
 Represents a single Overworld map screen. More...
 
class  OverworldMapScreen
 OverworldMapScreen manages the overworld map (pause menu) graphics. More...
 
struct  OverworldMapTiles
 Overworld map tile32 data. More...
 
class  OverworldVersionHelper
 Helper for ROM version detection and feature gating. More...
 
struct  PaletteDebugEvent
 
class  PaletteDebugger
 
struct  PaletteGroupMetadata
 
struct  PotItem
 
class  ResourceLabelProvider
 Unified interface for accessing resource labels with project overrides. More...
 
class  Room
 
class  RoomEntrance
 Dungeon Room Entrance or Spawn Point. More...
 
class  RoomLayerManager
 RoomLayerManager - Manages layer visibility and compositing. More...
 
class  RoomLayout
 
class  RoomObject
 
struct  RoomSize
 
struct  ScrollWheelConfig
 Scroll wheel behavior configuration. More...
 
struct  SelectionRect
 Simple rectangle for selection bounds. More...
 
class  Sprite
 A class for managing sprites in the overworld and underworld. More...
 
class  SpriteAction
 
class  SpriteBuilder
 
class  SpriteInstruction
 
struct  SpriteOamEntry
 Single OAM entry for sprite rendering. More...
 
struct  SpriteOamLayout
 Complete OAM layout for a vanilla sprite. More...
 
class  SpriteOamRegistry
 Registry of all known sprite OAM layouts. More...
 
struct  TemplateObject
 
class  TitleScreen
 TitleScreen manages the title screen graphics and tilemap data. More...
 
struct  ValidationResult
 
struct  Zelda3Labels
 Centralized default labels for all Zelda 3 resources. More...
 

Typedefs

using DrawRoutineFn = std::function<void(const DrawContext& ctx)>
 Function signature for a draw routine.
 
using json = nlohmann::json
 
using OverworldBlockset = std::vector<std::vector<uint16_t>>
 Represents tile32 data for the overworld.
 
typedef struct yaze::zelda3::OverworldMapTiles OverworldMapTiles
 Overworld map tile32 data.
 
using DungeonMapLabels
 

Enumerations

enum class  DoorDirection : uint8_t { North = 0 , South = 1 , West = 2 , East = 3 }
 Door direction on room walls. More...
 
enum class  DoorType : uint8_t {
  NormalDoor = 0x00 , NormalDoorLower = 0x02 , ExitLower = 0x04 , UnusedCaveExit = 0x06 ,
  WaterfallDoor = 0x08 , FancyDungeonExit = 0x0A , FancyDungeonExitLower = 0x0C , CaveExit = 0x0E ,
  LitCaveExitLower = 0x10 , ExitMarker = 0x12 , DungeonSwapMarker = 0x14 , LayerSwapMarker = 0x16 ,
  DoubleSidedShutter = 0x18 , EyeWatchDoor = 0x1A , SmallKeyDoor = 0x1C , BigKeyDoor = 0x1E ,
  SmallKeyStairsUp = 0x20 , SmallKeyStairsDown = 0x22 , SmallKeyStairsUpLower = 0x24 , SmallKeyStairsDownLower = 0x26 ,
  DashWall = 0x28 , BombableCaveExit = 0x2A , UnopenableBigKeyDoor = 0x2C , BombableDoor = 0x2E ,
  ExplodingWall = 0x30 , CurtainDoor = 0x32 , UnusableBottomShutter = 0x34 , BottomSidedShutter = 0x36 ,
  TopSidedShutter = 0x38 , UnusableNormalDoor3A = 0x3A , UnusableNormalDoor3C = 0x3C , UnusableNormalDoor3E = 0x3E ,
  NormalDoorOneSidedShutter = 0x40 , UnusedDoubleSidedShutter = 0x42 , DoubleSidedShutterLower = 0x44 , ExplicitRoomDoor = 0x46 ,
  BottomShutterLower = 0x48 , TopShutterLower = 0x4A , UnusableNormalDoor4C = 0x4C , UnusableNormalDoor4E = 0x4E ,
  UnusableNormalDoor50 = 0x50 , UnusableBombedDoor = 0x52 , UnusableGlitchyDoor54 = 0x54 , UnusableGlitchyDoor56 = 0x56 ,
  UnusableNormalDoor58 = 0x58 , UnusableGlitchyStairs5A = 0x5A , UnusableGlitchyStairs5C = 0x5C , UnusableGlitchyStairs5E = 0x5E ,
  UnusableGlitchyStairs60 = 0x60 , UnusableGlitchyStairsDown62 = 0x62 , UnusableGlitchyStairs64 = 0x64 , UnusableGlitchyStairsDown66 = 0x66
}
 Door types from ALTTP. More...
 
enum class  PaletteDebugLevel { INFO , WARNING , ERROR }
 
enum  CollisionKey {
  One_Collision , Both , Both_With_Scroll , Moving_Floor_Collision ,
  Moving_Water_Collision
}
 
enum  EffectKey {
  Effect_Nothing , One , Moving_Floor , Moving_Water ,
  Four , Red_Flashes , Torch_Show_Floor , Ganon_Room
}
 
enum  TagKey {
  Nothing , NW_Kill_Enemy_to_Open , NE_Kill_Enemy_to_Open , SW_Kill_Enemy_to_Open ,
  SE_Kill_Enemy_to_Open , W_Kill_Enemy_to_Open , E_Kill_Enemy_to_Open , N_Kill_Enemy_to_Open ,
  S_Kill_Enemy_to_Open , Clear_Quadrant_to_Open , Clear_Room_to_Open , NW_Push_Block_to_Open ,
  NE_Push_Block_to_Open , SW_Push_Block_to_Open , SE_Push_Block_to_Open , W_Push_Block_to_Open ,
  E_Push_Block_to_Open , N_Push_Block_to_Open , S_Push_Block_to_Open , Push_Block_to_Open ,
  Pull_Lever_to_Open , Clear_Level_to_Open , Switch_Open_Door_Hold , Switch_Open_Door_Toggle ,
  Turn_off_Water , Turn_on_Water , Water_Gate , Water_Twin ,
  Secret_Wall_Right , Secret_Wall_Left , Crash1 , Crash2 ,
  Pull_Switch_to_bomb_Wall , Holes_0 , Open_Chest_Activate_Holes_0 , Holes_1 ,
  Holes_2 , Kill_Enemy_to_clear_level , SE_Kill_Enemy_to_Move_Block , Trigger_activated_Chest ,
  Pull_lever_to_Bomb_Wall , NW_Kill_Enemy_for_Chest , NE_Kill_Enemy_for_Chest , SW_Kill_Enemy_for_Chest ,
  SE_Kill_Enemy_for_Chest , W_Kill_Enemy_for_Chest , E_Kill_Enemy_for_Chest , N_Kill_Enemy_for_Chest ,
  S_Kill_Enemy_for_Chest , Clear_Quadrant_for_Chest , Clear_Room_for_Chest , Light_Torches_to_Open ,
  Holes_3 , Holes_4 , Holes_5 , Holes_6 ,
  Agahnim_Room , Holes_7 , Holes_8 , Open_Chest_for_Holes_8 ,
  Push_Block_for_Chest , Kill_to_open_Ganon_Door , Light_Torches_to_get_Chest , Kill_boss_Again
}
 
enum class  LayerType { BG1_Layout , BG1_Objects , BG2_Layout , BG2_Objects }
 Layer types for the 4-way visibility system. More...
 
enum class  LayerBlendMode {
  Normal , Translucent , Addition , Dark ,
  Off
}
 Layer blend modes for compositing. More...
 
enum class  SpecialObjectType { Chest , BigChest , InterroomStairs }
 
enum  Sorting {
  All = 0 , Wall = 1 , Horizontal = 2 , Vertical = 4 ,
  NonScalable = 8 , Dungeons = 16 , Floors = 32 , SortStairs = 64
}
 
enum class  ObjectOption {
  Nothing = 0 , Door = 1 , Chest = 2 , Block = 4 ,
  Torch = 8 , Bgr = 16 , Stairs = 32
}
 
enum class  AreaSizeEnum { SmallArea = 0 , LargeArea = 1 , WideArea = 2 , TallArea = 3 }
 Area size enumeration for v3+ ROMs. More...
 
enum class  OverworldVersion { kVanilla = 0 , kZSCustomV1 = 1 , kZSCustomV2 = 2 , kZSCustomV3 = 3 }
 ROM version detection for overworld features. More...
 
enum class  ResourceType {
  kSprite , kRoom , kEntrance , kItem ,
  kOverlord , kOverworldMap , kMusic , kGraphics ,
  kRoomEffect , kRoomTag , kTileType
}
 Enumeration of all supported resource types for labeling. More...
 

Functions

void stle16b_i (uint8_t *const p_arr, size_t const p_index, uint16_t const p_val)
 Store little endian 16-bit value using a byte pointer, offset by an index before dereferencing.
 
void stle16b (uint8_t *const p_arr, uint16_t const p_val)
 
uint16_t ldle16b (uint8_t const *const p_arr)
 
uint16_t ldle16b_i (uint8_t const *const p_arr, size_t const p_index)
 Load little endian halfword (16-bit) dereferenced from an arrays of bytes. This version provides an index that will be multiplied by 2 and added to the base address.
 
constexpr std::string_view GetDoorTypeName (DoorType type)
 Get human-readable name for door type.
 
constexpr std::string_view GetDoorDirectionName (DoorDirection dir)
 Get human-readable name for door direction.
 
constexpr DoorDimensions GetDoorDimensions (DoorDirection dir)
 Get door dimensions based on direction.
 
constexpr DoorType DoorTypeFromRaw (uint8_t raw_type)
 Convert raw type byte to DoorType enum.
 
constexpr DoorDirection DoorDirectionFromRaw (uint8_t raw_dir)
 Convert raw direction byte to DoorDirection enum.
 
constexpr std::array< DoorType, 20 > GetAllDoorTypes ()
 Get commonly used door types for UI dropdowns Returns the most frequently used door types (not all 52)
 
std::unique_ptr< DungeonEditorSystemCreateDungeonEditorSystem (Rom *rom, GameData *game_data=nullptr)
 Factory function to create dungeon editor system.
 
std::unique_ptr< DungeonObjectEditorCreateDungeonObjectEditor (Rom *rom)
 Factory function to create dungeon object editor.
 
 NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (TemplateObject, id, rel_x, rel_y, size, layer) NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(ObjectTemplate
 
RoomSize CalculateRoomSize (Rom *rom, int room_id)
 
Room LoadRoomFromRom (Rom *rom, int room_id)
 
Room LoadRoomHeaderFromRom (Rom *rom, int room_id)
 
ObjectOption operator| (ObjectOption lhs, ObjectOption rhs)
 
ObjectOption operator& (ObjectOption lhs, ObjectOption rhs)
 
ObjectOption operator^ (ObjectOption lhs, ObjectOption rhs)
 
ObjectOption operator~ (ObjectOption option)
 
std::string GetObjectName (int object_id)
 
int GetObjectSubtype (int object_id)
 
uint32_t GetGraphicsAddress (const uint8_t *data, uint8_t addr, uint32_t ptr1, uint32_t ptr2, uint32_t ptr3, size_t rom_size)
 Gets the graphics address for a sheet index.
 
absl::Status LoadGameData (Rom &rom, GameData &data, const LoadOptions &options={})
 Loads all Zelda3-specific game data from a generic ROM.
 
absl::Status SaveGameData (Rom &rom, GameData &data)
 Saves modified game data back to the ROM.
 
absl::Status LoadMetadata (const Rom &rom, GameData &data)
 
absl::Status LoadPalettes (const Rom &rom, GameData &data)
 
absl::Status LoadGfxGroups (Rom &rom, GameData &data)
 
absl::Status SaveGfxGroups (Rom &rom, const GameData &data)
 
absl::Status LoadGraphics (Rom &rom, GameData &data)
 
absl::StatusOr< std::array< gfx::Bitmap, kNumLinkSheets > > LoadLinkGraphics (const Rom &rom)
 Loads Link's graphics sheets from ROM.
 
absl::StatusOr< std::vector< uint8_t > > Load2BppGraphics (const Rom &rom)
 Loads 2BPP graphics sheets from ROM.
 
absl::StatusOr< gfx::BitmapLoadFontGraphics (const Rom &rom)
 Loads font graphics from ROM.
 
absl::Status SaveAllGraphicsData (Rom &rom, const std::array< gfx::Bitmap, kNumGfxSheets > &sheets)
 Saves all graphics sheets back to ROM.
 
absl::StatusOr< std::vector< OverworldEntrance > > LoadEntrances (Rom *rom)
 
absl::StatusOr< std::vector< OverworldEntrance > > LoadHoles (Rom *rom)
 
absl::Status SaveEntrances (Rom *rom, const std::vector< OverworldEntrance > &entrances, bool expanded_entrances)
 
absl::Status SaveHoles (Rom *rom, const std::vector< OverworldEntrance > &holes)
 
absl::StatusOr< OverworldEntranceTileTypesLoadEntranceTileTypes (Rom *rom)
 
absl::StatusOr< std::vector< OverworldExit > > LoadExits (Rom *rom)
 
absl::Status SaveExits (Rom *rom, const std::vector< OverworldExit > &exits)
 
absl::StatusOr< std::vector< OverworldItem > > LoadItems (Rom *rom, std::vector< OverworldMap > &overworld_maps)
 
absl::Status SaveItems (Rom *rom, const std::vector< OverworldItem > &items)
 
bool CompareOverworldItems (const std::vector< OverworldItem > &items1, const std::vector< OverworldItem > &items2)
 
bool CompareItemsArrays (std::vector< OverworldItem > item_array1, std::vector< OverworldItem > item_array2)
 
const PaletteGroupMetadataGetPaletteGroupMetadata (const char *group_id)
 
std::vector< const PaletteGroupMetadata * > GetAllPaletteGroups ()
 
std::string ResourceTypeToString (ResourceType type)
 Convert ResourceType enum to string key for storage.
 
ResourceType StringToResourceType (const std::string &type_str)
 Convert string key to ResourceType enum.
 
ResourceLabelProviderGetResourceLabels ()
 Get the global ResourceLabelProvider instance.
 
std::string GetSpriteLabel (int id)
 Convenience function to get a sprite label.
 
std::string GetRoomLabel (int id)
 Convenience function to get a room label.
 
std::string GetItemLabel (int id)
 Convenience function to get an item label.
 
std::string GetEntranceLabel (int id)
 Convenience function to get an entrance label.
 
std::string GetOverlordLabel (int id)
 Convenience function to get an overlord label.
 
std::string GetOverworldMapLabel (int id)
 Convenience function to get an overworld map label.
 
std::string GetMusicLabel (int id)
 Convenience function to get a music track label.
 
std::string GetRoomTagLabel (int id)
 Convenience function to get a room tag label.
 
absl::StatusOr< std::vector< DungeonMap > > LoadDungeonMaps (Rom &rom, DungeonMapLabels &dungeon_map_labels)
 Load the dungeon maps from the ROM.
 
absl::Status SaveDungeonMaps (Rom &rom, std::vector< DungeonMap > &dungeon_maps)
 Save the dungeon maps to the ROM.
 
absl::Status LoadDungeonMapTile16 (gfx::Tilemap &tile16_blockset, Rom &rom, GameData *game_data, const std::vector< uint8_t > &gfx_data, bool bin_mode)
 Load the dungeon map tile16 from the ROM.
 
absl::Status SaveDungeonMapTile16 (gfx::Tilemap &tile16_blockset, Rom &rom)
 Save the dungeon map tile16 to the ROM.
 
absl::Status LoadDungeonMapGfxFromBinary (Rom &rom, GameData *game_data, gfx::Tilemap &tile16_blockset, std::array< gfx::Bitmap, 4 > &sheets, std::vector< uint8_t > &gfx_bin_data)
 Load the dungeon map gfx from binary.
 
void SetPreferHmagicSpriteNames (bool prefer)
 
bool PreferHmagicSpriteNames ()
 
const char * ResolveSpriteName (uint16_t id)
 

Variables

const std::string TileTypeNames [256]
 
constexpr int kNumOverworldMaps = 160
 
constexpr int OverworldCustomASMHasBeenApplied = 0x140145
 
constexpr const char * kEntranceNames []
 
constexpr int kDoorPosNorthAddr = 0x197E
 
constexpr int kDoorPosSouthAddr = 0x198A
 
constexpr int kDoorPosWestAddr = 0x1996
 
constexpr int kDoorPosEastAddr = 0x19A2
 
constexpr int kRoomObjectLayoutPointer = 0x882D
 
constexpr int kRoomObjectPointer = 0x874C
 
constexpr int kRoomHeaderPointer = 0xB5DD
 
constexpr int kRoomHeaderPointerBank = 0xB5E7
 
constexpr int kDungeonsMainBgPalettePointers = 0xDEC4B
 
constexpr int kDungeonsPalettes = 0xDD734
 
constexpr int kRoomItemsPointers = 0xDB69
 
constexpr int kRoomsSpritePointer = 0x4C298
 
constexpr int kSpriteBlocksetPointer = 0x5B57
 
constexpr int kGfxGroupsPointer = 0x6237
 
constexpr int kTileAddress = 0x001B52
 
constexpr int kTileAddressFloor = 0x001B5A
 
constexpr int kBlocksLength = 0x8896
 
constexpr int kBlocksPointer1 = 0x15AFA
 
constexpr int kBlocksPointer2 = 0x15B01
 
constexpr int kBlocksPointer3 = 0x15B08
 
constexpr int kBlocksPointer4 = 0x15B0F
 
constexpr int kChestsLengthPointer = 0xEBF6
 
constexpr int kChestsDataPointer1 = 0xEBFB
 
constexpr int kTorchData = 0x2736A
 
constexpr int kTorchesLengthPointer = 0x88C1
 
constexpr int kPitPointer = 0x394AB
 
constexpr int kPitCount = 0x394A6
 
constexpr int kDoorPointers = 0xF83C0
 
constexpr int kDoorGfxUp = 0x4D9E
 
constexpr int kDoorGfxDown = 0x4E06
 
constexpr int kDoorGfxCaveExitDown = 0x4E06
 
constexpr int kDoorGfxLeft = 0x4E66
 
constexpr int kDoorGfxRight = 0x4EC6
 
constexpr int kDoorPosUp = 0x197E
 
constexpr int kDoorPosDown = 0x1996
 
constexpr int kDoorPosLeft = 0x19AE
 
constexpr int kDoorPosRight = 0x19C6
 
constexpr int kSpritesData = 0x4D8B0
 
constexpr int kSpritesDataEmptyRoom = 0x4D8AE
 
constexpr int kSpritesEndData = 0x4EC9E
 
constexpr int kDungeonSpritePointers
 
constexpr int kMessagesIdDungeon = 0x3F61D
 
constexpr int kNumberOfRooms = 296
 
constexpr uint16_t kStairsObjects [] = {0x139, 0x138, 0x13B, 0x12E, 0x12D}
 
 name
 
 description
 
 category
 
const std::string RoomEffect [8]
 
const std::string RoomTag [65]
 
constexpr int kGfxBufferOffset = 92 * 2048
 
constexpr int kGfxBufferStride = 1024
 
constexpr int kGfxBufferAnimatedFrameOffset = 7 * 4096
 
constexpr int kGfxBufferAnimatedFrameStride = 1024
 
constexpr int kGfxBufferRoomOffset = 4096
 
constexpr int kGfxBufferRoomSpriteOffset = 1024
 
constexpr int kGfxBufferRoomSpriteStride = 4096
 
constexpr int kGfxBufferRoomSpriteLastLineOffset = 0x110
 
constexpr int room_object_layout_pointer = kRoomObjectLayoutPointer
 
constexpr int room_object_pointer = kRoomObjectPointer
 
constexpr int dungeons_main_bg_palette_pointers
 
constexpr int dungeons_palettes = kDungeonsPalettes
 
constexpr int room_items_pointers = kRoomItemsPointers
 
constexpr int rooms_sprite_pointer = kRoomsSpritePointer
 
constexpr int gfx_groups_pointer = kGfxGroupsPointer
 
constexpr int chests_length_pointer = kChestsLengthPointer
 
constexpr int chests_data_pointer1 = kChestsDataPointer1
 
constexpr int messages_id_dungeon = kMessagesIdDungeon
 
constexpr int blocks_length = kBlocksLength
 
constexpr int blocks_pointer1 = kBlocksPointer1
 
constexpr int blocks_pointer2 = kBlocksPointer2
 
constexpr int blocks_pointer3 = kBlocksPointer3
 
constexpr int blocks_pointer4 = kBlocksPointer4
 
constexpr int torch_data = kTorchData
 
constexpr int torches_length_pointer = kTorchesLengthPointer
 
constexpr int sprite_blockset_pointer = kSpriteBlocksetPointer
 
constexpr int sprites_data = kSpritesData
 
constexpr int sprites_data_empty_room = kSpritesDataEmptyRoom
 
constexpr int sprites_end_data = kSpritesEndData
 
constexpr int pit_pointer = kPitPointer
 
constexpr int pit_count = kPitCount
 
constexpr int doorPointers = kDoorPointers
 
constexpr int door_gfx_up = kDoorGfxUp
 
constexpr int door_gfx_down = kDoorGfxDown
 
constexpr int door_gfx_cavexit_down = kDoorGfxCaveExitDown
 
constexpr int door_gfx_left = kDoorGfxLeft
 
constexpr int door_gfx_right = kDoorGfxRight
 
constexpr int door_pos_up = kDoorPosUp
 
constexpr int door_pos_down = kDoorPosDown
 
constexpr int door_pos_left = kDoorPosLeft
 
constexpr int door_pos_right = kDoorPosRight
 
constexpr int dungeon_spr_ptrs = kDungeonSpritePointers
 
constexpr int tile_address = kTileAddress
 
constexpr int tile_address_floor = kTileAddressFloor
 
constexpr int NumberOfRooms = kNumberOfRooms
 
constexpr uint16_t stairsObjects [] = {0x139, 0x138, 0x13B, 0x12E, 0x12D}
 
constexpr std::array< std::string_view, 297 > kRoomNames
 
constexpr int kEntranceRoom = 0x14813
 
constexpr int kEntranceScrollEdge = 0x1491D
 
constexpr int kEntranceYScroll = 0x14D45
 
constexpr int kEntranceXScroll = 0x14E4F
 
constexpr int kEntranceYPosition = 0x14F59
 
constexpr int kEntranceXPosition = 0x15063
 
constexpr int kEntranceCameraYTrigger = 0x1516D
 
constexpr int kEntranceCameraXTrigger = 0x15277
 
constexpr int kEntranceBlockset = 0x15381
 
constexpr int kEntranceFloor = 0x15406
 
constexpr int kEntranceDungeon = 0x1548B
 
constexpr int kEntranceDoor = 0x15510
 
constexpr int kEntranceLadderBG = 0x15595
 
constexpr int kEntrancescrolling = 0x1561A
 
constexpr int kEntranceScrollQuadrant = 0x1569F
 
constexpr int kEntranceExit = 0x15724
 
constexpr int kEntranceMusic = 0x1582E
 
constexpr int kStartingEntranceroom = 0x15B6E
 
constexpr int kStartingEntranceScrollEdge = 0x15B7C
 
constexpr int kStartingEntranceYScroll = 0x15BB4
 
constexpr int kStartingEntranceXScroll = 0x15BC2
 
constexpr int kStartingEntranceYPosition = 0x15BD0
 
constexpr int kStartingEntranceXPosition = 0x15BDE
 
constexpr int kStartingEntranceCameraYTrigger = 0x15BEC
 
constexpr int kStartingEntranceCameraXTrigger = 0x15BFA
 
constexpr int kStartingEntranceBlockset = 0x15C08
 
constexpr int kStartingEntranceFloor = 0x15C0F
 
constexpr int kStartingEntranceDungeon = 0x15C16
 
constexpr int kStartingEntranceDoor = 0x15C2B
 
constexpr int kStartingEntranceLadderBG = 0x15C1D
 
constexpr int kStartingEntrancescrolling = 0x15C24
 
constexpr int kStartingEntranceScrollQuadrant = 0x15C2B
 
constexpr int kStartingEntranceexit = 0x15C32
 
constexpr int kStartingEntrancemusic = 0x15C4E
 
constexpr int kStartingEntranceentrance = 0x15C40
 
constexpr int items_data_start = 0xDDE9
 
constexpr int items_data_end = 0xE6B2
 
constexpr int initial_equipement = 0x271A6
 
constexpr int chests_backupitems = 0x3B528
 
constexpr int chests_yoffset = 0x4836C
 
constexpr int chests_xoffset = 0x4836C + (76 * 1)
 
constexpr int chests_itemsgfx = 0x4836C + (76 * 2)
 
constexpr int chests_itemswide = 0x4836C + (76 * 3)
 
constexpr int chests_itemsproperties = 0x4836C + (76 * 4)
 
constexpr int chests_sramaddress = 0x4836C + (76 * 5)
 
constexpr int chests_sramvalue = 0x4836C + (76 * 7)
 
constexpr int chests_msgid = 0x442DD
 
constexpr int dungeons_startrooms = 0x7939
 
constexpr int dungeons_endrooms = 0x792D
 
constexpr int dungeons_bossrooms = 0x10954
 
constexpr int bedPositionX = 0x039A37
 
constexpr int bedPositionY = 0x039A32
 
constexpr int bedPositionResetXLow = 0x02DE53
 
constexpr int bedPositionResetXHigh = 0x02DE58
 
constexpr int bedPositionResetYLow = 0x02DE5D
 
constexpr int bedPositionResetYHigh = 0x02DE62
 
constexpr int bedSheetPositionX = 0x0480BD
 
constexpr int bedSheetPositionY = 0x0480B8
 
constexpr int kRoomObjectSubtype1 = 0x8000
 
constexpr int kRoomObjectSubtype2 = 0x83F0
 
constexpr int kRoomObjectSubtype3 = 0x84F0
 
constexpr int kRoomObjectTileAddress = 0x1B52
 
constexpr int kRoomObjectTileAddressFloor = 0x1B5A
 
constexpr uint32_t kNumGfxSheets = 223
 
constexpr uint32_t kNumLinkSheets = 14
 
constexpr uint32_t kNumMainBlocksets = 37
 
constexpr uint32_t kNumRoomBlocksets = 82
 
constexpr uint32_t kNumSpritesets = 144
 
constexpr uint32_t kNumPalettesets = 72
 
constexpr uint32_t kEntranceGfxGroup = 0x5D97
 
constexpr uint32_t kMaxGraphics = 0x0C3FFF
 
constexpr uint32_t kPalettesetIdsAddress = 0x75460
 
constexpr uint32_t kDungeonPalettePointerTable = 0xDEC4B
 
constexpr uint32_t kLinkGfxOffset = 0x80000
 
constexpr uint16_t kLinkGfxLength = 0x800
 
constexpr uint32_t kFontSpriteLocation = 0x70000
 
constexpr uint32_t kUncompressedSheetSize = 0x0800
 
constexpr uint32_t kTile16Ptr = 0x78000
 
constexpr uint8_t kTileTypeDiggable1 = 0x48
 
constexpr uint8_t kTileTypeDiggable2 = 0x4A
 
constexpr int kDiggableTilesBitfieldSize = 64
 
constexpr int kMaxDiggableTileId = 512
 
constexpr int kOverworldCustomDiggableTilesArray = 0x140980
 
constexpr int kOverworldCustomDiggableTilesEnabled = 0x140149
 
constexpr uint16_t kVanillaDiggableTiles []
 
constexpr int kNumVanillaDiggableTiles = 10
 
constexpr int GravesYTilePos = 0x49968
 
constexpr int GravesXTilePos = 0x49986
 
constexpr int GravesTilemapPos = 0x499A4
 
constexpr int GravesGFX = 0x499C2
 
constexpr int GravesXPos = 0x4994A
 
constexpr int GravesYLine = 0x4993A
 
constexpr int GravesCountOnY = 0x499E0
 
constexpr int GraveLinkSpecialHole = 0x46DD9
 
constexpr int GraveLinkSpecialStairs = 0x46DE0
 
constexpr int kOverworldMapPaletteIds = 0x7D1C
 
constexpr int kOverworldSpritePaletteIds = 0x7B41
 
constexpr int kOverworldSpritePaletteGroup = 0x75580
 
constexpr int kOverworldSpriteset = 0x7A41
 
constexpr int kOverworldSpecialGfxGroup = 0x16821
 
constexpr int kOverworldSpecialPalGroup = 0x16831
 
constexpr int kOverworldSpritesBeginning = 0x4C881
 
constexpr int kOverworldSpritesAgahnim = 0x4CA21
 
constexpr int kOverworldSpritesZelda = 0x4C901
 
constexpr int kAreaGfxIdPtr = 0x7C9C
 
constexpr int kOverworldMessageIds = 0x3F51D
 
constexpr int kOverworldMusicBeginning = 0x14303
 
constexpr int kOverworldMusicZelda = 0x14303 + 0x40
 
constexpr int kOverworldMusicMasterSword = 0x14303 + 0x80
 
constexpr int kOverworldMusicAgahnim = 0x14303 + 0xC0
 
constexpr int kOverworldMusicDarkWorld = 0x14403
 
constexpr int kOverworldEntranceAllowedTilesLeft = 0xDB8C1
 
constexpr int kOverworldEntranceAllowedTilesRight = 0xDB917
 
constexpr int kOverworldMapSize = 0x12844
 
constexpr int kOverworldMapSizeHighByte = 0x12884
 
constexpr int kOverworldMapParentId = 0x125EC
 
constexpr int kOverworldTransitionPositionY = 0x128C4
 
constexpr int kOverworldTransitionPositionX = 0x12944
 
constexpr int kOverworldScreenSize = 0x1788D
 
constexpr int kOverworldScreenSizeForLoading = 0x4C635
 
constexpr int kOverworldScreenTileMapChangeByScreen1 = 0x12634
 
constexpr int kOverworldScreenTileMapChangeByScreen2 = 0x126B4
 
constexpr int kOverworldScreenTileMapChangeByScreen3 = 0x12734
 
constexpr int kOverworldScreenTileMapChangeByScreen4 = 0x127B4
 
constexpr int kOverworldMapDataOverflow = 0x130000
 
constexpr int kTransitionTargetNorth = 0x13EE2
 
constexpr int kTransitionTargetWest = 0x13F62
 
constexpr int overworldCustomMosaicASM = 0x1301D0
 
constexpr int overworldCustomMosaicArray = 0x1301F0
 
constexpr int kMap16TilesExpanded = 0x1E8000
 
constexpr int kMap32TileTRExpanded = 0x020000
 
constexpr int kMap32TileBLExpanded = 0x1F0000
 
constexpr int kMap32TileBRExpanded = 0x1F8000
 
constexpr int kMap32TileCountExpanded = 0x0067E0
 
constexpr int kMap32ExpandedFlagPos = 0x01772E
 
constexpr int kMap16ExpandedFlagPos = 0x02FD28
 
constexpr int overworldSpritesBeginingExpanded = 0x141438
 
constexpr int overworldSpritesZeldaExpanded = 0x141578
 
constexpr int overworldSpritesAgahnimExpanded = 0x1416B8
 
constexpr int overworldSpritesDataStartExpanded = 0x04C881
 
constexpr int overworldSpecialSpriteGFXGroupExpandedTemp = 0x0166E1
 
constexpr int overworldSpecialSpritePaletteExpandedTemp = 0x016701
 
constexpr int ExpandedOverlaySpace = 0x120000
 
constexpr int kExpandedPtrTableMarker = 0x1423FF
 
constexpr uint8_t kExpandedPtrTableMagic = 0xEA
 
constexpr int kExpandedPtrTableHigh = 0x142400
 
constexpr int kExpandedPtrTableLow = 0x142640
 
constexpr int kExpandedMapCount = 192
 
constexpr int overworldTilesType = 0x071459
 
constexpr int overworldMessages = 0x03F51D
 
constexpr int overworldMessagesExpanded = 0x1417F8
 
constexpr int kOverworldCompressedMapPos = 0x058000
 
constexpr int kOverworldCompressedOverflowPos = 0x137FFF
 
constexpr int kNumTileTypes = 0x200
 
constexpr int kMap16Tiles = 0x78000
 
constexpr int kNumTile16Individual = 4096
 
constexpr int Map32PerScreen = 256
 
constexpr int NumberOfMap16 = 3752
 
constexpr int NumberOfMap16Ex = 4096
 
constexpr int LimitOfMap32 = 8864
 
constexpr int NumberOfOWSprites = 352
 
constexpr int NumberOfMap32 = Map32PerScreen * kNumOverworldMaps
 
constexpr int kNumMapsPerWorld = 0x40
 
constexpr int kEntranceRoomEXP = 0x078000
 
constexpr int kEntranceScrollEdgeEXP = 0x078200
 
constexpr int kEntranceCameraYEXP = 0x078A00
 
constexpr int kEntranceCameraXEXP = 0x078C00
 
constexpr int kEntranceYPositionEXP = 0x078E00
 
constexpr int kEntranceXPositionEXP = 0x079000
 
constexpr int kEntranceCameraYTriggerEXP = 0x079200
 
constexpr int kEntranceCameraXTriggerEXP = 0x079400
 
constexpr int kEntranceBlocksetEXP = 0x079600
 
constexpr int kEntranceFloorEXP = 0x079700
 
constexpr int kEntranceDungeonEXP = 0x079800
 
constexpr int kEntranceDoorEXP = 0x079900
 
constexpr int kEntranceLadderBgEXP = 0x079A00
 
constexpr int kEntranceScrollingEXP = 0x079B00
 
constexpr int kEntranceScrollQuadrantEXP = 0x079C00
 
constexpr int kEntranceExitEXP = 0x079D00
 
constexpr int kEntranceMusicEXP = 0x079F00
 
constexpr int kEntranceExtraEXP = 0x07A000
 
constexpr int kEntranceTotalEXP = 0xFF
 
constexpr int kEntranceTotal = 0x84
 
constexpr int kEntranceLinkSpawn = 0x00
 
constexpr int kEntranceNorthTavern = 0x43
 
constexpr int kEntranceEXP = 0x07F000
 
constexpr int kEntranceCameraY = 0x014D45
 
constexpr int kEntranceCameraX = 0x014E4F
 
constexpr int kNumOverworldEntrances = 129
 
constexpr int kNumOverworldHoles = 0x13
 
constexpr int kOverworldEntranceMap = 0xDB96F
 
constexpr int kOverworldEntrancePos = 0xDBA71
 
constexpr int kOverworldEntranceEntranceId = 0xDBB73
 
constexpr int kOverworldEntranceMapExpanded = 0x0DB55F
 
constexpr int kOverworldEntrancePosExpanded = 0x0DB35F
 
constexpr int kOverworldEntranceEntranceIdExpanded = 0x0DB75F
 
constexpr int kOverworldEntranceExpandedFlagPos = 0x0DB895
 
constexpr int kOverworldHolePos = 0xDB800
 
constexpr int kOverworldHoleArea = 0xDB826
 
constexpr int kOverworldHoleEntrance = 0xDB84C
 
constexpr int kEntranceTileTypePtrLow = 0xDB8BF
 
constexpr int kEntranceTileTypePtrHigh = 0xDB917
 
constexpr int kNumEntranceTileTypes = 0x2C
 
constexpr int kNumOverworldExits = 0x4F
 
constexpr int OWExitRoomId = 0x15D8A
 
constexpr int OWExitMapId = 0x15E28
 
constexpr int OWExitVram = 0x15E77
 
constexpr int OWExitYScroll = 0x15F15
 
constexpr int OWExitXScroll = 0x15FB3
 
constexpr int OWExitYPlayer = 0x16051
 
constexpr int OWExitXPlayer = 0x160EF
 
constexpr int OWExitYCamera = 0x1618D
 
constexpr int OWExitXCamera = 0x1622B
 
constexpr int OWExitDoorPosition = 0x15724
 
constexpr int OWExitUnk1 = 0x162C9
 
constexpr int OWExitUnk2 = 0x16318
 
constexpr int OWExitDoorType1 = 0x16367
 
constexpr int OWExitDoorType2 = 0x16405
 
constexpr int OWExitMapIdWhirlpool = 0x16AE5
 
constexpr int OWExitVramWhirlpool = 0x16B07
 
constexpr int OWExitYScrollWhirlpool = 0x16B29
 
constexpr int OWExitXScrollWhirlpool = 0x16B4B
 
constexpr int OWExitYPlayerWhirlpool = 0x16B6D
 
constexpr int OWExitXPlayerWhirlpool = 0x16B8F
 
constexpr int OWExitYCameraWhirlpool = 0x16BB1
 
constexpr int OWExitXCameraWhirlpool = 0x16BD3
 
constexpr int OWExitUnk1Whirlpool = 0x16BF5
 
constexpr int OWExitUnk2Whirlpool = 0x16C17
 
constexpr int OWWhirlpoolPosition = 0x16CF8
 
constexpr int kNumOverworldMapItemPointers = 0x80
 
constexpr int kOverworldItemsPointers = 0xDC2F9
 
constexpr int kOverworldItemsAddress = 0xDC8B9
 
constexpr int kOverworldItemsBank = 0xDC8BF
 
constexpr int kOverworldItemsEndData = 0xDC89C
 
constexpr int kOverworldBombDoorItemLocationsNew = 0x012644
 
constexpr int kOverworldItemsPointersNew = 0x012784
 
constexpr int kOverworldItemsStartDataNew = 0x0DC2F9
 
constexpr int overworldItemsPointers = 0x0DC2F9
 
constexpr int overworldItemsAddress = 0x0DC8B9
 
constexpr int overworldItemsAddressBank = 0x0DC8BF
 
constexpr int overworldItemsEndData = 0x0DC89C
 
constexpr int overworldBombDoorItemLocationsNew = 0x012644
 
constexpr int overworldItemsPointersNew = 0x012784
 
constexpr int overworldItemsStartDataNew = 0x0DC2F9
 
const std::vector< std::string > kSecretItemNames
 
constexpr int OverworldCustomAreaSpecificBGPalette = 0x140000
 
constexpr int OverworldCustomAreaSpecificBGEnabled = 0x140140
 
constexpr int OverworldCustomSubscreenOverlayArray
 
constexpr int OverworldCustomSubscreenOverlayEnabled
 
constexpr int OverworldCustomAnimatedGFXArray
 
constexpr int OverworldCustomAnimatedGFXEnabled
 
constexpr int OverworldCustomTileGFXGroupArray
 
constexpr int OverworldCustomTileGFXGroupEnabled
 
constexpr int OverworldCustomMosaicArray
 
constexpr int OverworldCustomMosaicEnabled
 
constexpr int kOverlayPointers
 
constexpr int kOverlayPointersBank = 0x0E
 
constexpr int kOverlayData1 = 0x77676
 
constexpr int kOverlayData2 = 0x77677
 
constexpr int kOverlayCodeStart = 0x77657
 
constexpr int OverworldCustomMainPaletteArray = 0x140160
 
constexpr int OverworldCustomMainPaletteEnabled = 0x140141
 
constexpr int kOverworldMessagesExpanded = 0x1417F8
 
constexpr int kOverworldMapParentIdExpanded = 0x140998
 
constexpr int kOverworldTransitionPositionYExpanded = 0x140F38
 
constexpr int kOverworldTransitionPositionXExpanded = 0x141078
 
constexpr int kOverworldScreenTileMapChangeByScreen1Expanded = 0x140A38
 
constexpr int kOverworldScreenTileMapChangeByScreen2Expanded = 0x140B78
 
constexpr int kOverworldScreenTileMapChangeByScreen3Expanded = 0x140CB8
 
constexpr int kOverworldScreenTileMapChangeByScreen4Expanded = 0x140DF8
 
constexpr int kOverworldSpecialSpriteGFXGroup = 0x016811
 
constexpr int kOverworldSpecialGFXGroup = 0x016821
 
constexpr int kOverworldSpecialPALGroup = 0x016831
 
constexpr int kOverworldSpecialSpritePalette = 0x016841
 
constexpr int kOverworldPalettesScreenToSetNew = 0x4C635
 
constexpr int kOverworldSpecialSpriteGfxGroupExpandedTemp = 0x0166E1
 
constexpr int kOverworldSpecialSpritePaletteExpandedTemp = 0x016701
 
constexpr int transition_target_northExpanded = 0x1411B8
 
constexpr int transition_target_westExpanded = 0x1412F8
 
constexpr int kDarkWorldMapIdStart = 0x40
 
constexpr int kSpecialWorldMapIdStart = 0x80
 
const char *const kSpriteNames []
 
const size_t kSpriteNameCount = sizeof(kSpriteNames)/sizeof(kSpriteNames[0])
 
constexpr int kDungeonMapRoomsPtr = 0x57605
 
constexpr int kDungeonMapFloors = 0x575D9
 
constexpr int kDungeonMapGfxPtr = 0x57BE4
 
constexpr int kDungeonMapDataStart = 0x57039
 
constexpr int kDungeonMapExpCheck = 0x56652
 
constexpr int kDungeonMapTile16 = 0x57009
 
constexpr int kDungeonMapTile16Expanded = 0x109010
 
constexpr int kDungeonMapBossRooms = 0x56807
 
constexpr int kTriforceVertices = 0x04FFD2
 
constexpr int kTriforceFaces = 0x04FFE4
 
constexpr int kCrystalVertices = 0x04FF98
 
constexpr int kNumDungeons = 14
 
constexpr int kNumRooms = 25
 
constexpr int kNumDungeonMapTile16 = 186
 
constexpr int kInventoryStart = 0x6564A
 
constexpr int kItemIconsPtr = 0x0DF629
 
const std::string kOverlordNames [26]
 
const std::string kSpriteDefaultNames [256]
 
constexpr const char * kSpriteProperties []
 
const SpriteOamLayout kVultureLayout
 
const SpriteOamLayout kOctorokLayout
 
const SpriteOamLayout kChickenLayout
 
const SpriteOamLayout kGreenSoldierLayout
 
const SpriteOamLayout kBlueSoldierLayout
 
const SpriteOamLayout kRedSoldierLayout
 
const SpriteOamLayout kBlueGuardLayout
 
const SpriteOamLayout kGreenPatrolLayout
 
const SpriteOamLayout kArmosKnightLayout
 
const SpriteOamLayout kOctoballoonLayout
 
const SpriteOamLayout kRedEyegoreLayout
 
const SpriteOamLayout kGreenEyegoreLayout
 
const SpriteOamLayout kMoblinLayout
 
const SpriteOamLayout kHinoxLayout
 
const SpriteOamLayout kUncleLayout
 
const SpriteOamLayout kHeartContainerLayout
 
const SpriteOamLayout kGreenRupeeLayout
 
const SpriteOamLayout kBlueRupeeLayout
 
const SpriteOamLayout kRedRupeeLayout
 
const SpriteOamLayout kSmallHeartLayout
 
const SpriteOamLayout kKeyLayout
 
const SpriteOamLayout kSmallMagicLayout
 
const SpriteOamLayout kLargeMagicLayout
 

Detailed Description

Zelda 3 specific classes and functions.

Typedef Documentation

◆ DrawRoutineFn

using yaze::zelda3::DrawRoutineFn = std::function<void(const DrawContext& ctx)>

Function signature for a draw routine.

All draw routines are static functions with this signature. They receive all context via DrawContext and write tiles to target_bg.

Definition at line 50 of file draw_routine_types.h.

◆ json

using yaze::zelda3::json = nlohmann::json

Definition at line 13 of file object_templates.cc.

◆ OverworldBlockset

using yaze::zelda3::OverworldBlockset = std::vector<std::vector<uint16_t>>

Represents tile32 data for the overworld.

Definition at line 85 of file overworld_map.h.

◆ OverworldMapTiles

typedef struct yaze::zelda3::OverworldMapTiles yaze::zelda3::OverworldMapTiles

Overworld map tile32 data.

◆ DungeonMapLabels

Initial value:
std::array<std::vector<std::array<std::string, kNumRooms>>, kNumDungeons>
constexpr int kNumDungeons
Definition dungeon_map.h:36

Definition at line 61 of file dungeon_map.h.

Enumeration Type Documentation

◆ DoorDirection

enum class yaze::zelda3::DoorDirection : uint8_t
strong

Door direction on room walls.

Doors in ALTTP can only be placed on the four edges of a room. The direction determines which wall the door is on and affects its dimensions and orientation.

Enumerator
North 

Top wall (horizontal door, 4x3 tiles)

South 

Bottom wall (horizontal door, 4x3 tiles)

West 

Left wall (vertical door, 3x4 tiles)

East 

Right wall (vertical door, 3x4 tiles)

Definition at line 18 of file door_types.h.

◆ DoorType

enum class yaze::zelda3::DoorType : uint8_t
strong

Door types from ALTTP.

Complete list of 52 door types from the ROM's DoorGFXDataOffset tables. Values step by 2 (0x00, 0x02, 0x04, ... 0x66).

Source: bank_00.asm DoorGFXDataOffset_North table (lines 8070-8122)

Enumerator
NormalDoor 

Normal door (upper layer)

NormalDoorLower 

Normal door (lower layer)

ExitLower 

Exit (lower layer)

UnusedCaveExit 

Unused cave exit (lower layer)

WaterfallDoor 

Waterfall door.

FancyDungeonExit 

Fancy dungeon exit.

FancyDungeonExitLower 

Fancy dungeon exit (lower layer)

CaveExit 

Cave exit.

LitCaveExitLower 

Lit cave exit (lower layer)

ExitMarker 

Exit marker.

DungeonSwapMarker 

Dungeon swap marker.

LayerSwapMarker 

Layer swap marker.

DoubleSidedShutter 

Double sided shutter door.

EyeWatchDoor 

Eye watch door.

SmallKeyDoor 

Small key door.

BigKeyDoor 

Big key door.

SmallKeyStairsUp 

Small key stairs (upwards)

SmallKeyStairsDown 

Small key stairs (downwards)

SmallKeyStairsUpLower 

Small key stairs (lower layer; upwards)

SmallKeyStairsDownLower 

Small key stairs (lower layer; downwards)

DashWall 

Dash wall.

BombableCaveExit 

Bombable cave exit.

UnopenableBigKeyDoor 

Unopenable, double-sided big key door.

BombableDoor 

Bombable door.

ExplodingWall 

Exploding wall.

CurtainDoor 

Curtain door.

UnusableBottomShutter 

Unusable bottom-sided shutter door.

BottomSidedShutter 

Bottom-sided shutter door.

TopSidedShutter 

Top-sided shutter door.

UnusableNormalDoor3A 

Unusable normal door (lower layer)

UnusableNormalDoor3C 

Unusable normal door (lower layer)

UnusableNormalDoor3E 

Unusable normal door (lower layer)

NormalDoorOneSidedShutter 

Normal door (lower layer; with one-sided shutters)

UnusedDoubleSidedShutter 

Unused double-sided shutter.

DoubleSidedShutterLower 

Double-sided shutter (lower layer)

ExplicitRoomDoor 

Explicit room door.

BottomShutterLower 

Bottom-sided shutter door (lower layer)

TopShutterLower 

Top-sided shutter door (lower layer)

UnusableNormalDoor4C 

Unusable normal door (lower layer)

UnusableNormalDoor4E 

Unusable normal door (lower layer)

UnusableNormalDoor50 

Unusable normal door (lower layer)

UnusableBombedDoor 

Unusable bombed-open door (lower layer)

UnusableGlitchyDoor54 

Unusable glitchy door (lower layer)

UnusableGlitchyDoor56 

Unusable glitchy door (lower layer)

UnusableNormalDoor58 

Unusable normal door (lower layer)

UnusableGlitchyStairs5A 

Unusable glitchy/stairs up (lower layer)

UnusableGlitchyStairs5C 

Unusable glitchy/stairs up (lower layer)

UnusableGlitchyStairs5E 

Unusable glitchy/stairs up (lower layer)

UnusableGlitchyStairs60 

Unusable glitchy/stairs up (lower layer)

UnusableGlitchyStairsDown62 

Unusable glitchy/stairs down (lower layer)

UnusableGlitchyStairs64 

Unusable glitchy/stairs up (lower layer)

UnusableGlitchyStairsDown66 

Unusable glitchy/stairs down (lower layer)

Definition at line 33 of file door_types.h.

◆ PaletteDebugLevel

Enumerator
INFO 
WARNING 
ERROR 

Definition at line 13 of file palette_debug.h.

◆ CollisionKey

Enumerator
One_Collision 
Both 
Both_With_Scroll 
Moving_Floor_Collision 
Moving_Water_Collision 

Definition at line 114 of file room.h.

◆ EffectKey

Enumerator
Effect_Nothing 
One 
Moving_Floor 
Moving_Water 
Four 
Red_Flashes 
Torch_Show_Floor 
Ganon_Room 

Definition at line 122 of file room.h.

◆ TagKey

Enumerator
Nothing 
NW_Kill_Enemy_to_Open 
NE_Kill_Enemy_to_Open 
SW_Kill_Enemy_to_Open 
SE_Kill_Enemy_to_Open 
W_Kill_Enemy_to_Open 
E_Kill_Enemy_to_Open 
N_Kill_Enemy_to_Open 
S_Kill_Enemy_to_Open 
Clear_Quadrant_to_Open 
Clear_Room_to_Open 
NW_Push_Block_to_Open 
NE_Push_Block_to_Open 
SW_Push_Block_to_Open 
SE_Push_Block_to_Open 
W_Push_Block_to_Open 
E_Push_Block_to_Open 
N_Push_Block_to_Open 
S_Push_Block_to_Open 
Push_Block_to_Open 
Pull_Lever_to_Open 
Clear_Level_to_Open 
Switch_Open_Door_Hold 
Switch_Open_Door_Toggle 
Turn_off_Water 
Turn_on_Water 
Water_Gate 
Water_Twin 
Secret_Wall_Right 
Secret_Wall_Left 
Crash1 
Crash2 
Pull_Switch_to_bomb_Wall 
Holes_0 
Open_Chest_Activate_Holes_0 
Holes_1 
Holes_2 
Kill_Enemy_to_clear_level 
SE_Kill_Enemy_to_Move_Block 
Trigger_activated_Chest 
Pull_lever_to_Bomb_Wall 
NW_Kill_Enemy_for_Chest 
NE_Kill_Enemy_for_Chest 
SW_Kill_Enemy_for_Chest 
SE_Kill_Enemy_for_Chest 
W_Kill_Enemy_for_Chest 
E_Kill_Enemy_for_Chest 
N_Kill_Enemy_for_Chest 
S_Kill_Enemy_for_Chest 
Clear_Quadrant_for_Chest 
Clear_Room_for_Chest 
Light_Torches_to_Open 
Holes_3 
Holes_4 
Holes_5 
Holes_6 
Agahnim_Room 
Holes_7 
Holes_8 
Open_Chest_for_Holes_8 
Push_Block_for_Chest 
Kill_to_open_Ganon_Door 
Light_Torches_to_get_Chest 
Kill_boss_Again 

Definition at line 149 of file room.h.

◆ LayerType

enum class yaze::zelda3::LayerType
strong

Layer types for the 4-way visibility system.

The SNES dungeon rendering uses two background layers (BG1, BG2). Each layer has two components:

  • Layout: Base tiles from the room layout (floor, walls)
  • Objects: Tiles drawn by room objects (pots, blocks, doors)
Enumerator
BG1_Layout 
BG1_Objects 
BG2_Layout 
BG2_Objects 

Definition at line 23 of file room_layer_manager.h.

◆ LayerBlendMode

enum class yaze::zelda3::LayerBlendMode
strong

Layer blend modes for compositing.

Enumerator
Normal 
Translucent 
Addition 
Dark 
Off 

Definition at line 33 of file room_layer_manager.h.

◆ SpecialObjectType

Enumerator
Chest 
BigChest 
InterroomStairs 

Definition at line 16 of file room_object.h.

◆ Sorting

Enumerator
All 
Wall 
Horizontal 
Vertical 
NonScalable 
Dungeons 
Floors 
SortStairs 

Definition at line 18 of file room_object.h.

◆ ObjectOption

enum class yaze::zelda3::ObjectOption
strong
Enumerator
Nothing 
Door 
Chest 
Block 
Torch 
Bgr 
Stairs 

Definition at line 29 of file room_object.h.

◆ AreaSizeEnum

enum class yaze::zelda3::AreaSizeEnum
strong

Area size enumeration for v3+ ROMs.

v3 introduces explicit area size types beyond the simple large_map_ flag:

  • SmallArea: Standard 1x1 screen (512x512 pixels)
  • LargeArea: 2x2 screens (1024x1024 pixels)
  • WideArea: 2x1 screens (1024x512 pixels) - v3 only
  • TallArea: 1x2 screens (512x1024 pixels) - v3 only
Enumerator
SmallArea 
LargeArea 
WideArea 
TallArea 

Definition at line 65 of file overworld_version_helper.h.

◆ OverworldVersion

enum class yaze::zelda3::OverworldVersion
strong

ROM version detection for overworld features.

Centralizes version checks to distinguish between:

  • Vanilla: No ZScream patches (uses parent system for large maps only)
  • v1: Basic custom overworld features
  • v2: Parent system + BG colors + main palettes
  • v3: Area enum system + wide/tall areas + all features

The version is stored at ROM address 0x140145 (OverworldCustomASMHasBeenApplied).

Enumerator
kVanilla 

0xFF in ROM, no ZScream ASM applied

kZSCustomV1 

Basic features, expanded pointers.

kZSCustomV2 

Parent system, BG colors, main palettes.

kZSCustomV3 

Area enum, wide/tall areas, all features.

Definition at line 83 of file overworld_version_helper.h.

◆ ResourceType

enum class yaze::zelda3::ResourceType
strong

Enumeration of all supported resource types for labeling.

Enumerator
kSprite 
kRoom 
kEntrance 
kItem 
kOverlord 
kOverworldMap 
kMusic 
kGraphics 
kRoomEffect 
kRoomTag 
kTileType 

Definition at line 19 of file resource_labels.h.

Function Documentation

◆ stle16b_i()

void yaze::zelda3::stle16b_i ( uint8_t *const p_arr,
size_t const p_index,
uint16_t const p_val )

Store little endian 16-bit value using a byte pointer, offset by an index before dereferencing.

Definition at line 59 of file hyrule_magic.cc.

References stle16b().

Here is the call graph for this function:

◆ stle16b()

void yaze::zelda3::stle16b ( uint8_t *const p_arr,
uint16_t const p_val )

Definition at line 64 of file hyrule_magic.cc.

Referenced by yaze::gfx::HyruleMagicDecompress(), and stle16b_i().

◆ ldle16b()

uint16_t yaze::zelda3::ldle16b ( uint8_t const *const p_arr)

Definition at line 69 of file hyrule_magic.cc.

Referenced by yaze::gfx::HyruleMagicDecompress(), and ldle16b_i().

◆ ldle16b_i()

uint16_t yaze::zelda3::ldle16b_i ( uint8_t const *const p_arr,
size_t const p_index )

Load little endian halfword (16-bit) dereferenced from an arrays of bytes. This version provides an index that will be multiplied by 2 and added to the base address.

Definition at line 75 of file hyrule_magic.cc.

References ldle16b().

Here is the call graph for this function:

◆ GetDoorTypeName()

◆ GetDoorDirectionName()

◆ GetDoorDimensions()

◆ DoorTypeFromRaw()

constexpr DoorType yaze::zelda3::DoorTypeFromRaw ( uint8_t raw_type)
constexpr

Convert raw type byte to DoorType enum.

Parameters
raw_typeUpper nibble of byte2 (already shifted)

Definition at line 208 of file door_types.h.

Referenced by yaze::zelda3::Room::Door::FromRomBytes().

◆ DoorDirectionFromRaw()

constexpr DoorDirection yaze::zelda3::DoorDirectionFromRaw ( uint8_t raw_dir)
constexpr

Convert raw direction byte to DoorDirection enum.

Parameters
raw_dirLower nibble of byte2

Definition at line 216 of file door_types.h.

Referenced by yaze::zelda3::Room::Door::FromRomBytes().

◆ GetAllDoorTypes()

constexpr std::array< DoorType, 20 > yaze::zelda3::GetAllDoorTypes ( )
constexpr

Get commonly used door types for UI dropdowns Returns the most frequently used door types (not all 52)

Definition at line 224 of file door_types.h.

References BigKeyDoor, BombableDoor, BottomSidedShutter, CaveExit, CurtainDoor, DashWall, DoubleSidedShutter, DungeonSwapMarker, ExitMarker, ExplodingWall, EyeWatchDoor, FancyDungeonExit, LayerSwapMarker, NormalDoor, NormalDoorLower, SmallKeyDoor, SmallKeyStairsDown, SmallKeyStairsUp, TopSidedShutter, and WaterfallDoor.

◆ CreateDungeonEditorSystem()

std::unique_ptr< DungeonEditorSystem > yaze::zelda3::CreateDungeonEditorSystem ( Rom * rom,
GameData * game_data )

Factory function to create dungeon editor system.

Definition at line 1039 of file dungeon_editor_system.cc.

Referenced by yaze::editor::DungeonEditorV2::DungeonEditorV2().

◆ CreateDungeonObjectEditor()

std::unique_ptr< DungeonObjectEditor > yaze::zelda3::CreateDungeonObjectEditor ( Rom * rom)

Factory function to create dungeon object editor.

Definition at line 1885 of file dungeon_object_editor.cc.

◆ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE()

yaze::zelda3::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE ( TemplateObject ,
id ,
rel_x ,
rel_y ,
size ,
layer  )

◆ CalculateRoomSize()

RoomSize yaze::zelda3::CalculateRoomSize ( Rom * rom,
int room_id )

◆ LoadRoomFromRom()

◆ LoadRoomHeaderFromRom()

Room yaze::zelda3::LoadRoomHeaderFromRom ( Rom * rom,
int room_id )

Definition at line 206 of file room.cc.

References yaze::Rom::data(), yaze::Rom::is_loaded(), yaze::zelda3::Room::IsLight(), kRoomHeaderPointer, kRoomHeaderPointerBank, messages_id_dungeon, yaze::zelda3::Room::SetBackgroundTileset(), yaze::zelda3::Room::SetBg2(), yaze::zelda3::Room::SetBlockset(), yaze::zelda3::Room::SetCollision(), yaze::zelda3::Room::SetEffect(), yaze::zelda3::Room::SetHolewarp(), yaze::zelda3::Room::SetIsDark(), yaze::zelda3::Room::SetIsLight(), yaze::zelda3::Room::SetLayer2Behavior(), yaze::zelda3::Room::SetLayer2Mode(), yaze::zelda3::Room::SetLayerMerging(), yaze::zelda3::Room::SetMessageIdDirect(), yaze::zelda3::Room::SetPalette(), yaze::zelda3::Room::SetPaletteDirect(), yaze::zelda3::Room::SetPitsTarget(), yaze::zelda3::Room::SetPitsTargetLayer(), yaze::zelda3::Room::SetSpriteset(), yaze::zelda3::Room::SetSpriteTileset(), yaze::zelda3::Room::SetStair1Target(), yaze::zelda3::Room::SetStair1TargetLayer(), yaze::zelda3::Room::SetStair2Target(), yaze::zelda3::Room::SetStair2TargetLayer(), yaze::zelda3::Room::SetStair3Target(), yaze::zelda3::Room::SetStair3TargetLayer(), yaze::zelda3::Room::SetStair4Target(), yaze::zelda3::Room::SetStair4TargetLayer(), yaze::zelda3::Room::SetStaircasePlane(), yaze::zelda3::Room::SetStaircaseRoom(), yaze::zelda3::Room::SetTag1(), yaze::zelda3::Room::SetTag1Direct(), yaze::zelda3::Room::SetTag2(), yaze::zelda3::Room::SetTag2Direct(), yaze::Rom::size(), and yaze::SnesToPc().

Referenced by yaze::cli::anonymous_namespace{dungeon_doctor_commands.cc}::DiagnoseRoom(), yaze::editor::DungeonRoomLoader::LoadAllRooms(), and LoadRoomFromRom().

◆ operator|()

ObjectOption yaze::zelda3::operator| ( ObjectOption lhs,
ObjectOption rhs )

Definition at line 37 of file room_object.cc.

◆ operator&()

ObjectOption yaze::zelda3::operator& ( ObjectOption lhs,
ObjectOption rhs )

Definition at line 42 of file room_object.cc.

◆ operator^()

ObjectOption yaze::zelda3::operator^ ( ObjectOption lhs,
ObjectOption rhs )

Definition at line 47 of file room_object.cc.

◆ operator~()

ObjectOption yaze::zelda3::operator~ ( ObjectOption option)

Definition at line 52 of file room_object.cc.

◆ GetObjectName()

◆ GetObjectSubtype()

◆ GetGraphicsAddress()

uint32_t yaze::zelda3::GetGraphicsAddress ( const uint8_t * data,
uint8_t addr,
uint32_t ptr1,
uint32_t ptr2,
uint32_t ptr3,
size_t rom_size )

Gets the graphics address for a sheet index.

Warning
Callers must verify the returned offset is within ROM bounds before attempting to read or decompress data at that location.
Parameters
dataROM data pointer
addrSheet index
ptr1Bank byte pointer table offset
ptr2High byte pointer table offset
ptr3Low byte pointer table offset
rom_sizeROM size for bounds checking
Returns
PC offset for the graphics data

Definition at line 69 of file game_data.cc.

References yaze::AddressFromBytes(), and yaze::SnesToPc().

Referenced by Load2BppGraphics(), LoadGraphics(), and yaze::editor::GraphicsEditor::Save().

Here is the call graph for this function:

◆ LoadGameData()

◆ SaveGameData()

absl::Status yaze::zelda3::SaveGameData ( Rom & rom,
GameData & data )

Saves modified game data back to the ROM.

Parameters
romThe target ROM
dataThe source GameData
Todo
Implement SaveAllPalettes logic using Rom::WriteColor
Todo
Implement SaveAllGraphicsData logic

Definition at line 108 of file game_data.cc.

References yaze::gfx::PaletteGroupMap::for_each(), yaze::core::FeatureFlags::get(), yaze::gfx::SnesColor::is_modified(), yaze::core::FeatureFlags::Flags::kSaveGfxGroups, yaze::gfx::PaletteGroup::mutable_palette(), yaze::zelda3::GameData::palette_groups, RETURN_IF_ERROR, SaveGfxGroups(), and yaze::gfx::PaletteGroup::size().

◆ LoadMetadata()

absl::Status yaze::zelda3::LoadMetadata ( const Rom & rom,
GameData & data )

Definition at line 136 of file game_data.cc.

References yaze::Rom::data(), yaze::Rom::ReadByteVector(), yaze::Rom::size(), yaze::zelda3::GameData::title, and yaze::zelda3::GameData::version.

Referenced by LoadGameData().

Here is the call graph for this function:

◆ LoadPalettes()

absl::Status yaze::zelda3::LoadPalettes ( const Rom & rom,
GameData & data )

Definition at line 159 of file game_data.cc.

References yaze::gfx::LoadAllPalettes(), yaze::zelda3::GameData::palette_groups, and yaze::Rom::vector().

Referenced by LoadGameData().

Here is the call graph for this function:

◆ LoadGfxGroups()

◆ SaveGfxGroups()

◆ LoadGraphics()

absl::Status yaze::zelda3::LoadGraphics ( Rom & rom,
GameData & data )

Loads all 223 graphics sheets from the ROM into bitmap format.

ALTTP uses 223 graphics sheets (kNumGfxSheets) stored in three formats:

Sheet Categories:

  • Sheets 0-112: Compressed 3BPP (overworld, dungeons, sprites)
  • Sheets 113-114: 2BPP sheets (skipped here, loaded separately)
  • Sheets 115-126: Uncompressed 3BPP (special graphics)
  • Sheets 127-217: Compressed 3BPP (additional graphics)
  • Sheets 218+: 2BPP sheets (skipped here)

Compression Format: Graphics data is compressed using Nintendo's LC-LZ2 algorithm. Each sheet is decompressed to a 0x800 (2048) byte buffer, then converted from SNES planar format to linear 8BPP for easier manipulation.

Graphics Buffer: All sheet data is also appended to data.graphics_buffer for legacy compatibility. Sheets that fail to load are filled with 0xFF bytes to maintain correct indexing.

Parameters
romThe loaded ROM to read graphics from
dataThe GameData structure to populate with graphics
Returns
OkStatus on success, or error status
Warning
The DecompressV2 size parameter MUST be 0x800, not 0. Passing size=0 causes immediate return of empty data, which was a regression bug that caused all graphics to appear as solid purple/brown (0xFF fill).

Definition at line 285 of file game_data.cc.

References yaze::Rom::data(), yaze::gfx::lc_lz2::DecompressV2(), yaze::zelda3::GameData::diagnostics, yaze::gfx::PaletteGroupMap::dungeon_main, yaze::gfx::SnesPalette::empty(), yaze::gfx::PaletteGroupMap::empty(), GetGraphicsAddress(), yaze::zelda3::GameData::gfx_bitmaps, yaze::zelda3::GameData::graphics_buffer, yaze::gfx::PaletteGroupMap::hud, kNumGfxSheets, yaze::gfx::kTilesheetDepth, yaze::gfx::kTilesheetHeight, yaze::gfx::kTilesheetWidth, kUncompressedSheetSize, yaze::gfx::PaletteGroup::palette(), yaze::zelda3::GameData::palette_groups, yaze::zelda3::GameData::raw_gfx_sheets, yaze::Rom::ReadByteVector(), yaze::GraphicsLoadDiagnostics::rom_size, yaze::gfx::PaletteGroup::size(), yaze::Rom::size(), yaze::gfx::SnesTo8bppSheet(), yaze::gfx::PaletteGroupMap::sprites_aux1, and yaze::zelda3::GameData::version.

Referenced by LoadGameData().

◆ LoadLinkGraphics()

absl::StatusOr< std::array< gfx::Bitmap, kNumLinkSheets > > yaze::zelda3::LoadLinkGraphics ( const Rom & rom)

Loads Link's graphics sheets from ROM.

Parameters
romThe source ROM
Returns
Array of 14 Link graphics bitmaps, or error status

Definition at line 432 of file game_data.cc.

References kLinkGfxLength, kLinkGfxOffset, kNumLinkSheets, yaze::gfx::kTilesheetDepth, yaze::gfx::kTilesheetHeight, yaze::gfx::kTilesheetWidth, yaze::Rom::ReadByteVector(), and yaze::gfx::SnesTo8bppSheet().

Referenced by yaze::editor::LinkSpritePanel::LoadLinkSheets().

Here is the call graph for this function:

◆ Load2BppGraphics()

absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::Load2BppGraphics ( const Rom & rom)

Loads 2BPP graphics sheets from ROM.

Parameters
romThe source ROM
Returns
Vector of 8BPP converted graphics data, or error status

Definition at line 456 of file game_data.cc.

References yaze::Rom::data(), yaze::gfx::lc_lz2::DecompressV2(), GetGraphicsAddress(), yaze::Rom::size(), and yaze::gfx::SnesTo8bppSheet().

Referenced by yaze::zelda3::Inventory::BuildTileset().

◆ LoadFontGraphics()

absl::StatusOr< gfx::Bitmap > yaze::zelda3::LoadFontGraphics ( const Rom & rom)

Loads font graphics from ROM.

Parameters
romThe source ROM
Returns
Font graphics bitmap, or error status

Definition at line 493 of file game_data.cc.

References yaze::gfx::Bitmap::Create(), kFontSpriteLocation, yaze::gfx::kTilesheetDepth, yaze::gfx::kTilesheetHeight, yaze::gfx::kTilesheetWidth, yaze::Rom::ReadByteVector(), and yaze::gfx::SnesTo8bppSheet().

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

Here is the call graph for this function:

◆ SaveAllGraphicsData()

absl::Status yaze::zelda3::SaveAllGraphicsData ( Rom & rom,
const std::array< gfx::Bitmap, kNumGfxSheets > & sheets )

Saves all graphics sheets back to ROM.

Parameters
romThe target ROM
sheetsThe graphics sheets to save
Returns
Status of the operation

Definition at line 516 of file game_data.cc.

References LOG_INFO.

Referenced by yaze::editor::EditorManager::SaveRom().

◆ LoadEntrances()

◆ LoadHoles()

absl::StatusOr< std::vector< OverworldEntrance > > yaze::zelda3::LoadHoles ( Rom * rom)

Definition at line 52 of file overworld_entrance.cc.

References ASSIGN_OR_RETURN, kOverworldHoleArea, kOverworldHoleEntrance, kOverworldHolePos, yaze::Rom::ReadByte(), and yaze::Rom::ReadWord().

Referenced by yaze::zelda3::Overworld::Load().

Here is the call graph for this function:

◆ SaveEntrances()

absl::Status yaze::zelda3::SaveEntrances ( Rom * rom,
const std::vector< OverworldEntrance > & entrances,
bool expanded_entrances )

◆ SaveHoles()

absl::Status yaze::zelda3::SaveHoles ( Rom * rom,
const std::vector< OverworldEntrance > & holes )

◆ LoadEntranceTileTypes()

absl::StatusOr< OverworldEntranceTileTypes > yaze::zelda3::LoadEntranceTileTypes ( Rom * rom)
inline

◆ LoadExits()

◆ SaveExits()

◆ LoadItems()

◆ SaveItems()

◆ CompareOverworldItems()

bool yaze::zelda3::CompareOverworldItems ( const std::vector< OverworldItem > & items1,
const std::vector< OverworldItem > & items2 )
inline

◆ CompareItemsArrays()

bool yaze::zelda3::CompareItemsArrays ( std::vector< OverworldItem > item_array1,
std::vector< OverworldItem > item_array2 )
inline

Definition at line 104 of file overworld_item.h.

References CompareItemsArrays().

Referenced by CompareItemsArrays(), and SaveItems().

Here is the call graph for this function:

◆ GetPaletteGroupMetadata()

◆ GetAllPaletteGroups()

◆ ResourceTypeToString()

◆ StringToResourceType()

ResourceType yaze::zelda3::StringToResourceType ( const std::string & type_str)

Convert string key to ResourceType enum.

Definition at line 56 of file resource_labels.cc.

References kEntrance, kGraphics, kItem, kMusic, kOverlord, kOverworldMap, kRoom, kRoomEffect, kRoomTag, kSprite, and kTileType.

Referenced by yaze::zelda3::ResourceLabelProvider::GetLabel().

◆ GetResourceLabels()

◆ GetSpriteLabel()

std::string yaze::zelda3::GetSpriteLabel ( int id)
inline

Convenience function to get a sprite label.

Definition at line 199 of file resource_labels.h.

References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kSprite.

Referenced by yaze::editor::DungeonCanvasViewer::RenderSprites().

Here is the call graph for this function:

◆ GetRoomLabel()

◆ GetItemLabel()

std::string yaze::zelda3::GetItemLabel ( int id)
inline

Convenience function to get an item label.

Definition at line 213 of file resource_labels.h.

References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kItem.

Here is the call graph for this function:

◆ GetEntranceLabel()

std::string yaze::zelda3::GetEntranceLabel ( int id)
inline

Convenience function to get an entrance label.

Definition at line 220 of file resource_labels.h.

References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kEntrance.

Referenced by yaze::editor::DungeonEntrancesPanel::Draw(), and yaze::editor::DungeonRoomSelector::DrawEntranceSelector().

Here is the call graph for this function:

◆ GetOverlordLabel()

std::string yaze::zelda3::GetOverlordLabel ( int id)
inline

Convenience function to get an overlord label.

Definition at line 227 of file resource_labels.h.

References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kOverlord.

Here is the call graph for this function:

◆ GetOverworldMapLabel()

std::string yaze::zelda3::GetOverworldMapLabel ( int id)
inline

Convenience function to get an overworld map label.

Definition at line 234 of file resource_labels.h.

References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kOverworldMap.

Here is the call graph for this function:

◆ GetMusicLabel()

std::string yaze::zelda3::GetMusicLabel ( int id)
inline

Convenience function to get a music track label.

Definition at line 241 of file resource_labels.h.

References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kMusic.

Here is the call graph for this function:

◆ GetRoomTagLabel()

std::string yaze::zelda3::GetRoomTagLabel ( int id)
inline

Convenience function to get a room tag label.

Definition at line 248 of file resource_labels.h.

References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kRoomTag.

Here is the call graph for this function:

◆ LoadDungeonMaps()

absl::StatusOr< std::vector< DungeonMap > > yaze::zelda3::LoadDungeonMaps ( Rom & rom,
DungeonMapLabels & dungeon_map_labels )

Load the dungeon maps from the ROM.

Parameters
rom
dungeon_map_labels
Returns
absl::StatusOr<std::vector<DungeonMap>>

Definition at line 19 of file dungeon_map.cc.

References ASSIGN_OR_RETURN, yaze::Rom::data(), yaze::util::HexByte(), kDungeonMapBossRooms, kDungeonMapFloors, kDungeonMapGfxPtr, kDungeonMapRoomsPtr, kNumDungeons, kNumRooms, yaze::Rom::ReadByte(), yaze::Rom::ReadWord(), and yaze::SnesToPc().

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

◆ SaveDungeonMaps()

absl::Status yaze::zelda3::SaveDungeonMaps ( Rom & rom,
std::vector< DungeonMap > & dungeon_maps )

Save the dungeon maps to the ROM.

Parameters
rom
dungeon_maps

Definition at line 79 of file dungeon_map.cc.

References kDungeonMapGfxPtr, kDungeonMapRoomsPtr, kNumDungeons, kNumRooms, RETURN_IF_ERROR, yaze::SnesToPc(), and yaze::Rom::WriteByte().

Referenced by yaze::editor::EditorManager::SaveRom().

Here is the call graph for this function:

◆ LoadDungeonMapTile16()

◆ SaveDungeonMapTile16()

absl::Status yaze::zelda3::SaveDungeonMapTile16 ( gfx::Tilemap & tile16_blockset,
Rom & rom )

Save the dungeon map tile16 to the ROM.

Parameters
tile16_blockset
rom

Definition at line 148 of file dungeon_map.cc.

References yaze::Rom::data(), kDungeonMapExpCheck, kDungeonMapTile16, kDungeonMapTile16Expanded, kNumDungeonMapTile16, RETURN_IF_ERROR, yaze::gfx::Tilemap::tile_info, yaze::gfx::TileInfoToWord(), and yaze::Rom::WriteWord().

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

Here is the call graph for this function:

◆ LoadDungeonMapGfxFromBinary()

absl::Status yaze::zelda3::LoadDungeonMapGfxFromBinary ( Rom & rom,
GameData * game_data,
gfx::Tilemap & tile16_blockset,
std::array< gfx::Bitmap, 4 > & sheets,
std::vector< uint8_t > & gfx_bin_data )

◆ SetPreferHmagicSpriteNames()

void yaze::zelda3::SetPreferHmagicSpriteNames ( bool prefer)

◆ PreferHmagicSpriteNames()

bool yaze::zelda3::PreferHmagicSpriteNames ( )

Definition at line 277 of file sprite.cc.

References GetResourceLabels(), and yaze::zelda3::ResourceLabelProvider::PreferHMagicNames().

Here is the call graph for this function:

◆ ResolveSpriteName()

Variable Documentation

◆ TileTypeNames

const std::string yaze::zelda3::TileTypeNames

Definition at line 6 of file common.cc.

◆ kNumOverworldMaps

constexpr int yaze::zelda3::kNumOverworldMaps = 160
constexpr

Definition at line 85 of file common.h.

Referenced by yaze::zelda3::Overworld::AssignMapSizes(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::BuildDistribution(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::BuildOverworldMaps(), yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::zelda3::Overworld::DecompressAllMapTilesParallel(), yaze::editor::MapPropertiesSystem::DrawOverlayPreviewOnMap(), yaze::zelda3::Overworld::EnsureMapBuilt(), yaze::editor::OverworldEditor::EnsureMapTexture(), yaze::cli::OverworldValidateCommandHandler::Execute(), yaze::zelda3::Overworld::FetchLargeMaps(), yaze::zelda3::anonymous_namespace{overworld.cc}::GetAllTile16(), yaze::cli::HandleOverworldDescribeMapLegacy(), yaze::cli::HandleOverworldListWarpsLegacy(), yaze::zelda3::Overworld::InvalidateMapCache(), yaze::zelda3::Overworld::InvalidateSiblingMapCaches(), yaze::zelda3::Overworld::Load(), yaze::editor::OverworldEditor::LoadGraphics(), LoadItems(), yaze::zelda3::Overworld::LoadOverworldMaps(), yaze::zelda3::OverworldMap::LoadPalette(), yaze::cli::overworld::anonymous_namespace{overworld_inspect.cc}::PopulateCommonWarpFields(), yaze::editor::OverworldEditor::ProcessDeferredTextures(), yaze::editor::OverworldEditor::QueueAdjacentMapsForPreload(), yaze::editor::OverworldEditor::RefreshMapPalette(), yaze::editor::OverworldEditor::RefreshMapProperties(), yaze::editor::OverworldEditor::RefreshMultiAreaMapsSafely(), yaze::editor::OverworldEditor::RefreshOverworldMapOnDemand(), yaze::editor::MapPropertiesSystem::RefreshSiblingMapGraphics(), yaze::zelda3::Overworld::SaveAreaSizes(), yaze::zelda3::Overworld::SaveAreaSpecificBGColors(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), SaveItems(), yaze::zelda3::Overworld::SaveLargeAreaTransitions(), yaze::zelda3::Overworld::SaveLargeMapsExpanded(), yaze::zelda3::Overworld::SaveMapOverlays(), yaze::zelda3::Overworld::SaveOverworldMaps(), yaze::zelda3::Overworld::SaveSmallAreaTransitions(), yaze::zelda3::Overworld::SaveTallAreaTransitions(), yaze::zelda3::Overworld::SaveWideAreaTransitions(), yaze::editor::OverworldEditor::set_current_map(), and yaze::cli::overworld::anonymous_namespace{overworld_inspect.cc}::ValidateMapId().

◆ OverworldCustomASMHasBeenApplied

◆ kEntranceNames

constexpr const char* yaze::zelda3::kEntranceNames[]
constexpr

◆ kDoorPosNorthAddr

constexpr int yaze::zelda3::kDoorPosNorthAddr = 0x197E
constexpr

Definition at line 34 of file door_position.cc.

◆ kDoorPosSouthAddr

constexpr int yaze::zelda3::kDoorPosSouthAddr = 0x198A
constexpr

Definition at line 35 of file door_position.cc.

◆ kDoorPosWestAddr

constexpr int yaze::zelda3::kDoorPosWestAddr = 0x1996
constexpr

Definition at line 36 of file door_position.cc.

◆ kDoorPosEastAddr

constexpr int yaze::zelda3::kDoorPosEastAddr = 0x19A2
constexpr

Definition at line 37 of file door_position.cc.

◆ kRoomObjectLayoutPointer

constexpr int yaze::zelda3::kRoomObjectLayoutPointer = 0x882D
constexpr

Definition at line 17 of file dungeon_rom_addresses.h.

◆ kRoomObjectPointer

constexpr int yaze::zelda3::kRoomObjectPointer = 0x874C
constexpr

Definition at line 18 of file dungeon_rom_addresses.h.

◆ kRoomHeaderPointer

constexpr int yaze::zelda3::kRoomHeaderPointer = 0xB5DD
constexpr

Definition at line 19 of file dungeon_rom_addresses.h.

Referenced by LoadRoomHeaderFromRom().

◆ kRoomHeaderPointerBank

constexpr int yaze::zelda3::kRoomHeaderPointerBank = 0xB5E7
constexpr

Definition at line 20 of file dungeon_rom_addresses.h.

Referenced by LoadRoomHeaderFromRom().

◆ kDungeonsMainBgPalettePointers

constexpr int yaze::zelda3::kDungeonsMainBgPalettePointers = 0xDEC4B
constexpr

Definition at line 23 of file dungeon_rom_addresses.h.

◆ kDungeonsPalettes

constexpr int yaze::zelda3::kDungeonsPalettes = 0xDD734
constexpr

Definition at line 24 of file dungeon_rom_addresses.h.

◆ kRoomItemsPointers

constexpr int yaze::zelda3::kRoomItemsPointers = 0xDB69
constexpr

Definition at line 27 of file dungeon_rom_addresses.h.

Referenced by yaze::zelda3::Room::LoadPotItems().

◆ kRoomsSpritePointer

◆ kSpriteBlocksetPointer

constexpr int yaze::zelda3::kSpriteBlocksetPointer = 0x5B57
constexpr

◆ kGfxGroupsPointer

◆ kTileAddress

constexpr int yaze::zelda3::kTileAddress = 0x001B52
constexpr

Definition at line 33 of file dungeon_rom_addresses.h.

◆ kTileAddressFloor

constexpr int yaze::zelda3::kTileAddressFloor = 0x001B5A
constexpr

Definition at line 34 of file dungeon_rom_addresses.h.

◆ kBlocksLength

constexpr int yaze::zelda3::kBlocksLength = 0x8896
constexpr

Definition at line 37 of file dungeon_rom_addresses.h.

◆ kBlocksPointer1

constexpr int yaze::zelda3::kBlocksPointer1 = 0x15AFA
constexpr

Definition at line 38 of file dungeon_rom_addresses.h.

◆ kBlocksPointer2

constexpr int yaze::zelda3::kBlocksPointer2 = 0x15B01
constexpr

Definition at line 39 of file dungeon_rom_addresses.h.

◆ kBlocksPointer3

constexpr int yaze::zelda3::kBlocksPointer3 = 0x15B08
constexpr

Definition at line 40 of file dungeon_rom_addresses.h.

◆ kBlocksPointer4

constexpr int yaze::zelda3::kBlocksPointer4 = 0x15B0F
constexpr

Definition at line 41 of file dungeon_rom_addresses.h.

◆ kChestsLengthPointer

constexpr int yaze::zelda3::kChestsLengthPointer = 0xEBF6
constexpr

Definition at line 44 of file dungeon_rom_addresses.h.

◆ kChestsDataPointer1

constexpr int yaze::zelda3::kChestsDataPointer1 = 0xEBFB
constexpr

Definition at line 45 of file dungeon_rom_addresses.h.

◆ kTorchData

constexpr int yaze::zelda3::kTorchData = 0x2736A
constexpr

Definition at line 48 of file dungeon_rom_addresses.h.

◆ kTorchesLengthPointer

constexpr int yaze::zelda3::kTorchesLengthPointer = 0x88C1
constexpr

Definition at line 49 of file dungeon_rom_addresses.h.

◆ kPitPointer

constexpr int yaze::zelda3::kPitPointer = 0x394AB
constexpr

Definition at line 52 of file dungeon_rom_addresses.h.

◆ kPitCount

constexpr int yaze::zelda3::kPitCount = 0x394A6
constexpr

Definition at line 53 of file dungeon_rom_addresses.h.

◆ kDoorPointers

constexpr int yaze::zelda3::kDoorPointers = 0xF83C0
constexpr

Definition at line 56 of file dungeon_rom_addresses.h.

◆ kDoorGfxUp

constexpr int yaze::zelda3::kDoorGfxUp = 0x4D9E
constexpr

Definition at line 57 of file dungeon_rom_addresses.h.

Referenced by yaze::zelda3::ObjectDrawer::DrawDoor().

◆ kDoorGfxDown

constexpr int yaze::zelda3::kDoorGfxDown = 0x4E06
constexpr

Definition at line 58 of file dungeon_rom_addresses.h.

Referenced by yaze::zelda3::ObjectDrawer::DrawDoor().

◆ kDoorGfxCaveExitDown

constexpr int yaze::zelda3::kDoorGfxCaveExitDown = 0x4E06
constexpr

Definition at line 59 of file dungeon_rom_addresses.h.

◆ kDoorGfxLeft

constexpr int yaze::zelda3::kDoorGfxLeft = 0x4E66
constexpr

Definition at line 60 of file dungeon_rom_addresses.h.

Referenced by yaze::zelda3::ObjectDrawer::DrawDoor().

◆ kDoorGfxRight

constexpr int yaze::zelda3::kDoorGfxRight = 0x4EC6
constexpr

Definition at line 61 of file dungeon_rom_addresses.h.

Referenced by yaze::zelda3::ObjectDrawer::DrawDoor().

◆ kDoorPosUp

constexpr int yaze::zelda3::kDoorPosUp = 0x197E
constexpr

Definition at line 62 of file dungeon_rom_addresses.h.

◆ kDoorPosDown

constexpr int yaze::zelda3::kDoorPosDown = 0x1996
constexpr

Definition at line 63 of file dungeon_rom_addresses.h.

◆ kDoorPosLeft

constexpr int yaze::zelda3::kDoorPosLeft = 0x19AE
constexpr

Definition at line 64 of file dungeon_rom_addresses.h.

◆ kDoorPosRight

constexpr int yaze::zelda3::kDoorPosRight = 0x19C6
constexpr

Definition at line 65 of file dungeon_rom_addresses.h.

◆ kSpritesData

constexpr int yaze::zelda3::kSpritesData = 0x4D8B0
constexpr

◆ kSpritesDataEmptyRoom

constexpr int yaze::zelda3::kSpritesDataEmptyRoom = 0x4D8AE
constexpr

◆ kSpritesEndData

constexpr int yaze::zelda3::kSpritesEndData = 0x4EC9E
constexpr

◆ kDungeonSpritePointers

constexpr int yaze::zelda3::kDungeonSpritePointers
constexpr
Initial value:
=
0x090000

Definition at line 71 of file dungeon_rom_addresses.h.

◆ kMessagesIdDungeon

constexpr int yaze::zelda3::kMessagesIdDungeon = 0x3F61D
constexpr

Definition at line 75 of file dungeon_rom_addresses.h.

◆ kNumberOfRooms

◆ kStairsObjects

constexpr uint16_t yaze::zelda3::kStairsObjects[] = {0x139, 0x138, 0x13B, 0x12E, 0x12D}
constexpr

Definition at line 81 of file dungeon_rom_addresses.h.

◆ name

yaze::zelda3::name

Definition at line 18 of file object_templates.cc.

Referenced by yaze::zelda3::ObjectTemplateManager::CreateFromObjects(), yaze::zelda3::music::MusicBank::CreateNewInstrument(), yaze::zelda3::music::MusicBank::CreateNewSong(), yaze::cli::agent::tools::ProjectManager::CreateSnapshot(), yaze::zelda3::DungeonObjectEditor::CreateTemplateFromSelection(), yaze::cli::agent::tools::ProjectManager::DeleteSnapshot(), yaze::cli::agent::tools::ProjectStatusTool::Execute(), yaze::cli::agent::tools::ProjectSnapshotTool::Execute(), yaze::cli::agent::tools::ProjectRestoreTool::Execute(), yaze::cli::agent::ToolSchemaRegistry::Get(), yaze::cli::agent::ToolRegistry::GetAllTools(), yaze::zelda3::Zelda3Labels::GetEntranceNames(), yaze::zelda3::Zelda3Labels::GetOverlordNames(), yaze::zelda3::Zelda3Labels::GetRoomEffectNames(), yaze::zelda3::Zelda3Labels::GetRoomNames(), yaze::cli::agent::tools::ProjectManager::GetSnapshot(), yaze::cli::agent::tools::ProjectManager::GetSnapshotFilePath(), yaze::zelda3::Zelda3Labels::GetSpriteNames(), yaze::cli::agent::tools::ProjectGraphTool::GetSymbolTable(), yaze::cli::agent::ToolRegistry::GetToolDefinition(), yaze::cli::agent::ToolRegistry::GetToolsByCategory(), yaze::cli::handlers::anonymous_namespace{browser_agent.cc}::HandleDescribeCommand(), yaze::zelda3::music::MusicBank::ImportSampleFromWav(), yaze::zelda3::LayerMergeType::LayerMergeType(), yaze::cli::agent::tools::ProjectManager::ListSnapshots(), yaze::zelda3::music::AsmImporter::ParseDirective(), yaze::zelda3::music::AsmImporter::ParseDurationConstant(), yaze::cli::agent::EnhancedTUI::RegisterCommand(), yaze::zelda3::DungeonObjectRegistry::RegisterCustomObject(), yaze::zelda3::Room::RenderRoomGraphics(), yaze::cli::agent::tools::ProjectManager::RestoreSnapshot(), and yaze::cli::agent::tools::ProjectManager::SaveProjectMetadata().

◆ description

◆ category

◆ RoomEffect

const std::string yaze::zelda3::RoomEffect
Initial value:
= {
"Nothing",
"Nothing",
"Moving Floor",
"Moving Water",
"Trinexx Shell",
"Red Flashes",
"Light Torch to See Floor",
"Ganon's Darkness"
}

Definition at line 28 of file room.cc.

Referenced by yaze::zelda3::Zelda3Labels::GetRoomEffectNames().

◆ RoomTag

const std::string yaze::zelda3::RoomTag

Definition at line 40 of file room.cc.

◆ kGfxBufferOffset

constexpr int yaze::zelda3::kGfxBufferOffset = 92 * 2048
constexpr

Definition at line 412 of file room.cc.

◆ kGfxBufferStride

constexpr int yaze::zelda3::kGfxBufferStride = 1024
constexpr

Definition at line 413 of file room.cc.

◆ kGfxBufferAnimatedFrameOffset

constexpr int yaze::zelda3::kGfxBufferAnimatedFrameOffset = 7 * 4096
constexpr

Definition at line 414 of file room.cc.

◆ kGfxBufferAnimatedFrameStride

constexpr int yaze::zelda3::kGfxBufferAnimatedFrameStride = 1024
constexpr

Definition at line 415 of file room.cc.

◆ kGfxBufferRoomOffset

constexpr int yaze::zelda3::kGfxBufferRoomOffset = 4096
constexpr

Definition at line 416 of file room.cc.

◆ kGfxBufferRoomSpriteOffset

constexpr int yaze::zelda3::kGfxBufferRoomSpriteOffset = 1024
constexpr

Definition at line 417 of file room.cc.

◆ kGfxBufferRoomSpriteStride

constexpr int yaze::zelda3::kGfxBufferRoomSpriteStride = 4096
constexpr

Definition at line 418 of file room.cc.

◆ kGfxBufferRoomSpriteLastLineOffset

constexpr int yaze::zelda3::kGfxBufferRoomSpriteLastLineOffset = 0x110
constexpr

Definition at line 419 of file room.cc.

◆ room_object_layout_pointer

constexpr int yaze::zelda3::room_object_layout_pointer = kRoomObjectLayoutPointer
constexpr

Definition at line 33 of file room.h.

◆ room_object_pointer

constexpr int yaze::zelda3::room_object_pointer = kRoomObjectPointer
constexpr

◆ dungeons_main_bg_palette_pointers

constexpr int yaze::zelda3::dungeons_main_bg_palette_pointers
constexpr
Initial value:

Definition at line 35 of file room.h.

◆ dungeons_palettes

constexpr int yaze::zelda3::dungeons_palettes = kDungeonsPalettes
constexpr

Definition at line 37 of file room.h.

◆ room_items_pointers

constexpr int yaze::zelda3::room_items_pointers = kRoomItemsPointers
constexpr

Definition at line 38 of file room.h.

◆ rooms_sprite_pointer

constexpr int yaze::zelda3::rooms_sprite_pointer = kRoomsSpritePointer
constexpr

◆ gfx_groups_pointer

constexpr int yaze::zelda3::gfx_groups_pointer = kGfxGroupsPointer
constexpr

Definition at line 40 of file room.h.

◆ chests_length_pointer

constexpr int yaze::zelda3::chests_length_pointer = kChestsLengthPointer
constexpr

Definition at line 41 of file room.h.

Referenced by yaze::zelda3::Room::LoadChests().

◆ chests_data_pointer1

constexpr int yaze::zelda3::chests_data_pointer1 = kChestsDataPointer1
constexpr

Definition at line 42 of file room.h.

Referenced by yaze::zelda3::Room::LoadChests().

◆ messages_id_dungeon

constexpr int yaze::zelda3::messages_id_dungeon = kMessagesIdDungeon
constexpr

Definition at line 43 of file room.h.

Referenced by LoadRoomHeaderFromRom().

◆ blocks_length

constexpr int yaze::zelda3::blocks_length = kBlocksLength
constexpr

Definition at line 44 of file room.h.

Referenced by yaze::zelda3::Room::LoadBlocks().

◆ blocks_pointer1

constexpr int yaze::zelda3::blocks_pointer1 = kBlocksPointer1
constexpr

Definition at line 45 of file room.h.

Referenced by yaze::zelda3::Room::LoadBlocks().

◆ blocks_pointer2

constexpr int yaze::zelda3::blocks_pointer2 = kBlocksPointer2
constexpr

Definition at line 46 of file room.h.

Referenced by yaze::zelda3::Room::LoadBlocks().

◆ blocks_pointer3

constexpr int yaze::zelda3::blocks_pointer3 = kBlocksPointer3
constexpr

Definition at line 47 of file room.h.

Referenced by yaze::zelda3::Room::LoadBlocks().

◆ blocks_pointer4

constexpr int yaze::zelda3::blocks_pointer4 = kBlocksPointer4
constexpr

Definition at line 48 of file room.h.

Referenced by yaze::zelda3::Room::LoadBlocks().

◆ torch_data

constexpr int yaze::zelda3::torch_data = kTorchData
constexpr

Definition at line 49 of file room.h.

Referenced by yaze::zelda3::Room::LoadTorches().

◆ torches_length_pointer

constexpr int yaze::zelda3::torches_length_pointer = kTorchesLengthPointer
constexpr

Definition at line 50 of file room.h.

Referenced by yaze::zelda3::Room::LoadTorches().

◆ sprite_blockset_pointer

constexpr int yaze::zelda3::sprite_blockset_pointer = kSpriteBlocksetPointer
constexpr

Definition at line 51 of file room.h.

◆ sprites_data

constexpr int yaze::zelda3::sprites_data = kSpritesData
constexpr

Definition at line 52 of file room.h.

◆ sprites_data_empty_room

constexpr int yaze::zelda3::sprites_data_empty_room = kSpritesDataEmptyRoom
constexpr

Definition at line 53 of file room.h.

◆ sprites_end_data

constexpr int yaze::zelda3::sprites_end_data = kSpritesEndData
constexpr

Definition at line 54 of file room.h.

◆ pit_pointer

constexpr int yaze::zelda3::pit_pointer = kPitPointer
constexpr

Definition at line 55 of file room.h.

Referenced by yaze::zelda3::Room::LoadPits().

◆ pit_count

constexpr int yaze::zelda3::pit_count = kPitCount
constexpr

Definition at line 56 of file room.h.

Referenced by yaze::zelda3::Room::LoadPits().

◆ doorPointers

constexpr int yaze::zelda3::doorPointers = kDoorPointers
constexpr

Definition at line 57 of file room.h.

◆ door_gfx_up

constexpr int yaze::zelda3::door_gfx_up = kDoorGfxUp
constexpr

Definition at line 58 of file room.h.

◆ door_gfx_down

constexpr int yaze::zelda3::door_gfx_down = kDoorGfxDown
constexpr

Definition at line 59 of file room.h.

◆ door_gfx_cavexit_down

constexpr int yaze::zelda3::door_gfx_cavexit_down = kDoorGfxCaveExitDown
constexpr

Definition at line 60 of file room.h.

◆ door_gfx_left

constexpr int yaze::zelda3::door_gfx_left = kDoorGfxLeft
constexpr

Definition at line 61 of file room.h.

◆ door_gfx_right

constexpr int yaze::zelda3::door_gfx_right = kDoorGfxRight
constexpr

Definition at line 62 of file room.h.

◆ door_pos_up

constexpr int yaze::zelda3::door_pos_up = kDoorPosUp
constexpr

Definition at line 63 of file room.h.

◆ door_pos_down

constexpr int yaze::zelda3::door_pos_down = kDoorPosDown
constexpr

Definition at line 64 of file room.h.

◆ door_pos_left

constexpr int yaze::zelda3::door_pos_left = kDoorPosLeft
constexpr

Definition at line 65 of file room.h.

◆ door_pos_right

constexpr int yaze::zelda3::door_pos_right = kDoorPosRight
constexpr

Definition at line 66 of file room.h.

◆ dungeon_spr_ptrs

constexpr int yaze::zelda3::dungeon_spr_ptrs = kDungeonSpritePointers
constexpr

Definition at line 67 of file room.h.

Referenced by LoadRoomFromRom().

◆ tile_address

constexpr int yaze::zelda3::tile_address = kTileAddress
constexpr

◆ tile_address_floor

constexpr int yaze::zelda3::tile_address_floor = kTileAddressFloor
constexpr

Definition at line 69 of file room.h.

Referenced by yaze::zelda3::Room::RenderRoomGraphics().

◆ NumberOfRooms

◆ stairsObjects

constexpr uint16_t yaze::zelda3::stairsObjects[] = {0x139, 0x138, 0x13B, 0x12E, 0x12D}
constexpr

Definition at line 71 of file room.h.

Referenced by yaze::zelda3::Room::HandleSpecialObjects().

◆ kRoomNames

constexpr std::array<std::string_view, 297> yaze::zelda3::kRoomNames
constexpr

Definition at line 660 of file room.h.

Referenced by yaze::zelda3::Zelda3Labels::GetRoomNames().

◆ kEntranceRoom

constexpr int yaze::zelda3::kEntranceRoom = 0x14813
constexpr

Definition at line 12 of file room_entrance.h.

Referenced by yaze::zelda3::RoomEntrance::RoomEntrance().

◆ kEntranceScrollEdge

constexpr int yaze::zelda3::kEntranceScrollEdge = 0x1491D
constexpr

◆ kEntranceYScroll

constexpr int yaze::zelda3::kEntranceYScroll = 0x14D45
constexpr

◆ kEntranceXScroll

constexpr int yaze::zelda3::kEntranceXScroll = 0x14E4F
constexpr

◆ kEntranceYPosition

constexpr int yaze::zelda3::kEntranceYPosition = 0x14F59
constexpr

◆ kEntranceXPosition

constexpr int yaze::zelda3::kEntranceXPosition = 0x15063
constexpr

◆ kEntranceCameraYTrigger

constexpr int yaze::zelda3::kEntranceCameraYTrigger = 0x1516D
constexpr

◆ kEntranceCameraXTrigger

constexpr int yaze::zelda3::kEntranceCameraXTrigger = 0x15277
constexpr

◆ kEntranceBlockset

constexpr int yaze::zelda3::kEntranceBlockset = 0x15381
constexpr

◆ kEntranceFloor

constexpr int yaze::zelda3::kEntranceFloor = 0x15406
constexpr

◆ kEntranceDungeon

constexpr int yaze::zelda3::kEntranceDungeon = 0x1548B
constexpr

◆ kEntranceDoor

constexpr int yaze::zelda3::kEntranceDoor = 0x15510
constexpr

◆ kEntranceLadderBG

constexpr int yaze::zelda3::kEntranceLadderBG = 0x15595
constexpr

◆ kEntrancescrolling

constexpr int yaze::zelda3::kEntrancescrolling = 0x1561A
constexpr

◆ kEntranceScrollQuadrant

constexpr int yaze::zelda3::kEntranceScrollQuadrant = 0x1569F
constexpr

◆ kEntranceExit

constexpr int yaze::zelda3::kEntranceExit = 0x15724
constexpr

◆ kEntranceMusic

constexpr int yaze::zelda3::kEntranceMusic = 0x1582E
constexpr

◆ kStartingEntranceroom

constexpr int yaze::zelda3::kStartingEntranceroom = 0x15B6E
constexpr

◆ kStartingEntranceScrollEdge

constexpr int yaze::zelda3::kStartingEntranceScrollEdge = 0x15B7C
constexpr

◆ kStartingEntranceYScroll

constexpr int yaze::zelda3::kStartingEntranceYScroll = 0x15BB4
constexpr

◆ kStartingEntranceXScroll

constexpr int yaze::zelda3::kStartingEntranceXScroll = 0x15BC2
constexpr

◆ kStartingEntranceYPosition

constexpr int yaze::zelda3::kStartingEntranceYPosition = 0x15BD0
constexpr

◆ kStartingEntranceXPosition

constexpr int yaze::zelda3::kStartingEntranceXPosition = 0x15BDE
constexpr

◆ kStartingEntranceCameraYTrigger

constexpr int yaze::zelda3::kStartingEntranceCameraYTrigger = 0x15BEC
constexpr

◆ kStartingEntranceCameraXTrigger

constexpr int yaze::zelda3::kStartingEntranceCameraXTrigger = 0x15BFA
constexpr

◆ kStartingEntranceBlockset

constexpr int yaze::zelda3::kStartingEntranceBlockset = 0x15C08
constexpr

◆ kStartingEntranceFloor

constexpr int yaze::zelda3::kStartingEntranceFloor = 0x15C0F
constexpr

◆ kStartingEntranceDungeon

constexpr int yaze::zelda3::kStartingEntranceDungeon = 0x15C16
constexpr

◆ kStartingEntranceDoor

constexpr int yaze::zelda3::kStartingEntranceDoor = 0x15C2B
constexpr

◆ kStartingEntranceLadderBG

constexpr int yaze::zelda3::kStartingEntranceLadderBG = 0x15C1D
constexpr

◆ kStartingEntrancescrolling

constexpr int yaze::zelda3::kStartingEntrancescrolling = 0x15C24
constexpr

◆ kStartingEntranceScrollQuadrant

constexpr int yaze::zelda3::kStartingEntranceScrollQuadrant = 0x15C2B
constexpr

◆ kStartingEntranceexit

constexpr int yaze::zelda3::kStartingEntranceexit = 0x15C32
constexpr

◆ kStartingEntrancemusic

constexpr int yaze::zelda3::kStartingEntrancemusic = 0x15C4E
constexpr

◆ kStartingEntranceentrance

constexpr int yaze::zelda3::kStartingEntranceentrance = 0x15C40
constexpr

Definition at line 60 of file room_entrance.h.

◆ items_data_start

constexpr int yaze::zelda3::items_data_start = 0xDDE9
constexpr

Definition at line 62 of file room_entrance.h.

◆ items_data_end

constexpr int yaze::zelda3::items_data_end = 0xE6B2
constexpr

Definition at line 63 of file room_entrance.h.

◆ initial_equipement

constexpr int yaze::zelda3::initial_equipement = 0x271A6
constexpr

Definition at line 64 of file room_entrance.h.

◆ chests_backupitems

constexpr int yaze::zelda3::chests_backupitems = 0x3B528
constexpr

Definition at line 67 of file room_entrance.h.

◆ chests_yoffset

constexpr int yaze::zelda3::chests_yoffset = 0x4836C
constexpr

Definition at line 68 of file room_entrance.h.

◆ chests_xoffset

constexpr int yaze::zelda3::chests_xoffset = 0x4836C + (76 * 1)
constexpr

Definition at line 69 of file room_entrance.h.

◆ chests_itemsgfx

constexpr int yaze::zelda3::chests_itemsgfx = 0x4836C + (76 * 2)
constexpr

Definition at line 70 of file room_entrance.h.

◆ chests_itemswide

constexpr int yaze::zelda3::chests_itemswide = 0x4836C + (76 * 3)
constexpr

Definition at line 71 of file room_entrance.h.

◆ chests_itemsproperties

constexpr int yaze::zelda3::chests_itemsproperties = 0x4836C + (76 * 4)
constexpr

Definition at line 72 of file room_entrance.h.

◆ chests_sramaddress

constexpr int yaze::zelda3::chests_sramaddress = 0x4836C + (76 * 5)
constexpr

Definition at line 73 of file room_entrance.h.

◆ chests_sramvalue

constexpr int yaze::zelda3::chests_sramvalue = 0x4836C + (76 * 7)
constexpr

Definition at line 74 of file room_entrance.h.

◆ chests_msgid

constexpr int yaze::zelda3::chests_msgid = 0x442DD
constexpr

Definition at line 75 of file room_entrance.h.

◆ dungeons_startrooms

constexpr int yaze::zelda3::dungeons_startrooms = 0x7939
constexpr

Definition at line 77 of file room_entrance.h.

◆ dungeons_endrooms

constexpr int yaze::zelda3::dungeons_endrooms = 0x792D
constexpr

Definition at line 78 of file room_entrance.h.

◆ dungeons_bossrooms

constexpr int yaze::zelda3::dungeons_bossrooms = 0x10954
constexpr

Definition at line 79 of file room_entrance.h.

◆ bedPositionX

constexpr int yaze::zelda3::bedPositionX = 0x039A37
constexpr

Definition at line 82 of file room_entrance.h.

◆ bedPositionY

constexpr int yaze::zelda3::bedPositionY = 0x039A32
constexpr

Definition at line 83 of file room_entrance.h.

◆ bedPositionResetXLow

constexpr int yaze::zelda3::bedPositionResetXLow = 0x02DE53
constexpr

Definition at line 86 of file room_entrance.h.

◆ bedPositionResetXHigh

constexpr int yaze::zelda3::bedPositionResetXHigh = 0x02DE58
constexpr

Definition at line 87 of file room_entrance.h.

◆ bedPositionResetYLow

constexpr int yaze::zelda3::bedPositionResetYLow = 0x02DE5D
constexpr

Definition at line 90 of file room_entrance.h.

◆ bedPositionResetYHigh

constexpr int yaze::zelda3::bedPositionResetYHigh = 0x02DE62
constexpr

Definition at line 91 of file room_entrance.h.

◆ bedSheetPositionX

constexpr int yaze::zelda3::bedSheetPositionX = 0x0480BD
constexpr

Definition at line 93 of file room_entrance.h.

◆ bedSheetPositionY

constexpr int yaze::zelda3::bedSheetPositionY = 0x0480B8
constexpr

Definition at line 94 of file room_entrance.h.

◆ kRoomObjectSubtype1

constexpr int yaze::zelda3::kRoomObjectSubtype1 = 0x8000
constexpr

◆ kRoomObjectSubtype2

constexpr int yaze::zelda3::kRoomObjectSubtype2 = 0x83F0
constexpr

◆ kRoomObjectSubtype3

constexpr int yaze::zelda3::kRoomObjectSubtype3 = 0x84F0
constexpr

◆ kRoomObjectTileAddress

constexpr int yaze::zelda3::kRoomObjectTileAddress = 0x1B52
constexpr

◆ kRoomObjectTileAddressFloor

constexpr int yaze::zelda3::kRoomObjectTileAddressFloor = 0x1B5A
constexpr

Definition at line 48 of file room_object.h.

◆ kNumGfxSheets

◆ kNumLinkSheets

constexpr uint32_t yaze::zelda3::kNumLinkSheets = 14
constexpr

Definition at line 26 of file game_data.h.

Referenced by LoadLinkGraphics(), and yaze::editor::LinkSpritePanel::LoadLinkSheets().

◆ kNumMainBlocksets

constexpr uint32_t yaze::zelda3::kNumMainBlocksets = 37
constexpr

Definition at line 29 of file game_data.h.

Referenced by LoadGfxGroups(), and SaveGfxGroups().

◆ kNumRoomBlocksets

constexpr uint32_t yaze::zelda3::kNumRoomBlocksets = 82
constexpr

Definition at line 30 of file game_data.h.

Referenced by LoadGfxGroups(), and SaveGfxGroups().

◆ kNumSpritesets

constexpr uint32_t yaze::zelda3::kNumSpritesets = 144
constexpr

Definition at line 31 of file game_data.h.

Referenced by LoadGfxGroups(), and SaveGfxGroups().

◆ kNumPalettesets

constexpr uint32_t yaze::zelda3::kNumPalettesets = 72
constexpr

Definition at line 32 of file game_data.h.

Referenced by LoadGfxGroups(), and SaveGfxGroups().

◆ kEntranceGfxGroup

constexpr uint32_t yaze::zelda3::kEntranceGfxGroup = 0x5D97
constexpr

Definition at line 35 of file game_data.h.

Referenced by LoadGfxGroups(), and SaveGfxGroups().

◆ kMaxGraphics

constexpr uint32_t yaze::zelda3::kMaxGraphics = 0x0C3FFF
constexpr

Definition at line 37 of file game_data.h.

◆ kPalettesetIdsAddress

constexpr uint32_t yaze::zelda3::kPalettesetIdsAddress = 0x75460
constexpr

Definition at line 43 of file game_data.h.

◆ kDungeonPalettePointerTable

constexpr uint32_t yaze::zelda3::kDungeonPalettePointerTable = 0xDEC4B
constexpr

◆ kLinkGfxOffset

constexpr uint32_t yaze::zelda3::kLinkGfxOffset = 0x80000
constexpr

Definition at line 47 of file game_data.h.

Referenced by LoadLinkGraphics().

◆ kLinkGfxLength

constexpr uint16_t yaze::zelda3::kLinkGfxLength = 0x800
constexpr

Definition at line 48 of file game_data.h.

Referenced by LoadLinkGraphics().

◆ kFontSpriteLocation

constexpr uint32_t yaze::zelda3::kFontSpriteLocation = 0x70000
constexpr

Definition at line 51 of file game_data.h.

Referenced by LoadFontGraphics().

◆ kUncompressedSheetSize

constexpr uint32_t yaze::zelda3::kUncompressedSheetSize = 0x0800
constexpr

Definition at line 54 of file game_data.h.

Referenced by LoadGraphics().

◆ kTile16Ptr

◆ kTileTypeDiggable1

constexpr uint8_t yaze::zelda3::kTileTypeDiggable1 = 0x48
constexpr

Definition at line 13 of file diggable_tiles.h.

Referenced by yaze::zelda3::DiggableTiles::IsTile16Diggable().

◆ kTileTypeDiggable2

constexpr uint8_t yaze::zelda3::kTileTypeDiggable2 = 0x4A
constexpr

Definition at line 14 of file diggable_tiles.h.

Referenced by yaze::zelda3::DiggableTiles::IsTile16Diggable().

◆ kDiggableTilesBitfieldSize

constexpr int yaze::zelda3::kDiggableTilesBitfieldSize = 64
constexpr

◆ kMaxDiggableTileId

◆ kOverworldCustomDiggableTilesArray

constexpr int yaze::zelda3::kOverworldCustomDiggableTilesArray = 0x140980
constexpr

◆ kOverworldCustomDiggableTilesEnabled

constexpr int yaze::zelda3::kOverworldCustomDiggableTilesEnabled = 0x140149
constexpr

◆ kVanillaDiggableTiles

constexpr uint16_t yaze::zelda3::kVanillaDiggableTiles[]
constexpr
Initial value:
= {
0x0034, 0x0071, 0x0035, 0x010D, 0x010F,
0x00E1, 0x00E2, 0x00DA, 0x00F8, 0x010E
}

Definition at line 25 of file diggable_tiles.h.

Referenced by yaze::zelda3::DiggableTiles::SetVanillaDefaults().

◆ kNumVanillaDiggableTiles

constexpr int yaze::zelda3::kNumVanillaDiggableTiles = 10
constexpr

Definition at line 29 of file diggable_tiles.h.

Referenced by yaze::zelda3::DiggableTiles::SetVanillaDefaults().

◆ GravesYTilePos

constexpr int yaze::zelda3::GravesYTilePos = 0x49968
constexpr

Definition at line 97 of file overworld.h.

◆ GravesXTilePos

constexpr int yaze::zelda3::GravesXTilePos = 0x49986
constexpr

Definition at line 98 of file overworld.h.

◆ GravesTilemapPos

constexpr int yaze::zelda3::GravesTilemapPos = 0x499A4
constexpr

Definition at line 99 of file overworld.h.

◆ GravesGFX

constexpr int yaze::zelda3::GravesGFX = 0x499C2
constexpr

Definition at line 100 of file overworld.h.

◆ GravesXPos

constexpr int yaze::zelda3::GravesXPos = 0x4994A
constexpr

Definition at line 101 of file overworld.h.

◆ GravesYLine

constexpr int yaze::zelda3::GravesYLine = 0x4993A
constexpr

Definition at line 102 of file overworld.h.

◆ GravesCountOnY

constexpr int yaze::zelda3::GravesCountOnY = 0x499E0
constexpr

Definition at line 103 of file overworld.h.

◆ GraveLinkSpecialHole

constexpr int yaze::zelda3::GraveLinkSpecialHole = 0x46DD9
constexpr

Definition at line 104 of file overworld.h.

◆ GraveLinkSpecialStairs

constexpr int yaze::zelda3::GraveLinkSpecialStairs = 0x46DE0
constexpr

Definition at line 105 of file overworld.h.

◆ kOverworldMapPaletteIds

◆ kOverworldSpritePaletteIds

constexpr int yaze::zelda3::kOverworldSpritePaletteIds = 0x7B41
constexpr

◆ kOverworldSpritePaletteGroup

constexpr int yaze::zelda3::kOverworldSpritePaletteGroup = 0x75580
constexpr

Definition at line 109 of file overworld.h.

Referenced by yaze::zelda3::OverworldMap::LoadPalette().

◆ kOverworldSpriteset

constexpr int yaze::zelda3::kOverworldSpriteset = 0x7A41
constexpr

◆ kOverworldSpecialGfxGroup

constexpr int yaze::zelda3::kOverworldSpecialGfxGroup = 0x16821
constexpr

◆ kOverworldSpecialPalGroup

constexpr int yaze::zelda3::kOverworldSpecialPalGroup = 0x16831
constexpr

◆ kOverworldSpritesBeginning

constexpr int yaze::zelda3::kOverworldSpritesBeginning = 0x4C881
constexpr

Definition at line 113 of file overworld.h.

Referenced by yaze::zelda3::Overworld::LoadSprites().

◆ kOverworldSpritesAgahnim

constexpr int yaze::zelda3::kOverworldSpritesAgahnim = 0x4CA21
constexpr

Definition at line 114 of file overworld.h.

Referenced by yaze::zelda3::Overworld::LoadSprites().

◆ kOverworldSpritesZelda

constexpr int yaze::zelda3::kOverworldSpritesZelda = 0x4C901
constexpr

Definition at line 115 of file overworld.h.

Referenced by yaze::zelda3::Overworld::LoadSprites().

◆ kAreaGfxIdPtr

◆ kOverworldMessageIds

constexpr int yaze::zelda3::kOverworldMessageIds = 0x3F51D
constexpr

Definition at line 118 of file overworld.h.

Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo().

◆ kOverworldMusicBeginning

constexpr int yaze::zelda3::kOverworldMusicBeginning = 0x14303
constexpr

◆ kOverworldMusicZelda

constexpr int yaze::zelda3::kOverworldMusicZelda = 0x14303 + 0x40
constexpr

◆ kOverworldMusicMasterSword

constexpr int yaze::zelda3::kOverworldMusicMasterSword = 0x14303 + 0x80
constexpr

◆ kOverworldMusicAgahnim

constexpr int yaze::zelda3::kOverworldMusicAgahnim = 0x14303 + 0xC0
constexpr

◆ kOverworldMusicDarkWorld

constexpr int yaze::zelda3::kOverworldMusicDarkWorld = 0x14403
constexpr

◆ kOverworldEntranceAllowedTilesLeft

constexpr int yaze::zelda3::kOverworldEntranceAllowedTilesLeft = 0xDB8C1
constexpr

Definition at line 125 of file overworld.h.

◆ kOverworldEntranceAllowedTilesRight

constexpr int yaze::zelda3::kOverworldEntranceAllowedTilesRight = 0xDB917
constexpr

Definition at line 126 of file overworld.h.

◆ kOverworldMapSize

constexpr int yaze::zelda3::kOverworldMapSize = 0x12844
constexpr

Definition at line 129 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kOverworldMapSizeHighByte

constexpr int yaze::zelda3::kOverworldMapSizeHighByte = 0x12884
constexpr

Definition at line 132 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kOverworldMapParentId

constexpr int yaze::zelda3::kOverworldMapParentId = 0x125EC
constexpr

◆ kOverworldTransitionPositionY

constexpr int yaze::zelda3::kOverworldTransitionPositionY = 0x128C4
constexpr

Definition at line 141 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kOverworldTransitionPositionX

constexpr int yaze::zelda3::kOverworldTransitionPositionX = 0x12944
constexpr

Definition at line 142 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kOverworldScreenSize

◆ kOverworldScreenSizeForLoading

constexpr int yaze::zelda3::kOverworldScreenSizeForLoading = 0x4C635
constexpr

Definition at line 144 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kOverworldScreenTileMapChangeByScreen1

constexpr int yaze::zelda3::kOverworldScreenTileMapChangeByScreen1 = 0x12634
constexpr

Definition at line 146 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kOverworldScreenTileMapChangeByScreen2

constexpr int yaze::zelda3::kOverworldScreenTileMapChangeByScreen2 = 0x126B4
constexpr

Definition at line 147 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kOverworldScreenTileMapChangeByScreen3

constexpr int yaze::zelda3::kOverworldScreenTileMapChangeByScreen3 = 0x12734
constexpr

Definition at line 148 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kOverworldScreenTileMapChangeByScreen4

constexpr int yaze::zelda3::kOverworldScreenTileMapChangeByScreen4 = 0x127B4
constexpr

Definition at line 149 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kOverworldMapDataOverflow

constexpr int yaze::zelda3::kOverworldMapDataOverflow = 0x130000
constexpr

Definition at line 151 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveOverworldMaps().

◆ kTransitionTargetNorth

constexpr int yaze::zelda3::kTransitionTargetNorth = 0x13EE2
constexpr

Definition at line 153 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kTransitionTargetWest

constexpr int yaze::zelda3::kTransitionTargetWest = 0x13F62
constexpr

Definition at line 154 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ overworldCustomMosaicASM

constexpr int yaze::zelda3::overworldCustomMosaicASM = 0x1301D0
constexpr

Definition at line 155 of file overworld.h.

◆ overworldCustomMosaicArray

constexpr int yaze::zelda3::overworldCustomMosaicArray = 0x1301F0
constexpr

Definition at line 156 of file overworld.h.

◆ kMap16TilesExpanded

constexpr int yaze::zelda3::kMap16TilesExpanded = 0x1E8000
constexpr

◆ kMap32TileTRExpanded

constexpr int yaze::zelda3::kMap32TileTRExpanded = 0x020000
constexpr

◆ kMap32TileBLExpanded

constexpr int yaze::zelda3::kMap32TileBLExpanded = 0x1F0000
constexpr

◆ kMap32TileBRExpanded

constexpr int yaze::zelda3::kMap32TileBRExpanded = 0x1F8000
constexpr

◆ kMap32TileCountExpanded

constexpr int yaze::zelda3::kMap32TileCountExpanded = 0x0067E0
constexpr

Definition at line 163 of file overworld.h.

Referenced by yaze::zelda3::Overworld::AssembleMap32Tiles().

◆ kMap32ExpandedFlagPos

constexpr int yaze::zelda3::kMap32ExpandedFlagPos = 0x01772E
constexpr

Definition at line 164 of file overworld.h.

Referenced by yaze::zelda3::Overworld::AssembleMap32Tiles().

◆ kMap16ExpandedFlagPos

constexpr int yaze::zelda3::kMap16ExpandedFlagPos = 0x02FD28
constexpr

Definition at line 165 of file overworld.h.

Referenced by yaze::zelda3::Overworld::AssembleMap16Tiles().

◆ overworldSpritesBeginingExpanded

constexpr int yaze::zelda3::overworldSpritesBeginingExpanded = 0x141438
constexpr

Definition at line 167 of file overworld.h.

Referenced by yaze::zelda3::Overworld::LoadSprites().

◆ overworldSpritesZeldaExpanded

constexpr int yaze::zelda3::overworldSpritesZeldaExpanded = 0x141578
constexpr

Definition at line 168 of file overworld.h.

Referenced by yaze::zelda3::Overworld::LoadSprites().

◆ overworldSpritesAgahnimExpanded

constexpr int yaze::zelda3::overworldSpritesAgahnimExpanded = 0x1416B8
constexpr

Definition at line 169 of file overworld.h.

Referenced by yaze::zelda3::Overworld::LoadSprites().

◆ overworldSpritesDataStartExpanded

constexpr int yaze::zelda3::overworldSpritesDataStartExpanded = 0x04C881
constexpr

Definition at line 170 of file overworld.h.

◆ overworldSpecialSpriteGFXGroupExpandedTemp

constexpr int yaze::zelda3::overworldSpecialSpriteGFXGroupExpandedTemp = 0x0166E1
constexpr

Definition at line 172 of file overworld.h.

◆ overworldSpecialSpritePaletteExpandedTemp

constexpr int yaze::zelda3::overworldSpecialSpritePaletteExpandedTemp = 0x016701
constexpr

Definition at line 173 of file overworld.h.

◆ ExpandedOverlaySpace

constexpr int yaze::zelda3::ExpandedOverlaySpace = 0x120000
constexpr

Definition at line 175 of file overworld.h.

◆ kExpandedPtrTableMarker

constexpr int yaze::zelda3::kExpandedPtrTableMarker = 0x1423FF
constexpr

Definition at line 179 of file overworld.h.

Referenced by yaze::zelda3::Overworld::HasExpandedPointerTables().

◆ kExpandedPtrTableMagic

constexpr uint8_t yaze::zelda3::kExpandedPtrTableMagic = 0xEA
constexpr

Definition at line 180 of file overworld.h.

Referenced by yaze::zelda3::Overworld::HasExpandedPointerTables().

◆ kExpandedPtrTableHigh

constexpr int yaze::zelda3::kExpandedPtrTableHigh = 0x142400
constexpr

Definition at line 181 of file overworld.h.

◆ kExpandedPtrTableLow

constexpr int yaze::zelda3::kExpandedPtrTableLow = 0x142640
constexpr

Definition at line 182 of file overworld.h.

◆ kExpandedMapCount

constexpr int yaze::zelda3::kExpandedMapCount = 192
constexpr

Definition at line 183 of file overworld.h.

◆ overworldTilesType

constexpr int yaze::zelda3::overworldTilesType = 0x071459
constexpr

Definition at line 185 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveOverworldTilesType().

◆ overworldMessages

constexpr int yaze::zelda3::overworldMessages = 0x03F51D
constexpr

Definition at line 186 of file overworld.h.

◆ overworldMessagesExpanded

constexpr int yaze::zelda3::overworldMessagesExpanded = 0x1417F8
constexpr

Definition at line 187 of file overworld.h.

◆ kOverworldCompressedMapPos

constexpr int yaze::zelda3::kOverworldCompressedMapPos = 0x058000
constexpr

Definition at line 189 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveOverworldMaps().

◆ kOverworldCompressedOverflowPos

constexpr int yaze::zelda3::kOverworldCompressedOverflowPos = 0x137FFF
constexpr

Definition at line 190 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveOverworldMaps().

◆ kNumTileTypes

constexpr int yaze::zelda3::kNumTileTypes = 0x200
constexpr

◆ kMap16Tiles

constexpr int yaze::zelda3::kMap16Tiles = 0x78000
constexpr

◆ kNumTile16Individual

◆ Map32PerScreen

constexpr int yaze::zelda3::Map32PerScreen = 256
constexpr

Definition at line 196 of file overworld.h.

◆ NumberOfMap16

constexpr int yaze::zelda3::NumberOfMap16 = 3752
constexpr

Definition at line 197 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveMap16Tiles().

◆ NumberOfMap16Ex

constexpr int yaze::zelda3::NumberOfMap16Ex = 4096
constexpr

◆ LimitOfMap32

constexpr int yaze::zelda3::LimitOfMap32 = 8864
constexpr

Definition at line 199 of file overworld.h.

Referenced by yaze::zelda3::Overworld::CreateTile32Tilemap().

◆ NumberOfOWSprites

constexpr int yaze::zelda3::NumberOfOWSprites = 352
constexpr

Definition at line 200 of file overworld.h.

◆ NumberOfMap32

constexpr int yaze::zelda3::NumberOfMap32 = Map32PerScreen * kNumOverworldMaps
constexpr

Definition at line 201 of file overworld.h.

Referenced by yaze::zelda3::Overworld::CreateTile32Tilemap().

◆ kNumMapsPerWorld

constexpr int yaze::zelda3::kNumMapsPerWorld = 0x40
constexpr

Definition at line 202 of file overworld.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMaps().

◆ kEntranceRoomEXP

constexpr int yaze::zelda3::kEntranceRoomEXP = 0x078000
constexpr

Definition at line 18 of file overworld_entrance.h.

◆ kEntranceScrollEdgeEXP

constexpr int yaze::zelda3::kEntranceScrollEdgeEXP = 0x078200
constexpr

Definition at line 19 of file overworld_entrance.h.

◆ kEntranceCameraYEXP

constexpr int yaze::zelda3::kEntranceCameraYEXP = 0x078A00
constexpr

Definition at line 20 of file overworld_entrance.h.

◆ kEntranceCameraXEXP

constexpr int yaze::zelda3::kEntranceCameraXEXP = 0x078C00
constexpr

Definition at line 21 of file overworld_entrance.h.

◆ kEntranceYPositionEXP

constexpr int yaze::zelda3::kEntranceYPositionEXP = 0x078E00
constexpr

Definition at line 22 of file overworld_entrance.h.

◆ kEntranceXPositionEXP

constexpr int yaze::zelda3::kEntranceXPositionEXP = 0x079000
constexpr

Definition at line 23 of file overworld_entrance.h.

◆ kEntranceCameraYTriggerEXP

constexpr int yaze::zelda3::kEntranceCameraYTriggerEXP = 0x079200
constexpr

Definition at line 24 of file overworld_entrance.h.

◆ kEntranceCameraXTriggerEXP

constexpr int yaze::zelda3::kEntranceCameraXTriggerEXP = 0x079400
constexpr

Definition at line 25 of file overworld_entrance.h.

◆ kEntranceBlocksetEXP

constexpr int yaze::zelda3::kEntranceBlocksetEXP = 0x079600
constexpr

Definition at line 26 of file overworld_entrance.h.

◆ kEntranceFloorEXP

constexpr int yaze::zelda3::kEntranceFloorEXP = 0x079700
constexpr

Definition at line 27 of file overworld_entrance.h.

◆ kEntranceDungeonEXP

constexpr int yaze::zelda3::kEntranceDungeonEXP = 0x079800
constexpr

Definition at line 28 of file overworld_entrance.h.

◆ kEntranceDoorEXP

constexpr int yaze::zelda3::kEntranceDoorEXP = 0x079900
constexpr

Definition at line 29 of file overworld_entrance.h.

◆ kEntranceLadderBgEXP

constexpr int yaze::zelda3::kEntranceLadderBgEXP = 0x079A00
constexpr

Definition at line 30 of file overworld_entrance.h.

◆ kEntranceScrollingEXP

constexpr int yaze::zelda3::kEntranceScrollingEXP = 0x079B00
constexpr

Definition at line 31 of file overworld_entrance.h.

◆ kEntranceScrollQuadrantEXP

constexpr int yaze::zelda3::kEntranceScrollQuadrantEXP = 0x079C00
constexpr

Definition at line 32 of file overworld_entrance.h.

◆ kEntranceExitEXP

constexpr int yaze::zelda3::kEntranceExitEXP = 0x079D00
constexpr

Definition at line 33 of file overworld_entrance.h.

◆ kEntranceMusicEXP

constexpr int yaze::zelda3::kEntranceMusicEXP = 0x079F00
constexpr

Definition at line 34 of file overworld_entrance.h.

◆ kEntranceExtraEXP

constexpr int yaze::zelda3::kEntranceExtraEXP = 0x07A000
constexpr

Definition at line 35 of file overworld_entrance.h.

◆ kEntranceTotalEXP

constexpr int yaze::zelda3::kEntranceTotalEXP = 0xFF
constexpr

Definition at line 36 of file overworld_entrance.h.

◆ kEntranceTotal

constexpr int yaze::zelda3::kEntranceTotal = 0x84
constexpr

Definition at line 37 of file overworld_entrance.h.

◆ kEntranceLinkSpawn

constexpr int yaze::zelda3::kEntranceLinkSpawn = 0x00
constexpr

Definition at line 38 of file overworld_entrance.h.

◆ kEntranceNorthTavern

constexpr int yaze::zelda3::kEntranceNorthTavern = 0x43
constexpr

Definition at line 39 of file overworld_entrance.h.

◆ kEntranceEXP

constexpr int yaze::zelda3::kEntranceEXP = 0x07F000
constexpr

Definition at line 40 of file overworld_entrance.h.

◆ kEntranceCameraY

constexpr int yaze::zelda3::kEntranceCameraY = 0x014D45
constexpr

Definition at line 42 of file overworld_entrance.h.

◆ kEntranceCameraX

constexpr int yaze::zelda3::kEntranceCameraX = 0x014E4F
constexpr

Definition at line 43 of file overworld_entrance.h.

◆ kNumOverworldEntrances

constexpr int yaze::zelda3::kNumOverworldEntrances = 129
constexpr

Definition at line 45 of file overworld_entrance.h.

Referenced by SaveEntrances().

◆ kNumOverworldHoles

constexpr int yaze::zelda3::kNumOverworldHoles = 0x13
constexpr

Definition at line 46 of file overworld_entrance.h.

Referenced by SaveHoles().

◆ kOverworldEntranceMap

constexpr int yaze::zelda3::kOverworldEntranceMap = 0xDB96F
constexpr

Definition at line 48 of file overworld_entrance.h.

Referenced by LoadEntrances(), and SaveEntrances().

◆ kOverworldEntrancePos

constexpr int yaze::zelda3::kOverworldEntrancePos = 0xDBA71
constexpr

Definition at line 49 of file overworld_entrance.h.

Referenced by LoadEntrances(), and SaveEntrances().

◆ kOverworldEntranceEntranceId

constexpr int yaze::zelda3::kOverworldEntranceEntranceId = 0xDBB73
constexpr

Definition at line 50 of file overworld_entrance.h.

Referenced by LoadEntrances(), and SaveEntrances().

◆ kOverworldEntranceMapExpanded

constexpr int yaze::zelda3::kOverworldEntranceMapExpanded = 0x0DB55F
constexpr

Definition at line 52 of file overworld_entrance.h.

Referenced by LoadEntrances(), and SaveEntrances().

◆ kOverworldEntrancePosExpanded

constexpr int yaze::zelda3::kOverworldEntrancePosExpanded = 0x0DB35F
constexpr

Definition at line 53 of file overworld_entrance.h.

Referenced by LoadEntrances(), and SaveEntrances().

◆ kOverworldEntranceEntranceIdExpanded

constexpr int yaze::zelda3::kOverworldEntranceEntranceIdExpanded = 0x0DB75F
constexpr

Definition at line 54 of file overworld_entrance.h.

Referenced by LoadEntrances(), and SaveEntrances().

◆ kOverworldEntranceExpandedFlagPos

constexpr int yaze::zelda3::kOverworldEntranceExpandedFlagPos = 0x0DB895
constexpr

Definition at line 56 of file overworld_entrance.h.

Referenced by LoadEntrances().

◆ kOverworldHolePos

constexpr int yaze::zelda3::kOverworldHolePos = 0xDB800
constexpr

Definition at line 60 of file overworld_entrance.h.

Referenced by LoadHoles(), and SaveHoles().

◆ kOverworldHoleArea

constexpr int yaze::zelda3::kOverworldHoleArea = 0xDB826
constexpr

Definition at line 64 of file overworld_entrance.h.

Referenced by LoadHoles(), and SaveHoles().

◆ kOverworldHoleEntrance

constexpr int yaze::zelda3::kOverworldHoleEntrance = 0xDB84C
constexpr

Definition at line 67 of file overworld_entrance.h.

Referenced by LoadHoles(), and SaveHoles().

◆ kEntranceTileTypePtrLow

constexpr int yaze::zelda3::kEntranceTileTypePtrLow = 0xDB8BF
constexpr

Definition at line 128 of file overworld_entrance.h.

Referenced by LoadEntranceTileTypes().

◆ kEntranceTileTypePtrHigh

constexpr int yaze::zelda3::kEntranceTileTypePtrHigh = 0xDB917
constexpr

Definition at line 129 of file overworld_entrance.h.

Referenced by LoadEntranceTileTypes().

◆ kNumEntranceTileTypes

constexpr int yaze::zelda3::kNumEntranceTileTypes = 0x2C
constexpr

Definition at line 130 of file overworld_entrance.h.

Referenced by LoadEntranceTileTypes().

◆ kNumOverworldExits

constexpr int yaze::zelda3::kNumOverworldExits = 0x4F
constexpr

Definition at line 19 of file overworld_exit.h.

Referenced by SaveExits().

◆ OWExitRoomId

constexpr int yaze::zelda3::OWExitRoomId = 0x15D8A
constexpr

Definition at line 20 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitMapId

constexpr int yaze::zelda3::OWExitMapId = 0x15E28
constexpr

Definition at line 23 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitVram

constexpr int yaze::zelda3::OWExitVram = 0x15E77
constexpr

Definition at line 24 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitYScroll

constexpr int yaze::zelda3::OWExitYScroll = 0x15F15
constexpr

Definition at line 25 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitXScroll

constexpr int yaze::zelda3::OWExitXScroll = 0x15FB3
constexpr

Definition at line 26 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitYPlayer

constexpr int yaze::zelda3::OWExitYPlayer = 0x16051
constexpr

Definition at line 27 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitXPlayer

constexpr int yaze::zelda3::OWExitXPlayer = 0x160EF
constexpr

Definition at line 28 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitYCamera

constexpr int yaze::zelda3::OWExitYCamera = 0x1618D
constexpr

Definition at line 29 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitXCamera

constexpr int yaze::zelda3::OWExitXCamera = 0x1622B
constexpr

Definition at line 30 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitDoorPosition

constexpr int yaze::zelda3::OWExitDoorPosition = 0x15724
constexpr

Definition at line 31 of file overworld_exit.h.

Referenced by SaveExits().

◆ OWExitUnk1

constexpr int yaze::zelda3::OWExitUnk1 = 0x162C9
constexpr

Definition at line 32 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitUnk2

constexpr int yaze::zelda3::OWExitUnk2 = 0x16318
constexpr

Definition at line 33 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitDoorType1

constexpr int yaze::zelda3::OWExitDoorType1 = 0x16367
constexpr

Definition at line 34 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitDoorType2

constexpr int yaze::zelda3::OWExitDoorType2 = 0x16405
constexpr

Definition at line 35 of file overworld_exit.h.

Referenced by LoadExits(), and SaveExits().

◆ OWExitMapIdWhirlpool

constexpr int yaze::zelda3::OWExitMapIdWhirlpool = 0x16AE5
constexpr

Definition at line 37 of file overworld_exit.h.

◆ OWExitVramWhirlpool

constexpr int yaze::zelda3::OWExitVramWhirlpool = 0x16B07
constexpr

Definition at line 38 of file overworld_exit.h.

◆ OWExitYScrollWhirlpool

constexpr int yaze::zelda3::OWExitYScrollWhirlpool = 0x16B29
constexpr

Definition at line 39 of file overworld_exit.h.

◆ OWExitXScrollWhirlpool

constexpr int yaze::zelda3::OWExitXScrollWhirlpool = 0x16B4B
constexpr

Definition at line 40 of file overworld_exit.h.

◆ OWExitYPlayerWhirlpool

constexpr int yaze::zelda3::OWExitYPlayerWhirlpool = 0x16B6D
constexpr

Definition at line 41 of file overworld_exit.h.

◆ OWExitXPlayerWhirlpool

constexpr int yaze::zelda3::OWExitXPlayerWhirlpool = 0x16B8F
constexpr

Definition at line 42 of file overworld_exit.h.

◆ OWExitYCameraWhirlpool

constexpr int yaze::zelda3::OWExitYCameraWhirlpool = 0x16BB1
constexpr

Definition at line 43 of file overworld_exit.h.

◆ OWExitXCameraWhirlpool

constexpr int yaze::zelda3::OWExitXCameraWhirlpool = 0x16BD3
constexpr

Definition at line 44 of file overworld_exit.h.

◆ OWExitUnk1Whirlpool

constexpr int yaze::zelda3::OWExitUnk1Whirlpool = 0x16BF5
constexpr

Definition at line 45 of file overworld_exit.h.

◆ OWExitUnk2Whirlpool

constexpr int yaze::zelda3::OWExitUnk2Whirlpool = 0x16C17
constexpr

Definition at line 46 of file overworld_exit.h.

◆ OWWhirlpoolPosition

constexpr int yaze::zelda3::OWWhirlpoolPosition = 0x16CF8
constexpr

Definition at line 47 of file overworld_exit.h.

◆ kNumOverworldMapItemPointers

constexpr int yaze::zelda3::kNumOverworldMapItemPointers = 0x80
constexpr

Definition at line 22 of file overworld_item.h.

◆ kOverworldItemsPointers

constexpr int yaze::zelda3::kOverworldItemsPointers = 0xDC2F9
constexpr

Definition at line 23 of file overworld_item.h.

◆ kOverworldItemsAddress

constexpr int yaze::zelda3::kOverworldItemsAddress = 0xDC8B9
constexpr

Definition at line 24 of file overworld_item.h.

◆ kOverworldItemsBank

constexpr int yaze::zelda3::kOverworldItemsBank = 0xDC8BF
constexpr

Definition at line 25 of file overworld_item.h.

◆ kOverworldItemsEndData

constexpr int yaze::zelda3::kOverworldItemsEndData = 0xDC89C
constexpr

Definition at line 26 of file overworld_item.h.

Referenced by SaveItems().

◆ kOverworldBombDoorItemLocationsNew

constexpr int yaze::zelda3::kOverworldBombDoorItemLocationsNew = 0x012644
constexpr

Definition at line 28 of file overworld_item.h.

Referenced by SaveItems().

◆ kOverworldItemsPointersNew

constexpr int yaze::zelda3::kOverworldItemsPointersNew = 0x012784
constexpr

Definition at line 29 of file overworld_item.h.

Referenced by SaveItems().

◆ kOverworldItemsStartDataNew

constexpr int yaze::zelda3::kOverworldItemsStartDataNew = 0x0DC2F9
constexpr

Definition at line 30 of file overworld_item.h.

Referenced by SaveItems().

◆ overworldItemsPointers

constexpr int yaze::zelda3::overworldItemsPointers = 0x0DC2F9
constexpr

Definition at line 32 of file overworld_item.h.

◆ overworldItemsAddress

constexpr int yaze::zelda3::overworldItemsAddress = 0x0DC8B9
constexpr

Definition at line 33 of file overworld_item.h.

Referenced by LoadItems(), and SaveItems().

◆ overworldItemsAddressBank

constexpr int yaze::zelda3::overworldItemsAddressBank = 0x0DC8BF
constexpr

Definition at line 34 of file overworld_item.h.

Referenced by LoadItems(), and SaveItems().

◆ overworldItemsEndData

constexpr int yaze::zelda3::overworldItemsEndData = 0x0DC89C
constexpr

Definition at line 35 of file overworld_item.h.

◆ overworldBombDoorItemLocationsNew

constexpr int yaze::zelda3::overworldBombDoorItemLocationsNew = 0x012644
constexpr

Definition at line 37 of file overworld_item.h.

◆ overworldItemsPointersNew

constexpr int yaze::zelda3::overworldItemsPointersNew = 0x012784
constexpr

Definition at line 38 of file overworld_item.h.

◆ overworldItemsStartDataNew

constexpr int yaze::zelda3::overworldItemsStartDataNew = 0x0DC2F9
constexpr

Definition at line 39 of file overworld_item.h.

◆ kSecretItemNames

const std::vector<std::string> yaze::zelda3::kSecretItemNames
Initial value:
= {
"Nothing",
"Green Rupee",
"Rock hoarder",
"Bee",
"Health pack",
"Bomb",
"Heart ",
"Blue Rupee",
"Key",
"Arrow",
"Bomb",
"Heart",
"Magic",
"Full Magic",
"Cucco",
"Green Soldier",
"Bush Stal",
"Blue Soldier",
"Landmine",
"Heart",
"Fairy",
"Heart",
"Nothing ",
"Hole",
"Warp",
"Staircase",
"Bombable",
"Switch"
}

Definition at line 135 of file overworld_item.h.

Referenced by yaze::editor::DrawItemEditorPopup(), yaze::editor::DrawItemInsertPopup(), yaze::editor::OverworldEntityRenderer::DrawItems(), and yaze::editor::OverworldEntityRenderer::DrawItems().

◆ OverworldCustomAreaSpecificBGPalette

◆ OverworldCustomAreaSpecificBGEnabled

◆ OverworldCustomSubscreenOverlayArray

constexpr int yaze::zelda3::OverworldCustomSubscreenOverlayArray
constexpr

◆ OverworldCustomSubscreenOverlayEnabled

◆ OverworldCustomAnimatedGFXArray

constexpr int yaze::zelda3::OverworldCustomAnimatedGFXArray
constexpr

◆ OverworldCustomAnimatedGFXEnabled

◆ OverworldCustomTileGFXGroupArray

constexpr int yaze::zelda3::OverworldCustomTileGFXGroupArray
constexpr

◆ OverworldCustomTileGFXGroupEnabled

◆ OverworldCustomMosaicArray

constexpr int yaze::zelda3::OverworldCustomMosaicArray
constexpr

◆ OverworldCustomMosaicEnabled

◆ kOverlayPointers

constexpr int yaze::zelda3::kOverlayPointers
constexpr
Initial value:
=
0x77664

Definition at line 46 of file overworld_map.h.

Referenced by yaze::zelda3::OverworldMap::LoadVanillaOverlayData().

◆ kOverlayPointersBank

constexpr int yaze::zelda3::kOverlayPointersBank = 0x0E
constexpr

Definition at line 48 of file overworld_map.h.

Referenced by yaze::zelda3::OverworldMap::LoadVanillaOverlayData().

◆ kOverlayData1

constexpr int yaze::zelda3::kOverlayData1 = 0x77676
constexpr

Definition at line 49 of file overworld_map.h.

Referenced by yaze::zelda3::OverworldMap::LoadVanillaOverlayData().

◆ kOverlayData2

constexpr int yaze::zelda3::kOverlayData2 = 0x77677
constexpr

Definition at line 50 of file overworld_map.h.

Referenced by yaze::zelda3::OverworldMap::LoadVanillaOverlayData().

◆ kOverlayCodeStart

constexpr int yaze::zelda3::kOverlayCodeStart = 0x77657
constexpr

Definition at line 51 of file overworld_map.h.

Referenced by yaze::zelda3::Overworld::SaveMapOverlays().

◆ OverworldCustomMainPaletteArray

constexpr int yaze::zelda3::OverworldCustomMainPaletteArray = 0x140160
constexpr

◆ OverworldCustomMainPaletteEnabled

◆ kOverworldMessagesExpanded

constexpr int yaze::zelda3::kOverworldMessagesExpanded = 0x1417F8
constexpr

◆ kOverworldMapParentIdExpanded

constexpr int yaze::zelda3::kOverworldMapParentIdExpanded = 0x140998
constexpr

◆ kOverworldTransitionPositionYExpanded

constexpr int yaze::zelda3::kOverworldTransitionPositionYExpanded = 0x140F38
constexpr

Definition at line 61 of file overworld_map.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

◆ kOverworldTransitionPositionXExpanded

constexpr int yaze::zelda3::kOverworldTransitionPositionXExpanded = 0x141078
constexpr

Definition at line 62 of file overworld_map.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

◆ kOverworldScreenTileMapChangeByScreen1Expanded

constexpr int yaze::zelda3::kOverworldScreenTileMapChangeByScreen1Expanded = 0x140A38
constexpr

Definition at line 63 of file overworld_map.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

◆ kOverworldScreenTileMapChangeByScreen2Expanded

constexpr int yaze::zelda3::kOverworldScreenTileMapChangeByScreen2Expanded = 0x140B78
constexpr

Definition at line 64 of file overworld_map.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

◆ kOverworldScreenTileMapChangeByScreen3Expanded

constexpr int yaze::zelda3::kOverworldScreenTileMapChangeByScreen3Expanded = 0x140CB8
constexpr

Definition at line 65 of file overworld_map.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

◆ kOverworldScreenTileMapChangeByScreen4Expanded

constexpr int yaze::zelda3::kOverworldScreenTileMapChangeByScreen4Expanded = 0x140DF8
constexpr

Definition at line 66 of file overworld_map.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

◆ kOverworldSpecialSpriteGFXGroup

constexpr int yaze::zelda3::kOverworldSpecialSpriteGFXGroup = 0x016811
constexpr

Definition at line 68 of file overworld_map.h.

◆ kOverworldSpecialGFXGroup

constexpr int yaze::zelda3::kOverworldSpecialGFXGroup = 0x016821
constexpr

Definition at line 69 of file overworld_map.h.

◆ kOverworldSpecialPALGroup

constexpr int yaze::zelda3::kOverworldSpecialPALGroup = 0x016831
constexpr

Definition at line 70 of file overworld_map.h.

◆ kOverworldSpecialSpritePalette

constexpr int yaze::zelda3::kOverworldSpecialSpritePalette = 0x016841
constexpr

Definition at line 71 of file overworld_map.h.

◆ kOverworldPalettesScreenToSetNew

constexpr int yaze::zelda3::kOverworldPalettesScreenToSetNew = 0x4C635
constexpr

◆ kOverworldSpecialSpriteGfxGroupExpandedTemp

constexpr int yaze::zelda3::kOverworldSpecialSpriteGfxGroupExpandedTemp = 0x0166E1
constexpr

Definition at line 73 of file overworld_map.h.

Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo().

◆ kOverworldSpecialSpritePaletteExpandedTemp

constexpr int yaze::zelda3::kOverworldSpecialSpritePaletteExpandedTemp = 0x016701
constexpr

Definition at line 74 of file overworld_map.h.

Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo().

◆ transition_target_northExpanded

constexpr int yaze::zelda3::transition_target_northExpanded = 0x1411B8
constexpr

Definition at line 76 of file overworld_map.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

◆ transition_target_westExpanded

constexpr int yaze::zelda3::transition_target_westExpanded = 0x1412F8
constexpr

Definition at line 77 of file overworld_map.h.

Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

◆ kDarkWorldMapIdStart

◆ kSpecialWorldMapIdStart

◆ kSpriteNames

constexpr const char * yaze::zelda3::kSpriteNames
constexpr

Definition at line 291 of file sprite.cc.

Referenced by yaze::zelda3::ResourceLabelProvider::GetHMagicLabel().

◆ kSpriteNameCount

constexpr size_t yaze::zelda3::kSpriteNameCount = sizeof(kSpriteNames)/sizeof(kSpriteNames[0])
constexpr

Definition at line 292 of file sprite.cc.

Referenced by yaze::zelda3::ResourceLabelProvider::GetHMagicLabel().

◆ kDungeonMapRoomsPtr

constexpr int yaze::zelda3::kDungeonMapRoomsPtr = 0x57605
constexpr

Definition at line 16 of file dungeon_map.h.

Referenced by LoadDungeonMaps(), and SaveDungeonMaps().

◆ kDungeonMapFloors

constexpr int yaze::zelda3::kDungeonMapFloors = 0x575D9
constexpr

Definition at line 17 of file dungeon_map.h.

Referenced by LoadDungeonMaps().

◆ kDungeonMapGfxPtr

constexpr int yaze::zelda3::kDungeonMapGfxPtr = 0x57BE4
constexpr

Definition at line 19 of file dungeon_map.h.

Referenced by LoadDungeonMaps(), and SaveDungeonMaps().

◆ kDungeonMapDataStart

constexpr int yaze::zelda3::kDungeonMapDataStart = 0x57039
constexpr

Definition at line 22 of file dungeon_map.h.

◆ kDungeonMapExpCheck

constexpr int yaze::zelda3::kDungeonMapExpCheck = 0x56652
constexpr

Definition at line 25 of file dungeon_map.h.

Referenced by LoadDungeonMapTile16(), and SaveDungeonMapTile16().

◆ kDungeonMapTile16

constexpr int yaze::zelda3::kDungeonMapTile16 = 0x57009
constexpr

Definition at line 26 of file dungeon_map.h.

Referenced by LoadDungeonMapTile16(), and SaveDungeonMapTile16().

◆ kDungeonMapTile16Expanded

constexpr int yaze::zelda3::kDungeonMapTile16Expanded = 0x109010
constexpr

Definition at line 27 of file dungeon_map.h.

Referenced by LoadDungeonMapTile16(), and SaveDungeonMapTile16().

◆ kDungeonMapBossRooms

constexpr int yaze::zelda3::kDungeonMapBossRooms = 0x56807
constexpr

Definition at line 30 of file dungeon_map.h.

Referenced by LoadDungeonMaps().

◆ kTriforceVertices

constexpr int yaze::zelda3::kTriforceVertices = 0x04FFD2
constexpr

Definition at line 31 of file dungeon_map.h.

◆ kTriforceFaces

constexpr int yaze::zelda3::kTriforceFaces = 0x04FFE4
constexpr

Definition at line 32 of file dungeon_map.h.

◆ kCrystalVertices

constexpr int yaze::zelda3::kCrystalVertices = 0x04FF98
constexpr

Definition at line 34 of file dungeon_map.h.

◆ kNumDungeons

constexpr int yaze::zelda3::kNumDungeons = 14
constexpr

Definition at line 36 of file dungeon_map.h.

Referenced by LoadDungeonMaps(), and SaveDungeonMaps().

◆ kNumRooms

constexpr int yaze::zelda3::kNumRooms = 25
constexpr

◆ kNumDungeonMapTile16

constexpr int yaze::zelda3::kNumDungeonMapTile16 = 186
constexpr

Definition at line 38 of file dungeon_map.h.

Referenced by LoadDungeonMapTile16(), and SaveDungeonMapTile16().

◆ kInventoryStart

constexpr int yaze::zelda3::kInventoryStart = 0x6564A
constexpr

Definition at line 15 of file inventory.h.

◆ kItemIconsPtr

constexpr int yaze::zelda3::kItemIconsPtr = 0x0DF629
constexpr

Definition at line 17 of file inventory.h.

Referenced by yaze::zelda3::Inventory::LoadItemIcons().

◆ kOverlordNames

const std::string yaze::zelda3::kOverlordNames
Initial value:
= {
"Overlord_SpritePositionTarget",
"Overlord_AllDirectionMetalBallFactory",
"Overlord_CascadeMetalBallFactory",
"Overlord_StalfosFactory",
"Overlord_StalfosTrap",
"Overlord_SnakeTrap",
"Overlord_MovingFloor",
"Overlord_ZolFactory",
"Overlord_WallMasterFactory",
"Overlord_CrumbleTilePath 1",
"Overlord_CrumbleTilePath 2",
"Overlord_CrumbleTilePath 3",
"Overlord_CrumbleTilePath 4",
"Overlord_CrumbleTilePath 5",
"Overlord_CrumbleTilePath 6",
"Overlord_PirogusuFactory 1",
"Overlord_PirogusuFactory 2",
"Overlord_PirogusuFactory 3",
"Overlord_PirogusuFactory 4",
"Overlord_FlyingTileFactory",
"Overlord_WizzrobeFactory",
"Overlord_ZoroFactory",
"Overlord_StalfosTrapTriggerWindow",
"Overlord_RedStalfosTrap",
"Overlord_ArmosCoordinator",
"Overlord_BombTrap",
}

Definition at line 295 of file sprite.cc.

Referenced by yaze::zelda3::Zelda3Labels::GetOverlordNames(), and yaze::zelda3::Sprite::Sprite().

◆ kSpriteDefaultNames

◆ kSpriteProperties

constexpr const char* yaze::zelda3::kSpriteProperties[]
constexpr
Initial value:
= {"!SPRID",
"!NbrTiles",
"!Harmless",
"!HVelocity",
"!Health",
"!Damage",
"!DeathAnimation",
"!ImperviousAll",
"!SmallShadow",
"!Shadow",
"!Palette",
"!Hitbox",
"!Persist",
"!Statis",
"!CollisionLayer",
"!CanFall",
"!DeflectArrow",
"!WaterSprite",
"!Blockable",
"!Prize",
"!Sound",
"!Interaction",
"!Statue",
"!DeflectProjectiles",
"!ImperviousArrow",
"!ImpervSwordHammer",
"!Boss"}

Definition at line 64 of file sprite_builder.h.

Referenced by yaze::zelda3::SpriteBuilder::BuildProperties().

◆ kVultureLayout

const SpriteOamLayout yaze::zelda3::kVultureLayout
inline
Initial value:
= {
.sprite_id = 0x01,
.name = "Vulture",
.tiles = {{0, 0, 0x20, 2, true, false, false},
{0, -16, 0x00, 2, true, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 46 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kOctorokLayout

const SpriteOamLayout yaze::zelda3::kOctorokLayout
inline
Initial value:
= {
.sprite_id = 0x08,
.name = "Octorok",
.tiles = {{0, 0, 0x80, 6, true, false, false}},
.required_sheets = {0x56, 0x57, 0x00, 0x00}}

Definition at line 54 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kChickenLayout

const SpriteOamLayout yaze::zelda3::kChickenLayout
inline
Initial value:
= {
.sprite_id = 0x0B,
.name = "Chicken",
.tiles = {{0, 0, 0x60, 2, true, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 61 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kGreenSoldierLayout

const SpriteOamLayout yaze::zelda3::kGreenSoldierLayout
inline
Initial value:
= {
.sprite_id = 0x0E,
.name = "Green Soldier",
.tiles = {{0, 8, 0x20, 6, true, false, false},
{0, -8, 0x00, 6, true, false, false}},
.required_sheets = {0x56, 0x57, 0x00, 0x00}}

Definition at line 68 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kBlueSoldierLayout

const SpriteOamLayout yaze::zelda3::kBlueSoldierLayout
inline
Initial value:
= {
.sprite_id = 0x0F,
.name = "Blue Soldier",
.tiles = {{0, 8, 0x20, 1, true, false, false},
{0, -8, 0x00, 1, true, false, false}},
.required_sheets = {0x56, 0x57, 0x00, 0x00}}

Definition at line 76 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kRedSoldierLayout

const SpriteOamLayout yaze::zelda3::kRedSoldierLayout
inline
Initial value:
= {
.sprite_id = 0x10,
.name = "Red Soldier",
.tiles = {{0, 8, 0x20, 0, true, false, false},
{0, -8, 0x00, 0, true, false, false}},
.required_sheets = {0x56, 0x57, 0x00, 0x00}}

Definition at line 84 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kBlueGuardLayout

const SpriteOamLayout yaze::zelda3::kBlueGuardLayout
inline
Initial value:
= {
.sprite_id = 0x29,
.name = "Blue Guard",
.tiles = {{0, 8, 0x20, 1, true, false, false},
{0, -8, 0x00, 1, true, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 92 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kGreenPatrolLayout

const SpriteOamLayout yaze::zelda3::kGreenPatrolLayout
inline
Initial value:
= {
.sprite_id = 0x41,
.name = "Green Patrol",
.tiles = {{0, 8, 0x20, 6, true, false, false},
{0, -8, 0x00, 6, true, false, false}},
.required_sheets = {0x56, 0x57, 0x00, 0x00}}

Definition at line 100 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kArmosKnightLayout

const SpriteOamLayout yaze::zelda3::kArmosKnightLayout
inline
Initial value:
= {
.sprite_id = 0x44,
.name = "Armos Knight",
.tiles = {{0, 0, 0x82, 4, true, false, false},
{0, -16, 0x80, 4, true, false, false}},
.required_sheets = {0x58, 0x59, 0x00, 0x00}}

Definition at line 108 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kOctoballoonLayout

const SpriteOamLayout yaze::zelda3::kOctoballoonLayout
inline
Initial value:
= {
.sprite_id = 0x4B,
.name = "Octoballoon",
.tiles = {{0, 0, 0xE0, 4, true, false, false}},
.required_sheets = {0x54, 0x55, 0x00, 0x00}}

Definition at line 116 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kRedEyegoreLayout

const SpriteOamLayout yaze::zelda3::kRedEyegoreLayout
inline
Initial value:
= {
.sprite_id = 0x53,
.name = "Red Eyegore",
.tiles = {{0, 0, 0x84, 0, true, false, false},
{0, -16, 0x80, 0, true, false, false}},
.required_sheets = {0x58, 0x59, 0x00, 0x00}}

Definition at line 123 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kGreenEyegoreLayout

const SpriteOamLayout yaze::zelda3::kGreenEyegoreLayout
inline
Initial value:
= {
.sprite_id = 0x54,
.name = "Green Eyegore",
.tiles = {{0, 0, 0x84, 6, true, false, false},
{0, -16, 0x80, 6, true, false, false}},
.required_sheets = {0x58, 0x59, 0x00, 0x00}}

Definition at line 131 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kMoblinLayout

const SpriteOamLayout yaze::zelda3::kMoblinLayout
inline
Initial value:
= {
.sprite_id = 0x64,
.name = "Moblin",
.tiles = {{0, 0, 0xC6, 5, true, false, false},
{0, -16, 0xC4, 5, true, false, false}},
.required_sheets = {0x54, 0x55, 0x00, 0x00}}

Definition at line 139 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kHinoxLayout

const SpriteOamLayout yaze::zelda3::kHinoxLayout
inline
Initial value:
= {
.sprite_id = 0x81,
.name = "Hinox",
.tiles = {{-8, 0, 0xCC, 3, true, false, false},
{8, 0, 0xCC, 3, true, true, false},
{-8, -16, 0xC8, 3, true, false, false},
{8, -16, 0xC8, 3, true, true, false}},
.required_sheets = {0x5C, 0x5D, 0x00, 0x00}}

Definition at line 147 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kUncleLayout

const SpriteOamLayout yaze::zelda3::kUncleLayout
inline
Initial value:
= {
.sprite_id = 0x88,
.name = "Uncle",
.tiles = {{0, 0, 0xAE, 7, true, false, false},
{0, -16, 0x8E, 7, true, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 157 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kHeartContainerLayout

const SpriteOamLayout yaze::zelda3::kHeartContainerLayout
inline
Initial value:
= {
.sprite_id = 0xD8,
.name = "Heart Container",
.tiles = {{0, 0, 0xEE, 0, true, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 165 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kGreenRupeeLayout

const SpriteOamLayout yaze::zelda3::kGreenRupeeLayout
inline
Initial value:
= {
.sprite_id = 0xDA,
.name = "Green Rupee",
.tiles = {{0, 0, 0xE8, 0, false, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 172 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kBlueRupeeLayout

const SpriteOamLayout yaze::zelda3::kBlueRupeeLayout
inline
Initial value:
= {
.sprite_id = 0xDB,
.name = "Blue Rupee",
.tiles = {{0, 0, 0xE8, 1, false, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 179 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kRedRupeeLayout

const SpriteOamLayout yaze::zelda3::kRedRupeeLayout
inline
Initial value:
= {
.sprite_id = 0xDC,
.name = "Red Rupee",
.tiles = {{0, 0, 0xE8, 2, false, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 186 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kSmallHeartLayout

const SpriteOamLayout yaze::zelda3::kSmallHeartLayout
inline
Initial value:
= {
.sprite_id = 0xDE,
.name = "Small Heart",
.tiles = {{0, 0, 0xEC, 0, false, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 193 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kKeyLayout

const SpriteOamLayout yaze::zelda3::kKeyLayout
inline
Initial value:
= {
.sprite_id = 0xDF,
.name = "Key",
.tiles = {{0, 0, 0xF4, 7, false, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 200 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kSmallMagicLayout

const SpriteOamLayout yaze::zelda3::kSmallMagicLayout
inline
Initial value:
= {
.sprite_id = 0xE1,
.name = "Small Magic",
.tiles = {{0, 0, 0xF0, 6, false, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 207 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().

◆ kLargeMagicLayout

const SpriteOamLayout yaze::zelda3::kLargeMagicLayout
inline
Initial value:
= {
.sprite_id = 0xE2,
.name = "Large Magic",
.tiles = {{0, 0, 0xF6, 6, false, false, false}},
.required_sheets = {0x52, 0x53, 0x00, 0x00}}

Definition at line 214 of file sprite_oam_tables.h.

Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().