yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
room_links.cc File Reference
#include "zelda3/dungeon/room_links.h"
#include <algorithm>
#include <cstdlib>
#include <utility>
#include "absl/strings/str_format.h"
#include "app/gfx/render/background_buffer.h"
#include "app/gfx/types/snes_palette.h"
#include "rom/rom.h"
#include "util/macro.h"
#include "zelda3/dungeon/door_types.h"
#include "zelda3/dungeon/game_tilemap_comparison.h"
#include "zelda3/dungeon/object_drawer.h"
#include "zelda3/dungeon/pit_damage_table.h"
#include "zelda3/dungeon/room.h"
#include "zelda3/dungeon/room_collision.h"
#include "zelda3/dungeon/room_entrance.h"
#include "zelda3/dungeon/room_header_destination.h"
#include "zelda3/dungeon/room_layout.h"

Go to the source code of this file.

Classes

struct  yaze::zelda3::anonymous_namespace{room_links.cc}::DrawnTiles
 

Namespaces

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

Functions

bool yaze::zelda3::anonymous_namespace{room_links.cc}::IsEncodedStreamObject (const RoomObject &object)
 
bool yaze::zelda3::anonymous_namespace{room_links.cc}::IsHeaderStairObject (int id)
 
bool yaze::zelda3::anonymous_namespace{room_links.cc}::IsKeyStairDoor (DoorType type)
 
bool yaze::zelda3::anonymous_namespace{room_links.cc}::IsOuterDoorPosition (int direction, int position)
 
int yaze::zelda3::anonymous_namespace{room_links.cc}::OppositeDirection (int direction)
 
const char * yaze::zelda3::anonymous_namespace{room_links.cc}::DirectionName (int direction)
 
std::string yaze::zelda3::anonymous_namespace{room_links.cc}::RoomHex (int room_id)
 
const char * yaze::zelda3::anonymous_namespace{room_links.cc}::HoleOverlordName (int id)
 
int yaze::zelda3::anonymous_namespace{room_links.cc}::LiveHoleTag (const RoomLinkFacts &facts, const std::set< uint8_t > &warp_tag_ids)
 
absl::StatusOr< DrawnTiles > yaze::zelda3::anonymous_namespace{room_links.cc}::ScanDrawnTiles (Rom *rom, const Room &room, const std::vector< RoomObject > &layout_objects, const CustomObjectRenderSnapshot *custom_objects, util::StopToken stop_token)
 
const char * yaze::zelda3::RoomReferenceKindName (RoomReferenceKind kind)
 
const char * yaze::zelda3::RoomDoorRoleName (RoomDoorRole role)
 
bool yaze::zelda3::IsDungeonRoomId (int room_id)
 
int yaze::zelda3::DungeonNeighborRoom (int room_id, int direction)
 
int yaze::zelda3::CheckedHeaderDestinationRoom (int source_room_id, uint8_t header_byte)
 
bool yaze::zelda3::UsesExpandedEntranceTables (const Rom &rom)
 
std::optional< DungeonEntranceTarget > yaze::zelda3::ReadDungeonEntranceTarget (const Rom &rom, int entrance_id)
 
bool yaze::zelda3::IsPitObjectId (int id)
 
bool yaze::zelda3::IsWarpTileObjectId (int id)
 
bool yaze::zelda3::IsHoleRoomTag (uint8_t tag)
 
bool yaze::zelda3::IsPitTileAttribute (uint8_t attribute)
 
bool yaze::zelda3::IsWarpTileAttribute (uint8_t attribute)
 
absl::StatusOr< RoomLinkFacts > yaze::zelda3::CollectRoomLinkFacts (Rom *rom, const Room &room, const PitDamageTable *pit_table, const CustomObjectRenderSnapshot *custom_objects, util::StopToken stop_token)
 
std::vector< RoomLink > yaze::zelda3::CollectRoomLinks (int room_id, const RoomLinkFactsLookup &lookup, const std::set< uint8_t > &warp_tag_ids)
 

Variables

constexpr uint8_t yaze::zelda3::anonymous_namespace{room_links.cc}::kGanonSprite = 0xD6
 
constexpr int yaze::zelda3::anonymous_namespace{room_links.cc}::kDirectionWest = 2
 
constexpr int yaze::zelda3::anonymous_namespace{room_links.cc}::kDirectionEast = 3
 
constexpr int yaze::zelda3::anonymous_namespace{room_links.cc}::kLargeBrazierObject = 0x11C