#include <room_object.h>

Classes | |
| struct | ObjectBytes |
Public Types | |
| enum | LayerType { BG1 = 0 , BG2 = 1 , BG3 = 2 } |
| enum | ListIndex : uint8_t { kListPrimary = 0 , kListBg2Overlay = 1 , kListBg1Overlay = 2 } |
Public Member Functions | |
| RoomObject (int16_t id, uint8_t x, uint8_t y, uint8_t size, uint8_t layer=0) | |
| void | SetRom (Rom *rom) |
| Rom * | rom () const |
| auto | mutable_rom () |
| void | set_id (int16_t id) |
| void | set_x (uint8_t x) |
| void | set_y (uint8_t y) |
| void | set_size (uint8_t size) |
| uint8_t | x () const |
| uint8_t | y () const |
| uint8_t | size () const |
| void | EnsureTilesLoaded () |
| absl::Status | LoadTilesWithParser () |
| const std::vector< gfx::TileInfo > & | tiles () const |
| std::vector< gfx::TileInfo > & | mutable_tiles () |
| absl::StatusOr< std::span< const gfx::TileInfo > > | GetTiles () const |
| absl::StatusOr< const gfx::TileInfo * > | GetTile (int index) const |
| int | GetTileCount () const |
| ObjectBytes | EncodeObjectToBytes () const |
| uint8_t | GetLayerValue () const |
| auto | options () const |
| void | set_options (ObjectOption options) |
Static Public Member Functions | |
| static RoomObject | DecodeObjectFromBytes (uint8_t b1, uint8_t b2, uint8_t b3, uint8_t layer) |
| static int | DetermineObjectType (uint8_t b1, uint8_t b3) |
Public Attributes | |
| bool | all_bgs_ = false |
| bool | lit_ = false |
| int16_t | id_ |
| uint8_t | x_ |
| uint8_t | y_ |
| uint8_t | size_ |
| uint8_t | nx_ |
| uint8_t | ny_ |
| uint8_t | ox_ |
| uint8_t | oy_ |
| uint8_t | z_ = 0 |
| uint8_t | previous_size_ = 0 |
| uint8_t | size_x_bits_ = 0 |
| uint8_t | size_y_bits_ = 0 |
| int | width_ |
| int | height_ |
| int | offset_x_ = 0 |
| int | offset_y_ = 0 |
| std::string | name_ |
| std::vector< uint8_t > | preview_object_data_ |
| std::vector< gfx::TileInfo > | tiles_ |
| bool | tiles_loaded_ = false |
| int | tile_count_ = 0 |
| int | tile_data_ptr_ = -1 |
| LayerType | layer_ |
| ObjectOption | options_ = ObjectOption::Nothing |
| Rom * | rom_ |
Private Member Functions | |
| void | RefreshDerivedFlagsFromId () |
| void | InvalidateTileCache () |
Definition at line 50 of file room_object.h.
| Enumerator | |
|---|---|
| BG1 | |
| BG2 | |
| BG3 | |
Definition at line 52 of file room_object.h.
| enum yaze::zelda3::RoomObject::ListIndex : uint8_t |
| Enumerator | |
|---|---|
| kListPrimary | |
| kListBg2Overlay | |
| kListBg1Overlay | |
Definition at line 57 of file room_object.h.
|
inline |
Definition at line 63 of file room_object.h.
References RefreshDerivedFlagsFromId().
Referenced by DecodeObjectFromBytes().

|
inline |
Definition at line 79 of file room_object.h.
Referenced by yaze::zelda3::ObjectTileEditor::CaptureObjectLayout(), yaze::zelda3::ObjectTileEditor::CountObjectsSharingTileData(), yaze::zelda3::ObjectDrawer::DrawObject(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::cli::DungeonObjectValidateCommandHandler::Execute(), yaze::zelda3::DungeonObjectEditor::InsertObject(), yaze::zelda3::ObjectTemplateManager::InstantiateTemplate(), yaze::zelda3::Room::LoadBlocks(), yaze::zelda3::RoomLayout::LoadLayout(), yaze::zelda3::Room::LoadTorches(), yaze::editor::DungeonObjectSelector::MakePreviewObject(), yaze::editor::ObjectSelectorContent::OpenStaticObjectEditor(), yaze::zelda3::Room::ParseObjectsFromLocation(), and yaze::editor::DungeonObjectSelector::SelectObject().

|
inline |
|
inline |
Definition at line 81 of file room_object.h.
References rom_.
| void yaze::zelda3::RoomObject::set_id | ( | int16_t | id | ) |
Definition at line 177 of file room_object.cc.
References id_, InvalidateTileCache(), and RefreshDerivedFlagsFromId().
Referenced by yaze::zelda3::DungeonObjectEditor::ChangeObjectType(), yaze::test::DungeonEditorTestSuite::RunObjectManipulationTest(), and yaze::test::DungeonEditorTestSuite::RunRoomSaveTest().

|
inline |
Definition at line 85 of file room_object.h.
Referenced by yaze::zelda3::DungeonObjectEditor::AlignSelectedObjects(), yaze::zelda3::DungeonObjectEditor::DrawPropertyUI(), yaze::zelda3::DungeonObjectEditor::MoveObject(), yaze::zelda3::DungeonObjectEditor::PasteObjects(), yaze::test::DungeonEditorTestSuite::RunObjectManipulationTest(), and yaze::test::DungeonEditorTestSuite::RunRoomSaveTest().

|
inline |
Definition at line 86 of file room_object.h.
Referenced by yaze::zelda3::DungeonObjectEditor::MoveObject(), yaze::zelda3::DungeonObjectEditor::PasteObjects(), yaze::test::DungeonEditorTestSuite::RunObjectManipulationTest(), and yaze::test::DungeonEditorTestSuite::RunRoomSaveTest().

|
inline |
Definition at line 87 of file room_object.h.
Referenced by yaze::zelda3::DungeonObjectEditor::BatchResizeObjects(), and yaze::zelda3::DungeonObjectEditor::ResizeObject().

|
inline |
Definition at line 88 of file room_object.h.
References x_.
Referenced by yaze::zelda3::DungeonObjectEditor::AlignSelectedObjects(), yaze::zelda3::DungeonObjectEditor::BatchMoveObjects(), yaze::zelda3::DungeonObjectEditor::CreateTemplateFromSelection(), DecodeObjectFromBytes(), yaze::zelda3::DungeonObjectEditor::DuplicateObject(), yaze::zelda3::DungeonObjectEditor::HandleDragOperation(), yaze::zelda3::Room::ParseObjectsFromLocation(), yaze::zelda3::DungeonObjectEditor::PasteObjects(), yaze::zelda3::DungeonObjectEditor::RenderSelectionHighlight(), and set_x().
|
inline |
Definition at line 89 of file room_object.h.
References y_.
Referenced by DecodeObjectFromBytes(), yaze::zelda3::Room::ParseObjectsFromLocation(), yaze::zelda3::DungeonObjectEditor::PasteObjects(), and set_y().
|
inline |
Definition at line 90 of file room_object.h.
References size_.
Referenced by DecodeObjectFromBytes(), and set_size().
| void yaze::zelda3::RoomObject::EnsureTilesLoaded | ( | ) |
Definition at line 82 of file room_object.cc.
References yaze::Rom::data(), id_, yaze::zelda3::kRoomObjectTileAddress, LoadTilesWithParser(), LOG_DEBUG, rom_, yaze::Rom::size(), tile_count_, tile_data_ptr_, tiles_, tiles_loaded_, and yaze::gfx::WordToTileInfo().
Referenced by yaze::zelda3::ObjectTileEditor::CaptureObjectLayout(), yaze::zelda3::ObjectTileEditor::CountObjectsSharingTileData(), GetTile(), GetTileCount(), GetTiles(), yaze::zelda3::DungeonObjectEditor::InsertObject(), yaze::zelda3::ObjectTemplateManager::InstantiateTemplate(), yaze::zelda3::RoomLayout::LoadLayout(), yaze::editor::DungeonObjectSelector::MakePreviewObject(), and yaze::editor::ObjectSelectorContent::OpenStaticObjectEditor().

| absl::Status yaze::zelda3::RoomObject::LoadTilesWithParser | ( | ) |
Definition at line 186 of file room_object.cc.
References id_, yaze::zelda3::ObjectParser::ParseObject(), rom_, tile_count_, and tiles_.
Referenced by EnsureTilesLoaded().

|
inline |
Definition at line 100 of file room_object.h.
References tiles_.
Referenced by yaze::zelda3::ObjectDrawer::DrawObject(), yaze::zelda3::ObjectDrawer::DrawUsingRegistryRoutine(), yaze::zelda3::RoomLayout::LoadLayout(), yaze::zelda3::ObjectGeometry::MeasureRoutine(), and yaze::editor::ObjectSelectorContent::OpenStaticObjectEditor().
|
inline |
Definition at line 101 of file room_object.h.
References tiles_.
| absl::StatusOr< std::span< const gfx::TileInfo > > yaze::zelda3::RoomObject::GetTiles | ( | ) | const |
Definition at line 202 of file room_object.cc.
References EnsureTilesLoaded(), tiles_, and tiles_loaded_.

| absl::StatusOr< const gfx::TileInfo * > yaze::zelda3::RoomObject::GetTile | ( | int | index | ) | const |
Definition at line 214 of file room_object.cc.
References EnsureTilesLoaded(), tiles_, and tiles_loaded_.

| int yaze::zelda3::RoomObject::GetTileCount | ( | ) | const |
Definition at line 227 of file room_object.cc.
References EnsureTilesLoaded(), tile_count_, and tiles_loaded_.

|
static |
Definition at line 260 of file room_object.cc.
References LOG_DEBUG, RoomObject(), size(), x(), and y().
Referenced by yaze::zelda3::RoomLayout::LoadLayout(), and yaze::zelda3::Room::ParseObjectsFromLocation().

| RoomObject::ObjectBytes yaze::zelda3::RoomObject::EncodeObjectToBytes | ( | ) | const |
Definition at line 311 of file room_object.cc.
References yaze::zelda3::RoomObject::ObjectBytes::b1, yaze::zelda3::RoomObject::ObjectBytes::b2, yaze::zelda3::RoomObject::ObjectBytes::b3, id_, size_, x_, and y_.
Referenced by yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender().
|
static |
Definition at line 239 of file room_object.cc.
Referenced by yaze::cli::handlers::DungeonListObjectsCommandHandler::Execute(), and yaze::cli::handlers::DungeonPlaceObjectCommandHandler::Execute().
|
inline |
Definition at line 137 of file room_object.h.
References layer_.
Referenced by yaze::cli::DungeonObjectValidateCommandHandler::Execute().
|
inline |
|
inline |
Definition at line 146 of file room_object.h.
References options(), and options_.
Referenced by yaze::zelda3::Room::LoadBlocks(), and yaze::zelda3::Room::LoadTorches().

|
private |
Definition at line 173 of file room_object.cc.
Referenced by RoomObject(), and set_id().
|
private |
Definition at line 166 of file room_object.cc.
References tile_count_, tile_data_ptr_, tiles_, and tiles_loaded_.
Referenced by set_id().
| bool yaze::zelda3::RoomObject::all_bgs_ = false |
Definition at line 148 of file room_object.h.
Referenced by RefreshDerivedFlagsFromId().
| bool yaze::zelda3::RoomObject::lit_ = false |
Definition at line 149 of file room_object.h.
Referenced by yaze::zelda3::Room::LoadTorches().
| int16_t yaze::zelda3::RoomObject::id_ |
Definition at line 151 of file room_object.h.
Referenced by yaze::zelda3::draw_routines::CustomDraw(), yaze::zelda3::draw_routines::Draw4x4BlocksIn4x4SuperSquare(), yaze::zelda3::ObjectDrawer::DrawCustomObject(), yaze::editor::TileObjectHandler::DrawGhostPreview(), yaze::editor::ObjectSelectorContent::DrawInteractionSummary(), yaze::zelda3::ObjectDrawer::DrawNothing(), yaze::zelda3::ObjectDrawer::DrawRightwards4x4_1to16(), yaze::zelda3::draw_routines::DrawSomariaLine(), EncodeObjectToBytes(), EnsureTilesLoaded(), yaze::zelda3::DimensionService::GetDimensions(), yaze::zelda3::ObjectDimensionTable::GetHitTestBounds(), yaze::editor::DungeonEditorV2::HandleObjectPlaced(), yaze::zelda3::RoomLayout::LoadLayout(), LoadTilesWithParser(), yaze::editor::ObjectSelectorContent::ObjectSelectorContent(), yaze::zelda3::Room::ParseObjectsFromLocation(), yaze::cli::handlers::anonymous_namespace{dungeon_map_commands.cc}::PlaceObject(), RefreshDerivedFlagsFromId(), yaze::zelda3::anonymous_namespace{track_collision_generator.cc}::ResolveTrackObjectDimensions(), and set_id().
| uint8_t yaze::zelda3::RoomObject::x_ |
Definition at line 152 of file room_object.h.
Referenced by yaze::zelda3::draw_routines::CustomDraw(), yaze::zelda3::ObjectDrawer::CustomDraw(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::Draw1x3NRightwards(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::Draw1x5Column(), yaze::zelda3::draw_routines::Draw3x3FloorIn4x4SuperSquare(), yaze::zelda3::draw_routines::Draw4x4BlocksIn4x4SuperSquare(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::Draw4x4ColumnMajor(), yaze::zelda3::draw_routines::Draw4x4Corner_BothBG(), yaze::zelda3::draw_routines::Draw4x4FloorIn4x4SuperSquare(), yaze::zelda3::draw_routines::Draw4x4FloorOneIn4x4SuperSquare(), yaze::zelda3::draw_routines::Draw4x4FloorTwoIn4x4SuperSquare(), yaze::zelda3::draw_routines::DrawAutoStairs(), yaze::zelda3::draw_routines::DrawBed4x5(), yaze::zelda3::draw_routines::DrawBigHole4x4_1to16(), yaze::zelda3::draw_routines::DrawBigKeyLock(), yaze::zelda3::draw_routines::DrawBombableFloor(), yaze::zelda3::draw_routines::DrawChest(), yaze::zelda3::ObjectDrawer::DrawChest(), yaze::zelda3::draw_routines::DrawChestPlatformHorizontalWall(), yaze::zelda3::draw_routines::DrawChestPlatformVerticalWall(), yaze::zelda3::draw_routines::DrawClosedChestPlatform(), yaze::zelda3::draw_routines::DrawCorner4x4(), yaze::zelda3::ObjectDrawer::DrawCustomObject(), yaze::zelda3::draw_routines::DrawDiagonalAcute_1to16(), yaze::zelda3::draw_routines::DrawDiagonalAcute_1to16_BothBG(), yaze::zelda3::draw_routines::anonymous_namespace{corner_routines.cc}::DrawDiagonalCeiling(), yaze::zelda3::draw_routines::DrawDiagonalGrave_1to16(), yaze::zelda3::draw_routines::DrawDiagonalGrave_1to16_BothBG(), yaze::zelda3::draw_routines::DrawDoorSwitcherer(), yaze::zelda3::draw_routines::DrawDownwards1x1Solid_1to16_plus3(), yaze::zelda3::draw_routines::DrawDownwards2x2_1to15or32(), yaze::zelda3::draw_routines::DrawDownwards2x2_1to16(), yaze::zelda3::draw_routines::DrawDownwards4x2_1to15or26(), yaze::zelda3::draw_routines::DrawDownwardsBar2x5_1to16(), yaze::zelda3::draw_routines::DrawDownwardsBigRail3x1_1to16plus5(), yaze::zelda3::draw_routines::DrawDownwardsBlock2x2spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsCannonHole3x4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor2x2spaced12_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor2x4spaced8_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor3x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor3x4spaced4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor4x2spaced4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor4x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsEdge1x1_1to16(), yaze::zelda3::draw_routines::DrawDownwardsFloor4x4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsHasEdge1x1_1to16_plus3(), yaze::zelda3::draw_routines::DrawDownwardsLeftCorners2x1_1to16_plus12(), yaze::zelda3::draw_routines::DrawDownwardsLine1x1_1to16plus1(), yaze::zelda3::draw_routines::DrawDownwardsPillar2x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsPots2x2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsRightCorners2x1_1to16_plus12(), yaze::zelda3::draw_routines::DrawInterRoomFatStairsUp(), yaze::zelda3::draw_routines::DrawLargeCanvasObject(), yaze::zelda3::ObjectDrawer::DrawLargeCanvasObject(), yaze::zelda3::draw_routines::DrawMovingWall(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::DrawNx4(), yaze::zelda3::draw_routines::DrawPrisonCell(), yaze::zelda3::draw_routines::DrawRightwards1x1Solid_1to16_plus3(), yaze::zelda3::draw_routines::DrawRightwards1x2_1to16_plus2(), yaze::zelda3::draw_routines::DrawRightwards2x2_1to15or32(), yaze::zelda3::draw_routines::DrawRightwards2x2_1to16(), yaze::zelda3::draw_routines::DrawRightwards2x4_1to15or26(), yaze::zelda3::draw_routines::DrawRightwards2x4_1to16(), yaze::zelda3::draw_routines::DrawRightwards2x4_1to16_BothBG(), yaze::zelda3::draw_routines::DrawRightwards4x2_1to16(), yaze::zelda3::draw_routines::DrawRightwards4x4_1to16(), yaze::zelda3::ObjectDrawer::DrawRightwards4x4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsBar4x3_1to16(), yaze::zelda3::draw_routines::DrawRightwardsBigRail1x3_1to16plus5(), yaze::zelda3::draw_routines::DrawRightwardsBlock2x2spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsBottomCorners1x2_1to16_plus13(), yaze::zelda3::draw_routines::DrawRightwardsCannonHole4x3_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor2x2spaced12_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor4x2spaced8_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor4x3spaced4_1to16(), yaze::zelda3::ObjectDrawer::DrawRightwardsDecor4x3spaced4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor4x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDoubled2x2spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsEdge1x1_1to16plus7(), yaze::zelda3::draw_routines::DrawRightwardsHasEdge1x1_1to16_plus2(), yaze::zelda3::draw_routines::DrawRightwardsHasEdge1x1_1to16_plus23(), yaze::zelda3::draw_routines::DrawRightwardsHasEdge1x1_1to16_plus3(), yaze::zelda3::draw_routines::DrawRightwardsLine1x1_1to16plus1(), yaze::zelda3::draw_routines::DrawRightwardsPillar2x4spaced4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsPots2x2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsShelf4x4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsStatue2x3spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsTopCorners1x2_1to16_plus13(), yaze::zelda3::draw_routines::DrawRupeeFloor(), yaze::zelda3::draw_routines::DrawSingle2x2(), yaze::zelda3::draw_routines::DrawSingle4x3(), yaze::zelda3::draw_routines::DrawSingle4x4(), yaze::zelda3::draw_routines::DrawSomariaLine(), yaze::zelda3::draw_routines::DrawSpike2x2In4x4SuperSquare(), yaze::zelda3::draw_routines::DrawSpiralStairs(), yaze::zelda3::draw_routines::DrawStraightInterRoomStairs(), yaze::zelda3::draw_routines::DrawTableRock4x4_1to16(), yaze::zelda3::draw_routines::DrawUtility3x5(), yaze::zelda3::draw_routines::DrawWaterFace(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::DrawWaterFaceRows(), yaze::zelda3::draw_routines::DrawWaterfall48(), yaze::zelda3::draw_routines::DrawWaterOverlay8x8_1to16(), yaze::zelda3::draw_routines::DrawWeirdCornerBottom_BothBG(), yaze::zelda3::draw_routines::DrawWeirdCornerTop_BothBG(), EncodeObjectToBytes(), yaze::cli::DungeonObjectValidateCommandHandler::Execute(), yaze::zelda3::DimensionService::GetHitTestBounds(), yaze::zelda3::ObjectDimensionTable::GetHitTestBounds(), yaze::zelda3::DimensionService::GetSelectionBoundsPixels(), yaze::editor::DungeonEditorV2::HandleObjectPlaced(), yaze::zelda3::RoomLayout::LoadLayout(), yaze::zelda3::ObjectGeometry::MeasureRoutine(), yaze::zelda3::DungeonObjectEditor::ObjectsCollide(), yaze::zelda3::Room::ParseObjectsFromLocation(), yaze::cli::handlers::anonymous_namespace{dungeon_map_commands.cc}::PlaceObject(), yaze::editor::TileObjectHandler::PlaceObjectAt(), set_x(), and x().
| uint8_t yaze::zelda3::RoomObject::y_ |
Definition at line 153 of file room_object.h.
Referenced by yaze::zelda3::draw_routines::CustomDraw(), yaze::zelda3::ObjectDrawer::CustomDraw(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::Draw1x3NRightwards(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::Draw1x5Column(), yaze::zelda3::draw_routines::Draw3x3FloorIn4x4SuperSquare(), yaze::zelda3::draw_routines::Draw4x4BlocksIn4x4SuperSquare(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::Draw4x4ColumnMajor(), yaze::zelda3::draw_routines::Draw4x4Corner_BothBG(), yaze::zelda3::draw_routines::Draw4x4FloorIn4x4SuperSquare(), yaze::zelda3::draw_routines::Draw4x4FloorOneIn4x4SuperSquare(), yaze::zelda3::draw_routines::Draw4x4FloorTwoIn4x4SuperSquare(), yaze::zelda3::draw_routines::DrawAutoStairs(), yaze::zelda3::draw_routines::DrawBed4x5(), yaze::zelda3::draw_routines::DrawBigHole4x4_1to16(), yaze::zelda3::draw_routines::DrawBigKeyLock(), yaze::zelda3::draw_routines::DrawBombableFloor(), yaze::zelda3::draw_routines::DrawChest(), yaze::zelda3::ObjectDrawer::DrawChest(), yaze::zelda3::draw_routines::DrawChestPlatformHorizontalWall(), yaze::zelda3::draw_routines::DrawChestPlatformVerticalWall(), yaze::zelda3::draw_routines::DrawClosedChestPlatform(), yaze::zelda3::draw_routines::DrawCorner4x4(), yaze::zelda3::ObjectDrawer::DrawCustomObject(), yaze::zelda3::draw_routines::DrawDiagonalAcute_1to16(), yaze::zelda3::draw_routines::DrawDiagonalAcute_1to16_BothBG(), yaze::zelda3::draw_routines::anonymous_namespace{corner_routines.cc}::DrawDiagonalCeiling(), yaze::zelda3::draw_routines::DrawDiagonalGrave_1to16(), yaze::zelda3::draw_routines::DrawDiagonalGrave_1to16_BothBG(), yaze::zelda3::draw_routines::DrawDoorSwitcherer(), yaze::zelda3::draw_routines::DrawDownwards1x1Solid_1to16_plus3(), yaze::zelda3::draw_routines::DrawDownwards2x2_1to15or32(), yaze::zelda3::draw_routines::DrawDownwards2x2_1to16(), yaze::zelda3::draw_routines::DrawDownwards4x2_1to15or26(), yaze::zelda3::draw_routines::DrawDownwardsBar2x5_1to16(), yaze::zelda3::draw_routines::DrawDownwardsBigRail3x1_1to16plus5(), yaze::zelda3::draw_routines::DrawDownwardsBlock2x2spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsCannonHole3x4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor2x2spaced12_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor2x4spaced8_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor3x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor3x4spaced4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor4x2spaced4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor4x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsEdge1x1_1to16(), yaze::zelda3::draw_routines::DrawDownwardsFloor4x4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsHasEdge1x1_1to16_plus3(), yaze::zelda3::draw_routines::DrawDownwardsLeftCorners2x1_1to16_plus12(), yaze::zelda3::draw_routines::DrawDownwardsLine1x1_1to16plus1(), yaze::zelda3::draw_routines::DrawDownwardsPillar2x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsPots2x2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsRightCorners2x1_1to16_plus12(), yaze::zelda3::draw_routines::DrawInterRoomFatStairsUp(), yaze::zelda3::draw_routines::DrawLargeCanvasObject(), yaze::zelda3::ObjectDrawer::DrawLargeCanvasObject(), yaze::zelda3::draw_routines::DrawMovingWall(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::DrawNx4(), yaze::zelda3::draw_routines::DrawPrisonCell(), yaze::zelda3::draw_routines::DrawRightwards1x1Solid_1to16_plus3(), yaze::zelda3::draw_routines::DrawRightwards1x2_1to16_plus2(), yaze::zelda3::draw_routines::DrawRightwards2x2_1to15or32(), yaze::zelda3::draw_routines::DrawRightwards2x2_1to16(), yaze::zelda3::draw_routines::DrawRightwards2x4_1to15or26(), yaze::zelda3::draw_routines::DrawRightwards2x4_1to16(), yaze::zelda3::draw_routines::DrawRightwards2x4_1to16_BothBG(), yaze::zelda3::draw_routines::DrawRightwards4x2_1to16(), yaze::zelda3::draw_routines::DrawRightwards4x4_1to16(), yaze::zelda3::ObjectDrawer::DrawRightwards4x4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsBar4x3_1to16(), yaze::zelda3::draw_routines::DrawRightwardsBigRail1x3_1to16plus5(), yaze::zelda3::draw_routines::DrawRightwardsBlock2x2spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsBottomCorners1x2_1to16_plus13(), yaze::zelda3::draw_routines::DrawRightwardsCannonHole4x3_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor2x2spaced12_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor4x2spaced8_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor4x3spaced4_1to16(), yaze::zelda3::ObjectDrawer::DrawRightwardsDecor4x3spaced4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor4x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDoubled2x2spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsEdge1x1_1to16plus7(), yaze::zelda3::draw_routines::DrawRightwardsHasEdge1x1_1to16_plus2(), yaze::zelda3::draw_routines::DrawRightwardsHasEdge1x1_1to16_plus23(), yaze::zelda3::draw_routines::DrawRightwardsHasEdge1x1_1to16_plus3(), yaze::zelda3::draw_routines::DrawRightwardsLine1x1_1to16plus1(), yaze::zelda3::draw_routines::DrawRightwardsPillar2x4spaced4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsPots2x2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsShelf4x4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsStatue2x3spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsTopCorners1x2_1to16_plus13(), yaze::zelda3::draw_routines::DrawRupeeFloor(), yaze::zelda3::draw_routines::DrawSingle2x2(), yaze::zelda3::draw_routines::DrawSingle4x3(), yaze::zelda3::draw_routines::DrawSingle4x4(), yaze::zelda3::draw_routines::DrawSomariaLine(), yaze::zelda3::draw_routines::DrawSpike2x2In4x4SuperSquare(), yaze::zelda3::draw_routines::DrawSpiralStairs(), yaze::zelda3::draw_routines::DrawStraightInterRoomStairs(), yaze::zelda3::draw_routines::DrawTableRock4x4_1to16(), yaze::zelda3::draw_routines::DrawUtility3x5(), yaze::zelda3::draw_routines::DrawWaterFace(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::DrawWaterFaceRows(), yaze::zelda3::draw_routines::DrawWaterfall48(), yaze::zelda3::draw_routines::DrawWaterOverlay8x8_1to16(), yaze::zelda3::draw_routines::DrawWeirdCornerBottom_BothBG(), yaze::zelda3::draw_routines::DrawWeirdCornerTop_BothBG(), EncodeObjectToBytes(), yaze::cli::DungeonObjectValidateCommandHandler::Execute(), yaze::zelda3::DimensionService::GetHitTestBounds(), yaze::zelda3::ObjectDimensionTable::GetHitTestBounds(), yaze::zelda3::DimensionService::GetSelectionBoundsPixels(), yaze::editor::DungeonEditorV2::HandleObjectPlaced(), yaze::zelda3::RoomLayout::LoadLayout(), yaze::zelda3::ObjectGeometry::MeasureRoutine(), yaze::zelda3::DungeonObjectEditor::ObjectsCollide(), yaze::zelda3::Room::ParseObjectsFromLocation(), yaze::cli::handlers::anonymous_namespace{dungeon_map_commands.cc}::PlaceObject(), set_y(), and y().
| uint8_t yaze::zelda3::RoomObject::size_ |
Definition at line 154 of file room_object.h.
Referenced by yaze::zelda3::ObjectTileEditor::CaptureObjectLayout(), yaze::zelda3::draw_routines::CustomDraw(), yaze::zelda3::draw_routines::Draw3x3FloorIn4x4SuperSquare(), yaze::zelda3::draw_routines::Draw4x4BlocksIn4x4SuperSquare(), yaze::zelda3::draw_routines::Draw4x4FloorIn4x4SuperSquare(), yaze::zelda3::draw_routines::Draw4x4FloorOneIn4x4SuperSquare(), yaze::zelda3::draw_routines::Draw4x4FloorTwoIn4x4SuperSquare(), yaze::zelda3::draw_routines::DrawBigHole4x4_1to16(), yaze::zelda3::draw_routines::DrawChestPlatformHorizontalWall(), yaze::zelda3::draw_routines::DrawChestPlatformVerticalWall(), yaze::zelda3::draw_routines::DrawClosedChestPlatform(), yaze::zelda3::ObjectDrawer::DrawCustomObject(), yaze::zelda3::draw_routines::DrawDiagonalAcute_1to16(), yaze::zelda3::draw_routines::DrawDiagonalAcute_1to16_BothBG(), yaze::zelda3::draw_routines::anonymous_namespace{corner_routines.cc}::DrawDiagonalCeiling(), yaze::zelda3::draw_routines::DrawDiagonalGrave_1to16(), yaze::zelda3::draw_routines::DrawDiagonalGrave_1to16_BothBG(), yaze::zelda3::draw_routines::DrawDownwards1x1Solid_1to16_plus3(), yaze::zelda3::draw_routines::DrawDownwards2x2_1to15or32(), yaze::zelda3::draw_routines::DrawDownwards2x2_1to16(), yaze::zelda3::draw_routines::DrawDownwards4x2_1to15or26(), yaze::zelda3::draw_routines::DrawDownwardsBar2x5_1to16(), yaze::zelda3::draw_routines::DrawDownwardsBigRail3x1_1to16plus5(), yaze::zelda3::draw_routines::DrawDownwardsBlock2x2spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsCannonHole3x4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor2x2spaced12_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor2x4spaced8_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor3x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor3x4spaced4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor4x2spaced4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsDecor4x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsEdge1x1_1to16(), yaze::zelda3::draw_routines::DrawDownwardsFloor4x4_1to16(), yaze::zelda3::draw_routines::DrawDownwardsHasEdge1x1_1to16_plus3(), yaze::zelda3::draw_routines::DrawDownwardsLeftCorners2x1_1to16_plus12(), yaze::zelda3::draw_routines::DrawDownwardsLine1x1_1to16plus1(), yaze::zelda3::draw_routines::DrawDownwardsPillar2x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsPots2x2_1to16(), yaze::zelda3::draw_routines::DrawDownwardsRightCorners2x1_1to16_plus12(), yaze::zelda3::draw_routines::DrawMovingWall(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::zelda3::draw_routines::DrawRightwards1x1Solid_1to16_plus3(), yaze::zelda3::draw_routines::DrawRightwards1x2_1to16_plus2(), yaze::zelda3::draw_routines::DrawRightwards2x2_1to15or32(), yaze::zelda3::draw_routines::DrawRightwards2x2_1to16(), yaze::zelda3::draw_routines::DrawRightwards2x4_1to15or26(), yaze::zelda3::draw_routines::DrawRightwards2x4_1to16(), yaze::zelda3::draw_routines::DrawRightwards2x4_1to16_BothBG(), yaze::zelda3::draw_routines::DrawRightwards4x2_1to16(), yaze::zelda3::draw_routines::DrawRightwards4x4_1to16(), yaze::zelda3::ObjectDrawer::DrawRightwards4x4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsBar4x3_1to16(), yaze::zelda3::draw_routines::DrawRightwardsBigRail1x3_1to16plus5(), yaze::zelda3::draw_routines::DrawRightwardsBlock2x2spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsBottomCorners1x2_1to16_plus13(), yaze::zelda3::draw_routines::DrawRightwardsCannonHole4x3_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor2x2spaced12_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor4x2spaced8_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor4x3spaced4_1to16(), yaze::zelda3::ObjectDrawer::DrawRightwardsDecor4x3spaced4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDecor4x4spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsDoubled2x2spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsEdge1x1_1to16plus7(), yaze::zelda3::draw_routines::DrawRightwardsHasEdge1x1_1to16_plus2(), yaze::zelda3::draw_routines::DrawRightwardsHasEdge1x1_1to16_plus23(), yaze::zelda3::draw_routines::DrawRightwardsHasEdge1x1_1to16_plus3(), yaze::zelda3::draw_routines::DrawRightwardsLine1x1_1to16plus1(), yaze::zelda3::draw_routines::DrawRightwardsPillar2x4spaced4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsPots2x2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsShelf4x4_1to16(), yaze::zelda3::draw_routines::DrawRightwardsStatue2x3spaced2_1to16(), yaze::zelda3::draw_routines::DrawRightwardsTopCorners1x2_1to16_plus13(), yaze::zelda3::draw_routines::DrawSomariaLine(), yaze::zelda3::draw_routines::DrawSpike2x2In4x4SuperSquare(), yaze::zelda3::draw_routines::DrawTableRock4x4_1to16(), yaze::zelda3::draw_routines::DrawWaterfall47(), yaze::zelda3::draw_routines::DrawWaterfall48(), yaze::zelda3::draw_routines::DrawWaterOverlay8x8_1to16(), EncodeObjectToBytes(), yaze::cli::DungeonObjectValidateCommandHandler::Execute(), yaze::zelda3::DimensionService::GetDimensions(), yaze::zelda3::ObjectDimensionTable::GetHitTestBounds(), yaze::zelda3::RoomLayout::LoadLayout(), yaze::zelda3::DungeonObjectEditor::ObjectsCollide(), yaze::cli::handlers::anonymous_namespace{dungeon_map_commands.cc}::PlaceObject(), set_size(), and size().
| uint8_t yaze::zelda3::RoomObject::nx_ |
Definition at line 155 of file room_object.h.
| uint8_t yaze::zelda3::RoomObject::ny_ |
Definition at line 156 of file room_object.h.
| uint8_t yaze::zelda3::RoomObject::ox_ |
Definition at line 157 of file room_object.h.
| uint8_t yaze::zelda3::RoomObject::oy_ |
Definition at line 158 of file room_object.h.
| uint8_t yaze::zelda3::RoomObject::z_ = 0 |
Definition at line 159 of file room_object.h.
| uint8_t yaze::zelda3::RoomObject::previous_size_ = 0 |
Definition at line 160 of file room_object.h.
| uint8_t yaze::zelda3::RoomObject::size_x_bits_ = 0 |
Definition at line 163 of file room_object.h.
| uint8_t yaze::zelda3::RoomObject::size_y_bits_ = 0 |
Definition at line 164 of file room_object.h.
| int yaze::zelda3::RoomObject::width_ |
Definition at line 166 of file room_object.h.
| int yaze::zelda3::RoomObject::height_ |
Definition at line 167 of file room_object.h.
| int yaze::zelda3::RoomObject::offset_x_ = 0 |
Definition at line 168 of file room_object.h.
| int yaze::zelda3::RoomObject::offset_y_ = 0 |
Definition at line 169 of file room_object.h.
| std::string yaze::zelda3::RoomObject::name_ |
Definition at line 171 of file room_object.h.
| std::vector<uint8_t> yaze::zelda3::RoomObject::preview_object_data_ |
Definition at line 173 of file room_object.h.
|
mutable |
Definition at line 178 of file room_object.h.
Referenced by EnsureTilesLoaded(), GetTile(), GetTiles(), InvalidateTileCache(), LoadTilesWithParser(), mutable_tiles(), and tiles().
|
mutable |
Definition at line 179 of file room_object.h.
Referenced by EnsureTilesLoaded(), GetTile(), GetTileCount(), GetTiles(), and InvalidateTileCache().
|
mutable |
Definition at line 180 of file room_object.h.
Referenced by EnsureTilesLoaded(), GetTileCount(), InvalidateTileCache(), and LoadTilesWithParser().
|
mutable |
Definition at line 181 of file room_object.h.
Referenced by yaze::zelda3::ObjectTileEditor::CaptureObjectLayout(), yaze::zelda3::ObjectTileEditor::CountObjectsSharingTileData(), EnsureTilesLoaded(), and InvalidateTileCache().
| LayerType yaze::zelda3::RoomObject::layer_ |
Definition at line 187 of file room_object.h.
Referenced by yaze::zelda3::DungeonObjectEditor::BatchChangeObjectLayer(), yaze::cli::DungeonObjectValidateCommandHandler::Execute(), GetLayerValue(), yaze::zelda3::RoomLayout::LoadLayout(), yaze::cli::handlers::anonymous_namespace{dungeon_map_commands.cc}::PlaceObject(), and yaze::zelda3::Room::RenderObjectsToBackground().
| ObjectOption yaze::zelda3::RoomObject::options_ = ObjectOption::Nothing |
Definition at line 188 of file room_object.h.
Referenced by options(), and set_options().
| Rom* yaze::zelda3::RoomObject::rom_ |
Definition at line 190 of file room_object.h.
Referenced by EnsureTilesLoaded(), LoadTilesWithParser(), mutable_rom(), rom(), and SetRom().