#include <custom_object.h>
Public Member Functions | |
| bool | enabled () const |
| absl::StatusOr< std::shared_ptr< const DungeonTilePatterns > > | tile_patterns () const |
| absl::StatusOr< std::shared_ptr< const CustomObject > > | GetObject (int object_id, int subtype) const |
Private Attributes | |
| bool | enabled_ = false |
| absl::StatusOr< std::shared_ptr< const DungeonTilePatterns > > | tile_patterns_ |
| std::unordered_map< int, std::vector< absl::StatusOr< std::shared_ptr< const CustomObject > > > > | objects_ |
Friends | |
| class | CustomObjectManager |
Definition at line 137 of file custom_object.h.
|
inline |
Definition at line 139 of file custom_object.h.
References enabled_.
Referenced by yaze::zelda3::draw_routines::CustomDraw(), yaze::zelda3::ObjectDrawer::DrawObject(), and yaze::zelda3::ObjectDrawer::GetDrawRoutineId().
|
inline |
Definition at line 140 of file custom_object.h.
References tile_patterns_.
Referenced by yaze::zelda3::ObjectDrawer::DrawObject().
| absl::StatusOr< std::shared_ptr< const CustomObject > > yaze::zelda3::CustomObjectRenderSnapshot::GetObject | ( | int | object_id, |
| int | subtype ) const |
Definition at line 695 of file custom_object.cc.
References objects_.
Referenced by yaze::zelda3::draw_routines::CustomDraw(), and yaze::zelda3::ObjectDrawer::DrawObject().
|
friend |
Definition at line 148 of file custom_object.h.
|
private |
Definition at line 149 of file custom_object.h.
Referenced by yaze::zelda3::CustomObjectManager::CaptureRenderSnapshot(), and enabled().
|
private |
Definition at line 150 of file custom_object.h.
Referenced by yaze::zelda3::CustomObjectManager::CaptureRenderSnapshot(), and tile_patterns().
|
private |
Definition at line 154 of file custom_object.h.
Referenced by yaze::zelda3::CustomObjectManager::CaptureRenderSnapshot(), and GetObject().