- 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
This commit is contained in:
Johannes Schickel 2006-01-27 15:43:23 +00:00
parent 901645cb0f
commit 5051b080a2
32 changed files with 3868 additions and 627 deletions

View file

@ -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<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);