Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8462 in orxonox.OLD for branches/network/src/world_entities


Ignore:
Timestamp:
Jun 15, 2006, 2:15:35 PM (18 years ago)
Author:
rennerc
Message:

added syncvars for turbinehover

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/world_entities/space_ships/turbine_hover.cc

    r7868 r8462  
    209209  this->getWeaponManager().getFixedTarget()->setParent(&this->cameraNode);
    210210  this->getWeaponManager().getFixedTarget()->setRelCoor(1000,0,0);
     211 
     212  registerVar( new SynchronizeableBool( &bForward, &bForward, "bForward", PERMISSION_OWNER ) );
     213  registerVar( new SynchronizeableBool( &bBackward, &bBackward, "bBackward", PERMISSION_OWNER ) );
     214  registerVar( new SynchronizeableBool( &bLeft, &bLeft, "bLeft", PERMISSION_OWNER ) );
     215  registerVar( new SynchronizeableBool( &bRight, &bRight, "bRight", PERMISSION_OWNER ) );
     216  registerVar( new SynchronizeableBool( &bAscend, &bAscend, "bAscend", PERMISSION_OWNER ) );
     217  registerVar( new SynchronizeableBool( &bDescend, &bDescend, "bDescend", PERMISSION_OWNER ) );
     218  registerVar( new SynchronizeableQuaternion( &direction, &direction, "direction", PERMISSION_OWNER ) );
    211219}
    212220
Note: See TracChangeset for help on using the changeset viewer.