Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CMapWriter Class Reference

#include <MapWriter.h>

Inheritance diagram for CMapWriter:
Collaboration diagram for CMapWriter:

Public Member Functions

 CMapWriter ()
 
void SaveMap (const VfsPath &pathname, CTerrain *pTerr, WaterManager *pWaterMan, SkyManager *pSkyMan, CLightEnv *pLightEnv, CCamera *pCamera, CCinemaManager *pCinema, CPostprocManager *pPostproc, CSimulation2 *pSimulation2)
 

Private Member Functions

void PackMap (CFilePacker &packer, CTerrain *pTerrain)
 
void PackTerrain (CFilePacker &packer, CTerrain *pTerrain)
 
void EnumTerrainTextures (CTerrain *pTerrain, std::vector< CStr > &textures, std::vector< STileDesc > &tileIndices)
 
void WriteXML (const VfsPath &pathname, WaterManager *pWaterMan, SkyManager *pSkyMan, CLightEnv *pLightEnv, CCamera *pCamera, CPostprocManager *pPostproc, CSimulation2 *pSimulation2)
 

Additional Inherited Members

- Public Types inherited from CMapIO
enum  { FILE_VERSION = 7 }
 
enum  { FILE_READ_VERSION = 7 }
 

Constructor & Destructor Documentation

◆ CMapWriter()

CMapWriter::CMapWriter ( )

Member Function Documentation

◆ EnumTerrainTextures()

void CMapWriter::EnumTerrainTextures ( CTerrain pTerrain,
std::vector< CStr > &  textures,
std::vector< STileDesc > &  tileIndices 
)
private

◆ PackMap()

void CMapWriter::PackMap ( CFilePacker packer,
CTerrain pTerrain 
)
private

◆ PackTerrain()

void CMapWriter::PackTerrain ( CFilePacker packer,
CTerrain pTerrain 
)
private

◆ SaveMap()

void CMapWriter::SaveMap ( const VfsPath pathname,
CTerrain pTerr,
WaterManager pWaterMan,
SkyManager pSkyMan,
CLightEnv pLightEnv,
CCamera pCamera,
CCinemaManager pCinema,
CPostprocManager pPostproc,
CSimulation2 pSimulation2 
)

◆ WriteXML()

void CMapWriter::WriteXML ( const VfsPath pathname,
WaterManager pWaterMan,
SkyManager pSkyMan,
CLightEnv pLightEnv,
CCamera pCamera,
CPostprocManager pPostproc,
CSimulation2 pSimulation2 
)
private

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