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.h

    r1810 r2101  
    6767
    6868        Exception(const std::string& description, int lineNumber,
    69                   const char* fileName, const char* functionName);
     69                  const char* filename, const char* functionName);
    7070        Exception(const std::string& description);
    7171
     
    8787        int lineNumber_;
    8888        std::string functionName_;
    89         std::string fileName_;
     89        std::string filename_;
    9090        // mutable because "what()" is a const method
    9191        mutable std::string fullDescription_;
     
    9898    public:
    9999        SpecificException(const std::string& description, int lineNumber,
    100                   const char* fileName, const char* functionName)
    101                   : Exception(description, lineNumber, fileName, functionName)
     100                  const char* filename, const char* functionName)
     101                  : Exception(description, lineNumber, filename, functionName)
    102102        {
    103103            // let the catcher decide whether to display the message below level 4
Note: See TracChangeset for help on using the changeset viewer.