Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 567 for code/branches/FICN/src


Ignore:
Timestamp:
Dec 17, 2007, 11:16:50 AM (17 years ago)
Author:
scheusso
Message:

some minor changes/enhancements in GameStateClient

Location:
code/branches/FICN/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/GameStateClient.cc

    r514 r567  
    9191        ((Synchronisable *)no)->classID=sync.classID;
    9292        it=orxonox::ObjectList<Synchronisable>::end();
     93        // update data and create object/entity...
     94        if( !(((Synchronisable *)no)->updateData(sync)) && !(((Synchronisable *)no)->create()) )
     95          COUT(0) << "We couldn't create/update the object: " << sync.objectID << std::endl;
     96        ++it;
    9397      }
    9498    } else {
  • code/branches/FICN/src/orxonox/objects/BaseEntity.cc

    r566 r567  
    4242   
    4343   void BaseEntity::registerAllVariables(){
     44     WorldEntity::registerAllVariables();
    4445     registerVar(&name_, name_.length()+1, network::STRING);
    4546     registerVar(&mesh_, mesh_.length()+1, network::STRING);
  • code/branches/FICN/src/orxonox/objects/WorldEntity.cc

    r565 r567  
    7676   
    7777    void WorldEntity::registerAllVariables(){
    78      
     78      // to be implemented !
    7979     
    8080    }
  • code/branches/FICN/src/orxonox/objects/WorldEntity.h

    r565 r567  
    101101          { return this->node_->getOrientation(); }
    102102     
     103    protected:
     104      void registerAllVariables();
     105     
    103106    private:
    104       void registerAllVariables();
    105107      Ogre::SceneNode* node_;
    106108      static unsigned int worldEntityCounter_s;
Note: See TracChangeset for help on using the changeset viewer.