Changeset 1190 for code/branches/network3
- Timestamp:
- Apr 26, 2008, 1:25:11 PM (17 years ago)
- Location:
- code/branches/network3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network3/bin/levels/sample.oxw
r1185 r1190 10 10 11 11 <!--Ambient colourvalue="1,1,1" /--> 12 < !--Skybox src="Orxonox/StarSkyBox" /-->12 <Skybox src="Orxonox/StarSkyBox" /> 13 13 14 14 <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 70 70 } 71 71 72 void Skybox::setSkyboxSrc( std::stringsrc){72 void Skybox::setSkyboxSrc(const std::string& src){ 73 73 skyboxSrc_ = src; 74 74 } … … 84 84 BaseObject::XMLPort(xmlelement, mode); 85 85 86 XMLPortParamLoadOnly(Skybox, "src", setSkybox , xmlelement, mode);86 XMLPortParamLoadOnly(Skybox, "src", setSkyboxSrc, xmlelement, mode); 87 87 create(); 88 88 } -
code/branches/network3/src/orxonox/objects/Skybox.h
r1174 r1190 49 49 bool create(); 50 50 void registerAllVariables(); 51 void setSkyboxSrc( std::stringsrc);51 void setSkyboxSrc(const std::string &src); 52 52 53 53 private:
Note: See TracChangeset
for help on using the changeset viewer.