Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

added engineglow particle effect - based of treibwerk
other various changes

Location:
code/branches/FICN/src/network
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/CMakeLists.txt

    r555 r592  
    7171  #objects
    7272  ${ENet_LIBRARY}
    73   ${Zlib_LIBRARY}
     73  ${ZLIB_LIBRARY}
    7474  ${WINDOWS_ENET_DEPENDENCIES}
    7575)
     
    8282  #objects
    8383  ${ENet_LIBRARY}
    84   ${Zlib_LIBRARY}
     84  ${ZLIB_LIBRARY}
    8585  ${WINDOWS_ENET_DEPENDENCIES}
    8686)
  • 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;
  • code/branches/FICN/src/network/Synchronisable.cc

    r573 r592  
    116116  for(i=syncList.begin(); n<datasize && i!=syncList.end(); ++i){
    117117    COUT(2) << "size of variable: " << i->size << std::endl;
     118    COUT(2) << "size of variable: " << i->size << std::endl;
    118119    //COUT(2) << "size of variable: " << i->size << std::endl;
    119120    //(std::memcpy(retVal.data+n, (const void*)(&(i->size)), sizeof(int));
Note: See TracChangeset for help on using the changeset viewer.