diff options
author | Max Horn | 2005-04-23 13:52:27 +0000 |
---|---|---|
committer | Max Horn | 2005-04-23 13:52:27 +0000 |
commit | 8fddaada1dd6dad2302eb153892257d2020883fc (patch) | |
tree | 48f22984e2df39ad352d3306a591bff053e4df3e /common/util.h | |
parent | e70c98fa22c193dd5077a21729771aa440edd106 (diff) | |
download | scummvm-rg350-8fddaada1dd6dad2302eb153892257d2020883fc.tar.gz scummvm-rg350-8fddaada1dd6dad2302eb153892257d2020883fc.tar.bz2 scummvm-rg350-8fddaada1dd6dad2302eb153892257d2020883fc.zip |
Simplified debuglevel handling:
- it's only honored in the global level of the config file
- all checks for it go through gDebugLevel now, which is made global
- the '-d' switch is handled in a slightly saner and consistent way
- removed 'debuglevel' from the config format documentation; we do
not want to encourage the avarage user to use it
svn-id: r17769
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h index 5800023dfb..3f10d5434c 100644 --- a/common/util.h +++ b/common/util.h @@ -201,5 +201,7 @@ void CDECL debug(int level, const char *s, ...); void CDECL debug(const char *s, ...); void checkHeap(); +extern int gDebugLevel; + #endif |