CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

iIsoEngine Struct Reference

SCF Interface to the isometric engine. More...

#include <iso.h>

Inheritance diagram for iIsoEngine:

iBase List of all members.

Public Methods

virtual iObjectRegistry * GetObjectRegistry () const=0
 Get the system. More...

virtual iGraphics2D * GetG2D () const=0
 Get the 2d canvas. More...

virtual iGraphics3D * GetG3D () const=0
 Get the 3d renderer. More...

virtual iTextureManager * GetTextureManager () const=0
 Get the texture manager. More...

virtual int GetBeginDrawFlags () const=0
 flags to pass to g3d->BeginDraw(). More...

virtual iIsoWorld * CreateWorld ()=0
 Create a new world. More...

virtual iIsoView * CreateView (iIsoWorld *world)=0
 Create new view on the given world. More...

virtual iIsoLight * CreateLight ()=0
 create a new light. More...

virtual iIsoSprite * CreateSprite ()=0
 Create new sprite. More...

virtual iIsoMeshSprite * CreateMeshSprite ()=0
 Create a new mesh sprite. More...

virtual iIsoSprite * CreateFloorSprite (const csVector3 &pos, float w, float h)=0
 (convenience) create new floor/ceiling tile. More...

virtual iIsoSprite * CreateFrontSprite (const csVector3 &pos, float w, float h)=0
 (convenience) create new front-facing sprite (for objects). More...

virtual iIsoSprite * CreateZWallSprite (const csVector3 &pos, float w, float h)=0
 (convenience) create new wall along z sprite (along x in grids). More...

virtual iIsoSprite * CreateXWallSprite (const csVector3 &pos, float w, float h)=0
 (convenience) create new wall along x sprite (along y in grids). More...

virtual iMaterialList * GetMaterialList ()=0
 Get the list of materials. 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. More...

virtual iMeshFactoryList * GetMeshFactories ()=0
 Get the list of mesh factories. More...

virtual iMeshFactoryWrapper * CreateMeshFactory (const char *classId, const char *name)=0
 Load and add a mesh factory, given classID under given name. More...

virtual iMeshFactoryWrapper * CreateMeshFactory (const char *name)=0
 Create an empty meshfactory (used by iIsoLoader). More...


Detailed Description

SCF Interface to the isometric engine.

Definition at line 73 of file iso.h.


Member Function Documentation

virtual iIsoSprite* iIsoEngine::CreateFloorSprite (  const csVector3 &    pos,
float    w,
float    h
)  [pure virtual]
 

(convenience) create new floor/ceiling tile.

virtual iIsoSprite* iIsoEngine::CreateFrontSprite (  const csVector3 &    pos,
float    w,
float    h
)  [pure virtual]
 

(convenience) create new front-facing sprite (for objects).

virtual iIsoLight* iIsoEngine::CreateLight (    )  [pure virtual]
 

create a new light.

virtual iMaterialWrapper* iIsoEngine::CreateMaterialWrapper (  const char *    vfsfilename,
const char *    materialname
)  [pure virtual]
 

Create a new materialwrapper for the iso engine from the given file (on the VFS), resulting in a material with that texture.

virtual iMeshFactoryWrapper* iIsoEngine::CreateMeshFactory (  const char *    name )  [pure virtual]
 

Create an empty meshfactory (used by iIsoLoader).

virtual iMeshFactoryWrapper* iIsoEngine::CreateMeshFactory (  const char *    classId,
const char *    name
)  [pure virtual]
 

Load and add a mesh factory, given classID under given name.

virtual iIsoMeshSprite* iIsoEngine::CreateMeshSprite (    )  [pure virtual]
 

Create a new mesh sprite.

virtual iIsoSprite* iIsoEngine::CreateSprite (    )  [pure virtual]
 

Create new sprite.

virtual iIsoView* iIsoEngine::CreateView (  iIsoWorld *    world )  [pure virtual]
 

Create new view on the given world.

virtual iIsoWorld* iIsoEngine::CreateWorld (    )  [pure virtual]
 

Create a new world.

virtual iIsoSprite* iIsoEngine::CreateXWallSprite (  const csVector3 &    pos,
float    w,
float    h
)  [pure virtual]
 

(convenience) create new wall along x sprite (along y in grids).

virtual iIsoSprite* iIsoEngine::CreateZWallSprite (  const csVector3 &    pos,
float    w,
float    h
)  [pure virtual]
 

(convenience) create new wall along z sprite (along x in grids).

virtual int iIsoEngine::GetBeginDrawFlags (    )  const [pure virtual]
 

flags to pass to g3d->BeginDraw().

virtual iGraphics2D* iIsoEngine::GetG2D (    )  const [pure virtual]
 

Get the 2d canvas.

virtual iGraphics3D* iIsoEngine::GetG3D (    )  const [pure virtual]
 

Get the 3d renderer.

virtual iMaterialList* iIsoEngine::GetMaterialList (    )  [pure virtual]
 

Get the list of materials.

virtual iMeshFactoryList* iIsoEngine::GetMeshFactories (    )  [pure virtual]
 

Get the list of mesh factories.

virtual iObjectRegistry* iIsoEngine::GetObjectRegistry (    )  const [pure virtual]
 

Get the system.

virtual iTextureManager* iIsoEngine::GetTextureManager (    )  const [pure virtual]
 

Get the texture manager.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14