Changeset 1747 for code/trunk/src/network/packet/Gamestate.h
- Timestamp:
- Sep 9, 2008, 4:25:52 AM (17 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core3 (added) merged: 1573-1574,1583-1586,1591-1594,1596-1597,1603,1606-1607,1610-1611,1655,1658,1676-1679,1681-1685,1687,1716-1723,1725-1729,1736
- Property svn:mergeinfo changed
-
code/trunk/src/network/packet/Gamestate.h
r1735 r1747 38 38 39 39 namespace packet { 40 40 41 41 struct GamestateHeader{ 42 42 ENUM::Type packetType; … … 51 51 52 52 /** 53 @author 53 @author 54 54 */ 55 55 class Gamestate: public Packet{ … … 57 57 Gamestate(); 58 58 Gamestate(unsigned char *data, int clientID); 59 59 60 60 ~Gamestate(); 61 61 62 62 bool collectData(int id, int mode=0x0); 63 63 bool spreadData(int mode=0x0); … … 69 69 bool compressData(); 70 70 bool decompressData(); 71 71 72 72 // Packet functions 73 73 virtual unsigned int getSize() const; 74 74 virtual bool process(); 75 75 76 76 77 77 private: 78 78 unsigned int calcGamestateSize(int mode=0x0); 79 void removeObject(orxonox:: Iterator<Synchronisable> &it);79 void removeObject(orxonox::ObjectListIterator<Synchronisable> &it); 80 80 81 81 82 82 //Bytestream *bs_; 83 83 //GamestateHeader *header_;
Note: See TracChangeset
for help on using the changeset viewer.