Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 15, 2008, 10:54:25 AM (16 years ago)
Author:
rgrieder
Message:
  • removed obsolete Convert.h includes (possibly from old XML loading)
  • replaced tabs in audio library, plus minor code cleanup because removing the tabs screwed layout
  • replaced all "#define name number" with "const Type name = number" if possible
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/TclThreadManager.cc

    r1747 r1784  
    4343#include "util/Convert.h"
    4444
    45 #define TCLTHREADMANAGER_MAX_QUEUE_LENGTH 100
    46 #define TCLTHREADMANAGER_MAX_CPU_USAGE 0.50
    4745
    4846namespace orxonox
    4947{
     48    const int TCLTHREADMANAGER_MAX_QUEUE_LENGTH = 100;
     49    const int TCLTHREADMANAGER_MAX_CPU_USAGE    = 0.50;
     50
    5051    SetConsoleCommandShortcutAlias(TclThreadManager, execute, "tclexecute").argumentCompleter(0, autocompletion::tclthreads());
    5152    SetConsoleCommandShortcutAlias(TclThreadManager, query,   "tclquery"  ).argumentCompleter(0, autocompletion::tclthreads());
Note: See TracChangeset for help on using the changeset viewer.