diff options
author | Jordi Vilalta Prat | 2010-06-07 17:14:42 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2010-06-07 17:14:42 +0000 |
commit | 0e95d8a5faee7f674665067505635a9d31cc174b (patch) | |
tree | 42c2cc0e9e3eb6237ffe2514fcb6b1011f3dc614 /engines/groovie/debug.cpp | |
parent | 2c950b321c3354144debd6a7f5e7d19cbc6c3a32 (diff) | |
download | scummvm-rg350-0e95d8a5faee7f674665067505635a9d31cc174b.tar.gz scummvm-rg350-0e95d8a5faee7f674665067505635a9d31cc174b.tar.bz2 scummvm-rg350-0e95d8a5faee7f674665067505635a9d31cc174b.zip |
Groovie:
- Rewritten T7G's font code to subclass Graphics::Font and make it cleaner.
- Use theme fonts for the Mac version of T7G (which used ugly system fonts
originally). With this the Mac version should be completable.
- Cleanup include interdependencies.
svn-id: r49487
Diffstat (limited to 'engines/groovie/debug.cpp')
-rw-r--r-- | engines/groovie/debug.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/groovie/debug.cpp b/engines/groovie/debug.cpp index 41ebb2fbcd..7055965917 100644 --- a/engines/groovie/debug.cpp +++ b/engines/groovie/debug.cpp @@ -24,15 +24,17 @@ */ #include "groovie/debug.h" +#include "groovie/graphics.h" #include "groovie/groovie.h" #include "groovie/script.h" #include "common/debug-channels.h" +#include "common/system.h" namespace Groovie { Debugger::Debugger(GroovieEngine *vm) : - _vm (vm), _script(_vm->_script), _syst(_vm->_system) { + _vm(vm), _script(_vm->_script) { // Register the debugger comands DCmd_Register("step", WRAP_METHOD(Debugger, cmd_step)); @@ -136,7 +138,7 @@ bool Debugger::cmd_playref(int argc, const char **argv) { bool Debugger::cmd_dumppal(int argc, const char **argv) { uint16 i; byte palettedump[256 * 4]; - _syst->grabPalette(palettedump, 0, 256); + _vm->_system->grabPalette(palettedump, 0, 256); for (i = 0; i < 256; i++) { DebugPrintf("%3d: %3d,%3d,%3d,%3d\n", i, palettedump[(i * 4)], palettedump[(i * 4) + 1], palettedump[(i * 4) + 2], palettedump[(i * 4) + 3]); |