Changeset 505 for code/branches/FICN/src/network
- Timestamp:
- Dec 12, 2007, 11:28:38 PM (17 years ago)
- Location:
- code/branches/FICN/src/network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/ConnectionManager.cc
r496 r505 140 140 break; 141 141 case ENET_EVENT_TYPE_RECEIVE: 142 std::cout << "received data" << std::endl;142 //std::cout << "received data" << std::endl; 143 143 processData(&event); 144 144 break; -
code/branches/FICN/src/network/GameStateClient.cc
r436 r505 59 59 removeObject(it); 60 60 } 61 if(it==0){ // add the new object 62 // =================== factory command to add object 63 // can we be sure the object really was added? 61 if(it==0){ 62 orxonox::BaseObject *no = ID(sync.classID)->fabricate(); 63 ((Synchronisable *)no)->objectID=sync.objectID; 64 ((Synchronisable *)no)->classID=sync.classID; 64 65 it=orxonox::ObjectList<Synchronisable>::end(); 65 it->objectID=sync.objectID;66 it->classID=sync.classID;67 66 } 68 67 } else { … … 72 71 << sync.objectID << "; classID: " << sync.classID << std::endl; 73 72 } 74 73 ++it; 75 74 } 76 75 -
code/branches/FICN/src/network/GameStateClient.h
r496 r505 16 16 #include "Synchronisable.h" 17 17 #include "orxonox/core/CoreIncludes.h" 18 #include "orxonox/objects/BaseObject.h" 18 19 #include "GameStateManager.h" 19 20 -
code/branches/FICN/src/network/TODO
r439 r505 8 8 - integrate ClientInformation into gamestatemanager [done] 9 9 10 - write dummyserver and dummyclient (chat system) 10 - write dummyserver and dummyclient (chat system) [done] 11 12 - include GameStateClient into Client and write processGamestate (also packetdecoder (virtual)) 13 - create object with worldentity ..... 14 15 - try and error ;)
Note: See TracChangeset
for help on using the changeset viewer.