yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_spawn_point.h File Reference
#include <array>
#include <cstddef>
#include <cstdint>
#include <utility>
#include <vector>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/str_format.h"
#include "rom/rom.h"
#include "util/macro.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  yaze::zelda3::DungeonSpawnPoint
 

Namespaces

namespace  yaze
 
namespace  yaze::zelda3
 Zelda 3 specific classes and functions.
 

Typedefs

using yaze::zelda3::DungeonSpawnPointWriteRange = std::pair<uint32_t, uint32_t>
 

Functions

std::vector< DungeonSpawnPointWriteRangeyaze::zelda3::DungeonSpawnPointWriteRanges (int spawn_id)
 
absl::Status yaze::zelda3::ValidateDungeonSpawnPointForSave (const Rom &rom, const DungeonSpawnPoint &spawn, int spawn_id)
 
std::vector< DungeonSpawnPointWriteRangeyaze::zelda3::CollectDirtyDungeonSpawnPointWriteRanges (const std::array< DungeonSpawnPoint, kNumDungeonSpawnPoints > &spawn_points)
 
absl::Status yaze::zelda3::ValidateDungeonSpawnPointsForSave (const Rom &rom, const std::array< DungeonSpawnPoint, kNumDungeonSpawnPoints > &spawn_points, bool dirty_only=true)
 
absl::Status yaze::zelda3::SaveAllDungeonSpawnPoints (Rom *rom, std::array< DungeonSpawnPoint, kNumDungeonSpawnPoints > &spawn_points, bool dirty_only=true)
 

Variables

constexpr uint32_t yaze::zelda3::kDungeonSpawnRoom = 0x15B6E
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnCameraScrollBoundaries = 0x15B7C
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnHorizontalScroll = 0x15BB4
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnVerticalScroll = 0x15BC2
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnYCoordinate = 0x15BD0
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnXCoordinate = 0x15BDE
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnCameraTriggerY = 0x15BEC
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnCameraTriggerX = 0x15BFA
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnMainGfx = 0x15C08
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnFloor = 0x15C0F
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnDungeonId = 0x15C16
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnLayer = 0x15C1D
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnCameraScrollController = 0x15C24
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnQuadrant = 0x15C2B
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnOverworldDoorTilemap = 0x15C32
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnEntranceId = 0x15C40
 
constexpr uint32_t yaze::zelda3::kDungeonSpawnSong = 0x15C4E
 
constexpr int yaze::zelda3::kNumDungeonSpawnPoints = 0x07
 
constexpr int yaze::zelda3::kNumRegularDungeonEntrances = 0x85
 
constexpr int yaze::zelda3::kNumDungeonEntranceSlots
 
constexpr uint16_t yaze::zelda3::kDungeonSpawnRoomIdMask = 0x01FF
 
constexpr int yaze::zelda3::kStartingEntranceroom = kDungeonSpawnRoom
 
constexpr int yaze::zelda3::kStartingEntranceScrollEdge
 
constexpr int yaze::zelda3::kStartingEntranceYScroll = kDungeonSpawnHorizontalScroll
 
constexpr int yaze::zelda3::kStartingEntranceXScroll = kDungeonSpawnVerticalScroll
 
constexpr int yaze::zelda3::kStartingEntranceYPosition = kDungeonSpawnYCoordinate
 
constexpr int yaze::zelda3::kStartingEntranceXPosition = kDungeonSpawnXCoordinate
 
constexpr int yaze::zelda3::kStartingEntranceCameraYTrigger
 
constexpr int yaze::zelda3::kStartingEntranceCameraXTrigger
 
constexpr int yaze::zelda3::kStartingEntranceBlockset = kDungeonSpawnMainGfx
 
constexpr int yaze::zelda3::kStartingEntranceFloor = kDungeonSpawnFloor
 
constexpr int yaze::zelda3::kStartingEntranceDungeon = kDungeonSpawnDungeonId
 
constexpr int yaze::zelda3::kStartingEntranceLadderBG = kDungeonSpawnLayer
 
constexpr int yaze::zelda3::kStartingEntrancescrolling
 
constexpr int yaze::zelda3::kStartingEntranceScrollQuadrant = kDungeonSpawnQuadrant
 
constexpr int yaze::zelda3::kStartingEntranceDoor = kDungeonSpawnQuadrant
 
constexpr int yaze::zelda3::kStartingEntranceexit = kDungeonSpawnOverworldDoorTilemap
 
constexpr int yaze::zelda3::kStartingEntranceentrance = kDungeonSpawnEntranceId
 
constexpr int yaze::zelda3::kStartingEntrancemusic = kDungeonSpawnSong
 
constexpr std::array< std::pair< uint32_t, uint32_t >, 17 > yaze::zelda3::kDungeonSpawnPointTableLayout