Changeset 9158 in orxonox.OLD for branches/presentation/src
- Timestamp:
- Jul 4, 2006, 5:34:16 PM (19 years ago)
- Location:
- branches/presentation/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/WorldEntities.am
r9131 r9158 29 29 world_entities/weapons/hyperblaster.cc \ 30 30 world_entities/weapons/aim.cc \ 31 world_entities/weapons/aiming_system.cc \ 31 32 world_entities/weapons/fps_sniper_rifle.cc \ 32 33 \ … … 95 96 weapons/targeting_turret.h \ 96 97 weapons/aim.h \ 98 weapons/aiming_system.h \ 97 99 weapons/fps_sniper_rifle.h \ 98 100 \ -
branches/presentation/src/world_entities/creatures/fps_player.cc
r9151 r9158 230 230 State::getCameraTargetNode()->setRelCoor(10, box->halfLength[1] * f, 0); 231 231 232 State::getCameraNode()->setParentMode(PNODE_ROTATE_AND_MOVE); 233 234 232 235 this->getWeaponManager().setSlotPosition(0, Vector(1.5, box->halfLength[1] * f - 0.7, 1.1)); 233 236 this->getWeaponManager().setSlotPosition(1, Vector(5.0, box->halfLength[1] * f, 0.0)); … … 253 256 attitude-= yMouse; 254 257 255 if ( attitude > 2.05 ) 256 attitude = 2.05; 257 258 else if ( attitude < -1.15 ) 259 attitude = -1.15; 258 PRINTF(0)("attitude: %f\n", attitude); 259 260 if ( attitude > 0.32 ) 261 attitude = 0.32; 262 263 else if ( attitude < -2.1 ) 264 attitude = -2.1; 260 265 261 266 xMouse = yMouse = 0; … … 405 410 } 406 411 412 407 413 void FPSPlayer::respawn( ) 408 414 {
Note: See TracChangeset
for help on using the changeset viewer.