aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-02-05 22:20:46 +0000
committerMartin Kiewitz2010-02-05 22:20:46 +0000
commit71fb77a5aa9b3e64f535ff06d58f1a31f6778d49 (patch)
tree5d2cd40697cbb650ed182b43441fc228cac9b4fe /engines/sci/engine
parent9b5363c0e4ea8b37c4c94c1a2fa2e28d23858d1f (diff)
downloadscummvm-rg350-71fb77a5aa9b3e64f535ff06d58f1a31f6778d49.tar.gz
scummvm-rg350-71fb77a5aa9b3e64f535ff06d58f1a31f6778d49.tar.bz2
scummvm-rg350-71fb77a5aa9b3e64f535ff06d58f1a31f6778d49.zip
SCI: priority band specific stuff now gets called directly w/o SciGui
svn-id: r47916
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index e48abd0cc6..4e250a46ed 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -296,7 +296,7 @@ reg_t kGraph(EngineState *s, int argc, reg_t *argv) {
case K_GRAPH_ADJUST_PRIORITY:
// Seems to be only implemented for SCI0/SCI01 games
debugC(2, kDebugLevelGraphics, "adjust_priority(%d, %d)", argv[1].toUint16(), argv[2].toUint16());
- s->_gui->graphAdjustPriority(argv[1].toUint16(), argv[2].toUint16());
+ s->_gfxPorts->kernelGraphAdjustPriority(argv[1].toUint16(), argv[2].toUint16());
break;
case K_GRAPH_SAVE_UPSCALEDHIRES_BOX:
@@ -372,17 +372,17 @@ reg_t kCoordPri(EngineState *s, int argc, reg_t *argv) {
int16 y = argv[0].toSint16();
if ((argc < 2) || (y != 1)) {
- return make_reg(0, s->_gui->coordinateToPriority(y));
+ return make_reg(0, s->_gfxPorts->kernelCoordinateToPriority(y));
} else {
int16 priority = argv[1].toSint16();
- return make_reg(0, s->_gui->priorityToCoordinate(priority));
+ return make_reg(0, s->_gfxPorts->kernelPriorityToCoordinate(priority));
}
}
reg_t kPriCoord(EngineState *s, int argc, reg_t *argv) {
int16 priority = argv[0].toSint16();
- return make_reg(0, s->_gui->priorityToCoordinate(priority));
+ return make_reg(0, s->_gfxPorts->kernelPriorityToCoordinate(priority));
}
reg_t kDirLoop(EngineState *s, int argc, reg_t *argv) {