aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics32.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/sci/engine/kgraphics32.cpp b/engines/sci/engine/kgraphics32.cpp
index 1fd5ce9da6..7850a10006 100644
--- a/engines/sci/engine/kgraphics32.cpp
+++ b/engines/sci/engine/kgraphics32.cpp
@@ -592,7 +592,6 @@ reg_t kBitmapDrawView(EngineState *s, int argc, reg_t *argv) {
reg_t kBitmapDrawText(EngineState *s, int argc, reg_t *argv) {
// called e.g. from TextButton::createBitmap() in Torin's Passage, script 64894
- // bitmap, text, textLeft, textTop, textRight, textBottom, foreColor, backColor, skipColor, fontNo, alignment, borderColor, dimmed
BitmapResource bitmap(argv[0]);
Common::String text = s->_segMan->getString(argv[1]);
Common::Rect textRect(
@@ -627,8 +626,6 @@ reg_t kBitmapDrawText(EngineState *s, int argc, reg_t *argv) {
}
reg_t kBitmapDrawColor(EngineState *s, int argc, reg_t *argv) {
- // bitmap, left, top, right, bottom, color
-
// called e.g. from TextView::init() and TextView::draw() in Torin's Passage, script 64890
BitmapResource bitmap(argv[0]);
@@ -805,10 +802,6 @@ reg_t kPalVarySetVary(EngineState *s, int argc, reg_t *argv) {
reg_t kPalVarySetPercent(EngineState *s, int argc, reg_t *argv) {
int time = argc > 0 ? argv[0].toSint16() * 60 : 0;
int16 percent = argc > 1 ? argv[1].toSint16() : 0;
-
- // TODO: GK1 adds a third optional parameter here, at the end of chapter 1
- // (during the sunset/sunrise sequence, the parameter is 1)
-
g_sci->_gfxPalette32->setVaryPercent(percent, time, -1, -1);
return s->r_acc;
}