updatetrack.h

Go to the documentation of this file.
00001 #include "aatree.h"
00002 #include "message.h"
00003 
00004 typedef struct UpdateTrack_t  UpdateTrack;
00005 
00006 struct UpdateTrack_t {
00007     UpdateTrack *nextDirty;
00008     UpdateTrack *prev;
00009     UpdateTrack *next;
00010     void *data;
00014     send;
00015     Uint32 time;
00020     DESTMAPTYPE dirtyFlags[DESTMAPLEN];
00025     AATreeKeyLevelType key;
00026 };
00027 
00028 AddUpdateTrack
00029 RemoveUpdateTrack
00030 MarkDirty
00031 PurgeDirty
00032 
00033 update steps
00034 - update game state; mark stuff dirty
00035 - create message sets
00036     - new message set for different dirty sets
00037     - different messages for data ???
00038       maybe should combine message formats so any data can be sent in same
00039       send() call.
00040 
00041 Messages could contain data in separate datum parts, each indepednent from each
00042 other. Maybe only for player updates. Maybe ack the data rather than the
00043 messages.
00044 

Generated on Mon May 28 04:41:39 2007 for Retro Tank Super Attack by  doxygen 1.5.2