Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/network/GameStateClient.h @ 883

Last change on this file since 883 was 790, checked in by nicolasc, 17 years ago

merged FICN back into trunk
awaiting release.

File size: 820 bytes
RevLine 
[416]1//
2// C++ Interface: GameStateClient
3//
[732]4// Description:
[416]5//
6//
7// Author:  <>, (C) 2007
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
[673]12#ifndef _GameStateClient_H__
13#define _GameStateClient_H__
[416]14
[777]15#include "NetworkPrereqs.h"
[416]16#include "GameStateManager.h"
17
[777]18namespace network
19{
20  class GameStateClient
21  {
22  public:
23    GameStateClient();
24    ~GameStateClient();
25    bool pushGameState(GameStateCompressed *compstate);
26  private:
27    bool loadSnapshot(GameState state);
28    GameState diff(GameState a, GameState b);
29    GameState decompress(GameStateCompressed a);
30    GameState decode(GameState a, GameStateCompressed x);
31    GameState decode(GameStateCompressed x);
32    void removeObject(orxonox::Iterator<Synchronisable> &it);
[416]33
[777]34    GameState reference;
35  };
[732]36
[416]37}
38
[673]39#endif /* _GameStateClient_H__ */
Note: See TracBrowser for help on using the repository browser.