Changeset 871 for code/trunk/src/network
- Timestamp:
- Mar 9, 2008, 4:44:36 PM (17 years ago)
- Location:
- code/trunk/src/network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/GameStateClient.cc
r790 r871 82 82 // bad luck ;) 83 83 // delete the synchronisable (obviously seems to be deleted on the server) 84 while(it != 0&& it->objectID!=sync.objectID){84 while(it && it->objectID!=sync.objectID){ 85 85 removeObject(it); 86 86 } -
code/trunk/src/network/GameStateManager.cc
r790 r871 109 109 int offset=0; 110 110 // go through all Synchronisables 111 for(it = orxonox::ObjectList<Synchronisable>::start(); it != 0; ++it){111 for(it = orxonox::ObjectList<Synchronisable>::start(); it; ++it){ 112 112 //std::cout << "gamestatemanager: in for loop" << std::endl; 113 113 //get size of the synchronisable -
code/trunk/src/network/Synchronisable.cc
r790 r871 14 14 15 15 #include "Synchronisable.h" 16 #include "core/CoreIncludes.h" 16 17 17 18 namespace network -
code/trunk/src/network/Synchronisable.h
r790 r871 2 2 // C++ Interface: synchronisable 3 3 // 4 // Description: 4 // Description: 5 5 // 6 6 // … … 16 16 17 17 #include "NetworkPrereqs.h" 18 #include "core/ CoreIncludes.h"18 #include "core/OrxonoxClass.h" 19 19 20 20 namespace network … … 47 47 public: 48 48 49 virtual ~Synchronisable();49 virtual ~Synchronisable(); 50 50 int objectID; 51 51 int classID; … … 66 66 int datasize; 67 67 }; 68 69 }70 71 namespace orxonox72 {73 template class _NetworkExport ClassIdentifier<network::Synchronisable>;74 template class _NetworkExport ObjectList<network::Synchronisable>;75 68 } 76 69
Note: See TracChangeset
for help on using the changeset viewer.