Changeset 2435 for code/branches/presentation/src/network
- Timestamp:
- Dec 14, 2008, 1:42:17 AM (16 years ago)
- Location:
- code/branches/presentation/src/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/network/NetworkPrereqs.h
r2415 r2435 59 59 // Includes 60 60 //----------------------------------------------------------------------- 61 #include "util/ Math.h"61 #include "util/Integers.h" 62 62 63 //----------------------------------------------------------------------- 64 // Library global contants 65 //----------------------------------------------------------------------- 66 namespace orxonox 67 { 68 static const unsigned int GAMESTATEID_INITIAL = (unsigned int)-1; 69 static const unsigned int CLIENTID_UNKNOWN = (unsigned int)-2; 70 static const uint32_t OBJECTID_UNKNOWN = (uint32_t)(-1); 71 } 63 72 64 73 //----------------------------------------------------------------------- … … 67 76 namespace orxonox 68 77 { 69 70 // Constants definition71 72 static const unsigned int GAMESTATEID_INITIAL = (unsigned int)-1;73 static const unsigned int CLIENTID_UNKNOWN = (unsigned int)-2;74 static const uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1);75 76 77 78 79 78 class Client; 80 79 class ClientConnection; … … 102 101 class obj; 103 102 class objInfo; 104 namespace packet{ 103 104 namespace packet 105 { 105 106 class Gamestate; 106 107 class Packet; -
code/branches/presentation/src/network/packet/Gamestate.cc
r2419 r2435 355 355 uint32_t objectOffset; 356 356 unsigned int objectsize, destsize=0; 357 Synchronisable *object; 357 // TODO: Why is this variable not used? 358 //Synchronisable *object; 358 359 359 360 //call TrafficControl
Note: See TracChangeset
for help on using the changeset viewer.