Changeset View
Changeset View
Standalone View
Standalone View
source/graphics/ObjectBase.h
Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | |||||
// Interface accessible from CObjectManager / CObjectBase | // Interface accessible from CObjectManager / CObjectBase | ||||
protected: | protected: | ||||
/** | /** | ||||
* Return the Object base matching the given quality level. | * Return the Object base matching the given quality level. | ||||
*/ | */ | ||||
const std::shared_ptr<CObjectBase>& GetBase(u8 QualityLevel) const; | const std::shared_ptr<CObjectBase>& GetBase(u8 QualityLevel) const; | ||||
/** | /** | ||||
* Return the iterator for the base matching the given quality level. | |||||
*/ | |||||
std::vector<std::shared_ptr<CObjectBase>>::const_iterator GetBaseIterator(u8 QualityLevel) const; | |||||
/** | |||||
* Initialise this object by loading from the given file. | * Initialise this object by loading from the given file. | ||||
* Returns false on error. | * Returns false on error. | ||||
*/ | */ | ||||
bool Load(const VfsPath& pathname); | bool Load(const VfsPath& pathname); | ||||
/** | /** | ||||
* Initialise this object with a default placeholder actor, | * Initialise this object with a default placeholder actor, | ||||
* pretending to be the actor at pathname. | * pretending to be the actor at pathname. | ||||
Show All 22 Lines |
Wildfire Games · Phabricator