- Timestamp:
- May 22, 2008, 5:39:19 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/bin/levels/sample.oxw
r1376 r1388 12 12 <Skybox src="Orxonox/Starbox" /> 13 13 <SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="0,0,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" /> 14 <Model position=" 1500,0,100" scale="10" mesh="tomato.mesh" yawpitchroll="-40,30,0" rotationAxis="1,0,0" rotationRate="-30"/>14 <Model position="2000,1000,1000" scale="10" mesh="tomato.mesh" yawpitchroll="-40,30,0" rotationAxis="1,0,0" rotationRate="-30"/> 15 15 <Model position="0,4200,0" scale="10" mesh="tomato.mesh" yawpitchroll="-50,60,0" rotationAxis="1,0,0" rotationRate="-30"/> 16 16 <Model position="0,0,6800" scale="10" mesh="tomato.mesh" yawpitchroll="-50,-30,0" rotationAxis="1,0,0" rotationRate="-30"/> -
code/trunk/src/orxonox/hud/HUD.cc
r1387 r1388 67 67 test->setCaption("init"); 68 68 69 // test269 // creating text to display fps 70 70 fpsText = static_cast<TextAreaOverlayElement*>(om->createOverlayElement("TextArea", "fpsText")); 71 71 fpsText->show(); … … 102 102 speedoBar->init(0.01, 0.90, 0.4, container); 103 103 radar->init(0.5, 0.9, 0.2, container); 104 radar->addObject(Vector3( 1500.0, 0.0, 100.0));104 radar->addObject(Vector3(2000.0, 1000.0, 1000.0)); 105 105 radar->addObject(Vector3(0.0, 4000.0, 0.0)); 106 106 radar->addObject(Vector3(0.0, 0.0, 6800.0)); … … 137 137 } 138 138 139 /*static*/void HUD::setEnergy(float value){ 140 HUD::getSingleton().energyBar->setValue(value); 141 } 142 139 143 /*static*/void HUD::cycleRadarFocus(){ 140 144 HUD::getSingleton().radar->cycleFocus(); -
code/trunk/src/orxonox/hud/HUD.h
r1387 r1388 64 64 static HUD& getSingleton(); 65 65 static void setFPS(float fps); 66 static void setEnergy(float value); 66 67 static void cycleRadarFocus(); 67 68 };
Note: See TracChangeset
for help on using the changeset viewer.