GameMap::ReplayInfo Class Reference

#include <gamemap.h>

List of all members.

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.
 ~ReplayInfo ()

Public Attributes

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


Detailed Description

Definition at line 360 of file gamemap.h.


Constructor & Destructor Documentation

GameMap::ReplayInfo::ReplayInfo ( void   ) 

Definition at line 2161 of file gamemap.cpp.

References actmemstream, guidata, map, and stopRecordingActions.

GameMap::ReplayInfo::~ReplayInfo (  ) 

Definition at line 2229 of file gamemap.cpp.

References actmemstream, guidata, and map.


Member Function Documentation

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

Definition at line 2171 of file gamemap.cpp.

References actmemstream, guidata, loadmap(), map, MemoryStreamStorage::readfromstream(), and tnstream::readInt().

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

Definition at line 2201 of file gamemap.cpp.

References actmemstream, guidata, map, and tnstream::writeInt().

void GameMap::ReplayInfo::closeLogging (  ) 

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

Definition at line 2221 of file gamemap.cpp.

References actmemstream.

Referenced by GameMap::endTurn().


Member Data Documentation

MemoryStreamStorage* GameMap::ReplayInfo::guidata[8]

Definition at line 364 of file gamemap.h.

Referenced by GameMap::getMemoryFootprint(), read(), ReplayInfo(), write(), and ~ReplayInfo().

MemoryStreamStorage* GameMap::ReplayInfo::map[8]

Definition at line 365 of file gamemap.h.

Referenced by GameMap::getMemoryFootprint(), read(), ReplayInfo(), write(), and ~ReplayInfo().

MemoryStream* GameMap::ReplayInfo::actmemstream

Definition at line 366 of file gamemap.h.

Referenced by closeLogging(), read(), ReplayInfo(), write(), and ~ReplayInfo().

int GameMap::ReplayInfo::stopRecordingActions

if stopRecordingActions > 0 then no actions will be recorded.

See also:
LockReplayRecording

Definition at line 369 of file gamemap.h.

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


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:46:46 2012 for Advanced Strategic Command by  doxygen 1.5.1