yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::CustomObjectRenderSnapshot Class Reference

#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
 

Detailed Description

Definition at line 137 of file custom_object.h.

Member Function Documentation

◆ enabled()

bool yaze::zelda3::CustomObjectRenderSnapshot::enabled ( ) const
inline

◆ tile_patterns()

absl::StatusOr< std::shared_ptr< const DungeonTilePatterns > > yaze::zelda3::CustomObjectRenderSnapshot::tile_patterns ( ) const
inline

Definition at line 140 of file custom_object.h.

References tile_patterns_.

Referenced by yaze::zelda3::ObjectDrawer::DrawObject().

◆ GetObject()

absl::StatusOr< std::shared_ptr< const CustomObject > > yaze::zelda3::CustomObjectRenderSnapshot::GetObject ( int object_id,
int subtype ) const

Friends And Related Symbol Documentation

◆ CustomObjectManager

friend class CustomObjectManager
friend

Definition at line 148 of file custom_object.h.

Member Data Documentation

◆ enabled_

bool yaze::zelda3::CustomObjectRenderSnapshot::enabled_ = false
private

◆ tile_patterns_

absl::StatusOr<std::shared_ptr<const DungeonTilePatterns> > yaze::zelda3::CustomObjectRenderSnapshot::tile_patterns_
private
Initial value:
=
std::shared_ptr<const DungeonTilePatterns>{}

Definition at line 150 of file custom_object.h.

Referenced by yaze::zelda3::CustomObjectManager::CaptureRenderSnapshot(), and tile_patterns().

◆ objects_

std::unordered_map< int, std::vector<absl::StatusOr<std::shared_ptr<const CustomObject> > > > yaze::zelda3::CustomObjectRenderSnapshot::objects_
private

The documentation for this class was generated from the following files: