|
virtual ResourceHandle | CreateResourceHandle (const char *resourceName)=0 |
|
virtual void | ReleaseResourceHandle (ResourceHandle resourceHandle)=0 |
| Disposes of a resource handle.
|
|
virtual bool | IsResourceHandleValid (ResourceHandle resourceHandle)=0 |
| Checks if a given resource handle is valid.
|
|
virtual void | SetResource (ResourceHandle resourceHandle, const char *resourceVal)=0 |
| Set the string value for a resource specified by handle.
|
|
virtual const char * | GetResource (ResourceHandle resourceHandle)=0 |
| Get the string value for a resource specified by handle.
|
|
virtual void | SetIntResource (const char *resourceName, long resourceVal)=0 |
| Set the value as an integer for a given named resource.
|
|
virtual long | GetIntResource (const char *resourceName)=0 |
| Get the value as an integer for a given named resource.
|
|
virtual void | SetIntResource (ResourceHandle handle, long resourceVal)=0 |
| Set the value as an integer for a resource specified by handle.
|
|
virtual long | GetIntResource (ResourceHandle resourceHandle)=0 |
| Set the value as an integer for a resource specified by handle.
|
|
virtual void | SetFloatResource (const char *resourceName, double resourceVal)=0 |
| Set the value as a float for a given named resource.
|
|
virtual double | GetFloatResource (const char *resourceName)=0 |
| Get the value as a float for a given named resource.
|
|
virtual void | SetFloatResource (ResourceHandle handle, double resourceVal)=0 |
| Set the value as a float for a resource specified by handle.
|
|
virtual double | GetFloatResource (ResourceHandle resourceHandle)=0 |
| Set the value as a float for a resource specified by handle.
|
|
virtual void | Calculate (double time)=0 |
|
virtual void | PreDraw (const OpenGLMatrices ¤t, Culler &culler)=0 |
|
virtual void | Draw ()=0 |
|
virtual void | SetResource (const char *resourceName, const char *resourceVal)=0 |
| Set the string value for a given named resource.
|
|
virtual const char * | GetResource (const char *resourceName)=0 |
| Get the string value for the given resource.
|
|
virtual const char * | GetResources (ResourceFilter *filter=0)=0 |
|
virtual bool | HandleInput (Event *ev)=0 |
|
virtual bool | SetEmittedEventHandler (EmittedEventHandler *handler)=0 |
|
virtual bool | Pick3D (const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices)=0 |
| Pick3D returns true if the RSO was picked.
|
|
virtual bool | GetBoundingSphere (Vector *center, float *radius)=0 |
|
virtual bool | GetBoundingBox (Vector *min, Vector *max, const MatrixD *transform=0)=0 |
|
virtual RSOInterface1 * | CloneObject ()=0 |
|
virtual void | DeleteInstance ()=0 |
| Safely delete the object.
|
|
The RSOInterface2 class defines an abstract interface to an RSO instance.