Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2007, 11:06:13 PM (16 years ago)
Author:
scheusso
Message:

added GameStateManager class:

  • gets snapshots of the universe (gamestate) and returns them
  • processes snapshots and loads them to the universe

modified Synchronisable

  • added a function getData(usigned char *data), which puts the data to

the already given pointer (more efficient memory handling for the
GameState class)

  • added a function getSize(), which tells you the total size of the

current gamestate (so that you can allocate enough memory and give it to
getData

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/Makefile.tardis

    r237 r247  
    2828PacketDecoder.o: PacketDecoder.cc
    2929        ${CC} -c PacketDecoder.cc -o PacketDecoder.o -g ${INC}
     30Synchronisable.o: Synchronisable.cc
     31        ${CC} -c Synchronisable.cc -g ${INC}
     32GameStateManager.o: GameStateManager.cc
     33        ${CC} -c GameStateManager.cc -g ${INC}
    3034
    3135clean:
Note: See TracChangeset for help on using the changeset viewer.