Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/ICmpVisual.h
Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | public: | ||||
virtual u32 GetActorSeed() const = 0; | virtual u32 GetActorSeed() const = 0; | ||||
/** | /** | ||||
* Set actor seed for random variations and reload model | * Set actor seed for random variations and reload model | ||||
*/ | */ | ||||
virtual void SetActorSeed(u32 seed) = 0; | virtual void SetActorSeed(u32 seed) = 0; | ||||
/** | /** | ||||
* Set the visual actor and reload model. | |||||
*/ | |||||
virtual void SetActor(const std::wstring& newActorName) = 0; | |||||
/** | |||||
* Get actor name. | |||||
*/ | |||||
virtual std::wstring GetActorName() const = 0; | |||||
/** | |||||
* Returns true if this entity should have a construction preview | * Returns true if this entity should have a construction preview | ||||
*/ | */ | ||||
virtual bool HasConstructionPreview() const = 0; | virtual bool HasConstructionPreview() const = 0; | ||||
/** | /** | ||||
* Called when an actor file has been modified and reloaded dynamically. | * Called when an actor file has been modified and reloaded dynamically. | ||||
* If this component uses the named actor file, it should regenerate its actor | * If this component uses the named actor file, it should regenerate its actor | ||||
* to pick up the new definitions. | * to pick up the new definitions. | ||||
Show All 9 Lines |
Wildfire Games · Phabricator