Cafu Engine
WorldT Class Reference

Classes

struct  LoadErrorT
 
struct  SaveErrorT
 

Public Types

typedef void(* ProgressFunctionT )(float ProgressPercent, const char *ProgressText)
 

Public Member Functions

 WorldT ()
 Constructor for creating an empty world. More...
 
 WorldT (const char *FileName, ModelManagerT &ModelMan, cf::GuiSys::GuiResourcesT &GuiRes, ProgressFunctionT ProgressFunction=NULL)
 Constructor for creating a world from a .cw file. More...
 
 ~WorldT ()
 Destructor. More...
 
void SaveToDisk (const char *FileName) const
 Saves the world to disk. More...
 

Public Attributes

ArrayT< StaticEntityDataT * > m_StaticEntityData
 
cf::SceneGraph::LightMapManT LightMapMan
 
cf::SceneGraph::SHLMapManT SHLMapMan
 
PlantDescrManT PlantDescrMan
 

Constructor & Destructor Documentation

WorldT::WorldT ( )

Constructor for creating an empty world.

WorldT::WorldT ( const char *  FileName,
ModelManagerT ModelMan,
cf::GuiSys::GuiResourcesT GuiRes,
ProgressFunctionT  ProgressFunction = NULL 
)

Constructor for creating a world from a .cw file.

WorldT::~WorldT ( )

Destructor.

Member Function Documentation

void WorldT::SaveToDisk ( const char *  FileName) const

Saves the world to disk.


The documentation for this class was generated from the following files: