Advanced Strategic Command
Public Member Functions | Public Attributes | List of all members
GameMap::ReplayInfo Class Reference

#include <gamemap.h>

Public Member Functions

 ReplayInfo (void)
 
void read (tnstream &stream)
 
void write (tnstream &stream)
 
void closeLogging ()
 Close the replay logging at the end of a players or the ai's turn. More...
 
 ~ReplayInfo ()
 

Public Attributes

MemoryStreamStorageguidata [8]
 
MemoryStreamStoragemap [8]
 
MemoryStreamactmemstream
 
int stopRecordingActions
 if stopRecordingActions > 0 then no actions will be recorded. More...
 

Detailed Description

Definition at line 370 of file gamemap.h.

Constructor & Destructor Documentation

GameMap::ReplayInfo::ReplayInfo ( void  )

Definition at line 2172 of file gamemap.cpp.

References actmemstream, guidata, map, and stopRecordingActions.

GameMap::ReplayInfo::~ReplayInfo ( )

Definition at line 2240 of file gamemap.cpp.

Member Function Documentation

void GameMap::ReplayInfo::closeLogging ( )

Close the replay logging at the end of a players or the ai's turn.

Definition at line 2232 of file gamemap.cpp.

Referenced by GameMap::endTurn().

void GameMap::ReplayInfo::read ( tnstream stream)
void GameMap::ReplayInfo::write ( tnstream stream)

Definition at line 2212 of file gamemap.cpp.

References tnstream::writeInt().

Referenced by tsavegameloaders::savegame(), and tnetworkloaders::savenwgame().

Member Data Documentation

MemoryStream* GameMap::ReplayInfo::actmemstream
MemoryStreamStorage* GameMap::ReplayInfo::guidata[8]
MemoryStreamStorage* GameMap::ReplayInfo::map[8]
int GameMap::ReplayInfo::stopRecordingActions

if stopRecordingActions > 0 then no actions will be recorded.

See Also
LockReplayRecording

Definition at line 379 of file gamemap.h.

Referenced by LockReplayRecording::LockReplayRecording(), ReplayInfo(), LogActionIntoReplayInfo::saveCommand(), and LockReplayRecording::~LockReplayRecording().


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