Changeset 8518 for code/branches/unity_build/src/libraries/core/command
- Timestamp:
- May 20, 2011, 5:24:52 AM (14 years ago)
- Location:
- code/branches/unity_build/src/libraries/core/command
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/src/libraries/core/command/Shell.cc
r8515 r8518 118 118 setConfigValueGeneric(this, &commandHistory_, ConfigFileType::CommandHistory, "Shell", "commandHistory_", std::vector<std::string>()); 119 119 SetConfigValue(cacheSize_s, 32); 120 121 #ifdef ORXONOX_RELEASE122 const unsigned int defaultLevel = 1;123 #else124 const unsigned int defaultLevel = 3;125 #endif126 SetConfigValueExternal(softDebugLevel_, "OutputHandler", "softDebugLevel" + this->consoleName_, defaultLevel)127 .description("The maximal level of debug output shown in the Shell");128 this->setSoftDebugLevel(this->softDebugLevel_);129 120 } 130 121 -
code/branches/unity_build/src/libraries/core/command/Shell.h
r7401 r8518 197 197 unsigned int historyOffset_; ///< The command history is a circular buffer, this variable defines the current write-offset 198 198 std::vector<std::string> commandHistory_; ///< The history of commands that were entered by the user 199 int softDebugLevel_; ///< The maximum level of output that is displayed in the shell (will be passed to OutputListener to filter output)200 199 static unsigned int cacheSize_s; ///< The maximum cache size of the CommandExecutor - this is stored here for better readability of the config file and because CommandExecutor is no OrxonoxClass 201 200 };
Note: See TracChangeset
for help on using the changeset viewer.