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
idRestoreGame Class Reference

#include <SaveGame.h>

Public Member Functions

 idRestoreGame (idFile *savefile)
 
 ~idRestoreGame ()
 
void CreateObjects (void)
 
void RestoreObjects (void)
 
void DeleteObjects (void)
 
void Error (const char *fmt,...) id_attribute((format(printf
 
void void Read (void *buffer, int len)
 
void ReadInt (int &value)
 
void ReadJoint (jointHandle_t &value)
 
void ReadShort (short &value)
 
void ReadByte (byte &value)
 
void ReadSignedChar (signed char &value)
 
void ReadFloat (float &value)
 
void ReadBool (bool &value)
 
void ReadString (idStr &string)
 
void ReadVec2 (idVec2 &vec)
 
void ReadVec3 (idVec3 &vec)
 
void ReadVec4 (idVec4 &vec)
 
void ReadVec6 (idVec6 &vec)
 
void ReadWinding (idWinding &winding)
 
void ReadBounds (idBounds &bounds)
 
void ReadMat3 (idMat3 &mat)
 
void ReadAngles (idAngles &angles)
 
void ReadObject (idClass *&obj)
 
void ReadStaticObject (idClass &obj)
 
void ReadDict (idDict *dict)
 
void ReadMaterial (const idMaterial *&material)
 
void ReadSkin (const idDeclSkin *&skin)
 
void ReadParticle (const idDeclParticle *&particle)
 
void ReadFX (const idDeclFX *&fx)
 
void ReadSoundShader (const idSoundShader *&shader)
 
void ReadModelDef (const idDeclModelDef *&modelDef)
 
void ReadModel (idRenderModel *&model)
 
void ReadUserInterface (idUserInterface *&ui)
 
void ReadRenderEntity (renderEntity_t &renderEntity)
 
void ReadRenderLight (renderLight_t &renderLight)
 
void ReadRefSound (refSound_t &refSound)
 
void ReadRenderView (renderView_t &view)
 
void ReadUsercmd (usercmd_t &usercmd)
 
void ReadContactInfo (contactInfo_t &contactInfo)
 
void ReadTrace (trace_t &trace)
 
void ReadTraceModel (idTraceModel &trace)
 
void ReadClipModel (idClipModel *&clipModel)
 
void ReadSoundCommands (void)
 
void ReadBuildNumber (void)
 
int GetBuildNumber (void)
 

Private Member Functions

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

Private Attributes

int buildNumber
 
idFilefile
 
idList< idClass * > objects
 

Detailed Description

Definition at line 99 of file SaveGame.h.

Constructor & Destructor Documentation

idRestoreGame::idRestoreGame ( idFile savefile)

Definition at line 782 of file SaveGame.cpp.

idRestoreGame::~idRestoreGame ( )

Definition at line 791 of file SaveGame.cpp.

Member Function Documentation

void idRestoreGame::CallRestore_r ( const idTypeInfo cls,
idClass obj 
)
private

Definition at line 896 of file SaveGame.cpp.

void idRestoreGame::CreateObjects ( void  )

Definition at line 799 of file SaveGame.cpp.

void idRestoreGame::DeleteObjects ( void  )

Definition at line 865 of file SaveGame.cpp.

void idRestoreGame::Error ( const char *  fmt,
  ... 
)

Definition at line 878 of file SaveGame.cpp.

int idRestoreGame::GetBuildNumber ( void  )

Definition at line 1555 of file SaveGame.cpp.

void idRestoreGame::Read ( void buffer,
int  len 
)

Definition at line 913 of file SaveGame.cpp.

void idRestoreGame::ReadAngles ( idAngles angles)

Definition at line 1073 of file SaveGame.cpp.

void idRestoreGame::ReadBool ( bool value)

Definition at line 976 of file SaveGame.cpp.

void idRestoreGame::ReadBounds ( idBounds bounds)

Definition at line 1038 of file SaveGame.cpp.

void idRestoreGame::ReadBuildNumber ( void  )

Definition at line 1546 of file SaveGame.cpp.

void idRestoreGame::ReadByte ( byte value)

Definition at line 949 of file SaveGame.cpp.

void idRestoreGame::ReadClipModel ( idClipModel *&  clipModel)

Definition at line 1519 of file SaveGame.cpp.

void idRestoreGame::ReadContactInfo ( contactInfo_t contactInfo)

Definition at line 1452 of file SaveGame.cpp.

void idRestoreGame::ReadDict ( idDict dict)

Definition at line 1107 of file SaveGame.cpp.

void idRestoreGame::ReadFloat ( float value)

Definition at line 967 of file SaveGame.cpp.

void idRestoreGame::ReadFX ( const idDeclFX *&  fx)

Definition at line 1180 of file SaveGame.cpp.

void idRestoreGame::ReadInt ( int value)

Definition at line 922 of file SaveGame.cpp.

void idRestoreGame::ReadJoint ( jointHandle_t value)

Definition at line 931 of file SaveGame.cpp.

void idRestoreGame::ReadMat3 ( idMat3 mat)

Definition at line 1064 of file SaveGame.cpp.

void idRestoreGame::ReadMaterial ( const idMaterial *&  material)

Definition at line 1132 of file SaveGame.cpp.

void idRestoreGame::ReadModel ( idRenderModel *&  model)

Definition at line 1228 of file SaveGame.cpp.

void idRestoreGame::ReadModelDef ( const idDeclModelDef *&  modelDef)

Definition at line 1212 of file SaveGame.cpp.

void idRestoreGame::ReadObject ( idClass *&  obj)

Definition at line 1083 of file SaveGame.cpp.

void idRestoreGame::ReadParticle ( const idDeclParticle *&  particle)

Definition at line 1164 of file SaveGame.cpp.

void idRestoreGame::ReadRefSound ( refSound_t refSound)

Definition at line 1377 of file SaveGame.cpp.

void idRestoreGame::ReadRenderEntity ( renderEntity_t renderEntity)

Definition at line 1269 of file SaveGame.cpp.

void idRestoreGame::ReadRenderLight ( renderLight_t renderLight)

Definition at line 1333 of file SaveGame.cpp.

void idRestoreGame::ReadRenderView ( renderView_t view)

Definition at line 1401 of file SaveGame.cpp.

void idRestoreGame::ReadShort ( short &  value)

Definition at line 940 of file SaveGame.cpp.

void idRestoreGame::ReadSignedChar ( signed char &  value)

Definition at line 958 of file SaveGame.cpp.

void idRestoreGame::ReadSkin ( const idDeclSkin *&  skin)

Definition at line 1148 of file SaveGame.cpp.

void idRestoreGame::ReadSoundCommands ( void  )

Definition at line 1536 of file SaveGame.cpp.

void idRestoreGame::ReadSoundShader ( const idSoundShader *&  shader)

Definition at line 1196 of file SaveGame.cpp.

void idRestoreGame::ReadStaticObject ( idClass obj)

Definition at line 1098 of file SaveGame.cpp.

void idRestoreGame::ReadString ( idStr string)

Definition at line 985 of file SaveGame.cpp.

void idRestoreGame::ReadTrace ( trace_t trace)

Definition at line 1470 of file SaveGame.cpp.

void idRestoreGame::ReadTraceModel ( idTraceModel trace)

Definition at line 1482 of file SaveGame.cpp.

void idRestoreGame::ReadUsercmd ( usercmd_t usercmd)

Definition at line 1429 of file SaveGame.cpp.

void idRestoreGame::ReadUserInterface ( idUserInterface *&  ui)

Definition at line 1244 of file SaveGame.cpp.

void idRestoreGame::ReadVec2 ( idVec2 vec)

Definition at line 1002 of file SaveGame.cpp.

void idRestoreGame::ReadVec3 ( idVec3 vec)

Definition at line 1011 of file SaveGame.cpp.

void idRestoreGame::ReadVec4 ( idVec4 vec)

Definition at line 1020 of file SaveGame.cpp.

void idRestoreGame::ReadVec6 ( idVec6 vec)

Definition at line 1029 of file SaveGame.cpp.

void idRestoreGame::ReadWinding ( idWinding winding)

Definition at line 1048 of file SaveGame.cpp.

void idRestoreGame::RestoreObjects ( void  )

Definition at line 829 of file SaveGame.cpp.

Member Data Documentation

int idRestoreGame::buildNumber
private

Definition at line 155 of file SaveGame.h.

idFile* idRestoreGame::file
private

Definition at line 157 of file SaveGame.h.

idList<idClass *> idRestoreGame::objects
private

Definition at line 159 of file SaveGame.h.


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