Changeset 1463 for code/branches
- Timestamp:
- May 28, 2008, 10:29:58 PM (16 years ago)
- Location:
- code/branches/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/bin/levels/sample.oxw
r1406 r1463 15 15 <Model position="0,2000,0" scale="10" mesh="tomato.mesh" yawpitchroll="-50,60,0" rotationAxis="1,0,0" rotationRate="-30"/> 16 16 <Model position="0,0,2000" scale="10" mesh="tomato.mesh" yawpitchroll="-50,-30,0" rotationAxis="1,0,0" rotationRate="-30"/> 17 <Model position="10000,16000,0" scale="100" mesh="DuBall1.mesh"/> 18 <Model position="11400,16000,0" scale="60" mesh="DuBall2.mesh"/> 17 19 <NPC position="0,100,400" scale="1" mesh="razor.mesh"/> 18 20 <NPC position="0,100,400" scale="1" mesh="razor.mesh"/> -
code/branches/network/src/orxonox/hud/HUD.cc
r1461 r1463 129 129 node = sm->getRootSceneNode()->createChildSceneNode("tomato3", Vector3(0.0, 0.0, 2000.0)); 130 130 addRadarObject(node); 131 node = sm->getRootSceneNode()->createChildSceneNode("station", Vector3(10000.0,16000.0,0.0)); 132 addRadarObject(node, 3); 131 133 } 132 134 -
code/branches/network/src/orxonox/hud/RadarOverlayElement.cc
r1456 r1463 90 90 // set size to fit distance... 91 91 float d = ((*it)->getPosition()-shipPos_).length(); 92 if(d<4000) (*it)->panel_->setDimensions(4,4); 93 else if(d<8000) (*it)->panel_->setDimensions(3,3); 94 else if(d<16000) (*it)->panel_->setDimensions(2,2); 95 else (*it)->panel_->setDimensions(1,1); 92 if(d<10000) (*it)->panel_->setDimensions(4,4); 93 else if(d<20000) (*it)->panel_->setDimensions(3,3); 94 else (*it)->panel_->setDimensions(2,2); 96 95 97 96 if (right){
Note: See TracChangeset
for help on using the changeset viewer.