Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 12, 2018, 4:10:00 PM (6 years ago)
Author:
varyo
Message:

added 2nd multiplayer test map (Basically Last Team Standing, but all asteroids removed), fixed first one(removed comments in lua file, seemed to have messed with SpawnPoints), added few comments in Gamestate.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Masterserver_FS18/src/libraries/network/packet/Gamestate.cc

    r11083 r11858  
    102102}
    103103
    104 
     104//AV: This takes all synchronisables and packs it in a GameState, to be sent over the network
    105105bool Gamestate::collectData(int id, uint8_t mode)
    106106{
     
    173173}
    174174
    175 
     175//AV: This takes the Gamestate received from the network and "unpacks" it back to a list of Objects/Synchronisables, thus updating the data
    176176bool Gamestate::spreadData(uint8_t mode)
    177177{
     
    276276}
    277277
    278 
     278//AV: This function takes the Gamestate and compresses it for transmission over the network
    279279bool Gamestate::compressData()
    280280{
     
    313313}
    314314
    315 
     315//AV: This function takes the compressed Gamestate received from the network and decompresses it for further unpacking
    316316bool Gamestate::decompressData()
    317317{
Note: See TracChangeset for help on using the changeset viewer.