Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2007, 8:59:31 PM (16 years ago)
Author:
nicolasc
Message:

added engineglow particle effect - based of treibwerk
other various changes

File:
1 edited

Legend:

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

    r436 r592  
    22// C++ Interface: PacketTypes
    33//
    4 // Description: 
     4// Description:
    55//
    66//
     
    2525
    2626
    27 /**
    28  * This struct defines a gamestate:
    29  * size: total size of the data in *data
    30  * data: pointer to the data allocated in the memory
    31  */
     27  /**
     28   * This struct defines a gamestate:
     29   * size: total size of the data in *data
     30   * data: pointer to the data allocated in the memory
     31   */
    3232  struct GameState{
    3333    int id;
    34     int size;
     34    int size;                       //!< total size of data
    3535    // new ---- change functions
    3636    bool diffed;
    37     unsigned char *data;
     37    unsigned char *data;            //!< pointer to data
    3838  };
    3939
    40 /**
    41  * this struct defines a gamestate:
     40  /**
     41   * this struct defines a gamestate:
    4242   * compsize is the size of the compressed data
    4343   * normsize is the size of the uncompressed data
    4444   * data are the gamestates
    45  */
     45   */
    4646  struct GameStateCompressed{
    47     int id; 
    48     int compsize;
    49     int normsize;
     47    int id;
     48    int compsize;                   //!< size of compressed data
     49    int normsize;                   //!< size of uncompressed data
    5050    // new ----- change functions
    5151    bool diffed;
    52     unsigned char *data;
     52    unsigned char *data;            //!< gamestate data
    5353  };
    5454
     
    5959    const char *message;
    6060  };
    61  
    62  
     61
     62
    6363  struct ack {
    6464    int id;
Note: See TracChangeset for help on using the changeset viewer.