#include <array>#include <cstdint>#include <string_view>
Go to the source code of this file.
Classes | |
| struct | yaze::zelda3::DoorDimensions |
| Door dimensions in tiles (8x8 pixel tiles) More... | |
| struct | yaze::zelda3::DoorFootprint |
| Visible editor footprint relative to the raw ROM door anchor. More... | |
Namespaces | |
| namespace | yaze |
| namespace | yaze::zelda3 |
| Zelda 3 specific classes and functions. | |
Functions | |
| constexpr std::string_view | yaze::zelda3::GetDoorTypeName (DoorType type) |
| Get human-readable name for door type. | |
| constexpr std::string_view | yaze::zelda3::GetDoorDirectionName (DoorDirection dir) |
| Get human-readable name for door direction. | |
| constexpr DoorDimensions | yaze::zelda3::GetDoorDimensions (DoorDirection dir) |
| Get door dimensions based on direction. | |
| constexpr DoorFootprint | yaze::zelda3::GetEditorDoorFootprint (DoorDirection dir, DoorType type) |
| Get the visible editor footprint for a door. | |
| constexpr DoorDimensions | yaze::zelda3::GetEditorDoorDimensions (DoorDirection dir, DoorType type) |
| Get visible editor dimensions for compatibility with UI callers. | |
| constexpr bool | yaze::zelda3::IsExitDoorType (DoorType type) |
| Return true for terminal exits that do not pair with another room. | |
| constexpr bool | yaze::zelda3::IsRoomConnectionDoorType (DoorType type) |
| Return true when a door can represent an adjacent-room connection. | |
| constexpr DoorType | yaze::zelda3::DoorTypeFromRaw (uint8_t raw_type) |
| Convert raw type byte to DoorType enum. | |
| constexpr DoorDirection | yaze::zelda3::DoorDirectionFromRaw (uint8_t raw_dir) |
| Convert raw direction byte to DoorDirection enum. | |
| constexpr std::array< DoorType, 32 > | yaze::zelda3::GetPlaceableDoorTypes () |
| Get supported door types suitable for editor placement controls. | |
| constexpr std::array< DoorType, 32 > | yaze::zelda3::GetAllDoorTypes () |