Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 30, 2011, 9:31:02 PM (13 years ago)
Author:
rgrieder
Message:

Renamed PathConfig::isDevelopmentRun() to PathConfig::buildDirectoryRun() because that fits better and there is no confusion with Core::inDevMode().
Also used isDevelopmentRun() as default value for Core::inDevMode() instead of ORXONOX_RELEASE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/Core.cc

    r8351 r8366  
    9898        , lastLevelTimestamp_(0)
    9999        , ogreConfigTimestamp_(0)
     100        , bDevMode_(false)
    100101    {
    101102        // Set the hard coded fixed paths
     
    212213#ifdef ORXONOX_RELEASE
    213214        const unsigned int defaultLevelLogFile = 3;
    214         SetConfigValue(bDevMode_, false)
    215             .description("Developer mode. If not set, hides some things from the user to not confuse him.");
    216215#else
    217216        const unsigned int defaultLevelLogFile = 4;
    218         SetConfigValue(bDevMode_, true)
    219             .description("Developer mode. If not set, hides some things from the user to not confuse him.");
    220217#endif
    221218        SetConfigValueExternal(softDebugLevelLogFile_, "OutputHandler", "softDebugLevelLogFile", defaultLevelLogFile)
     
    223220        OutputHandler::getInstance().setSoftDebugLevel(OutputHandler::logFileOutputListenerName_s, this->softDebugLevelLogFile_);
    224221
     222        SetConfigValue(bDevMode_, PathConfig::buildDirectoryRun())
     223            .description("Developer mode. If not set, hides some things from the user to not confuse him.");
    225224        SetConfigValue(language_, Language::getInstance().defaultLanguage_)
    226225            .description("The language of the in game text")
Note: See TracChangeset for help on using the changeset viewer.