SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is now called directly w/o SciGui

svn-id: r47752
This commit is contained in:
Martin Kiewitz 2010-01-31 16:21:11 +00:00
parent c991a5bceb
commit 72c2d360f7
41 changed files with 172 additions and 208 deletions

View file

@ -46,6 +46,7 @@
#include "sci/graphics/gui32.h"
#include "sci/graphics/cursor.h"
#include "sci/graphics/screen.h"
#include "sci/graphics/palette.h"
#include "sci/parser/vocabulary.h"
@ -1059,7 +1060,7 @@ bool Console::cmdSetPalette(int argc, const char **argv) {
uint16 resourceId = atoi(argv[1]);
_vm->_gamestate->_gui->paletteSet(resourceId, true);
_vm->_gamestate->_gfxPalette->kernelSetFromResource(resourceId, true);
return true;
}
@ -1074,7 +1075,7 @@ bool Console::cmdDrawPic(int argc, const char **argv) {
uint16 resourceId = atoi(argv[1]);
_vm->_gamestate->_gui->drawPicture(resourceId, 100, false, false, false, 0);
_vm->_gamestate->_screen->copyToScreen();
_vm->_gamestate->_gfxScreen->copyToScreen();
return true;
}