yaze 0.2.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{tracker.cc}
 
namespace  music
 Contains classes and functions for handling music data in Zelda 3.
 
namespace  palette_internal
 

Classes

struct  DungeonMap
 
class  DungeonObjectRenderer
 
class  GameEntity
 Base class for all overworld and dungeon entities. More...
 
class  Inventory
 
struct  LayerMergeType
 
class  Overworld
 Represents the full Overworld data, light and dark world. More...
 
class  OverworldEntrance
 
struct  OverworldEntranceTileTypes
 
class  OverworldExit
 
class  OverworldItem
 
class  OverworldMap
 Represents a single Overworld map screen. More...
 
struct  OverworldMapTiles
 Overworld map tile32 data. More...
 
struct  PseudoVram
 
class  Renderer
 The Renderer class represents the renderer for the Yaze application. More...
 
class  Room
 
class  RoomEntrance
 Dungeon Room Entrance or Spawn Point. More...
 
class  RoomObject
 
class  Sprite
 A class for managing sprites in the overworld and underworld. More...
 
class  SpriteAction
 
class  SpriteBuilder
 
class  SpriteInstruction
 
class  Subtype1
 
class  Subtype2
 
class  Subtype3
 
struct  SubtypeInfo
 
class  TitleScreen
 

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.
 

Enumerations

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

Functions

ObjectOption operator| (ObjectOption lhs, ObjectOption rhs)
 
ObjectOption operator& (ObjectOption lhs, ObjectOption rhs)
 
ObjectOption operator^ (ObjectOption lhs, ObjectOption rhs)
 
ObjectOption operator~ (ObjectOption option)
 
SubtypeInfo FetchSubtypeInfo (uint16_t object_id)
 
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)
 
absl::Status LoadDungeonMapGfxFromBinary (Rom &rom, std::array< gfx::Bitmap, 4 > &sheets, gfx::Tilesheet &tile16_sheet, std::vector< uint8_t > &gfx_bin_data)
 
absl::Status LoadDungeonMapTile16 (const std::vector< uint8_t > &gfx_data, bool bin_mode)
 

Variables

constexpr std::string_view kEntranceNames []
 
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 = 0x882D
 
constexpr int room_object_pointer = 0x874C
 
constexpr int dungeons_main_bg_palette_pointers = 0xDEC4B
 
constexpr int dungeons_palettes = 0xDD734
 
constexpr int room_items_pointers = 0xDB69
 
constexpr int rooms_sprite_pointer = 0x4C298
 
constexpr int kRoomHeaderPointer = 0xB5DD
 
constexpr int kRoomHeaderPointerBank = 0xB5E7
 
constexpr int gfx_groups_pointer = 0x6237
 
constexpr int chests_length_pointer = 0xEBF6
 
constexpr int chests_data_pointer1 = 0xEBFB
 
constexpr int messages_id_dungeon = 0x3F61D
 
constexpr int blocks_length = 0x8896
 
constexpr int blocks_pointer1 = 0x15AFA
 
constexpr int blocks_pointer2 = 0x15B01
 
constexpr int blocks_pointer3 = 0x15B08
 
constexpr int blocks_pointer4 = 0x15B0F
 
constexpr int torch_data = 0x2736A
 
constexpr int torches_length_pointer = 0x88C1
 
constexpr int sprite_blockset_pointer = 0x5B57
 
constexpr int sprites_data = 0x4D8B0
 
constexpr int sprites_data_empty_room = 0x4D8AE
 
constexpr int sprites_end_data = 0x4EC9E
 
constexpr int pit_pointer = 0x394AB
 
constexpr int pit_count = 0x394A6
 
constexpr int doorPointers = 0xF83C0
 
constexpr int door_gfx_up = 0x4D9E
 
constexpr int door_gfx_down = 0x4E06
 
constexpr int door_gfx_cavexit_down = 0x4E06
 
constexpr int door_gfx_left = 0x4E66
 
constexpr int door_gfx_right = 0x4EC6
 
constexpr int door_pos_up = 0x197E
 
constexpr int door_pos_down = 0x1996
 
constexpr int door_pos_left = 0x19AE
 
constexpr int door_pos_right = 0x19C6
 
constexpr int dungeon_spr_ptrs = 0x090000
 
constexpr int NumberOfRooms = 296
 
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 kMap32TilesLength = 0x33F0
 
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 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 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
 
const std::vector< std::string > kSecretItemNames
 
constexpr int OverworldCustomASMHasBeenApplied = 0x140145
 
constexpr int OverworldCustomAreaSpecificBGPalette = 0x140000
 
constexpr int OverworldCustomAreaSpecificBGEnabled = 0x140140
 
constexpr int OverworldCustomMainPaletteArray = 0x140160
 
constexpr int OverworldCustomMainPaletteEnabled = 0x140141
 
constexpr int OverworldCustomMosaicArray = 0x140200
 
constexpr int OverworldCustomMosaicEnabled = 0x140142
 
constexpr int OverworldCustomAnimatedGFXArray = 0x1402A0
 
constexpr int OverworldCustomAnimatedGFXEnabled = 0x140143
 
constexpr int OverworldCustomSubscreenOverlayArray = 0x140340
 
constexpr int OverworldCustomSubscreenOverlayEnabled = 0x140144
 
constexpr int OverworldCustomTileGFXGroupArray = 0x140480
 
constexpr int OverworldCustomTileGFXGroupEnabled = 0x140148
 
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 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 = std::vector<std::vector<uint16_t>>

Represents tile32 data for the overworld.

Definition at line 63 of file overworld_map.h.

◆ OverworldMapTiles

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

Overworld map tile32 data.

Enumeration Type Documentation

◆ SpecialObjectType

Enumerator
Chest 
BigChest 
InterroomStairs 

Definition at line 22 of file room_object.h.

◆ Sorting

Enumerator
All 
Wall 
Horizontal 
Vertical 
NonScalable 
Dungeons 
Floors 
SortStairs 

Definition at line 24 of file room_object.h.

◆ ObjectOption

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

Definition at line 35 of file room_object.h.

◆ CollisionKey

Enumerator
One_Collision 
Both 
Both_With_Scroll 
Moving_Floor_Collision 
Moving_Water_Collision 

Definition at line 9 of file room_tag.h.

◆ EffectKey

Enumerator
Effect_Nothing 
One 
Moving_Floor 
Moving_Water 
Four 
Red_Flashes 
Torch_Show_Floor 
Ganon_Room 

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

Function Documentation

◆ operator|()

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

Definition at line 6 of file room_object.cc.

◆ operator&()

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

Definition at line 11 of file room_object.cc.

◆ operator^()

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

Definition at line 16 of file room_object.cc.

◆ operator~()

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

Definition at line 21 of file room_object.cc.

◆ FetchSubtypeInfo()

SubtypeInfo yaze::zelda3::FetchSubtypeInfo ( uint16_t object_id)

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

Referenced by yaze::zelda3::music::Tracker::SaveSongs().

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

Referenced by yaze::zelda3::music::Tracker::SaveSongs().

Here is the call graph for this function:

◆ LoadEntranceTileTypes()

◆ LoadDungeonMapGfxFromBinary()

absl::Status yaze::zelda3::LoadDungeonMapGfxFromBinary ( Rom & rom,
std::array< gfx::Bitmap, 4 > & sheets,
gfx::Tilesheet & tile16_sheet,
std::vector< uint8_t > & gfx_bin_data )

◆ LoadDungeonMapTile16()

absl::Status yaze::zelda3::LoadDungeonMapTile16 ( const std::vector< uint8_t > & gfx_data,
bool bin_mode )

Variable Documentation

◆ kEntranceNames

std::string_view yaze::zelda3::kEntranceNames[]
constexpr

◆ kGfxBufferOffset

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

Definition at line 222 of file room.cc.

◆ kGfxBufferStride

int yaze::zelda3::kGfxBufferStride = 512
constexpr

Definition at line 223 of file room.cc.

◆ kGfxBufferAnimatedFrameOffset

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

Definition at line 224 of file room.cc.

◆ kGfxBufferAnimatedFrameStride

int yaze::zelda3::kGfxBufferAnimatedFrameStride = 512
constexpr

Definition at line 225 of file room.cc.

◆ kGfxBufferRoomOffset

int yaze::zelda3::kGfxBufferRoomOffset = 2048
constexpr

Definition at line 226 of file room.cc.

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

◆ kGfxBufferRoomSpriteOffset

int yaze::zelda3::kGfxBufferRoomSpriteOffset = 512
constexpr

Definition at line 227 of file room.cc.

◆ kGfxBufferRoomSpriteStride

int yaze::zelda3::kGfxBufferRoomSpriteStride = 2048
constexpr

Definition at line 228 of file room.cc.

◆ kGfxBufferRoomSpriteLastLineOffset

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

Definition at line 229 of file room.cc.

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

◆ room_object_layout_pointer

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

Definition at line 36 of file room.h.

◆ room_object_pointer

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

Definition at line 37 of file room.h.

Referenced by yaze::zelda3::Room::LoadObjects(), and yaze::zelda3::Room::LoadRoomFromROM().

◆ dungeons_main_bg_palette_pointers

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

Definition at line 39 of file room.h.

◆ dungeons_palettes

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

Definition at line 40 of file room.h.

◆ room_items_pointers

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

Definition at line 41 of file room.h.

◆ rooms_sprite_pointer

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

Definition at line 42 of file room.h.

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

◆ kRoomHeaderPointer

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

Definition at line 43 of file room.h.

Referenced by yaze::zelda3::Room::LoadHeader(), and yaze::zelda3::Room::LoadRoomFromROM().

◆ kRoomHeaderPointerBank

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

Definition at line 44 of file room.h.

Referenced by yaze::zelda3::Room::LoadHeader(), and yaze::zelda3::Room::LoadRoomFromROM().

◆ gfx_groups_pointer

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

Definition at line 45 of file room.h.

◆ chests_length_pointer

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

Definition at line 46 of file room.h.

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

◆ chests_data_pointer1

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

Definition at line 47 of file room.h.

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

◆ messages_id_dungeon

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

Definition at line 49 of file room.h.

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

◆ blocks_length

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

Definition at line 51 of file room.h.

◆ blocks_pointer1

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

Definition at line 52 of file room.h.

◆ blocks_pointer2

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

Definition at line 53 of file room.h.

◆ blocks_pointer3

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

Definition at line 54 of file room.h.

◆ blocks_pointer4

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

Definition at line 55 of file room.h.

◆ torch_data

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

Definition at line 56 of file room.h.

◆ torches_length_pointer

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

Definition at line 57 of file room.h.

◆ sprite_blockset_pointer

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

Definition at line 58 of file room.h.

◆ sprites_data

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

Definition at line 60 of file room.h.

◆ sprites_data_empty_room

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

Definition at line 61 of file room.h.

◆ sprites_end_data

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

Definition at line 62 of file room.h.

◆ pit_pointer

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

Definition at line 63 of file room.h.

◆ pit_count

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

Definition at line 64 of file room.h.

◆ doorPointers

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

Definition at line 65 of file room.h.

◆ door_gfx_up

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

Definition at line 68 of file room.h.

◆ door_gfx_down

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

Definition at line 69 of file room.h.

◆ door_gfx_cavexit_down

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

Definition at line 70 of file room.h.

◆ door_gfx_left

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

Definition at line 71 of file room.h.

◆ door_gfx_right

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

Definition at line 72 of file room.h.

◆ door_pos_up

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

Definition at line 73 of file room.h.

◆ door_pos_down

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

Definition at line 74 of file room.h.

◆ door_pos_left

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

Definition at line 75 of file room.h.

◆ door_pos_right

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

Definition at line 76 of file room.h.

◆ dungeon_spr_ptrs

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

Definition at line 78 of file room.h.

◆ NumberOfRooms

int yaze::zelda3::NumberOfRooms = 296
constexpr

Definition at line 80 of file room.h.

◆ stairsObjects

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

Definition at line 82 of file room.h.

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

◆ kRoomNames

std::string_view yaze::zelda3::kRoomNames[]
constexpr

◆ kEntranceRoom

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

Definition at line 12 of file room_entrance.h.

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

◆ kEntranceScrollEdge

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

◆ kEntranceYScroll

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

◆ kEntranceXScroll

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

◆ kEntranceYPosition

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

◆ kEntranceXPosition

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

◆ kEntranceCameraYTrigger

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

◆ kEntranceCameraXTrigger

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

◆ kEntranceBlockset

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

◆ kEntranceFloor

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

◆ kEntranceDungeon

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

◆ kEntranceDoor

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

◆ kEntranceLadderBG

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

◆ kEntrancescrolling

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

◆ kEntranceScrollQuadrant

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

◆ kEntranceExit

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

◆ kEntranceMusic

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

◆ kStartingEntranceroom

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

◆ kStartingEntranceScrollEdge

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

◆ kStartingEntranceYScroll

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

◆ kStartingEntranceXScroll

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

◆ kStartingEntranceYPosition

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

◆ kStartingEntranceXPosition

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

◆ kStartingEntranceCameraYTrigger

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

◆ kStartingEntranceCameraXTrigger

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

◆ kStartingEntranceBlockset

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

◆ kStartingEntranceFloor

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

◆ kStartingEntranceDungeon

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

◆ kStartingEntranceDoor

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

◆ kStartingEntranceLadderBG

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

◆ kStartingEntrancescrolling

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

◆ kStartingEntranceScrollQuadrant

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

◆ kStartingEntranceexit

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

◆ kStartingEntrancemusic

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

◆ kStartingEntranceentrance

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

Definition at line 60 of file room_entrance.h.

◆ items_data_start

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

Definition at line 62 of file room_entrance.h.

◆ items_data_end

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

Definition at line 63 of file room_entrance.h.

◆ initial_equipement

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

Definition at line 64 of file room_entrance.h.

◆ chests_backupitems

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

Definition at line 67 of file room_entrance.h.

◆ chests_yoffset

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

Definition at line 68 of file room_entrance.h.

◆ chests_xoffset

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

Definition at line 69 of file room_entrance.h.

◆ chests_itemsgfx

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

Definition at line 70 of file room_entrance.h.

◆ chests_itemswide

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

Definition at line 71 of file room_entrance.h.

◆ chests_itemsproperties

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

Definition at line 72 of file room_entrance.h.

◆ chests_sramaddress

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

Definition at line 73 of file room_entrance.h.

◆ chests_sramvalue

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

Definition at line 74 of file room_entrance.h.

◆ chests_msgid

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

Definition at line 75 of file room_entrance.h.

◆ dungeons_startrooms

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

Definition at line 77 of file room_entrance.h.

◆ dungeons_endrooms

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

Definition at line 78 of file room_entrance.h.

◆ dungeons_bossrooms

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

Definition at line 79 of file room_entrance.h.

◆ bedPositionX

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

Definition at line 82 of file room_entrance.h.

◆ bedPositionY

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

Definition at line 83 of file room_entrance.h.

◆ bedPositionResetXLow

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

Definition at line 86 of file room_entrance.h.

◆ bedPositionResetXHigh

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

Definition at line 87 of file room_entrance.h.

◆ bedPositionResetYLow

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

Definition at line 90 of file room_entrance.h.

◆ bedPositionResetYHigh

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

Definition at line 91 of file room_entrance.h.

◆ bedSheetPositionX

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

Definition at line 93 of file room_entrance.h.

◆ bedSheetPositionY

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

Definition at line 94 of file room_entrance.h.

◆ kRoomObjectSubtype1

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

Definition at line 50 of file room_object.h.

Referenced by FetchSubtypeInfo(), and yaze::zelda3::Subtype1::Subtype1().

◆ kRoomObjectSubtype2

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

Definition at line 51 of file room_object.h.

Referenced by FetchSubtypeInfo(), and yaze::zelda3::Subtype2::Subtype2().

◆ kRoomObjectSubtype3

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

Definition at line 52 of file room_object.h.

Referenced by FetchSubtypeInfo(), and yaze::zelda3::Subtype3::Subtype3().

◆ kRoomObjectTileAddress

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

◆ kRoomObjectTileAddressFloor

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

Definition at line 54 of file room_object.h.

◆ kMap32TilesLength

int yaze::zelda3::kMap32TilesLength = 0x33F0
constexpr

Definition at line 108 of file overworld.cc.

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

◆ GravesYTilePos

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

Definition at line 20 of file overworld.h.

◆ GravesXTilePos

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

Definition at line 21 of file overworld.h.

◆ GravesTilemapPos

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

Definition at line 22 of file overworld.h.

◆ GravesGFX

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

Definition at line 23 of file overworld.h.

◆ GravesXPos

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

Definition at line 24 of file overworld.h.

◆ GravesYLine

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

Definition at line 25 of file overworld.h.

◆ GravesCountOnY

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

Definition at line 26 of file overworld.h.

◆ GraveLinkSpecialHole

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

Definition at line 27 of file overworld.h.

◆ GraveLinkSpecialStairs

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

Definition at line 28 of file overworld.h.

◆ kOverworldMapPaletteIds

◆ kOverworldSpritePaletteIds

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

◆ kOverworldSpritePaletteGroup

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

Definition at line 32 of file overworld.h.

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

◆ kOverworldSpriteset

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

◆ kOverworldSpecialGfxGroup

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

◆ kOverworldSpecialPalGroup

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

◆ kOverworldSpritesBeginning

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

Definition at line 36 of file overworld.h.

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

◆ kOverworldSpritesAgahnim

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

Definition at line 37 of file overworld.h.

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

◆ kOverworldSpritesZelda

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

Definition at line 38 of file overworld.h.

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

◆ kAreaGfxIdPtr

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

◆ kOverworldMessageIds

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

Definition at line 41 of file overworld.h.

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

◆ kOverworldMusicBeginning

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

Definition at line 43 of file overworld.h.

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

◆ kOverworldMusicZelda

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

Definition at line 44 of file overworld.h.

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

◆ kOverworldMusicMasterSword

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

Definition at line 45 of file overworld.h.

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

◆ kOverworldMusicAgahnim

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

Definition at line 46 of file overworld.h.

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

◆ kOverworldMusicDarkWorld

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

Definition at line 47 of file overworld.h.

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

◆ kOverworldEntranceAllowedTilesLeft

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

Definition at line 48 of file overworld.h.

◆ kOverworldEntranceAllowedTilesRight

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

Definition at line 49 of file overworld.h.

◆ kOverworldMapSize

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

◆ kOverworldMapSizeHighByte

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

Definition at line 55 of file overworld.h.

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

◆ kOverworldMapParentId

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

Definition at line 63 of file overworld.h.

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

◆ kOverworldTransitionPositionY

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

Definition at line 64 of file overworld.h.

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

◆ kOverworldTransitionPositionX

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

Definition at line 65 of file overworld.h.

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

◆ kOverworldScreenSize

int yaze::zelda3::kOverworldScreenSize = 0x1788D
constexpr

Definition at line 66 of file overworld.h.

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

◆ kOverworldScreenSizeForLoading

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

Definition at line 67 of file overworld.h.

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

◆ kOverworldScreenTileMapChangeByScreen1

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

Definition at line 69 of file overworld.h.

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

◆ kOverworldScreenTileMapChangeByScreen2

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

Definition at line 70 of file overworld.h.

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

◆ kOverworldScreenTileMapChangeByScreen3

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

Definition at line 71 of file overworld.h.

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

◆ kOverworldScreenTileMapChangeByScreen4

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

Definition at line 72 of file overworld.h.

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

◆ kOverworldMapDataOverflow

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

Definition at line 74 of file overworld.h.

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

◆ kTransitionTargetNorth

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

Definition at line 76 of file overworld.h.

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

◆ kTransitionTargetWest

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

Definition at line 77 of file overworld.h.

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

◆ overworldCustomMosaicASM

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

Definition at line 78 of file overworld.h.

◆ overworldCustomMosaicArray

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

Definition at line 79 of file overworld.h.

◆ kMap16TilesExpanded

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

◆ kMap32TileTRExpanded

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

◆ kMap32TileBLExpanded

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

◆ kMap32TileBRExpanded

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

◆ kMap32TileCountExpanded

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

Definition at line 86 of file overworld.h.

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

◆ kMap32ExpandedFlagPos

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

Definition at line 87 of file overworld.h.

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

◆ kMap16ExpandedFlagPos

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

Definition at line 88 of file overworld.h.

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

◆ kOverworldEntranceExpandedFlagPos

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

Definition at line 89 of file overworld.h.

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

◆ kOverworldCompressedMapPos

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

Definition at line 91 of file overworld.h.

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

◆ kOverworldCompressedOverflowPos

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

Definition at line 92 of file overworld.h.

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

◆ kNumTileTypes

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

Definition at line 94 of file overworld.h.

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

◆ kMap16Tiles

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

◆ kNumOverworldMaps

◆ kNumTile16Individual

int yaze::zelda3::kNumTile16Individual = 4096
constexpr

◆ Map32PerScreen

int yaze::zelda3::Map32PerScreen = 256
constexpr

Definition at line 98 of file overworld.h.

◆ NumberOfMap16

int yaze::zelda3::NumberOfMap16 = 3752
constexpr

Definition at line 99 of file overworld.h.

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

◆ NumberOfMap16Ex

int yaze::zelda3::NumberOfMap16Ex = 4096
constexpr

Definition at line 100 of file overworld.h.

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

◆ LimitOfMap32

int yaze::zelda3::LimitOfMap32 = 8864
constexpr

Definition at line 101 of file overworld.h.

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

◆ NumberOfOWSprites

int yaze::zelda3::NumberOfOWSprites = 352
constexpr

Definition at line 102 of file overworld.h.

◆ NumberOfMap32

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

Definition at line 103 of file overworld.h.

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

◆ kNumOverworldEntrances

int yaze::zelda3::kNumOverworldEntrances = 129
constexpr

Definition at line 13 of file overworld_entrance.h.

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

◆ kNumOverworldHoles

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

Definition at line 14 of file overworld_entrance.h.

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

◆ kOverworldEntranceMap

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

◆ kOverworldEntrancePos

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

◆ kOverworldEntranceEntranceId

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

◆ kOverworldEntranceMapExpanded

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

◆ kOverworldEntrancePosExpanded

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

◆ kOverworldEntranceEntranceIdExpanded

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

◆ kOverworldHolePos

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

◆ kOverworldHoleArea

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

◆ kOverworldHoleEntrance

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

◆ kEntranceTileTypePtrLow

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

Definition at line 90 of file overworld_entrance.h.

Referenced by LoadEntranceTileTypes().

◆ kEntranceTileTypePtrHigh

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

Definition at line 91 of file overworld_entrance.h.

Referenced by LoadEntranceTileTypes().

◆ kNumEntranceTileTypes

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

Definition at line 92 of file overworld_entrance.h.

Referenced by LoadEntranceTileTypes().

◆ kNumOverworldExits

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

Definition at line 13 of file overworld_exit.h.

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

◆ OWExitRoomId

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

◆ OWExitMapId

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

◆ OWExitVram

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

◆ OWExitYScroll

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

◆ OWExitXScroll

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

◆ OWExitYPlayer

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

◆ OWExitXPlayer

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

◆ OWExitYCamera

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

◆ OWExitXCamera

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

◆ OWExitDoorPosition

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

Definition at line 25 of file overworld_exit.h.

◆ OWExitUnk1

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

◆ OWExitUnk2

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

◆ OWExitDoorType1

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

◆ OWExitDoorType2

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

◆ OWExitMapIdWhirlpool

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

Definition at line 31 of file overworld_exit.h.

◆ OWExitVramWhirlpool

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

Definition at line 32 of file overworld_exit.h.

◆ OWExitYScrollWhirlpool

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

Definition at line 33 of file overworld_exit.h.

◆ OWExitXScrollWhirlpool

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

Definition at line 34 of file overworld_exit.h.

◆ OWExitYPlayerWhirlpool

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

Definition at line 35 of file overworld_exit.h.

◆ OWExitXPlayerWhirlpool

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

Definition at line 36 of file overworld_exit.h.

◆ OWExitYCameraWhirlpool

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

Definition at line 37 of file overworld_exit.h.

◆ OWExitXCameraWhirlpool

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

Definition at line 38 of file overworld_exit.h.

◆ OWExitUnk1Whirlpool

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

Definition at line 39 of file overworld_exit.h.

◆ OWExitUnk2Whirlpool

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

Definition at line 40 of file overworld_exit.h.

◆ OWWhirlpoolPosition

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

Definition at line 41 of file overworld_exit.h.

◆ kNumOverworldMapItemPointers

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

Definition at line 15 of file overworld_item.h.

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

◆ kOverworldItemsPointers

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

Definition at line 16 of file overworld_item.h.

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

◆ kOverworldItemsAddress

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

Definition at line 17 of file overworld_item.h.

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

◆ kOverworldItemsBank

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

Definition at line 18 of file overworld_item.h.

◆ kOverworldItemsEndData

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

Definition at line 19 of file overworld_item.h.

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

◆ 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 68 of file overworld_item.h.

Referenced by yaze::editor::DrawItemEditorPopup(), yaze::editor::DrawItemInsertPopup(), and yaze::editor::OverworldEditor::DrawOverworldItems().

◆ OverworldCustomASMHasBeenApplied

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

Definition at line 20 of file overworld_map.h.

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

◆ OverworldCustomAreaSpecificBGPalette

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

Definition at line 23 of file overworld_map.h.

◆ OverworldCustomAreaSpecificBGEnabled

int yaze::zelda3::OverworldCustomAreaSpecificBGEnabled = 0x140140
constexpr

Definition at line 26 of file overworld_map.h.

◆ OverworldCustomMainPaletteArray

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

Definition at line 29 of file overworld_map.h.

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

◆ OverworldCustomMainPaletteEnabled

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

Definition at line 31 of file overworld_map.h.

◆ OverworldCustomMosaicArray

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

Definition at line 34 of file overworld_map.h.

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

◆ OverworldCustomMosaicEnabled

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

Definition at line 37 of file overworld_map.h.

◆ OverworldCustomAnimatedGFXArray

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

Definition at line 40 of file overworld_map.h.

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

◆ OverworldCustomAnimatedGFXEnabled

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

Definition at line 43 of file overworld_map.h.

◆ OverworldCustomSubscreenOverlayArray

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

Definition at line 46 of file overworld_map.h.

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

◆ OverworldCustomSubscreenOverlayEnabled

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

Definition at line 49 of file overworld_map.h.

◆ OverworldCustomTileGFXGroupArray

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

Definition at line 52 of file overworld_map.h.

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

◆ OverworldCustomTileGFXGroupEnabled

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

Definition at line 55 of file overworld_map.h.

◆ kDarkWorldMapIdStart

◆ kSpecialWorldMapIdStart

◆ kDungeonMapRoomsPtr

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

◆ kDungeonMapFloors

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

Definition at line 15 of file dungeon_map.h.

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

◆ kDungeonMapGfxPtr

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

◆ kDungeonMapDataStart

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

Definition at line 20 of file dungeon_map.h.

◆ kDungeonMapExpCheck

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

◆ kDungeonMapTile16

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

◆ kDungeonMapTile16Expanded

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

◆ kDungeonMapBossRooms

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

Definition at line 28 of file dungeon_map.h.

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

◆ kTriforceVertices

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

Definition at line 29 of file dungeon_map.h.

◆ kTriforceFaces

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

Definition at line 30 of file dungeon_map.h.

◆ kCrystalVertices

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

Definition at line 32 of file dungeon_map.h.

◆ kInventoryStart

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

Definition at line 13 of file inventory.h.

◆ kBowItemPos

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

Definition at line 14 of file inventory.h.

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

◆ kSpriteProperties

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