Changeset 7801 for code/trunk/src/libraries/network/NetworkPrereqs.h
- Timestamp:
- Dec 22, 2010, 7:24:24 PM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/network/NetworkPrereqs.h
r7490 r7801 64 64 namespace orxonox 65 65 { 66 static const unsigned int GAMESTATEID_INITIAL = static_cast<unsigned int>(-1);67 static const unsigned int CLIENTID_UNKNOWN = static_cast<unsigned int>(-2);66 static const unsigned int GAMESTATEID_INITIAL = static_cast<unsigned int>(-1); 67 static const unsigned int CLIENTID_UNKNOWN = static_cast<unsigned int>(-2); 68 68 extern const char* LAN_DISCOVERY_MESSAGE; 69 69 extern const char* LAN_DISCOVERY_ACK; 70 static const unsigned int LAN_DISCOVERY_PORT = 55557; 70 static const unsigned int LAN_DISCOVERY_PORT = 55558; 71 static const unsigned int NETWORK_PEER_ID_SERVER = 0; 72 static const unsigned int NETWORK_CHANNEL_DEFAULT = 0; 73 static const unsigned int NETWORK_CHANNEL_UNRELIABLE = 1; 74 static const unsigned int NETWORK_CHANNEL_COUNT = 2; 71 75 } 72 76 … … 83 87 enum Value 84 88 { 85 Reliable = 1,86 Unsequence = 2,87 NoAllocate = 489 Reliable = 1, 90 Unsequenced = 2, 91 NoAllocate = 4 88 92 }; 89 93 } … … 97 101 // from ENet 98 102 struct _ENetPeer; 99 typedef _ENetPeer ENetPeer;103 typedef _ENetPeer ENetPeer; 100 104 struct _ENetPacket; 101 typedef _ENetPacket ENetPacket;105 typedef _ENetPacket ENetPacket; 102 106 struct _ENetEvent; 103 typedef _ENetEvent ENetEvent;107 typedef _ENetEvent ENetEvent; 104 108 struct _ENetHost; 105 typedef _ENetHost ENetHost;109 typedef _ENetHost ENetHost; 106 110 struct _ENetAddress; 107 typedef _ENetAddress ENetAddress; 111 typedef _ENetAddress ENetAddress; 112 typedef uint8_t ENetChannelID; 108 113 109 114 namespace orxonox … … 161 166 } 162 167 168 namespace boost 169 { 170 class mutex; 171 class thread; 172 } 173 163 174 #endif /* _NetworkPrereqs_H__ */
Note: See TracChangeset
for help on using the changeset viewer.