Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8316 in orxonox.OLD for trunk/src/world_entities/space_ships


Ignore:
Timestamp:
Jun 11, 2006, 1:57:27 PM (19 years ago)
Author:
bensch
Message:

trunk: fixed most -Wall warnings… but there are still many missing :/

Location:
trunk/src/world_entities/space_ships
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/hover.cc

    r7954 r8316  
    175175  this->getWeaponManager().getFixedTarget()->setParent(&this->cameraNode);
    176176  this->getWeaponManager().getFixedTarget()->setRelCoor(1000,0,0);
    177  
     177
    178178  // NETWORK THINGS
    179  
     179
    180180  registerVar( new SynchronizeableBool( &bForward, &bForward, "bForward", PERMISSION_OWNER ) );
    181181  registerVar( new SynchronizeableBool( &bBackward, &bBackward, "bBackward", PERMISSION_OWNER ) );
     
    184184  registerVar( new SynchronizeableBool( &bAscend, &bAscend, "bAscend", PERMISSION_OWNER ) );
    185185  registerVar( new SynchronizeableBool( &bDescend, &bDescend, "bDescend", PERMISSION_OWNER ) );
    186  
     186
    187187  registerVar( new SynchronizeableFloat( &rotation, &rotation, "rotation", PERMISSION_OWNER ) );
    188188}
     
    262262{
    263263  Vector accel(0.0, 0.0, 0.0);
    264   float rotSpeed = .3;
    265264
    266265  if( this->bForward )
  • trunk/src/world_entities/space_ships/turbine_hover.cc

    r7868 r8316  
    297297{
    298298  Vector accel(0.0, 0.0, 0.0);
    299   float rotSpeed = .3;
    300299
    301300  if( this->bForward )
     
    416415    }
    417416    break;
     417    default:
     418      PRINTF(2)("Playmode %s Not Implemented\n", Playable::playmodeToString(this->getPlaymode()).c_str());
    418419  }
    419420}
Note: See TracChangeset for help on using the changeset viewer.