#include <room.h>
Public Member Functions | |
Room ()=default | |
Room (int room_id, Rom *rom) | |
void | LoadRoomGraphics (uint8_t entrance_blockset=0xFF) |
void | CopyRoomGraphicsToBuffer () |
void | RenderRoomGraphics () |
void | RenderObjectsToBackground () |
void | LoadAnimatedGraphics () |
void | LoadObjects () |
void | LoadSprites () |
void | LoadChests () |
void | LoadDoors () |
void | LoadTorches () |
void | LoadBlocks () |
void | LoadPits () |
void | LoadRoomLayout () |
void | LoadLayoutTilesToBuffer () |
const std::vector< zelda3::Sprite > & | GetSprites () const |
std::vector< zelda3::Sprite > & | GetSprites () |
const std::vector< chest_data > & | GetChests () const |
std::vector< chest_data > & | GetChests () |
const std::vector< staircase > & | GetStairs () const |
std::vector< staircase > & | GetStairs () |
const RoomLayout & | GetLayout () const |
const std::vector< RoomObject > & | GetTileObjects () const |
std::vector< RoomObject > & | GetTileObjects () |
void | ClearTileObjects () |
void | AddTileObject (const RoomObject &object) |
absl::Status | AddObject (const RoomObject &object) |
absl::Status | RemoveObject (size_t index) |
absl::Status | UpdateObject (size_t index, const RoomObject &object) |
absl::StatusOr< size_t > | FindObjectAt (int x, int y, int layer) const |
bool | ValidateObject (const RoomObject &object) const |
void | MarkObjectsDirty () |
void | MarkGraphicsDirty () |
void | MarkLayoutDirty () |
void | RemoveTileObject (size_t index) |
size_t | GetTileObjectCount () const |
RoomObject & | GetTileObject (size_t index) |
const RoomObject & | GetTileObject (size_t index) const |
void | SetTileObjects (const std::vector< RoomObject > &objects) |
void | SetBg2 (background2 bg2) |
void | SetCollision (CollisionKey collision) |
void | SetIsLight (bool is_light) |
void | SetPalette (uint8_t palette) |
void | SetBlockset (uint8_t blockset) |
void | SetSpriteset (uint8_t spriteset) |
void | SetEffect (EffectKey effect) |
void | SetTag1 (TagKey tag1) |
void | SetTag2 (TagKey tag2) |
void | SetStaircasePlane (int index, uint8_t plane) |
void | SetHolewarp (uint8_t holewarp) |
void | SetStaircaseRoom (int index, uint8_t room) |
void | SetMessageId (uint16_t message_id) |
bool | IsLight () const |
void | SetMessageIdDirect (uint16_t message_id) |
void | SetLayer2Mode (uint8_t mode) |
void | SetLayerMerging (LayerMergeType merging) |
void | SetIsDark (bool is_dark) |
void | SetPaletteDirect (uint8_t palette) |
void | SetBackgroundTileset (uint8_t tileset) |
void | SetSpriteTileset (uint8_t tileset) |
void | SetLayer2Behavior (uint8_t behavior) |
void | SetTag1Direct (TagKey tag1) |
void | SetTag2Direct (TagKey tag2) |
void | SetPitsTargetLayer (uint8_t layer) |
void | SetStair1TargetLayer (uint8_t layer) |
void | SetStair2TargetLayer (uint8_t layer) |
void | SetStair3TargetLayer (uint8_t layer) |
void | SetStair4TargetLayer (uint8_t layer) |
void | SetPitsTarget (uint8_t target) |
void | SetStair1Target (uint8_t target) |
void | SetStair2Target (uint8_t target) |
void | SetStair3Target (uint8_t target) |
void | SetStair4Target (uint8_t target) |
bool | IsLoaded () const |
void | SetLoaded (bool loaded) |
EffectKey | effect () const |
TagKey | tag1 () const |
TagKey | tag2 () const |
CollisionKey | collision () const |
const LayerMergeType & | layer_merging () const |
int | id () const |
uint8_t | floor1 () const |
uint8_t | floor2 () const |
void | set_floor1 (uint8_t value) |
void | set_floor2 (uint8_t value) |
void | ParseObjectsFromLocation (int objects_location) |
void | HandleSpecialObjects (short oid, uint8_t posX, uint8_t posY, int &nbr_of_staircase) |
absl::Status | SaveObjects () |
std::vector< uint8_t > | EncodeObjects () const |
auto | blocks () const |
auto & | mutable_blocks () |
auto | rom () |
auto | mutable_rom () |
const std::array< uint8_t, 0x4000 > & | get_gfx_buffer () const |
auto & | bg1_buffer () |
auto & | bg2_buffer () |
const auto & | bg1_buffer () const |
const auto & | bg2_buffer () const |
Public Attributes | |
uint8_t | blockset = 0 |
uint8_t | spriteset = 0 |
uint8_t | palette = 0 |
uint8_t | layout = 0 |
uint8_t | holewarp = 0 |
uint16_t | message_id_ = 0 |
|
default |
void yaze::zelda3::Room::LoadRoomGraphics | ( | uint8_t | entrance_blockset = 0xFF | ) |
Definition at line 195 of file room.cc.
References blocks_, blockset, rom(), and spriteset.
Referenced by yaze::editor::DungeonRoomLoader::LoadAndRenderRoomGraphics(), and yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender().
void yaze::zelda3::Room::CopyRoomGraphicsToBuffer | ( | ) |
Definition at line 228 of file room.cc.
References blocks_, current_gfx16_, yaze::Rom::is_loaded(), yaze::zelda3::kGfxBufferRoomOffset, LoadAnimatedGraphics(), rom(), rom_, and room_id_.
Referenced by RenderRoomGraphics(), and yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender().
void yaze::zelda3::Room::RenderRoomGraphics | ( | ) |
Definition at line 289 of file room.cc.
References bg1_buffer_, bg2_buffer_, yaze::gfx::BackgroundBuffer::bitmap(), blocks_, blockset, cached_blockset_, cached_effect_, cached_floor1_graphics_, cached_floor2_graphics_, cached_layout_, cached_palette_, cached_spriteset_, cached_tag1_, cached_tag2_, CopyRoomGraphicsToBuffer(), yaze::gfx::Arena::CREATE, current_gfx16_, yaze::gfx::BackgroundBuffer::DrawBackground(), yaze::gfx::BackgroundBuffer::DrawFloor(), effect_, floor1_graphics_, floor2_graphics_, yaze::gfx::Arena::Get(), graphics_dirty_, layout, layout_dirty_, LoadLayoutTilesToBuffer(), LOG_DEBUG, objects_dirty_, palette, yaze::gfx::Arena::QueueTextureCommand(), RenderObjectsToBackground(), rom(), room_id_, spriteset, tag1_, tag2_, textures_dirty_, yaze::zelda3::tile_address, yaze::zelda3::tile_address_floor, and yaze::gfx::Arena::UPDATE.
Referenced by yaze::editor::DungeonRoomLoader::LoadAndRenderRoomGraphics().
void yaze::zelda3::Room::RenderObjectsToBackground | ( | ) |
Definition at line 477 of file room.cc.
References bg1_buffer_, bg2_buffer_, yaze::gfx::BackgroundBuffer::bitmap(), yaze::gfx::CreatePaletteGroupFromLargePalette(), current_gfx16_, yaze::Rom::data(), yaze::zelda3::ObjectDrawer::DrawObjectList(), graphics_dirty_, yaze::Rom::is_loaded(), LOG_DEBUG, objects_dirty_, palette, rom(), rom_, room_id_, and tile_objects_.
Referenced by RenderRoomGraphics().
void yaze::zelda3::Room::LoadAnimatedGraphics | ( | ) |
Definition at line 545 of file room.cc.
References animated_frame_, background_tileset_, current_gfx16_, yaze::Rom::is_loaded(), rom(), rom_, and yaze::SnesToPc().
Referenced by CopyRoomGraphicsToBuffer().
void yaze::zelda3::Room::LoadObjects | ( | ) |
Definition at line 606 of file room.cc.
References floor1_graphics_, floor2_graphics_, is_floor_, layout, LoadChests(), LOG_DEBUG, ParseObjectsFromLocation(), rom(), rom_, room_id_, yaze::zelda3::room_object_pointer, yaze::Rom::size(), yaze::SnesToPc(), and yaze::zelda3::tile_address.
Referenced by yaze::cli::HandleDungeonListObjectsLegacy(), and yaze::editor::DungeonRoomLoader::LoadRoom().
void yaze::zelda3::Room::LoadSprites | ( | ) |
Definition at line 929 of file room.cc.
References yaze::zelda3::Sprite::id(), yaze::zelda3::Sprite::layer(), rom(), room_id_, yaze::zelda3::rooms_sprite_pointer, yaze::zelda3::Sprite::set_key_drop(), yaze::SnesToPc(), sprites_, yaze::zelda3::Sprite::subtype(), yaze::zelda3::Sprite::x(), and yaze::zelda3::Sprite::y().
void yaze::zelda3::Room::LoadChests | ( | ) |
Definition at line 978 of file room.cc.
References yaze::zelda3::chests_data_pointer1, chests_in_room_, yaze::zelda3::chests_length_pointer, rom(), room_id_, and yaze::SnesToPc().
Referenced by LoadObjects().
void yaze::zelda3::Room::LoadDoors | ( | ) |
void yaze::zelda3::Room::LoadTorches | ( | ) |
Definition at line 1015 of file room.cc.
References LOG_DEBUG, rom(), rom_, room_id_, yaze::zelda3::RoomObject::set_options(), yaze::zelda3::RoomObject::set_rom(), tile_objects_, yaze::zelda3::Torch, yaze::zelda3::torch_data, and yaze::zelda3::torches_length_pointer.
Referenced by yaze::zelda3::LoadRoomFromRom().
void yaze::zelda3::Room::LoadBlocks | ( | ) |
Definition at line 1089 of file room.cc.
References yaze::zelda3::Block, yaze::zelda3::blocks_length, yaze::zelda3::blocks_pointer1, yaze::zelda3::blocks_pointer2, yaze::zelda3::blocks_pointer3, yaze::zelda3::blocks_pointer4, LOG_DEBUG, rom(), rom_, room_id_, yaze::zelda3::RoomObject::set_options(), yaze::zelda3::RoomObject::set_rom(), and tile_objects_.
Referenced by yaze::zelda3::LoadRoomFromRom().
void yaze::zelda3::Room::LoadPits | ( | ) |
Definition at line 1155 of file room.cc.
References LOG_DEBUG, yaze::zelda3::pit_count, yaze::zelda3::pit_pointer, pits_, rom(), room_id_, yaze::SnesToPc(), destination::target, and destination::target_layer.
Referenced by yaze::zelda3::LoadRoomFromRom().
void yaze::zelda3::Room::LoadRoomLayout | ( | ) |
void yaze::zelda3::Room::LoadLayoutTilesToBuffer | ( | ) |
Definition at line 435 of file room.cc.
References bg1_buffer_, bg2_buffer_, yaze::zelda3::RoomLayout::GetObjects(), yaze::Rom::is_loaded(), layout_, LOG_DEBUG, rom_, room_id_, yaze::gfx::BackgroundBuffer::SetTileAt(), and yaze::gfx::TileInfoToWord().
Referenced by RenderRoomGraphics().
|
inline |
Definition at line 205 of file room.h.
References sprites_.
Referenced by yaze::editor::DungeonCanvasViewer::RenderSprites().
|
inline |
|
inline |
Definition at line 209 of file room.h.
References chests_in_room_.
|
inline |
Definition at line 210 of file room.h.
References chests_in_room_.
|
inline |
Definition at line 213 of file room.h.
References z3_staircases_.
|
inline |
Definition at line 214 of file room.h.
References z3_staircases_.
|
inline |
|
inline |
Definition at line 220 of file room.h.
References tile_objects_.
Referenced by yaze::editor::DungeonCanvasViewer::DrawObjectPositionOutlines(), yaze::cli::HandleDungeonListObjectsLegacy(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::test::TEST_F(), yaze::zelda3::test::TEST_F(), yaze::zelda3::test::TEST_F(), yaze::zelda3::test::TEST_F(), and yaze::zelda3::test::TEST_F().
|
inline |
Definition at line 223 of file room.h.
References tile_objects_.
|
inline |
Definition at line 226 of file room.h.
References tile_objects_.
|
inline |
Definition at line 227 of file room.h.
References MarkObjectsDirty(), and tile_objects_.
absl::Status yaze::zelda3::Room::AddObject | ( | const RoomObject & | object | ) |
Definition at line 829 of file room.cc.
References tile_objects_, and ValidateObject().
Referenced by yaze::zelda3::DungeonRenderingIntegrationTest::CreateTestRoom(), and yaze::zelda3::TEST_F().
absl::Status yaze::zelda3::Room::RemoveObject | ( | size_t | index | ) |
Definition at line 841 of file room.cc.
References tile_objects_.
absl::Status yaze::zelda3::Room::UpdateObject | ( | size_t | index, |
const RoomObject & | object | ||
) |
Definition at line 851 of file room.cc.
References tile_objects_, and ValidateObject().
absl::StatusOr< size_t > yaze::zelda3::Room::FindObjectAt | ( | int | x, |
int | y, | ||
int | layer | ||
) | const |
Definition at line 865 of file room.cc.
References tile_objects_.
bool yaze::zelda3::Room::ValidateObject | ( | const RoomObject & | object | ) | const |
Definition at line 875 of file room.cc.
Referenced by AddObject(), and UpdateObject().
|
inline |
Definition at line 240 of file room.h.
References objects_dirty_, and textures_dirty_.
Referenced by AddTileObject(), RemoveTileObject(), SetEffect(), SetTag1(), SetTag2(), and SetTileObjects().
|
inline |
Definition at line 241 of file room.h.
References graphics_dirty_, and textures_dirty_.
Referenced by set_floor1(), set_floor2(), SetBlockset(), SetPalette(), and SetSpriteset().
|
inline |
Definition at line 242 of file room.h.
References layout_dirty_, and textures_dirty_.
|
inline |
Definition at line 243 of file room.h.
References MarkObjectsDirty(), and tile_objects_.
|
inline |
Definition at line 249 of file room.h.
References tile_objects_.
|
inline |
Definition at line 250 of file room.h.
References tile_objects_.
|
inline |
Definition at line 251 of file room.h.
References tile_objects_.
|
inline |
Definition at line 256 of file room.h.
References MarkObjectsDirty(), and tile_objects_.
|
inline |
Definition at line 262 of file room.h.
References bg2_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 263 of file room.h.
References collision(), and collision_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 264 of file room.h.
References is_light_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 265 of file room.h.
References MarkGraphicsDirty(), and palette.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 271 of file room.h.
References blockset, and MarkGraphicsDirty().
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 277 of file room.h.
References MarkGraphicsDirty(), and spriteset.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 283 of file room.h.
References effect(), effect_, and MarkObjectsDirty().
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 289 of file room.h.
References MarkObjectsDirty(), tag1(), and tag1_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 295 of file room.h.
References MarkObjectsDirty(), tag2(), and tag2_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 301 of file room.h.
References staircase_plane_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 304 of file room.h.
References holewarp.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 305 of file room.h.
References staircase_rooms_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 309 of file room.h.
References message_id_.
|
inline |
Definition at line 312 of file room.h.
References is_light_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 315 of file room.h.
References message_id_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 316 of file room.h.
References layer2_mode_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 317 of file room.h.
References layer_merging_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 318 of file room.h.
References is_dark_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 319 of file room.h.
References palette, and palette_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 320 of file room.h.
References background_tileset_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 321 of file room.h.
References sprite_tileset_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 322 of file room.h.
References layer2_behavior_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 323 of file room.h.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 324 of file room.h.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 325 of file room.h.
References pits_, and destination::target_layer.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 326 of file room.h.
References stair1_, and destination::target_layer.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 327 of file room.h.
References stair2_, and destination::target_layer.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 328 of file room.h.
References stair3_, and destination::target_layer.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 329 of file room.h.
References stair4_, and destination::target_layer.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 330 of file room.h.
References pits_, and destination::target.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 331 of file room.h.
References stair1_, and destination::target.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 332 of file room.h.
References stair2_, and destination::target.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 333 of file room.h.
References stair3_, and destination::target.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 334 of file room.h.
References stair4_, and destination::target.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
Definition at line 337 of file room.h.
References is_loaded_.
|
inline |
Definition at line 338 of file room.h.
References is_loaded_.
Referenced by yaze::zelda3::LoadRoomFromRom().
|
inline |
|
inline |
Definition at line 342 of file room.h.
References tag1_.
Referenced by SetTag1(), and SetTag1Direct().
|
inline |
Definition at line 343 of file room.h.
References tag2_.
Referenced by SetTag2(), and SetTag2Direct().
|
inline |
|
inline |
Definition at line 345 of file room.h.
References layer_merging_.
|
inline |
|
inline |
Definition at line 359 of file room.h.
References floor1_graphics_.
|
inline |
Definition at line 360 of file room.h.
References floor2_graphics_.
|
inline |
Definition at line 361 of file room.h.
References floor1_graphics_, and MarkGraphicsDirty().
|
inline |
Definition at line 367 of file room.h.
References floor2_graphics_, and MarkGraphicsDirty().
void yaze::zelda3::Room::ParseObjectsFromLocation | ( | int | objects_location | ) |
Definition at line 656 of file room.cc.
References yaze::zelda3::RoomObject::DecodeObjectFromBytes(), HandleSpecialObjects(), yaze::zelda3::RoomObject::id_, rom(), rom_, yaze::zelda3::RoomObject::set_rom(), yaze::Rom::size(), tile_objects_, yaze::zelda3::RoomObject::x(), yaze::zelda3::RoomObject::y(), and z3_staircases_.
Referenced by LoadObjects().
void yaze::zelda3::Room::HandleSpecialObjects | ( | short | oid, |
uint8_t | posX, | ||
uint8_t | posY, | ||
int & | nbr_of_staircase | ||
) |
Definition at line 892 of file room.cc.
References yaze::zelda3::Chest, chests_in_room_, staircase_rooms_, yaze::zelda3::Stairs, yaze::zelda3::stairsObjects, tile_objects_, and z3_staircases_.
Referenced by ParseObjectsFromLocation().
absl::Status yaze::zelda3::Room::SaveObjects | ( | ) |
Definition at line 783 of file room.cc.
References EncodeObjects(), rom(), rom_, room_id_, yaze::zelda3::room_object_pointer, yaze::Rom::size(), yaze::SnesToPc(), yaze::zelda3::tile_address, and yaze::Rom::WriteVector().
Referenced by yaze::zelda3::test::TEST_F(), yaze::zelda3::test::TEST_F(), yaze::zelda3::test::TEST_F(), yaze::zelda3::test::TEST_F(), and yaze::zelda3::test::TEST_F().
std::vector< uint8_t > yaze::zelda3::Room::EncodeObjects | ( | ) | const |
|
inline |
|
inline |
|
inline |
Definition at line 384 of file room.h.
References rom_.
Referenced by CopyRoomGraphicsToBuffer(), LoadAnimatedGraphics(), LoadBlocks(), LoadChests(), LoadDoors(), LoadObjects(), LoadPits(), LoadRoomGraphics(), LoadSprites(), LoadTorches(), ParseObjectsFromLocation(), RenderObjectsToBackground(), RenderRoomGraphics(), and SaveObjects().
|
inline |
|
inline |
Definition at line 386 of file room.h.
References current_gfx16_.
Referenced by yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender().
|
inline |
Definition at line 389 of file room.h.
References bg1_buffer_.
Referenced by yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().
|
inline |
Definition at line 390 of file room.h.
References bg2_buffer_.
Referenced by yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), yaze::zelda3::TEST_F(), and yaze::zelda3::TEST_F().
|
inline |
Definition at line 391 of file room.h.
References bg1_buffer_.
|
inline |
Definition at line 392 of file room.h.
References bg2_buffer_.
uint8_t yaze::zelda3::Room::blockset = 0 |
Definition at line 349 of file room.h.
Referenced by yaze::cli::HandleDungeonExportLegacy(), yaze::editor::DungeonRoomLoader::LoadAndRenderRoomGraphics(), LoadRoomGraphics(), RenderRoomGraphics(), SetBlockset(), and yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender().
uint8_t yaze::zelda3::Room::spriteset = 0 |
Definition at line 350 of file room.h.
Referenced by yaze::cli::HandleDungeonExportLegacy(), LoadRoomGraphics(), RenderRoomGraphics(), and SetSpriteset().
uint8_t yaze::zelda3::Room::palette = 0 |
Definition at line 351 of file room.h.
Referenced by yaze::cli::HandleDungeonExportLegacy(), RenderObjectsToBackground(), RenderRoomGraphics(), SetPalette(), SetPaletteDirect(), and yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender().
uint8_t yaze::zelda3::Room::layout = 0 |
Definition at line 352 of file room.h.
Referenced by yaze::cli::HandleDungeonExportLegacy(), LoadObjects(), and RenderRoomGraphics().
uint8_t yaze::zelda3::Room::holewarp = 0 |
Definition at line 353 of file room.h.
Referenced by SetHolewarp().
uint16_t yaze::zelda3::Room::message_id_ = 0 |
Definition at line 356 of file room.h.
Referenced by SetMessageId(), and SetMessageIdDirect().
|
private |
Definition at line 395 of file room.h.
Referenced by CopyRoomGraphicsToBuffer(), LoadAnimatedGraphics(), LoadBlocks(), LoadLayoutTilesToBuffer(), LoadObjects(), LoadTorches(), mutable_rom(), ParseObjectsFromLocation(), RenderObjectsToBackground(), rom(), and SaveObjects().
|
private |
Definition at line 397 of file room.h.
Referenced by CopyRoomGraphicsToBuffer(), get_gfx_buffer(), LoadAnimatedGraphics(), RenderObjectsToBackground(), and RenderRoomGraphics().
|
private |
Definition at line 400 of file room.h.
Referenced by bg1_buffer(), bg1_buffer(), LoadLayoutTilesToBuffer(), RenderObjectsToBackground(), and RenderRoomGraphics().
|
private |
Definition at line 401 of file room.h.
Referenced by bg2_buffer(), bg2_buffer(), LoadLayoutTilesToBuffer(), RenderObjectsToBackground(), and RenderRoomGraphics().
|
private |
Definition at line 403 of file room.h.
Referenced by IsLight(), and SetIsLight().
|
private |
Definition at line 404 of file room.h.
Referenced by IsLoaded(), and SetLoaded().
|
private |
Definition at line 405 of file room.h.
Referenced by SetIsDark().
|
private |
Definition at line 406 of file room.h.
Referenced by LoadObjects().
|
private |
Definition at line 409 of file room.h.
Referenced by RenderRoomGraphics().
|
private |
Definition at line 410 of file room.h.
Referenced by RenderRoomGraphics().
|
private |
Definition at line 411 of file room.h.
Referenced by RenderRoomGraphics().
|
private |
Definition at line 412 of file room.h.
Referenced by RenderRoomGraphics().
|
private |
Definition at line 413 of file room.h.
Referenced by RenderRoomGraphics().
|
private |
Definition at line 414 of file room.h.
Referenced by RenderRoomGraphics().
|
private |
Definition at line 415 of file room.h.
Referenced by RenderRoomGraphics().
|
private |
Definition at line 416 of file room.h.
Referenced by RenderRoomGraphics().
|
private |
Definition at line 417 of file room.h.
Referenced by RenderRoomGraphics().
|
private |
Definition at line 420 of file room.h.
Referenced by MarkGraphicsDirty(), RenderObjectsToBackground(), and RenderRoomGraphics().
|
private |
Definition at line 421 of file room.h.
Referenced by MarkObjectsDirty(), RenderObjectsToBackground(), and RenderRoomGraphics().
|
private |
Definition at line 422 of file room.h.
Referenced by MarkLayoutDirty(), and RenderRoomGraphics().
|
private |
Definition at line 423 of file room.h.
Referenced by MarkGraphicsDirty(), MarkLayoutDirty(), MarkObjectsDirty(), and RenderRoomGraphics().
|
private |
Definition at line 425 of file room.h.
Referenced by CopyRoomGraphicsToBuffer(), id(), LoadBlocks(), LoadChests(), LoadDoors(), LoadLayoutTilesToBuffer(), LoadObjects(), LoadPits(), LoadSprites(), LoadTorches(), RenderObjectsToBackground(), RenderRoomGraphics(), and SaveObjects().
|
private |
Definition at line 426 of file room.h.
Referenced by LoadAnimatedGraphics().
|
private |
Definition at line 428 of file room.h.
Referenced by SetStaircasePlane().
|
private |
Definition at line 429 of file room.h.
Referenced by HandleSpecialObjects(), and SetStaircaseRoom().
|
private |
Definition at line 431 of file room.h.
Referenced by LoadAnimatedGraphics(), and SetBackgroundTileset().
|
private |
Definition at line 432 of file room.h.
Referenced by SetSpriteTileset().
|
private |
Definition at line 433 of file room.h.
Referenced by SetLayer2Behavior().
|
private |
Definition at line 434 of file room.h.
Referenced by SetPaletteDirect().
|
private |
Definition at line 435 of file room.h.
Referenced by floor1(), LoadObjects(), RenderRoomGraphics(), and set_floor1().
|
private |
Definition at line 436 of file room.h.
Referenced by floor2(), LoadObjects(), RenderRoomGraphics(), and set_floor2().
|
private |
Definition at line 437 of file room.h.
Referenced by SetLayer2Mode().
|
private |
Definition at line 439 of file room.h.
Referenced by blocks(), CopyRoomGraphicsToBuffer(), LoadRoomGraphics(), mutable_blocks(), and RenderRoomGraphics().
|
private |
|
private |
Definition at line 442 of file room.h.
Referenced by AddObject(), AddTileObject(), ClearTileObjects(), EncodeObjects(), FindObjectAt(), GetTileObject(), GetTileObject(), GetTileObjectCount(), GetTileObjects(), GetTileObjects(), HandleSpecialObjects(), LoadBlocks(), LoadTorches(), ParseObjectsFromLocation(), RemoveObject(), RemoveTileObject(), RenderObjectsToBackground(), SetTileObjects(), and UpdateObject().
|
private |
Definition at line 444 of file room.h.
Referenced by GetSprites(), GetSprites(), and LoadSprites().
|
private |
Definition at line 445 of file room.h.
Referenced by GetStairs(), GetStairs(), HandleSpecialObjects(), and ParseObjectsFromLocation().
|
private |
Definition at line 446 of file room.h.
Referenced by GetChests(), GetChests(), HandleSpecialObjects(), and LoadChests().
|
private |
Definition at line 447 of file room.h.
Referenced by GetLayout(), and LoadLayoutTilesToBuffer().
|
private |
Definition at line 450 of file room.h.
Referenced by layer_merging(), and SetLayerMerging().
|
private |
Definition at line 451 of file room.h.
Referenced by collision(), and SetCollision().
|
private |
Definition at line 452 of file room.h.
Referenced by effect(), RenderRoomGraphics(), and SetEffect().
|
private |
Definition at line 453 of file room.h.
Referenced by RenderRoomGraphics(), SetTag1(), SetTag1Direct(), and tag1().
|
private |
Definition at line 454 of file room.h.
Referenced by RenderRoomGraphics(), SetTag2(), SetTag2Direct(), and tag2().
|
private |
|
private |
Definition at line 457 of file room.h.
Referenced by LoadPits(), SetPitsTarget(), and SetPitsTargetLayer().
|
private |
Definition at line 458 of file room.h.
Referenced by SetStair1Target(), and SetStair1TargetLayer().
|
private |
Definition at line 459 of file room.h.
Referenced by SetStair2Target(), and SetStair2TargetLayer().
|
private |
Definition at line 460 of file room.h.
Referenced by SetStair3Target(), and SetStair3TargetLayer().
|
private |
Definition at line 461 of file room.h.
Referenced by SetStair4Target(), and SetStair4TargetLayer().