aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorColin Snover2016-03-20 09:33:13 -0500
committerColin Snover2016-03-20 09:33:13 -0500
commiteec95957bf499b5e7d7bea46c1ca112b533a2bfa (patch)
tree9d60720ac575efb56f5f154542191341af37d2c6 /engines
parentf4e5c6d2deb7d369c8ca3942cee48fd99a4ce54d (diff)
downloadscummvm-rg350-eec95957bf499b5e7d7bea46c1ca112b533a2bfa.tar.gz
scummvm-rg350-eec95957bf499b5e7d7bea46c1ca112b533a2bfa.tar.bz2
scummvm-rg350-eec95957bf499b5e7d7bea46c1ca112b533a2bfa.zip
SCI32: Clean up outdated/wrong comments
Diffstat (limited to 'engines')
-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;
}