Changeset 1784 for code/trunk/src/core
- Timestamp:
- Sep 15, 2008, 10:54:25 AM (16 years ago)
- Location:
- code/trunk/src/core
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/ArgumentCompletionListElement.h
r1505 r1784 35 35 #include <list> 36 36 37 #define ACL_MODE_NORMAL 138 #define ACL_MODE_LOWERCASE 239 #define ACL_MODE_DISPLAY 440 37 41 38 namespace orxonox 42 39 { 40 const int ACL_MODE_NORMAL = 1; 41 const int ACL_MODE_LOWERCASE = 2; 42 const int ACL_MODE_DISPLAY = 4; 43 43 44 typedef std::list<ArgumentCompletionListElement> ArgumentCompletionList; 44 45 -
code/trunk/src/core/CommandExecutor.cc
r1747 r1784 30 30 #include "ConsoleCommand.h" 31 31 #include "util/String.h" 32 #include "util/Convert.h"33 32 #include "util/Debug.h" 34 33 #include "Identifier.h" -
code/trunk/src/core/ConfigFileManager.cc
r1747 r1784 34 34 #include "util/String.h" 35 35 36 #define CONFIG_FILE_MAX_LINELENGHT 102437 36 38 37 namespace orxonox 39 38 { 39 const int CONFIG_FILE_MAX_LINELENGHT = 1024; 40 const char* const DEFAULT_CONFIG_FILE = "default.ini"; 41 40 42 SetConsoleCommandShortcutExtern(config).argumentCompleter(0, autocompletion::configvalueclasses()).argumentCompleter(1, autocompletion::configvalues()).argumentCompleter(2, autocompletion::configvalue()); 41 43 SetConsoleCommandShortcutExtern(tconfig).argumentCompleter(0, autocompletion::configvalueclasses()).argumentCompleter(1, autocompletion::configvalues()).argumentCompleter(2, autocompletion::configvalue()); -
code/trunk/src/core/ConfigFileManager.h
r1747 r1784 38 38 39 39 #include "util/Math.h" 40 41 #define DEFAULT_CONFIG_FILE "default.ini"42 40 43 41 namespace orxonox -
code/trunk/src/core/ConfigValueContainer.cc
r1747 r1784 41 41 #include "Identifier.h" 42 42 43 #define MAX_VECTOR_INDEX 255 // to avoid up to 4*10^9 vector entries in the config file after accidentally using a wrong argument44 43 45 44 46 45 namespace orxonox 47 46 { 47 const int MAX_VECTOR_INDEX = 255; // to avoid up to 4*10^9 vector entries in the config file after accidentally using a wrong argument 48 48 49 /** 49 50 @brief Initializes the ConfigValueContainer with defaultvalues. -
code/trunk/src/core/Functor.h
r1747 r1784 36 36 #include "util/Debug.h" 37 37 38 #define MAX_FUNCTOR_ARGUMENTS 539 38 40 39 namespace orxonox 41 40 { 41 const int MAX_FUNCTOR_ARGUMENTS = 5; 42 42 43 enum FunctionType 43 44 { -
code/trunk/src/core/IRC.cc
r1747 r1784 35 35 #include "util/Convert.h" 36 36 37 #define IRC_TCL_THREADID 142142142138 37 39 38 namespace orxonox 40 39 { 40 static const unsigned int IRC_TCL_THREADID = 1421421421; 41 41 42 SetConsoleCommand(IRC, say, true).accessLevel(AccessLevel::User); 42 43 SetConsoleCommand(IRC, msg, false).accessLevel(AccessLevel::User); -
code/trunk/src/core/TclThreadManager.cc
r1747 r1784 43 43 #include "util/Convert.h" 44 44 45 #define TCLTHREADMANAGER_MAX_QUEUE_LENGTH 10046 #define TCLTHREADMANAGER_MAX_CPU_USAGE 0.5047 45 48 46 namespace orxonox 49 47 { 48 const int TCLTHREADMANAGER_MAX_QUEUE_LENGTH = 100; 49 const int TCLTHREADMANAGER_MAX_CPU_USAGE = 0.50; 50 50 51 SetConsoleCommandShortcutAlias(TclThreadManager, execute, "tclexecute").argumentCompleter(0, autocompletion::tclthreads()); 51 52 SetConsoleCommandShortcutAlias(TclThreadManager, query, "tclquery" ).argumentCompleter(0, autocompletion::tclthreads());
Note: See TracChangeset
for help on using the changeset viewer.