Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 2, 2008, 12:09:55 AM (16 years ago)
Author:
rgrieder
Message:

Finally managed to have a master InputState which enables:

  • Console always opens
  • Debug overlay toggles visibility in gui mode too

Had to change several other code:

  • ConfigFileManager uses special class instead of enum for ConfigFileType
  • You can add an arbitrary config file and get the ConfigFileType
  • ConfigFileManager is an Ogre singleton too. Created in Main.cc
  • CommandLineArgument "optionsFile" specifies another file for command line arguments
  • CommandLineArgument "settingsFile" declares the file used for settings (orxonox.ini)
  • changed all fileNames to filenames
  • "Loaded config file blah" now uses COUT(3) instead of COUT(0)
  • fixed a bug in ConfigFileManager::load() that cause orxonox.ini to double its size after every call
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/util/Exception.cc

    r1810 r2101  
    3838{
    3939    Exception::Exception(const std::string& description, int lineNumber,
    40                          const char* fileName, const char* functionName)
     40                         const char* filename, const char* functionName)
    4141        : description_(description)
    4242        , lineNumber_(lineNumber)
    4343        , functionName_(functionName)
    44         , fileName_(fileName)
     44        , filename_(filename)
    4545    { }
    4646
     
    4949        , lineNumber_(0)
    5050        , functionName_("")
    51         , fileName_("")
     51        , filename_("")
    5252    { }
    5353
     
    6060            fullDesc << this->getTypeName() << "_EXCEPTION";
    6161
    62             if (this->fileName_ != "")
     62            if (this->filename_ != "")
    6363            {
    64                 fullDesc << " in " << this->fileName_;
     64                fullDesc << " in " << this->filename_;
    6565                if (this->lineNumber_)
    6666                    fullDesc << "(" << this->lineNumber_ << ")";
Note: See TracChangeset for help on using the changeset viewer.