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: | ||||
/** | /** | ||||
* 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. | ||||
*/ | */ | ||||
virtual void Hotload(const VfsPath& name) = 0; | virtual void Hotload(const VfsPath& name) = 0; | ||||
/** | |||||
* Returns the name of the base visual actor. | |||||
*/ | |||||
virtual std::wstring GetBaseVisualActor() const = 0; | |||||
DECLARE_INTERFACE_TYPE(Visual) | DECLARE_INTERFACE_TYPE(Visual) | ||||
}; | }; | ||||
// TODO: rename this to VisualActor, because the interface is actor-specific, maybe? | // TODO: rename this to VisualActor, because the interface is actor-specific, maybe? | ||||
#endif // INCLUDED_ICMPVISUAL | #endif // INCLUDED_ICMPVISUAL |
Wildfire Games · Phabricator