- Timestamp:
- Dec 17, 2010, 10:41:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network5/src/libraries/network/NetworkPrereqs.h
r7759 r7772 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; 71 static const unsigned int NETWORK_PEER_ID_SERVER = 0; 70 static const unsigned int LAN_DISCOVERY_PORT = 55557; 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_RELIABLE = 1; 72 74 } 73 75 … … 98 100 // from ENet 99 101 struct _ENetPeer; 100 typedef _ENetPeer ENetPeer;102 typedef _ENetPeer ENetPeer; 101 103 struct _ENetPacket; 102 typedef _ENetPacket ENetPacket;104 typedef _ENetPacket ENetPacket; 103 105 struct _ENetEvent; 104 typedef _ENetEvent ENetEvent;106 typedef _ENetEvent ENetEvent; 105 107 struct _ENetHost; 106 typedef _ENetHost ENetHost;108 typedef _ENetHost ENetHost; 107 109 struct _ENetAddress; 108 typedef _ENetAddress ENetAddress; 110 typedef _ENetAddress ENetAddress; 111 typedef uint8_t ENetChannelID; 109 112 110 113 namespace orxonox … … 162 165 } 163 166 167 namespace boost 168 { 169 class mutex; 170 class thread; 171 } 172 164 173 #endif /* _NetworkPrereqs_H__ */
Note: See TracChangeset
for help on using the changeset viewer.