Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 6, 2010, 1:11:43 PM (15 years ago)
Author:
dafrick
Message:

Made noCaption feature needed for skybox much nice. :D

Location:
code/branches/skybox2/src/libraries/core
Files:
2 edited

Legend:

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

    r6772 r6858  
    7878
    7979    SetCommandLineArgument(settingsFile, "orxonox.ini").information("THE configuration file");
    80     SetCommandLineSwitch(noGametypeCaptions).information("Use this if you don't want to use Gametype captions.");
    8180
    8281#ifdef ORXONOX_PLATFORM_WINDOWS
     
    150149        this->setConfigValues();
    151150
    152         // no captions in gametype.
    153         if(CommandLineParser::getValue("noGametypeCaptions").getBool())
    154         {
    155             ModifyConfigValue(bGametypeCaptions_, tset, false);
    156         }
    157 
    158151        // create persistent io console
    159152        this->ioConsole_.reset(new IOConsole());
     
    201194            .description("If true, all random actions are different each time you start the game")
    202195            .callback(this, &Core::initRandomNumberGenerator);
    203         SetConfigValue(bGametypeCaptions_, true)
    204             .description("Set to false if you don't want to use Gametype captions.");
    205196    }
    206197
  • code/branches/skybox2/src/libraries/core/Core.h

    r6772 r6858  
    6767            void setConfigValues();
    6868
    69             inline bool hasGametypeCaptions(void)
    70                 { return this->bGametypeCaptions_; }
    71 
    7269            //! Returns the configured language.
    7370            const std::string& getLanguage()
     
    111108            std::string                   language_;                   //!< The language
    112109            bool                          bInitRandomNumberGenerator_; //!< If true, srand(time(0)) is called
    113             bool                          bGametypeCaptions_;
    114110
    115111            static Core*                  singletonPtr_s;
Note: See TracChangeset for help on using the changeset viewer.