#include <game-server.h>
Inheritance diagram for TGameServer:
Public Methods | |
TGameServer (const string &gameDir, const string &gameName) | |
virtual | ~TGameServer () |
bool | backupGameFiles () const |
void | executeActions () |
void | incrementTurn () |
bool | loadPlayerOrderFiles () |
bool | savePlayerDataFiles () const |
Protected Methods | |
virtual void | PDBLoadOrders (TDataPackageList *block) |
Private Methods | |
void | addStandardActions () |
FIXME
|
Sets the directory and the name of the game. Also this starts the action sequencer (TGameSC::fActionSequencer) in non-executing mode.
|
|
Does nothing at the moment. FIXME: perhaps it should reset TUniverse & TRuleSystem??? |
|
Generates a backup copy of all important files.
|
|
This will generate additional actions (e.g. for fleet movement etc.) and will then start executing all actions. |
|
Increments the turn number by one. |
|
Loads the order files from all players.
|
|
Loads the game name and the turn number and checks for consistency with the currently loaded game.
Reimplemented from TGame. |
|
Saves the player data files to disk.
|