Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 871 for code/trunk/src/network


Ignore:
Timestamp:
Mar 9, 2008, 4:44:36 PM (17 years ago)
Author:
landauf
Message:

merged core branch to trunk

Location:
code/trunk/src/network
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/network/GameStateClient.cc

    r790 r871  
    8282        // bad luck ;)
    8383        // 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){
    8585          removeObject(it);
    8686        }
  • code/trunk/src/network/GameStateManager.cc

    r790 r871  
    109109    int offset=0;
    110110    // go through all Synchronisables
    111     for(it = orxonox::ObjectList<Synchronisable>::start(); it != 0; ++it){
     111    for(it = orxonox::ObjectList<Synchronisable>::start(); it; ++it){
    112112      //std::cout << "gamestatemanager: in for loop" << std::endl;
    113113      //get size of the synchronisable
  • code/trunk/src/network/Synchronisable.cc

    r790 r871  
    1414
    1515#include "Synchronisable.h"
     16#include "core/CoreIncludes.h"
    1617
    1718namespace network
  • code/trunk/src/network/Synchronisable.h

    r790 r871  
    22// C++ Interface: synchronisable
    33//
    4 // Description: 
     4// Description:
    55//
    66//
     
    1616
    1717#include "NetworkPrereqs.h"
    18 #include "core/CoreIncludes.h"
     18#include "core/OrxonoxClass.h"
    1919
    2020namespace network
     
    4747  public:
    4848
    49     virtual ~Synchronisable();
     49      virtual ~Synchronisable();
    5050    int objectID;
    5151    int classID;
     
    6666    int datasize;
    6767  };
    68 
    69 }
    70 
    71 namespace orxonox
    72 {
    73   template class _NetworkExport ClassIdentifier<network::Synchronisable>;
    74   template class _NetworkExport ObjectList<network::Synchronisable>;
    7568}
    7669
Note: See TracChangeset for help on using the changeset viewer.