diff options
author | Torbjörn Andersson | 2003-11-19 18:40:53 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-11-19 18:40:53 +0000 |
commit | 083c3280775a0589763c109bf5241f617cc9df54 (patch) | |
tree | 835f4969f60ecbdfaffe632b1a98a164c3ea19d8 /sword2/debug.cpp | |
parent | 80e335e0c453d52c7e167df485acdeb858eb7c3f (diff) | |
download | scummvm-rg350-083c3280775a0589763c109bf5241f617cc9df54.tar.gz scummvm-rg350-083c3280775a0589763c109bf5241f617cc9df54.tar.bz2 scummvm-rg350-083c3280775a0589763c109bf5241f617cc9df54.zip |
Eliminated some more references to g_sword2. I think the only thing that
still uses it are the engine's global variables which, on the other hand,
are used *everywhere*.
I'll have to think some more about those. I guess I should take a closer
look at how the other engines handle them. (That goes for a lot of things
by the way.)
svn-id: r11349
Diffstat (limited to 'sword2/debug.cpp')
-rw-r--r-- | sword2/debug.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sword2/debug.cpp b/sword2/debug.cpp index f8eb726403..e8351b54ea 100644 --- a/sword2/debug.cpp +++ b/sword2/debug.cpp @@ -343,13 +343,13 @@ void Debugger::printCurrentInfo(void) { // prints general stuff about the screen, etc. if (_vm->_thisScreen.background_layer_id) { - Debug_Printf("background layer id %d\n", _vm->_thisScreen.background_layer_id); - Debug_Printf("%d wide, %d high\n", _vm->_thisScreen.screen_wide, _vm->_thisScreen.screen_deep); - Debug_Printf("%d normal layers\n", _vm->_thisScreen.number_of_layers); + DebugPrintf("background layer id %d\n", _vm->_thisScreen.background_layer_id); + DebugPrintf("%d wide, %d high\n", _vm->_thisScreen.screen_wide, _vm->_thisScreen.screen_deep); + DebugPrintf("%d normal layers\n", _vm->_thisScreen.number_of_layers); _vm->_logic->examineRunList(); } else - Debug_Printf("No screen\n"); + DebugPrintf("No screen\n"); } } // End of namespace Sword2 |