Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7729 in orxonox.OLD for trunk/src/lib/gui/gtk_gui/gui_exec.cc


Ignore:
Timestamp:
May 19, 2006, 3:07:09 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: better debug names
As DEBUG and ERROR are already given to windows.h and other files:
DEBUG is renamed to DEBUG_LEVEL
and all
NO, ERR, WARN, INFO, DEBUG, vDEBUG
are renamed to
ORX_NONE, ORX_ERR, ORX_WARN, ORX_INFO, ORX_DEBUG, ORX_vDEBUG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gtk_gui/gui_exec.cc

    r7661 r7729  
    7676#ifdef DEBUG
    7777      verboseMode = new Menu(CONFIG_NAME_VERBOSE_MODE, "nothing",
    78 #if DEBUG >=1
     78#if DEBUG_LEVEL >=1
    7979                             "error",
    8080#endif
    81 #if DEBUG >=2
     81#if DEBUG_LEVEL >=2
    8282                             "warning",
    8383#endif
    84 #if DEBUG >=3
     84#if DEBUG_LEVEL >=3
    8585                             "info",
    8686#endif
    87 #if DEBUG >=4
     87#if DEBUG_LEVEL >=4
    8888                             "debug",
    8989#endif
    90 #if DEBUG >=5
     90#if DEBUG_LEVEL >=5
    9191                             "heavydebug",
    9292#endif
     
    9595      verboseMode->setDescription("Sets the Output Mode", "This Enables Outbug messages\n"
    9696                                  "0: nothing will be displayed, but stuff one cannot do without (eg.GUI)\n"
    97 #if DEBUG >=1
     97#if DEBUG_LEVEL >=1
    9898                                  "1: error: outputs all the above and errors"
    9999#endif
    100 #if DEBUG >=2
     100#if DEBUG_LEVEL >=2
    101101                                  "2: warning: outputs all the above plus warnings"
    102102#endif
    103 #if DEBUG >=3
     103#if DEBUG_LEVEL >=3
    104104                                  "3: info: outputs all the above plus Information"
    105105#endif
    106 #if DEBUG >=4
     106#if DEBUG_LEVEL >=4
    107107                                  "4: debug: displays all the above plus debug information"
    108108#endif
    109 #if DEBUG >=5
     109#if DEBUG_LEVEL >=5
    110110                                  "5: heavydebug: displays all the above plus heavy debug information: WARNING: the game will run very slow with this."
    111111#endif
Note: See TracChangeset for help on using the changeset viewer.