#include <iso.h>
Inheritance diagram for iIsoEngine:
Public Methods | |
virtual iObjectRegistry* | GetObjectRegistry () const=0 |
Get the system. | |
virtual iGraphics2D* | GetG2D () const=0 |
Get the 2d canvas. | |
virtual iGraphics3D* | GetG3D () const=0 |
Get the 3d renderer. | |
virtual iTextureManager* | GetTextureManager () const=0 |
Get the texture manager. | |
virtual int | GetBeginDrawFlags () const=0 |
flags to pass to g3d->BeginDraw(). | |
virtual iIsoWorld* | CreateWorld ()=0 |
Create a new world. | |
virtual iIsoView* | CreateView (iIsoWorld *world)=0 |
Create new view on the given world. | |
virtual iIsoLight* | CreateLight ()=0 |
create a new light. | |
virtual iIsoSprite* | CreateSprite ()=0 |
Create new sprite. | |
virtual iIsoMeshSprite* | CreateMeshSprite ()=0 |
Create a new mesh sprite. | |
virtual iIsoSprite* | CreateFloorSprite (const csVector3 &pos, float w, float h)=0 |
(convenience) create new floor/ceiling tile. | |
virtual iIsoSprite* | CreateFrontSprite (const csVector3 &pos, float w, float h)=0 |
(convenience) create new front-facing sprite (for objects). | |
virtual iIsoSprite* | CreateZWallSprite (const csVector3 &pos, float w, float h)=0 |
(convenience) create new wall along z sprite (along x in grids). | |
virtual iIsoSprite* | CreateXWallSprite (const csVector3 &pos, float w, float h)=0 |
(convenience) create new wall along x sprite (along y in grids). | |
virtual iMaterialWrapper* | CreateMaterialWrapper (iMaterial *material, const char *name)=0 |
Create a new materialwrapper for the iso engine from material. | |
virtual iMaterialWrapper* | CreateMaterialWrapper (iMaterialHandle *handle, const char *name)=0 |
Create a new materialwrapper for the iso engine from pre-prepared iMaterialHandle given. More... | |
virtual iMaterialWrapper* | CreateMaterialWrapper (const char *vfsfilename, const char *materialname)=0 |
Create a new materialwrapper for the iso engine from the given file (on the VFS), resulting in a material with that texture. | |
virtual iMaterialWrapper* | FindMaterial (const char *name)=0 |
Find a material by name. | |
virtual iMaterialWrapper* | FindMaterial (int index)=0 |
Find a material by index. | |
virtual void | RemoveMaterial (const char *name)=0 |
delete a material by name. | |
virtual void | RemoveMaterial (int index)=0 |
delete a material by index. | |
virtual int | GetMaterialCount () const=0 |
get the possible number of materials (indices 0..n-1), some are NULL. | |
virtual iMeshObjectFactory* | CreateMeshFactory (const char *classId, const char *name)=0 |
load and add a mesh factory, given classID under given name. | |
virtual void | AddMeshFactory (iMeshObjectFactory *fact, const char *name)=0 |
add a mesh factory, to the list of mesh factories under given name. | |
virtual iMeshObjectFactory* | FindMeshFactory (const char *name)=0 |
find a mesh factory by name. | |
virtual void | RemoveMeshFactory (const char *name)=0 |
remove a mesh factory. |
|
Create a new materialwrapper for the iso engine from pre-prepared iMaterialHandle given. It is Increfed. |