doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
idSaveGame Class Reference

#include <SaveGame.h>

Public Member Functions

 idSaveGame (idFile *savefile)
 
 ~idSaveGame ()
 
void Close (void)
 
void AddObject (const idClass *obj)
 
void WriteObjectList (void)
 
void Write (const void *buffer, int len)
 
void WriteInt (const int value)
 
void WriteJoint (const jointHandle_t value)
 
void WriteShort (const short value)
 
void WriteByte (const byte value)
 
void WriteSignedChar (const signed char value)
 
void WriteFloat (const float value)
 
void WriteBool (const bool value)
 
void WriteString (const char *string)
 
void WriteVec2 (const idVec2 &vec)
 
void WriteVec3 (const idVec3 &vec)
 
void WriteVec4 (const idVec4 &vec)
 
void WriteVec6 (const idVec6 &vec)
 
void WriteWinding (const idWinding &winding)
 
void WriteBounds (const idBounds &bounds)
 
void WriteMat3 (const idMat3 &mat)
 
void WriteAngles (const idAngles &angles)
 
void WriteObject (const idClass *obj)
 
void WriteStaticObject (const idClass &obj)
 
void WriteDict (const idDict *dict)
 
void WriteMaterial (const idMaterial *material)
 
void WriteSkin (const idDeclSkin *skin)
 
void WriteParticle (const idDeclParticle *particle)
 
void WriteFX (const idDeclFX *fx)
 
void WriteSoundShader (const idSoundShader *shader)
 
void WriteModelDef (const class idDeclModelDef *modelDef)
 
void WriteModel (const idRenderModel *model)
 
void WriteUserInterface (const idUserInterface *ui, bool unique)
 
void WriteRenderEntity (const renderEntity_t &renderEntity)
 
void WriteRenderLight (const renderLight_t &renderLight)
 
void WriteRefSound (const refSound_t &refSound)
 
void WriteRenderView (const renderView_t &view)
 
void WriteUsercmd (const usercmd_t &usercmd)
 
void WriteContactInfo (const contactInfo_t &contactInfo)
 
void WriteTrace (const trace_t &trace)
 
void WriteTraceModel (const idTraceModel &trace)
 
void WriteClipModel (const class idClipModel *clipModel)
 
void WriteSoundCommands (void)
 
void WriteBuildNumber (const int value)
 

Private Member Functions

void CallSave_r (const idTypeInfo *cls, const idClass *obj)
 

Private Attributes

idFilefile
 
idList< const idClass * > objects
 

Detailed Description

Definition at line 40 of file SaveGame.h.

Constructor & Destructor Documentation

idSaveGame::idSaveGame ( idFile savefile)

Definition at line 68 of file SaveGame.cpp.

idSaveGame::~idSaveGame ( )

Definition at line 82 of file SaveGame.cpp.

Member Function Documentation

void idSaveGame::AddObject ( const idClass obj)

Definition at line 150 of file SaveGame.cpp.

void idSaveGame::CallSave_r ( const idTypeInfo cls,
const idClass obj 
)
private

Definition at line 133 of file SaveGame.cpp.

void idSaveGame::Close ( void  )

Definition at line 93 of file SaveGame.cpp.

void idSaveGame::Write ( const void buffer,
int  len 
)

Definition at line 159 of file SaveGame.cpp.

void idSaveGame::WriteAngles ( const idAngles angles)

Definition at line 318 of file SaveGame.cpp.

void idSaveGame::WriteBool ( const bool  value)

Definition at line 222 of file SaveGame.cpp.

void idSaveGame::WriteBounds ( const idBounds bounds)

Definition at line 280 of file SaveGame.cpp.

void idSaveGame::WriteBuildNumber ( const int  value)

Definition at line 767 of file SaveGame.cpp.

void idSaveGame::WriteByte ( const byte  value)

Definition at line 195 of file SaveGame.cpp.

void idSaveGame::WriteClipModel ( const class idClipModel clipModel)

Definition at line 744 of file SaveGame.cpp.

void idSaveGame::WriteContactInfo ( const contactInfo_t contactInfo)

Definition at line 676 of file SaveGame.cpp.

void idSaveGame::WriteDict ( const idDict dict)

Definition at line 357 of file SaveGame.cpp.

void idSaveGame::WriteFloat ( const float  value)

Definition at line 213 of file SaveGame.cpp.

void idSaveGame::WriteFX ( const idDeclFX fx)

Definition at line 419 of file SaveGame.cpp.

void idSaveGame::WriteInt ( const int  value)

Definition at line 168 of file SaveGame.cpp.

void idSaveGame::WriteJoint ( const jointHandle_t  value)

Definition at line 177 of file SaveGame.cpp.

void idSaveGame::WriteMat3 ( const idMat3 mat)

Definition at line 309 of file SaveGame.cpp.

void idSaveGame::WriteMaterial ( const idMaterial material)

Definition at line 380 of file SaveGame.cpp.

void idSaveGame::WriteModel ( const idRenderModel model)

Definition at line 461 of file SaveGame.cpp.

void idSaveGame::WriteModelDef ( const class idDeclModelDef modelDef)

Definition at line 432 of file SaveGame.cpp.

void idSaveGame::WriteObject ( const idClass obj)

Definition at line 329 of file SaveGame.cpp.

void idSaveGame::WriteObjectList ( void  )

Definition at line 119 of file SaveGame.cpp.

void idSaveGame::WriteParticle ( const idDeclParticle particle)

Definition at line 406 of file SaveGame.cpp.

void idSaveGame::WriteRefSound ( const refSound_t refSound)

Definition at line 600 of file SaveGame.cpp.

void idSaveGame::WriteRenderEntity ( const renderEntity_t renderEntity)

Definition at line 497 of file SaveGame.cpp.

void idSaveGame::WriteRenderLight ( const renderLight_t renderLight)

Definition at line 555 of file SaveGame.cpp.

void idSaveGame::WriteRenderView ( const renderView_t view)

Definition at line 625 of file SaveGame.cpp.

void idSaveGame::WriteShort ( const short  value)

Definition at line 186 of file SaveGame.cpp.

void idSaveGame::WriteSignedChar ( const signed char  value)

Definition at line 204 of file SaveGame.cpp.

void idSaveGame::WriteSkin ( const idDeclSkin skin)

Definition at line 393 of file SaveGame.cpp.

void idSaveGame::WriteSoundCommands ( void  )

Definition at line 758 of file SaveGame.cpp.

void idSaveGame::WriteSoundShader ( const idSoundShader shader)

Definition at line 445 of file SaveGame.cpp.

void idSaveGame::WriteStaticObject ( const idClass obj)

Definition at line 348 of file SaveGame.cpp.

void idSaveGame::WriteString ( const char *  string)

Definition at line 231 of file SaveGame.cpp.

void idSaveGame::WriteTrace ( const trace_t trace)

Definition at line 694 of file SaveGame.cpp.

void idSaveGame::WriteTraceModel ( const idTraceModel trace)

Definition at line 706 of file SaveGame.cpp.

void idSaveGame::WriteUsercmd ( const usercmd_t usercmd)

Definition at line 653 of file SaveGame.cpp.

void idSaveGame::WriteUserInterface ( const idUserInterface ui,
bool  unique 
)

Definition at line 477 of file SaveGame.cpp.

void idSaveGame::WriteVec2 ( const idVec2 vec)

Definition at line 244 of file SaveGame.cpp.

void idSaveGame::WriteVec3 ( const idVec3 vec)

Definition at line 253 of file SaveGame.cpp.

void idSaveGame::WriteVec4 ( const idVec4 vec)

Definition at line 262 of file SaveGame.cpp.

void idSaveGame::WriteVec6 ( const idVec6 vec)

Definition at line 271 of file SaveGame.cpp.

void idSaveGame::WriteWinding ( const idWinding winding)

Definition at line 291 of file SaveGame.cpp.

Member Data Documentation

idFile* idSaveGame::file
private

Definition at line 92 of file SaveGame.h.

idList<const idClass *> idSaveGame::objects
private

Definition at line 94 of file SaveGame.h.


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