From 5051b080a2cfefef81907be0324e229f284ae355 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 27 Jan 2006 15:43:23 +0000 Subject: - adds the new gui renderer also a new implementation for the classic gui - adds a ImageMan and ImageDec class for loading and managing image files - adds a loader for zip files which is used by the new theme and the image manager - changes the widgets to use the new gui code - changes the scumm dialogs to use the new gui code - fixes a #include problem in the sky debugger with the new gui code To use the new gui copy gui/themes/default-theme.zip to your extrapath. If the theme zip can not be found the gui will fallback to the classic theme. If you want to change the gui styles use "gui_theme=classic" for the classic theme and "gui_theme=default-theme" for the new theme. Thanks to eriktorbjorn for testing and help with the new theme and to sev for reviewing this patch. svn-id: r20227 --- sky/debug.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sky') diff --git a/sky/debug.cpp b/sky/debug.cpp index d16a66c55a..e7ac7c66e6 100644 --- a/sky/debug.cpp +++ b/sky/debug.cpp @@ -21,6 +21,8 @@ #include "common/stdafx.h" #include "common/util.h" +#include "common/debugger.cpp" + #include "sky/debug.h" #include "sky/grid.h" #include "sky/logic.h" @@ -30,8 +32,6 @@ #include "sky/struc.h" #include "sky/compact.h" -#include "common/debugger.cpp" - namespace Sky { static const char *section_0_compacts[] = { @@ -1278,7 +1278,7 @@ void Debug::mcode(uint32 mcode, uint32 a, uint32 b, uint32 c) { Debugger::Debugger(Logic *logic, Mouse *mouse, Screen *screen, SkyCompact *skyCompact) -: _logic(logic), _mouse(mouse), _screen(screen), _skyCompact(skyCompact), _showGrid(false) { +: Common::Debugger(), _logic(logic), _mouse(mouse), _screen(screen), _skyCompact(skyCompact), _showGrid(false) { DCmd_Register("exit", &Debugger::Cmd_Exit); DCmd_Register("help", &Debugger::Cmd_Help); DCmd_Register("info", &Debugger::Cmd_Info); -- cgit v1.2.3