yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_map.h File Reference
#include <array>
#include <vector>
#include "absl/status/status.h"
#include "app/gfx/bitmap.h"
#include "app/gfx/tilemap.h"
#include "app/rom.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::zelda3::DungeonMap
 DungeonMap represents the map menu for a dungeon. More...
 

Namespaces

namespace  yaze
 Main namespace for the application.
 
namespace  yaze::zelda3
 Zelda 3 specific classes and functions.
 

Typedefs

using yaze::zelda3::DungeonMapLabels
 

Functions

absl::StatusOr< std::vector< DungeonMap > > yaze::zelda3::LoadDungeonMaps (Rom &rom, DungeonMapLabels &dungeon_map_labels)
 Load the dungeon maps from the ROM.
 
absl::Status yaze::zelda3::SaveDungeonMaps (Rom &rom, std::vector< DungeonMap > &dungeon_maps)
 Save the dungeon maps to the ROM.
 
absl::Status yaze::zelda3::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 yaze::zelda3::SaveDungeonMapTile16 (gfx::Tilemap &tile16_blockset, Rom &rom)
 Save the dungeon map tile16 to the ROM.
 
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.
 

Variables

constexpr int yaze::zelda3::kDungeonMapRoomsPtr = 0x57605
 
constexpr int yaze::zelda3::kDungeonMapFloors = 0x575D9
 
constexpr int yaze::zelda3::kDungeonMapGfxPtr = 0x57BE4
 
constexpr int yaze::zelda3::kDungeonMapDataStart = 0x57039
 
constexpr int yaze::zelda3::kDungeonMapExpCheck = 0x56652
 
constexpr int yaze::zelda3::kDungeonMapTile16 = 0x57009
 
constexpr int yaze::zelda3::kDungeonMapTile16Expanded = 0x109010
 
constexpr int yaze::zelda3::kDungeonMapBossRooms = 0x56807
 
constexpr int yaze::zelda3::kTriforceVertices = 0x04FFD2
 
constexpr int yaze::zelda3::kTriforceFaces = 0x04FFE4
 
constexpr int yaze::zelda3::kCrystalVertices = 0x04FF98
 
constexpr int yaze::zelda3::kNumDungeons = 14
 
constexpr int yaze::zelda3::kNumRooms = 25
 
constexpr int yaze::zelda3::kNumDungeonMapTile16 = 186