Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1190 for code


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
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network3/bin/levels/sample.oxw

    r1185 r1190  
    1010
    1111<!--Ambient colourvalue="1,1,1" /-->
    12 <!--Skybox src="Orxonox/StarSkyBox" /-->
     12<Skybox src="Orxonox/StarSkyBox" />
    1313
    1414<SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf3.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
  • 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.