Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 706


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

added descriptions to the existing config-values

Location:
code/branches/FICN/src/orxonox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/DebugLevel.cc

    r699 r706  
    5252    void DebugLevel::setConfigValues()
    5353    {
    54         SetConfigValue(softDebugLevelConsole_, 3);
    55         SetConfigValue(softDebugLevelLogfile_, 3);
    56         SetConfigValue(softDebugLevelShell_, 1);
     54        SetConfigValue(softDebugLevelConsole_, 3).description("The maximal level of debug output shown in the console");
     55        SetConfigValue(softDebugLevelLogfile_, 3).description("The maximal level of debug output shown in the logfile");
     56        SetConfigValue(softDebugLevelShell_, 1).description("The maximal level of debug output shown in the ingame shell");
    5757
    5858        // softDebugLevel_ is the maximum of the 3 variables
  • 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.