1
1
forked from 0ad/0ad
0ad/source/ps/GameRecord.h
olsner 777f06143d - A lot of small network fixes
- Connecting client(s) to a server and giving orders to a shared set of
entities now works - Yeah!
- Removed thread sync from CNetServer

This was SVN commit r1180.
2004-09-21 14:40:43 +00:00

30 lines
460 B
C++
Executable File

#ifndef _ps_GameRecord_H
#define _ps_GameRecord_H
#include "CStr.h"
class CNetMessage;
class CTurnManager;
class CGameRecord
{
bool m_IsRecording;
CTurnManager *m_pTurnManager;
public:
void Load(CStr filename);
void Record(CStr filename);
bool IsRecording();
/*
NOTE: The message will not be deleted by this method. Ownership remains
the caller's.
*/
void WriteMessage(CNetMessage *pMsg);
CTurnManager *GetPlaybackTurnManager();
};
#endif