Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2007, 3:00:01 AM (17 years ago)
Author:
landauf
Message:

added descriptions to the existing config-values

Location:
code/branches/FICN/src/orxonox/objects
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/Fighter.cc

    r697 r706  
    106106    void Fighter::setConfigValues()
    107107    {
    108         SetConfigValue(bInvertMouse_, false);
     108        SetConfigValue(bInvertMouse_, false).description("Set this to true for joystick-like mouse behaviour (mouse up = ship down).");
    109109    }
    110110
  • code/branches/FICN/src/orxonox/objects/Projectile.cc

    r697 r706  
    6565    void Projectile::setConfigValues()
    6666    {
    67         SetConfigValue(lifetime_, 10.0);
    68         SetConfigValue(speed_, 2000.0);
     67        SetConfigValue(lifetime_, 10.0).description("The time in seconds a projectile stays alive");
     68        SetConfigValue(speed_, 2000.0).description("The speed of a projectile in units per second");
    6969    }
    7070
  • code/branches/FICN/src/orxonox/objects/SpaceShip.cc

    r697 r706  
    124124    void SpaceShip::setConfigValues()
    125125    {
    126         SetConfigValue(bInvertYAxis_, false);
    127         SetConfigValue(reloadTime_, 0.125);
     126        SetConfigValue(bInvertYAxis_, false).description("Set this to true for joystick-like mouse behaviour (mouse up = ship down).");
     127        SetConfigValue(reloadTime_, 0.125).description("The reload time of the weapon in seconds");
    128128    }
    129129
Note: See TracChangeset for help on using the changeset viewer.