Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 26, 2008, 1:25:11 PM (17 years ago)
Author:
scheusso
Message:

skybox is now also synchronisable and works on client

Location:
code/branches/network3/src/orxonox/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network3/src/orxonox/objects/Skybox.cc

    r1174 r1190  
    7070   }
    7171
    72    void Skybox::setSkyboxSrc(std::string src){
     72   void Skybox::setSkyboxSrc(const std::string& src){
    7373     skyboxSrc_ = src;
    7474   }
     
    8484        BaseObject::XMLPort(xmlelement, mode);
    8585
    86         XMLPortParamLoadOnly(Skybox, "src", setSkybox, xmlelement, mode);
     86        XMLPortParamLoadOnly(Skybox, "src", setSkyboxSrc, xmlelement, mode);
    8787        create();
    8888    }
  • code/branches/network3/src/orxonox/objects/Skybox.h

    r1174 r1190  
    4949            bool create();
    5050            void registerAllVariables();
    51             void setSkyboxSrc(std::string src);
     51            void setSkyboxSrc(const std::string &src);
    5252
    5353        private:
Note: See TracChangeset for help on using the changeset viewer.