- Timestamp:
- May 15, 2008, 4:55:05 PM (17 years ago)
- Location:
- code/branches/hud3
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud3/bin/levels/sample.oxw
r1279 r1290 11 11 <!--Ambient colourvalue="1,1,1" /--> 12 12 <Skybox src="Orxonox/StarSkyBox" /> 13 <SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf 3.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />13 <SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" /> 14 14 15 15 <NPC position="0,100,400" scale="1" mesh="razor.mesh"/> -
code/branches/hud3/src/orxonox/console/InGameConsole.cc
r1263 r1290 43 43 #include "core/InputManager.h" 44 44 #include "GraphicsEngine.h" 45 // just for testing purposes 46 //#include "SpaceShip.h" 45 47 46 48 #define LINES 20 … … 82 84 83 85 void InGameConsole::execute(){ 86 /*// just for testing purposes 87 if(consoleOverlayTextAreas[0]->getCaption() == ">") 88 consoleOverlayTextAreas[0]->setCaption(SpaceShip::instance_s->getPosition().x 89 + "__" + SpaceShip::instance_s->getPosition().y 90 + "__" + SpaceShip::instance_s->getPosition().z);*/ 84 91 newline(); 85 92 if (!CommandExecutor::execute(this->ib_->get())){ -
code/branches/hud3/src/orxonox/hud/RadarOverlayElement.cc
r1286 r1290 101 101 } 102 102 103 void RadarOverlayElement::setMainShipPosition(int dirX, dirY, dirZ, ortX, ortY,ortZ){103 void RadarOverlayElement::setMainShipPosition(int dirX, int dirY, int dirZ, int ortX, int ortY, int ortZ){ 104 104 dirX_=dirX; 105 105 dirY_=dirY; -
code/branches/hud3/src/orxonox/hud/RadarOverlayElement.cc~
r1286 r1290 101 101 } 102 102 103 void setMainShipPosition(int dirX, dirY, dirZ, ortX, ortY, ortZ){103 void RadarOverlayElement::setMainShipPosition(int dirX, dirY, dirZ, ortX, ortY, ortZ){ 104 104 dirX_=dirX; 105 105 dirY_=dirY; -
code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h
r1286 r1290 54 54 bool right_; //checks whether the object is on the right side (since cos is not bijective) 55 55 56 static int ID = 0;56 //static int ID = 0; 57 57 58 58 public: … … 63 63 64 64 void initRadarOverlayElement(Real left, Real top, int dim, Ogre::OverlayContainer* container); 65 void setMainShipPosition(int dirX, dirY, dirZ, ortX, ortY,ortZ);65 void setMainShipPosition(int dirX, int dirY, int dirZ, int ortX, int ortY, int ortZ); 66 66 67 67 int newShip(int X, int Y, int Z); -
code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h~
r1286 r1290 54 54 bool right_; //checks whether the object is on the right side (since cos is not bijective) 55 55 56 static int ID;56 //static int ID = 0; 57 57 58 58 public:
Note: See TracChangeset
for help on using the changeset viewer.