Changeset 2937 for code/branches/netp2/src/network
- Timestamp:
- Apr 29, 2009, 4:05:35 PM (16 years ago)
- Location:
- code/branches/netp2/src/network
- Files:
-
- 6 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp2/src/network/CMakeLists.txt
r2748 r2937 25 25 ClientConnectionListener.cc 26 26 ConnectionManager.cc 27 FunctionCallManager.cc 27 28 GamestateManager.cc 28 29 GamestateClient.cc 29 30 GamestateHandler.cc 31 NetworkFunction.cc 32 Host.cc 30 33 PacketBuffer.cc 31 34 Server.cc 32 35 TrafficControl.cc 33 Host.cc34 36 ) 35 37 ADD_SUBDIRECTORY(packet) -
code/branches/netp2/src/network/NetworkPrereqs.h
r2773 r2937 90 90 class ClientInformation; 91 91 class ConnectionManager; 92 class FunctionCallManager; 92 93 class GamestateClient; 93 94 class GamestateManager; … … 96 97 template <class T> class NetworkCallback; 97 98 class NetworkCallbackManager; 99 class NetworkFunctionBase; 100 class NetworkFunctionStatic; 101 class NetworkMemberFunctionBase; 102 template <class T> class NetworkMemeberFunction; 103 struct NetworkFunctionPointer; 98 104 class PacketBuffer; 99 105 class Server; … … 112 118 namespace packet 113 119 { 120 class Acknowledgement; 121 class Chat; 122 class ClassID; 123 class FunctionCalls; 124 class FunctionIDs; 114 125 class Gamestate; 126 class NetworkIDs; 115 127 class Packet; 116 class Acknowledgement;117 class ClassID;118 128 class Welcome; 119 class Chat;120 129 } 121 130 } -
code/branches/netp2/src/network/packet/CMakeLists.txt
r2710 r2937 1 1 ADD_SOURCE_FILES(NETWORK_SRC_FILES 2 2 Packet.cc 3 Acknowledgement.cc 3 4 Chat.cc 4 5 ClassID.cc 5 Acknowledgement.cc 6 DeleteObjects.cc 7 FunctionIDs.cc 8 FunctionCalls.cc 6 9 Gamestate.cc 7 10 Welcome.cc 8 DeleteObjects.cc9 11 ) -
code/branches/netp2/src/network/packet/ClassID.cc
r2773 r2937 93 93 } 94 94 95 COUT( 0) << "classid packetSize is " << packetSize << endl;95 COUT(5) << "classid packetSize is " << packetSize << endl; 96 96 97 97 } -
code/branches/netp2/src/network/packet/Packet.cc
r2773 r2937 153 153 case ENUM::Welcome: 154 154 case ENUM::DeleteObjects: 155 case ENUM::FunctionIDs: 156 case ENUM::FunctionCalls: 155 157 break; 156 158 default: -
code/branches/netp2/src/network/packet/Packet.h
r2836 r2937 45 45 enum Type{ 46 46 Acknowledgement, 47 Chat, 48 ClassID, 49 DeleteObjects, 50 FunctionIDs, 51 FunctionCalls, 47 52 Gamestate, 48 ClassID, 49 Chat, 50 Welcome, 51 DeleteObjects 53 Welcome 52 54 }; 53 55 } … … 78 80 Packet(uint8_t *data, unsigned int clientID); 79 81 // Packet(ENetPacket *packet, ENetPeer *peer); 82 inline bool isDataENetAllocated() const 83 { return bDataENetAllocated_; } 84 80 85 uint32_t flags_; 81 86 unsigned int clientID_; -
code/branches/netp2/src/network/synchronisable/Synchronisable.h
r2836 r2937 122 122 public: 123 123 friend class packet::Gamestate; 124 // friend class Server;125 124 virtual ~Synchronisable(); 126 125
Note: See TracChangeset
for help on using the changeset viewer.