Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2007, 6:23:10 PM (16 years ago)
Author:
scheusso
Message:

errorless

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/GameStateManager.h

    r413 r415  
    2020#include "orxonox/core/IdentifierIncludes.h"
    2121#include "orxonox/core/Iterator.h"
    22 #include "PacketManager.h"
     22#include "PacketTypes.h"
    2323
    2424namespace network {
    2525
    26 /**
    27  * This struct defines a gamestate:
    28  * size: total size of the data in *data
    29  * data: pointer to the data allocated in the memory
    30  */
    31   struct GameState{
    32   int id;
    33   int size;
    34   unsigned char *data;
    35 };
    3626
    37 /**
    38  * this struct defines a gamestate:
    39  * compsize is the size of the compressed data
    40  * normsize is the size of the uncompressed data
    41  * data are the gamestates
    42  */
    43   struct GameStateCompressed{
    44         int id;
    45         int compsize;
    46         int normsize;
    47         unsigned char *data;
    48   };
    4927
    5028/**
Note: See TracChangeset for help on using the changeset viewer.