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{hyrule_magic.cc}
 
namespace  anonymous_namespace{overworld.cc}
 
namespace  anonymous_namespace{room_layout.cc}
 
namespace  anonymous_namespace{room_object.cc}
 
namespace  anonymous_namespace{room_object_encoding_test.cc}
 
namespace  anonymous_namespace{tracker.cc}
 
namespace  anonymous_namespace{zelda3_labels.cc}
 
namespace  EntranceTypes
 Entrance type utilities.
 
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  SpriteTypes
 Sprite type utilities.
 
namespace  test
 

Classes

class  DungeonEditorSystem
 Comprehensive dungeon editing system. More...
 
class  DungeonEditorSystemIntegrationTest
 
struct  DungeonMap
 DungeonMap represents the map menu for a dungeon. More...
 
class  DungeonObjectEditor
 Interactive dungeon object editor with scroll wheel support. More...
 
class  DungeonRenderingIntegrationTest
 
class  GameEntity
 Base class for all overworld and dungeon entities. More...
 
class  Inventory
 
struct  LayerMergeType
 
struct  MouseConfig
 Mouse interaction configuration. More...
 
class  ObjectDrawer
 Draws dungeon objects to background buffers using game patterns. More...
 
struct  ObjectDrawInfo
 Draw routine information for object rendering. More...
 
class  ObjectParser
 Direct ROM parser for dungeon objects. More...
 
class  ObjectRenderingTest
 
struct  ObjectRoutineInfo
 Object routine information. More...
 
struct  ObjectSizeInfo
 Object size and orientation information. More...
 
struct  ObjectSubtypeInfo
 Object subtype information. More...
 
class  Overworld
 Represents the full Overworld data, light and dark world. More...
 
class  OverworldEntrance
 
struct  OverworldEntranceTileTypes
 
class  OverworldExit
 
class  OverworldIntegrationTest
 Comprehensive overworld integration test that validates YAZE C++ implementation against ZScream C# logic and existing test infrastructure. More...
 
class  OverworldItem
 
class  OverworldMap
 Represents a single Overworld map screen. More...
 
struct  OverworldMapTiles
 Overworld map tile32 data. More...
 
class  OverworldTest
 
class  Room
 
class  RoomEntrance
 Dungeon Room Entrance or Spawn Point. More...
 
class  RoomLayout
 
class  RoomObject
 
struct  RoomSize
 
struct  ScrollWheelConfig
 Scroll wheel behavior configuration. More...
 
class  Sprite
 A class for managing sprites in the overworld and underworld. More...
 
class  SpriteAction
 
class  SpriteBuilder
 
class  SpriteInstruction
 
class  SpritePositionTest
 
class  TitleScreen
 
struct  Zelda3Labels
 Centralized default labels for all Zelda 3 resources. More...
 

Typedefs

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 = std::array< std::vector< std::array< std::string, kNumRooms > >, kNumDungeons >
 

Enumerations

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

Functions

std::unique_ptr< DungeonEditorSystemCreateDungeonEditorSystem (Rom *rom)
 Factory function to create dungeon editor system.
 
std::unique_ptr< DungeonObjectEditorCreateDungeonObjectEditor (Rom *rom)
 Factory function to create dungeon object editor.
 
RoomSize CalculateRoomSize (Rom *rom, int room_id)
 
Room LoadRoomFromRom (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)
 
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.
 
absl::StatusOr< OverworldEntranceTileTypesLoadEntranceTileTypes (Rom *rom)
 
bool CompareOverworldItems (const std::vector< OverworldItem > &items1, const std::vector< OverworldItem > &items2)
 
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, 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, gfx::Tilemap &tile16_blockset, std::array< gfx::Bitmap, 4 > &sheets, std::vector< uint8_t > &gfx_bin_data)
 Load the dungeon map gfx from binary.
 
 TEST_F (DungeonEditorSystemIntegrationTest, BasicInitialization)
 
 TEST_F (DungeonEditorSystemIntegrationTest, RoomLoadingAndManagement)
 
 TEST_F (DungeonEditorSystemIntegrationTest, ObjectEditorIntegration)
 
 TEST_F (DungeonEditorSystemIntegrationTest, SpriteManagement)
 
 TEST_F (DungeonEditorSystemIntegrationTest, ItemManagement)
 
 TEST_F (DungeonEditorSystemIntegrationTest, EntranceManagement)
 
 TEST_F (DungeonEditorSystemIntegrationTest, DoorManagement)
 
 TEST_F (DungeonEditorSystemIntegrationTest, ChestManagement)
 
 TEST_F (DungeonEditorSystemIntegrationTest, RoomPropertiesManagement)
 
 TEST_F (DungeonEditorSystemIntegrationTest, DungeonSettingsManagement)
 
 TEST_F (DungeonEditorSystemIntegrationTest, UndoRedoFunctionality)
 
 TEST_F (DungeonEditorSystemIntegrationTest, ValidationFunctionality)
 
 TEST_F (DungeonEditorSystemIntegrationTest, SaveLoadFunctionality)
 
 TEST_F (DungeonEditorSystemIntegrationTest, PerformanceTest)
 
 TEST_F (DungeonEditorSystemIntegrationTest, ErrorHandling)
 
 TEST_F (DungeonRenderingIntegrationTest, FullRoomRenderingWorks)
 
 TEST_F (DungeonRenderingIntegrationTest, RoomRenderingWithDifferentPalettes)
 
 TEST_F (DungeonRenderingIntegrationTest, RoomRenderingWithMultipleLayers)
 
 TEST_F (DungeonRenderingIntegrationTest, RoomRenderingWithVariousObjectSizes)
 
 TEST_F (DungeonRenderingIntegrationTest, RoomRenderingPerformance)
 
 TEST_F (DungeonRenderingIntegrationTest, RoomRenderingWithEdgeCaseCoordinates)
 
 TEST_F (DungeonRenderingIntegrationTest, RoomRenderingWithMixedObjectTypes)
 
 TEST_F (DungeonRenderingIntegrationTest, RoomRenderingErrorHandling)
 
 TEST_F (DungeonRenderingIntegrationTest, RoomRenderingWithInvalidObjectData)
 
 TEST_F (OverworldIntegrationTest, Tile32ExpansionDetection)
 
 TEST_F (OverworldIntegrationTest, Tile16ExpansionDetection)
 
 TEST_F (OverworldIntegrationTest, EntranceCoordinateCalculation)
 
 TEST_F (OverworldIntegrationTest, ExitDataLoading)
 
 TEST_F (OverworldIntegrationTest, ASMVersionItemLoading)
 
 TEST_F (OverworldIntegrationTest, MapSizeAssignment)
 
 TEST_F (OverworldIntegrationTest, ZSCustomOverworldVersionIntegration)
 
 TEST_F (OverworldIntegrationTest, RomDependentTestSuiteCompatibility)
 
 TEST_F (OverworldIntegrationTest, ComprehensiveDataIntegrity)
 
 TEST_F (OverworldIntegrationTest, ZScreamCoordinateCompatibility)
 
 TEST_F (SpritePositionTest, SpriteCoordinateSystem)
 
 TEST_F (SpritePositionTest, SpriteFilteringLogic)
 
 TEST_F (SpritePositionTest, MapCoordinateCalculations)
 
 TEST_F (ObjectRenderingTest, ObjectDrawerInitializesCorrectly)
 
 TEST_F (ObjectRenderingTest, ObjectParserDetectsDrawRoutines)
 
 TEST_F (ObjectRenderingTest, ObjectDrawerHandlesVariousObjectTypes)
 
 TEST_F (ObjectRenderingTest, ObjectDrawerHandlesDifferentLayers)
 
 TEST_F (ObjectRenderingTest, ObjectDrawerHandlesSizeVariations)
 
 TEST_F (ObjectRenderingTest, ObjectDrawerHandlesEdgeCases)
 
 TEST_F (ObjectRenderingTest, ObjectDrawerHandlesMultipleObjects)
 
 TEST_F (ObjectRenderingTest, DrawRoutinesWorkCorrectly)
 
 TEST_F (ObjectRenderingTest, ObjectDrawerHandlesErrorsGracefully)
 
 TEST_F (ObjectRenderingTest, ObjectParserHandlesVariousObjectIDs)
 
 TEST_F (ObjectRenderingTest, ObjectDrawerPerformanceTest)
 
 TEST_F (OverworldTest, OverworldMapInitialization)
 
 TEST_F (OverworldTest, AreaSizeEnumValues)
 
 TEST_F (OverworldTest, OverworldMapSetters)
 
 TEST_F (OverworldTest, OverworldMapLargeMapSetup)
 
 TEST_F (OverworldTest, OverworldMapCustomTilesetArray)
 
 TEST_F (OverworldTest, OverworldMapSpriteProperties)
 
 TEST_F (OverworldTest, OverworldMapBasicProperties)
 
 TEST_F (OverworldTest, OverworldMapMutableAccessors)
 
 TEST_F (OverworldTest, OverworldMapDestroy)
 
 TEST_F (OverworldTest, WorldBasedSpriteFiltering)
 

Variables

constexpr const char * kEntranceNames []
 
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 = 0x090000
 
constexpr int kMessagesIdDungeon = 0x3F61D
 
constexpr int kNumberOfRooms = 296
 
constexpr uint16_t kStairsObjects [] = {0x139, 0x138, 0x13B, 0x12E, 0x12D}
 
constexpr int kGfxBufferOffset = 92 * 2048
 
constexpr int kGfxBufferStride = 512
 
constexpr int kGfxBufferAnimatedFrameOffset = 7 * 2048
 
constexpr int kGfxBufferAnimatedFrameStride = 512
 
constexpr int kGfxBufferRoomOffset = 2048
 
constexpr int kGfxBufferRoomSpriteOffset = 512
 
constexpr int kGfxBufferRoomSpriteStride = 2048
 
constexpr int kGfxBufferRoomSpriteLastLineOffset = 0x88
 
constexpr int room_object_layout_pointer = kRoomObjectLayoutPointer
 
constexpr int room_object_pointer = kRoomObjectPointer
 
constexpr int dungeons_main_bg_palette_pointers = kDungeonsMainBgPalettePointers
 
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::string_view 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 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 kOverworldEntranceExpandedFlagPos = 0x0DB895
 
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 overworldTilesType = 0x071459
 
constexpr int overworldMessages = 0x03F51D
 
constexpr int overworldMessagesExpanded = 0x1417F8
 
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
 
constexpr int kOverworldCompressedMapPos = 0x058000
 
constexpr int kOverworldCompressedOverflowPos = 0x137FFF
 
constexpr int kNumTileTypes = 0x200
 
constexpr int kMap16Tiles = 0x78000
 
constexpr int kNumOverworldMaps = 160
 
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 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
 
const std::vector< std::string > kSecretItemNames
 
constexpr int OverworldCustomASMHasBeenApplied = 0x140145
 
constexpr int OverworldCustomAreaSpecificBGPalette = 0x140000
 
constexpr int OverworldCustomAreaSpecificBGEnabled = 0x140140
 
constexpr int OverworldCustomSubscreenOverlayArray = 0x140340
 
constexpr int OverworldCustomSubscreenOverlayEnabled = 0x140144
 
constexpr int OverworldCustomAnimatedGFXArray = 0x1402A0
 
constexpr int OverworldCustomAnimatedGFXEnabled = 0x140143
 
constexpr int OverworldCustomTileGFXGroupArray = 0x140480
 
constexpr int OverworldCustomTileGFXGroupEnabled = 0x140148
 
constexpr int OverworldCustomMosaicArray = 0x140200
 
constexpr int OverworldCustomMosaicEnabled = 0x140142
 
constexpr int kOverlayPointers = 0x77664
 
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
 
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 kBowItemPos = 0x6F631
 
constexpr const char * kSpriteProperties []
 

Detailed Description

Zelda 3 specific classes and functions.

Typedef Documentation

◆ OverworldBlockset

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

Represents tile32 data for the overworld.

Definition at line 79 of file overworld_map.h.

◆ OverworldMapTiles

◆ DungeonMapLabels

using yaze::zelda3::DungeonMapLabels = typedef std::array<std::vector<std::array<std::string, kNumRooms> >, kNumDungeons>

Definition at line 59 of file dungeon_map.h.

Enumeration Type Documentation

◆ CollisionKey

Enumerator
One_Collision 
Both 
Both_With_Scroll 
Moving_Floor_Collision 
Moving_Water_Collision 

Definition at line 96 of file room.h.

◆ EffectKey

Enumerator
Effect_Nothing 
One 
Moving_Floor 
Moving_Water 
Four 
Red_Flashes 
Torch_Show_Floor 
Ganon_Room 

Definition at line 104 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 115 of file room.h.

◆ SpecialObjectType

Enumerator
Chest 
BigChest 
InterroomStairs 

Definition at line 15 of file room_object.h.

◆ Sorting

Enumerator
All 
Wall 
Horizontal 
Vertical 
NonScalable 
Dungeons 
Floors 
SortStairs 

Definition at line 17 of file room_object.h.

◆ ObjectOption

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

Definition at line 28 of file room_object.h.

◆ AreaSizeEnum

enum class yaze::zelda3::AreaSizeEnum
strong
Enumerator
SmallArea 
LargeArea 
WideArea 
TallArea 

Definition at line 90 of file overworld_map.h.

Function Documentation

◆ CreateDungeonEditorSystem()

std::unique_ptr< DungeonEditorSystem > yaze::zelda3::CreateDungeonEditorSystem ( Rom rom)

Factory function to create dungeon editor system.

Definition at line 811 of file dungeon_editor_system.cc.

◆ CreateDungeonObjectEditor()

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

Factory function to create dungeon object editor.

Definition at line 1199 of file dungeon_object_editor.cc.

◆ CalculateRoomSize()

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

Definition at line 21 of file room.cc.

References yaze::Rom::data(), yaze::zelda3::RoomSize::room_size, and yaze::zelda3::RoomSize::room_size_pointer.

Referenced by yaze::editor::DungeonRoomLoader::LoadAllRooms().

Here is the call graph for this function:

◆ LoadRoomFromRom()

Room yaze::zelda3::LoadRoomFromRom ( Rom rom,
int  room_id 
)

Definition at line 75 of file room.cc.

References yaze::Rom::data(), dungeon_spr_ptrs, yaze::zelda3::Room::IsLight(), kRoomHeaderPointer, kRoomHeaderPointerBank, yaze::zelda3::Room::LoadBlocks(), yaze::zelda3::Room::LoadDoors(), yaze::zelda3::Room::LoadPits(), yaze::zelda3::Room::LoadTorches(), messages_id_dungeon, room_object_pointer, rooms_sprite_pointer, 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::SetLoaded(), 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(), and yaze::SnesToPc().

Referenced by yaze::editor::DungeonRoomLoader::LoadAllRooms(), yaze::editor::DungeonRoomLoader::LoadRoom(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), and yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender().

◆ operator|()

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

Definition at line 30 of file room_object.cc.

◆ operator&()

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

Definition at line 35 of file room_object.cc.

◆ operator^()

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

Definition at line 40 of file room_object.cc.

◆ operator~()

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

Definition at line 45 of file room_object.cc.

◆ 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 51 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 56 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 61 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 67 of file hyrule_magic.cc.

References ldle16b().

Here is the call graph for this function:

◆ LoadEntranceTileTypes()

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

◆ CompareOverworldItems()

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

◆ 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 17 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 77 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(), and yaze::editor::EditorManager::SaveRomAs().

Here is the call graph for this function:

◆ LoadDungeonMapTile16()

absl::Status yaze::zelda3::LoadDungeonMapTile16 ( gfx::Tilemap tile16_blockset,
Rom rom,
const std::vector< uint8_t > &  gfx_data,
bool  bin_mode 
)

◆ 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 139 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,
gfx::Tilemap tile16_blockset,
std::array< gfx::Bitmap, 4 > &  sheets,
std::vector< uint8_t > &  gfx_bin_data 
)

Load the dungeon map gfx from binary.

Parameters
rom
tile16_blockset
sheets
gfx_bin_data
Todo:
Queue texture for later rendering.

Definition at line 166 of file dungeon_map.cc.

References LoadDungeonMapTile16(), yaze::Rom::mutable_dungeon_palette(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), and yaze::gfx::SnesTo8bppSheet().

Here is the call graph for this function:

◆ TEST_F() [1/58]

yaze::zelda3::TEST_F ( DungeonEditorSystemIntegrationTest  ,
BasicInitialization   
)

Definition at line 67 of file dungeon_editor_system_integration_test.cc.

◆ TEST_F() [2/58]

yaze::zelda3::TEST_F ( DungeonEditorSystemIntegrationTest  ,
RoomLoadingAndManagement   
)

Definition at line 74 of file dungeon_editor_system_integration_test.cc.

◆ TEST_F() [3/58]

yaze::zelda3::TEST_F ( DungeonEditorSystemIntegrationTest  ,
ObjectEditorIntegration   
)

Definition at line 95 of file dungeon_editor_system_integration_test.cc.

◆ TEST_F() [4/58]

◆ TEST_F() [5/58]

◆ TEST_F() [6/58]

◆ TEST_F() [7/58]

◆ TEST_F() [8/58]

yaze::zelda3::TEST_F ( DungeonEditorSystemIntegrationTest  ,
ChestManagement   
)

Definition at line 313 of file dungeon_editor_system_integration_test.cc.

◆ TEST_F() [9/58]

◆ TEST_F() [10/58]

◆ TEST_F() [11/58]

yaze::zelda3::TEST_F ( DungeonEditorSystemIntegrationTest  ,
UndoRedoFunctionality   
)

Definition at line 438 of file dungeon_editor_system_integration_test.cc.

◆ TEST_F() [12/58]

yaze::zelda3::TEST_F ( DungeonEditorSystemIntegrationTest  ,
ValidationFunctionality   
)

Definition at line 473 of file dungeon_editor_system_integration_test.cc.

◆ TEST_F() [13/58]

yaze::zelda3::TEST_F ( DungeonEditorSystemIntegrationTest  ,
SaveLoadFunctionality   
)

Definition at line 487 of file dungeon_editor_system_integration_test.cc.

◆ TEST_F() [14/58]

◆ TEST_F() [15/58]

yaze::zelda3::TEST_F ( DungeonEditorSystemIntegrationTest  ,
ErrorHandling   
)

Definition at line 548 of file dungeon_editor_system_integration_test.cc.

◆ TEST_F() [16/58]

yaze::zelda3::TEST_F ( DungeonRenderingIntegrationTest  ,
FullRoomRenderingWorks   
)

◆ TEST_F() [17/58]

yaze::zelda3::TEST_F ( DungeonRenderingIntegrationTest  ,
RoomRenderingWithDifferentPalettes   
)

◆ TEST_F() [18/58]

yaze::zelda3::TEST_F ( DungeonRenderingIntegrationTest  ,
RoomRenderingWithMultipleLayers   
)

◆ TEST_F() [19/58]

yaze::zelda3::TEST_F ( DungeonRenderingIntegrationTest  ,
RoomRenderingWithVariousObjectSizes   
)

◆ TEST_F() [20/58]

◆ TEST_F() [21/58]

yaze::zelda3::TEST_F ( DungeonRenderingIntegrationTest  ,
RoomRenderingWithEdgeCaseCoordinates   
)

Definition at line 240 of file dungeon_rendering_test.cc.

References yaze::zelda3::Room::bg1_buffer(), yaze::zelda3::Room::bg2_buffer(), and yaze::zelda3::ObjectDrawer::DrawObjectList().

Here is the call graph for this function:

◆ TEST_F() [22/58]

yaze::zelda3::TEST_F ( DungeonRenderingIntegrationTest  ,
RoomRenderingWithMixedObjectTypes   
)

Definition at line 268 of file dungeon_rendering_test.cc.

References yaze::zelda3::Room::bg1_buffer(), yaze::zelda3::Room::bg2_buffer(), and yaze::zelda3::ObjectDrawer::DrawObjectList().

Here is the call graph for this function:

◆ TEST_F() [23/58]

yaze::zelda3::TEST_F ( DungeonRenderingIntegrationTest  ,
RoomRenderingErrorHandling   
)

◆ TEST_F() [24/58]

yaze::zelda3::TEST_F ( DungeonRenderingIntegrationTest  ,
RoomRenderingWithInvalidObjectData   
)

Definition at line 327 of file dungeon_rendering_test.cc.

References yaze::zelda3::Room::bg1_buffer(), yaze::zelda3::Room::bg2_buffer(), and yaze::zelda3::ObjectDrawer::DrawObjectList().

Here is the call graph for this function:

◆ TEST_F() [25/58]

yaze::zelda3::TEST_F ( OverworldIntegrationTest  ,
Tile32ExpansionDetection   
)

Definition at line 108 of file overworld_integration_test.cc.

◆ TEST_F() [26/58]

yaze::zelda3::TEST_F ( OverworldIntegrationTest  ,
Tile16ExpansionDetection   
)

Definition at line 124 of file overworld_integration_test.cc.

◆ TEST_F() [27/58]

yaze::zelda3::TEST_F ( OverworldIntegrationTest  ,
EntranceCoordinateCalculation   
)

Definition at line 140 of file overworld_integration_test.cc.

◆ TEST_F() [28/58]

yaze::zelda3::TEST_F ( OverworldIntegrationTest  ,
ExitDataLoading   
)

Definition at line 174 of file overworld_integration_test.cc.

◆ TEST_F() [29/58]

yaze::zelda3::TEST_F ( OverworldIntegrationTest  ,
ASMVersionItemLoading   
)

Definition at line 191 of file overworld_integration_test.cc.

◆ TEST_F() [30/58]

yaze::zelda3::TEST_F ( OverworldIntegrationTest  ,
MapSizeAssignment   
)

Definition at line 214 of file overworld_integration_test.cc.

References SmallArea, and TallArea.

◆ TEST_F() [31/58]

yaze::zelda3::TEST_F ( OverworldIntegrationTest  ,
ZSCustomOverworldVersionIntegration   
)

Definition at line 229 of file overworld_integration_test.cc.

◆ TEST_F() [32/58]

yaze::zelda3::TEST_F ( OverworldIntegrationTest  ,
RomDependentTestSuiteCompatibility   
)

Definition at line 263 of file overworld_integration_test.cc.

References SmallArea, and TallArea.

◆ TEST_F() [33/58]

yaze::zelda3::TEST_F ( OverworldIntegrationTest  ,
ComprehensiveDataIntegrity   
)
Todo:
Find a way to compare

Definition at line 305 of file overworld_integration_test.cc.

◆ TEST_F() [34/58]

yaze::zelda3::TEST_F ( OverworldIntegrationTest  ,
ZScreamCoordinateCompatibility   
)

Definition at line 345 of file overworld_integration_test.cc.

◆ TEST_F() [35/58]

yaze::zelda3::TEST_F ( SpritePositionTest  ,
SpriteCoordinateSystem   
)

Definition at line 44 of file sprite_position_test.cc.

References yaze::zelda3::Sprite::name().

Here is the call graph for this function:

◆ TEST_F() [36/58]

yaze::zelda3::TEST_F ( SpritePositionTest  ,
SpriteFilteringLogic   
)

Definition at line 75 of file sprite_position_test.cc.

◆ TEST_F() [37/58]

yaze::zelda3::TEST_F ( SpritePositionTest  ,
MapCoordinateCalculations   
)

Definition at line 108 of file sprite_position_test.cc.

◆ TEST_F() [38/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
ObjectDrawerInitializesCorrectly   
)

Definition at line 55 of file object_rendering_test.cc.

◆ TEST_F() [39/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
ObjectParserDetectsDrawRoutines   
)

Definition at line 63 of file object_rendering_test.cc.

References yaze::zelda3::ObjectParser::GetObjectDrawInfo().

Here is the call graph for this function:

◆ TEST_F() [40/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
ObjectDrawerHandlesVariousObjectTypes   
)

Definition at line 94 of file object_rendering_test.cc.

References yaze::zelda3::ObjectDrawer::DrawObject(), and yaze::zelda3::RoomObject::set_rom().

Here is the call graph for this function:

◆ TEST_F() [41/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
ObjectDrawerHandlesDifferentLayers   
)

Definition at line 121 of file object_rendering_test.cc.

References yaze::zelda3::ObjectDrawer::DrawObject(), and yaze::zelda3::RoomObject::set_rom().

Here is the call graph for this function:

◆ TEST_F() [42/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
ObjectDrawerHandlesSizeVariations   
)

Definition at line 141 of file object_rendering_test.cc.

References yaze::zelda3::ObjectDrawer::DrawObject(), and yaze::zelda3::RoomObject::set_rom().

Here is the call graph for this function:

◆ TEST_F() [43/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
ObjectDrawerHandlesEdgeCases   
)

Definition at line 168 of file object_rendering_test.cc.

References yaze::zelda3::ObjectDrawer::DrawObject(), and yaze::zelda3::RoomObject::set_rom().

Here is the call graph for this function:

◆ TEST_F() [44/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
ObjectDrawerHandlesMultipleObjects   
)

Definition at line 195 of file object_rendering_test.cc.

References yaze::zelda3::ObjectDrawer::DrawObjectList().

Here is the call graph for this function:

◆ TEST_F() [45/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
DrawRoutinesWorkCorrectly   
)

Definition at line 217 of file object_rendering_test.cc.

References yaze::zelda3::ObjectDrawer::DrawObject(), and yaze::zelda3::RoomObject::set_rom().

Here is the call graph for this function:

◆ TEST_F() [46/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
ObjectDrawerHandlesErrorsGracefully   
)

Definition at line 244 of file object_rendering_test.cc.

References yaze::zelda3::ObjectDrawer::DrawObject().

Here is the call graph for this function:

◆ TEST_F() [47/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
ObjectParserHandlesVariousObjectIDs   
)

Definition at line 256 of file object_rendering_test.cc.

References yaze::zelda3::ObjectParser::GetObjectDrawInfo().

Here is the call graph for this function:

◆ TEST_F() [48/58]

yaze::zelda3::TEST_F ( ObjectRenderingTest  ,
ObjectDrawerPerformanceTest   
)

Definition at line 288 of file object_rendering_test.cc.

References yaze::zelda3::ObjectDrawer::DrawObjectList().

Here is the call graph for this function:

◆ TEST_F() [49/58]

◆ TEST_F() [50/58]

yaze::zelda3::TEST_F ( OverworldTest  ,
AreaSizeEnumValues   
)

Definition at line 110 of file overworld_test.cc.

References LargeArea, SmallArea, TallArea, and WideArea.

◆ TEST_F() [51/58]

◆ TEST_F() [52/58]

◆ TEST_F() [53/58]

yaze::zelda3::TEST_F ( OverworldTest  ,
OverworldMapCustomTilesetArray   
)

◆ TEST_F() [54/58]

yaze::zelda3::TEST_F ( OverworldTest  ,
OverworldMapSpriteProperties   
)

◆ TEST_F() [55/58]

◆ TEST_F() [56/58]

◆ TEST_F() [57/58]

◆ TEST_F() [58/58]

yaze::zelda3::TEST_F ( OverworldTest  ,
WorldBasedSpriteFiltering   
)

Definition at line 257 of file overworld_test.cc.

Variable Documentation

◆ kEntranceNames

◆ 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 LoadRoomFromRom().

◆ kRoomHeaderPointerBank

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

Definition at line 20 of file dungeon_rom_addresses.h.

Referenced by LoadRoomFromRom().

◆ 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.

◆ kRoomsSpritePointer

constexpr int yaze::zelda3::kRoomsSpritePointer = 0x4C298
constexpr

Definition at line 28 of file dungeon_rom_addresses.h.

◆ kSpriteBlocksetPointer

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

Definition at line 29 of file dungeon_rom_addresses.h.

◆ kGfxGroupsPointer

constexpr int yaze::zelda3::kGfxGroupsPointer = 0x6237
constexpr

Definition at line 32 of file dungeon_rom_addresses.h.

◆ 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.

◆ kDoorGfxDown

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

Definition at line 58 of file dungeon_rom_addresses.h.

◆ 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.

◆ kDoorGfxRight

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

Definition at line 61 of file dungeon_rom_addresses.h.

◆ 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

Definition at line 68 of file dungeon_rom_addresses.h.

◆ kSpritesDataEmptyRoom

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

Definition at line 69 of file dungeon_rom_addresses.h.

◆ kSpritesEndData

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

Definition at line 70 of file dungeon_rom_addresses.h.

◆ kDungeonSpritePointers

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

Definition at line 71 of file dungeon_rom_addresses.h.

◆ kMessagesIdDungeon

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

Definition at line 74 of file dungeon_rom_addresses.h.

◆ kNumberOfRooms

constexpr int yaze::zelda3::kNumberOfRooms = 296
constexpr

Definition at line 77 of file dungeon_rom_addresses.h.

◆ kStairsObjects

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

Definition at line 80 of file dungeon_rom_addresses.h.

◆ kGfxBufferOffset

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

Definition at line 219 of file room.cc.

◆ kGfxBufferStride

constexpr int yaze::zelda3::kGfxBufferStride = 512
constexpr

Definition at line 220 of file room.cc.

◆ kGfxBufferAnimatedFrameOffset

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

Definition at line 221 of file room.cc.

◆ kGfxBufferAnimatedFrameStride

constexpr int yaze::zelda3::kGfxBufferAnimatedFrameStride = 512
constexpr

Definition at line 222 of file room.cc.

◆ kGfxBufferRoomOffset

constexpr int yaze::zelda3::kGfxBufferRoomOffset = 2048
constexpr

Definition at line 223 of file room.cc.

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

◆ kGfxBufferRoomSpriteOffset

constexpr int yaze::zelda3::kGfxBufferRoomSpriteOffset = 512
constexpr

Definition at line 224 of file room.cc.

◆ kGfxBufferRoomSpriteStride

constexpr int yaze::zelda3::kGfxBufferRoomSpriteStride = 2048
constexpr

Definition at line 225 of file room.cc.

◆ kGfxBufferRoomSpriteLastLineOffset

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

Definition at line 226 of file room.cc.

◆ room_object_layout_pointer

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

Definition at line 24 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 = kDungeonsMainBgPalettePointers
constexpr

Definition at line 26 of file room.h.

◆ dungeons_palettes

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

Definition at line 27 of file room.h.

◆ room_items_pointers

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

Definition at line 28 of file room.h.

◆ rooms_sprite_pointer

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

Definition at line 29 of file room.h.

Referenced by LoadRoomFromRom(), and yaze::zelda3::Room::LoadSprites().

◆ gfx_groups_pointer

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

Definition at line 30 of file room.h.

◆ chests_length_pointer

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

Definition at line 31 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 32 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 33 of file room.h.

Referenced by LoadRoomFromRom().

◆ blocks_length

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

Definition at line 34 of file room.h.

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

◆ blocks_pointer1

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

Definition at line 35 of file room.h.

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

◆ blocks_pointer2

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

Definition at line 36 of file room.h.

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

◆ blocks_pointer3

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

Definition at line 37 of file room.h.

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

◆ blocks_pointer4

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

Definition at line 38 of file room.h.

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

◆ torch_data

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

Definition at line 39 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 40 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 41 of file room.h.

◆ sprites_data

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

Definition at line 42 of file room.h.

◆ sprites_data_empty_room

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

Definition at line 43 of file room.h.

◆ sprites_end_data

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

Definition at line 44 of file room.h.

◆ pit_pointer

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

Definition at line 45 of file room.h.

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

◆ pit_count

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

Definition at line 46 of file room.h.

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

◆ doorPointers

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

Definition at line 47 of file room.h.

◆ door_gfx_up

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

Definition at line 48 of file room.h.

◆ door_gfx_down

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

Definition at line 49 of file room.h.

◆ door_gfx_cavexit_down

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

Definition at line 50 of file room.h.

◆ door_gfx_left

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

Definition at line 51 of file room.h.

◆ door_gfx_right

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

Definition at line 52 of file room.h.

◆ door_pos_up

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

Definition at line 53 of file room.h.

◆ door_pos_down

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

Definition at line 54 of file room.h.

◆ door_pos_left

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

Definition at line 55 of file room.h.

◆ door_pos_right

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

Definition at line 56 of file room.h.

◆ dungeon_spr_ptrs

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

Definition at line 57 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 59 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 61 of file room.h.

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

◆ kRoomNames

◆ 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 47 of file room_object.h.

◆ GravesYTilePos

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

Definition at line 20 of file overworld.h.

◆ GravesXTilePos

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

Definition at line 21 of file overworld.h.

◆ GravesTilemapPos

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

Definition at line 22 of file overworld.h.

◆ GravesGFX

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

Definition at line 23 of file overworld.h.

◆ GravesXPos

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

Definition at line 24 of file overworld.h.

◆ GravesYLine

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

Definition at line 25 of file overworld.h.

◆ GravesCountOnY

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

Definition at line 26 of file overworld.h.

◆ GraveLinkSpecialHole

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

Definition at line 27 of file overworld.h.

◆ GraveLinkSpecialStairs

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

Definition at line 28 of file overworld.h.

◆ kOverworldMapPaletteIds

constexpr int yaze::zelda3::kOverworldMapPaletteIds = 0x7D1C
constexpr

◆ kOverworldSpritePaletteIds

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

◆ kOverworldSpritePaletteGroup

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

Definition at line 32 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 36 of file overworld.h.

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

◆ kOverworldSpritesAgahnim

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

Definition at line 37 of file overworld.h.

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

◆ kOverworldSpritesZelda

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

Definition at line 38 of file overworld.h.

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

◆ kAreaGfxIdPtr

constexpr int yaze::zelda3::kAreaGfxIdPtr = 0x7C9C
constexpr

◆ kOverworldMessageIds

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

Definition at line 41 of file overworld.h.

Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo(), and main().

◆ 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 48 of file overworld.h.

◆ kOverworldEntranceAllowedTilesRight

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

Definition at line 49 of file overworld.h.

◆ kOverworldMapSize

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

◆ kOverworldMapSizeHighByte

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

Definition at line 55 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 64 of file overworld.h.

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

◆ kOverworldTransitionPositionX

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

Definition at line 65 of file overworld.h.

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

◆ kOverworldScreenSize

◆ kOverworldScreenSizeForLoading

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

Definition at line 67 of file overworld.h.

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

◆ kOverworldScreenTileMapChangeByScreen1

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

Definition at line 69 of file overworld.h.

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

◆ kOverworldScreenTileMapChangeByScreen2

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

Definition at line 70 of file overworld.h.

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

◆ kOverworldScreenTileMapChangeByScreen3

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

Definition at line 71 of file overworld.h.

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

◆ kOverworldScreenTileMapChangeByScreen4

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

Definition at line 72 of file overworld.h.

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

◆ kOverworldMapDataOverflow

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

Definition at line 74 of file overworld.h.

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

◆ kTransitionTargetNorth

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

Definition at line 76 of file overworld.h.

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

◆ kTransitionTargetWest

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

Definition at line 77 of file overworld.h.

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

◆ overworldCustomMosaicASM

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

Definition at line 78 of file overworld.h.

◆ overworldCustomMosaicArray

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

Definition at line 79 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 86 of file overworld.h.

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

◆ kMap32ExpandedFlagPos

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

Definition at line 87 of file overworld.h.

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

◆ kMap16ExpandedFlagPos

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

Definition at line 88 of file overworld.h.

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

◆ kOverworldEntranceExpandedFlagPos

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

Definition at line 89 of file overworld.h.

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

◆ overworldSpritesBeginingExpanded

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

Definition at line 91 of file overworld.h.

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

◆ overworldSpritesZeldaExpanded

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

Definition at line 92 of file overworld.h.

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

◆ overworldSpritesAgahnimExpanded

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

Definition at line 93 of file overworld.h.

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

◆ overworldSpritesDataStartExpanded

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

Definition at line 94 of file overworld.h.

◆ overworldSpecialSpriteGFXGroupExpandedTemp

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

Definition at line 96 of file overworld.h.

◆ overworldSpecialSpritePaletteExpandedTemp

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

Definition at line 97 of file overworld.h.

◆ ExpandedOverlaySpace

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

Definition at line 99 of file overworld.h.

◆ overworldTilesType

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

Definition at line 101 of file overworld.h.

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

◆ overworldMessages

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

Definition at line 102 of file overworld.h.

◆ overworldMessagesExpanded

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

Definition at line 103 of file overworld.h.

◆ overworldItemsPointers

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

Definition at line 105 of file overworld.h.

◆ overworldItemsAddress

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

Definition at line 106 of file overworld.h.

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

◆ overworldItemsAddressBank

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

Definition at line 107 of file overworld.h.

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

◆ overworldItemsEndData

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

Definition at line 108 of file overworld.h.

◆ overworldBombDoorItemLocationsNew

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

Definition at line 110 of file overworld.h.

◆ overworldItemsPointersNew

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

Definition at line 111 of file overworld.h.

◆ overworldItemsStartDataNew

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

Definition at line 112 of file overworld.h.

◆ kOverworldCompressedMapPos

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

Definition at line 114 of file overworld.h.

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

◆ kOverworldCompressedOverflowPos

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

Definition at line 115 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

◆ kNumOverworldMaps

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

Definition at line 119 of file overworld.h.

Referenced by yaze::zelda3::Overworld::AssignMapSizes(), yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::zelda3::Overworld::DecompressAllMapTilesParallel(), yaze::editor::MapPropertiesSystem::DrawOverlayPreviewOnMap(), yaze::zelda3::Overworld::EnsureMapBuilt(), yaze::editor::OverworldEditor::EnsureMapTexture(), yaze::zelda3::anonymous_namespace{overworld.cc}::GetAllTile16(), yaze::cli::HandleOverworldDescribeMapLegacy(), yaze::cli::HandleOverworldListWarpsLegacy(), yaze::zelda3::Overworld::Load(), yaze::editor::OverworldEditor::LoadGraphics(), yaze::zelda3::Overworld::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::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(), 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().

◆ kNumTile16Individual

◆ Map32PerScreen

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

Definition at line 121 of file overworld.h.

◆ NumberOfMap16

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

Definition at line 122 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 124 of file overworld.h.

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

◆ NumberOfOWSprites

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

Definition at line 125 of file overworld.h.

◆ NumberOfMap32

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

Definition at line 126 of file overworld.h.

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

◆ kNumMapsPerWorld

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

Definition at line 127 of file overworld.h.

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

◆ kEntranceRoomEXP

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

Definition at line 14 of file overworld_entrance.h.

◆ kEntranceScrollEdgeEXP

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

Definition at line 15 of file overworld_entrance.h.

◆ kEntranceCameraYEXP

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

Definition at line 16 of file overworld_entrance.h.

◆ kEntranceCameraXEXP

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

Definition at line 17 of file overworld_entrance.h.

◆ kEntranceYPositionEXP

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

Definition at line 18 of file overworld_entrance.h.

◆ kEntranceXPositionEXP

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

Definition at line 19 of file overworld_entrance.h.

◆ kEntranceCameraYTriggerEXP

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

Definition at line 20 of file overworld_entrance.h.

◆ kEntranceCameraXTriggerEXP

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

Definition at line 21 of file overworld_entrance.h.

◆ kEntranceBlocksetEXP

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

Definition at line 22 of file overworld_entrance.h.

◆ kEntranceFloorEXP

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

Definition at line 23 of file overworld_entrance.h.

◆ kEntranceDungeonEXP

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

Definition at line 24 of file overworld_entrance.h.

◆ kEntranceDoorEXP

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

Definition at line 25 of file overworld_entrance.h.

◆ kEntranceLadderBgEXP

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

Definition at line 26 of file overworld_entrance.h.

◆ kEntranceScrollingEXP

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

Definition at line 27 of file overworld_entrance.h.

◆ kEntranceScrollQuadrantEXP

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

Definition at line 28 of file overworld_entrance.h.

◆ kEntranceExitEXP

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

Definition at line 29 of file overworld_entrance.h.

◆ kEntranceMusicEXP

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

Definition at line 30 of file overworld_entrance.h.

◆ kEntranceExtraEXP

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

Definition at line 31 of file overworld_entrance.h.

◆ kEntranceTotalEXP

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

Definition at line 32 of file overworld_entrance.h.

◆ kEntranceTotal

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

Definition at line 33 of file overworld_entrance.h.

◆ kEntranceLinkSpawn

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

Definition at line 34 of file overworld_entrance.h.

◆ kEntranceNorthTavern

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

Definition at line 35 of file overworld_entrance.h.

◆ kEntranceEXP

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

Definition at line 36 of file overworld_entrance.h.

◆ kEntranceCameraY

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

Definition at line 38 of file overworld_entrance.h.

◆ kEntranceCameraX

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

Definition at line 39 of file overworld_entrance.h.

◆ kNumOverworldEntrances

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

Definition at line 41 of file overworld_entrance.h.

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

◆ kNumOverworldHoles

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

Definition at line 42 of file overworld_entrance.h.

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

◆ kOverworldEntranceMap

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

◆ kOverworldEntrancePos

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

◆ kOverworldEntranceEntranceId

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

◆ kOverworldEntranceMapExpanded

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

◆ kOverworldEntrancePosExpanded

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

◆ kOverworldEntranceEntranceIdExpanded

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

◆ kOverworldHolePos

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

◆ kOverworldHoleArea

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

◆ kOverworldHoleEntrance

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

◆ kEntranceTileTypePtrLow

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

Definition at line 118 of file overworld_entrance.h.

Referenced by LoadEntranceTileTypes().

◆ kEntranceTileTypePtrHigh

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

Definition at line 119 of file overworld_entrance.h.

Referenced by LoadEntranceTileTypes().

◆ kNumEntranceTileTypes

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

Definition at line 120 of file overworld_entrance.h.

Referenced by LoadEntranceTileTypes().

◆ kNumOverworldExits

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

Definition at line 12 of file overworld_exit.h.

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

◆ OWExitRoomId

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

◆ OWExitMapId

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

◆ OWExitVram

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

◆ OWExitYScroll

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

◆ OWExitXScroll

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

◆ OWExitYPlayer

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

◆ OWExitXPlayer

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

◆ OWExitYCamera

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

◆ OWExitXCamera

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

◆ OWExitDoorPosition

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

Definition at line 24 of file overworld_exit.h.

◆ OWExitUnk1

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

◆ OWExitUnk2

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

◆ OWExitDoorType1

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

◆ OWExitDoorType2

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

◆ OWExitMapIdWhirlpool

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

Definition at line 30 of file overworld_exit.h.

◆ OWExitVramWhirlpool

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

Definition at line 31 of file overworld_exit.h.

◆ OWExitYScrollWhirlpool

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

Definition at line 32 of file overworld_exit.h.

◆ OWExitXScrollWhirlpool

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

Definition at line 33 of file overworld_exit.h.

◆ OWExitYPlayerWhirlpool

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

Definition at line 34 of file overworld_exit.h.

◆ OWExitXPlayerWhirlpool

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

Definition at line 35 of file overworld_exit.h.

◆ OWExitYCameraWhirlpool

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

Definition at line 36 of file overworld_exit.h.

◆ OWExitXCameraWhirlpool

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

Definition at line 37 of file overworld_exit.h.

◆ OWExitUnk1Whirlpool

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

Definition at line 38 of file overworld_exit.h.

◆ OWExitUnk2Whirlpool

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

Definition at line 39 of file overworld_exit.h.

◆ OWWhirlpoolPosition

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

Definition at line 40 of file overworld_exit.h.

◆ kNumOverworldMapItemPointers

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

Definition at line 16 of file overworld_item.h.

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

◆ kOverworldItemsPointers

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

Definition at line 17 of file overworld_item.h.

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

◆ kOverworldItemsAddress

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

Definition at line 18 of file overworld_item.h.

◆ kOverworldItemsBank

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

Definition at line 19 of file overworld_item.h.

◆ kOverworldItemsEndData

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

Definition at line 20 of file overworld_item.h.

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

◆ kOverworldBombDoorItemLocationsNew

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

Definition at line 22 of file overworld_item.h.

◆ kOverworldItemsPointersNew

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

Definition at line 23 of file overworld_item.h.

◆ kOverworldItemsStartDataNew

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

Definition at line 24 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 86 of file overworld_item.h.

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

◆ OverworldCustomASMHasBeenApplied

constexpr int yaze::zelda3::OverworldCustomASMHasBeenApplied = 0x140145
constexpr

Definition at line 21 of file overworld_map.h.

Referenced by ROMPatchUtility::ApplyV3Patch(), yaze::editor::OverworldEditor::ApplyZSCustomOverworldASM(), yaze::zelda3::Overworld::AssembleMap16Tiles(), yaze::zelda3::Overworld::AssembleMap32Tiles(), yaze::zelda3::OverworldMap::BuildMap(), yaze::editor::EditorManager::BuildModernMenu(), yaze::editor::OverworldEditor::CheckForCurrentMap(), yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::editor::MapPropertiesSystem::DrawCustomBackgroundColorEditor(), yaze::editor::MapPropertiesSystem::DrawCustomFeaturesTab(), yaze::editor::MapPropertiesSystem::DrawGraphicsPopup(), yaze::editor::MapPropertiesSystem::DrawMapPropertiesPanel(), yaze::editor::MapPropertiesSystem::DrawMosaicControls(), yaze::editor::MapPropertiesSystem::DrawOverlayControls(), yaze::editor::MapPropertiesSystem::DrawOverlayEditor(), yaze::editor::MapPropertiesSystem::DrawOverlayPreviewOnMap(), yaze::editor::MapPropertiesSystem::DrawPalettesPopup(), yaze::editor::MapPropertiesSystem::DrawPropertiesPopup(), yaze::editor::MapPropertiesSystem::DrawSimplifiedMapSettings(), yaze::editor::MapPropertiesSystem::DrawTileGraphicsTab(), yaze::editor::OverworldEditor::DrawToolset(), yaze::zelda3::Overworld::Load(), yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::zelda3::Overworld::LoadItems(), yaze::zelda3::OverworldMap::LoadOverlay(), yaze::zelda3::OverworldMap::LoadPalette(), yaze::zelda3::Overworld::LoadSprites(), main(), yaze::zelda3::OverworldMap::OverworldMap(), yaze::editor::OverworldEditor::RefreshChildMapOnDemand(), yaze::editor::OverworldEditor::RefreshMapPalette(), yaze::editor::OverworldEditor::RefreshMapProperties(), yaze::zelda3::Overworld::SaveAreaSizes(), yaze::zelda3::Overworld::SaveExits(), yaze::zelda3::Overworld::SaveLargeMaps(), yaze::editor::MapPropertiesSystem::SetupCanvasContextMenu(), and yaze::editor::OverworldEditor::UpdateROMVersionMarkers().

◆ OverworldCustomAreaSpecificBGPalette

constexpr int yaze::zelda3::OverworldCustomAreaSpecificBGPalette = 0x140000
constexpr

◆ OverworldCustomAreaSpecificBGEnabled

◆ OverworldCustomSubscreenOverlayArray

constexpr int yaze::zelda3::OverworldCustomSubscreenOverlayArray = 0x140340
constexpr

◆ OverworldCustomSubscreenOverlayEnabled

constexpr int yaze::zelda3::OverworldCustomSubscreenOverlayEnabled = 0x140144
constexpr

◆ OverworldCustomAnimatedGFXArray

constexpr int yaze::zelda3::OverworldCustomAnimatedGFXArray = 0x1402A0
constexpr

◆ OverworldCustomAnimatedGFXEnabled

constexpr int yaze::zelda3::OverworldCustomAnimatedGFXEnabled = 0x140143
constexpr

◆ OverworldCustomTileGFXGroupArray

constexpr int yaze::zelda3::OverworldCustomTileGFXGroupArray = 0x140480
constexpr

◆ OverworldCustomTileGFXGroupEnabled

constexpr int yaze::zelda3::OverworldCustomTileGFXGroupEnabled = 0x140148
constexpr

◆ OverworldCustomMosaicArray

constexpr int yaze::zelda3::OverworldCustomMosaicArray = 0x140200
constexpr

◆ OverworldCustomMosaicEnabled

constexpr int yaze::zelda3::OverworldCustomMosaicEnabled = 0x140142
constexpr

◆ kOverlayPointers

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

Definition at line 40 of file overworld_map.h.

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

◆ kOverlayPointersBank

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

Definition at line 41 of file overworld_map.h.

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

◆ kOverlayData1

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

Definition at line 42 of file overworld_map.h.

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

◆ kOverlayData2

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

Definition at line 43 of file overworld_map.h.

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

◆ kOverlayCodeStart

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

Definition at line 44 of file overworld_map.h.

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

◆ OverworldCustomMainPaletteArray

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

◆ OverworldCustomMainPaletteEnabled

constexpr int yaze::zelda3::OverworldCustomMainPaletteEnabled = 0x140141
constexpr

◆ 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 55 of file overworld_map.h.

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

◆ kOverworldTransitionPositionXExpanded

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

Definition at line 56 of file overworld_map.h.

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

◆ kOverworldScreenTileMapChangeByScreen1Expanded

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

Definition at line 57 of file overworld_map.h.

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

◆ kOverworldScreenTileMapChangeByScreen2Expanded

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

Definition at line 58 of file overworld_map.h.

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

◆ kOverworldScreenTileMapChangeByScreen3Expanded

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

Definition at line 59 of file overworld_map.h.

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

◆ kOverworldScreenTileMapChangeByScreen4Expanded

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

Definition at line 60 of file overworld_map.h.

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

◆ kOverworldSpecialSpriteGFXGroup

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

Definition at line 62 of file overworld_map.h.

◆ kOverworldSpecialGFXGroup

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

Definition at line 63 of file overworld_map.h.

◆ kOverworldSpecialPALGroup

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

Definition at line 64 of file overworld_map.h.

◆ kOverworldSpecialSpritePalette

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

Definition at line 65 of file overworld_map.h.

◆ kOverworldPalettesScreenToSetNew

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

◆ kOverworldSpecialSpriteGfxGroupExpandedTemp

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

Definition at line 67 of file overworld_map.h.

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

◆ kOverworldSpecialSpritePaletteExpandedTemp

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

Definition at line 68 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 70 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 71 of file overworld_map.h.

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

◆ kDarkWorldMapIdStart

◆ kSpecialWorldMapIdStart

◆ kDungeonMapRoomsPtr

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

Definition at line 14 of file dungeon_map.h.

Referenced by LoadDungeonMaps(), and SaveDungeonMaps().

◆ kDungeonMapFloors

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

Definition at line 15 of file dungeon_map.h.

Referenced by LoadDungeonMaps().

◆ kDungeonMapGfxPtr

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

Definition at line 17 of file dungeon_map.h.

Referenced by LoadDungeonMaps(), and SaveDungeonMaps().

◆ kDungeonMapDataStart

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

Definition at line 20 of file dungeon_map.h.

◆ kDungeonMapExpCheck

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

Definition at line 23 of file dungeon_map.h.

Referenced by LoadDungeonMapTile16(), and SaveDungeonMapTile16().

◆ kDungeonMapTile16

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

Definition at line 24 of file dungeon_map.h.

Referenced by LoadDungeonMapTile16(), and SaveDungeonMapTile16().

◆ kDungeonMapTile16Expanded

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

Definition at line 25 of file dungeon_map.h.

Referenced by LoadDungeonMapTile16(), and SaveDungeonMapTile16().

◆ kDungeonMapBossRooms

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

Definition at line 28 of file dungeon_map.h.

Referenced by LoadDungeonMaps().

◆ kTriforceVertices

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

Definition at line 29 of file dungeon_map.h.

◆ kTriforceFaces

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

Definition at line 30 of file dungeon_map.h.

◆ kCrystalVertices

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

Definition at line 32 of file dungeon_map.h.

◆ kNumDungeons

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

Definition at line 34 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 36 of file dungeon_map.h.

Referenced by LoadDungeonMapTile16(), and SaveDungeonMapTile16().

◆ kInventoryStart

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

Definition at line 13 of file inventory.h.

◆ kBowItemPos

constexpr int yaze::zelda3::kBowItemPos = 0x6F631
constexpr

Definition at line 14 of file inventory.h.

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

◆ 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().