aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2013-01-11 00:42:18 +0200
committerFilippos Karapetis2013-01-11 02:24:17 +0200
commit566eb5d24759eb38f94de0d5ab754689c53526bb (patch)
treef40b572e6bcd8c33c2bf4cc81f82dd6410b9429c /engines
parent182f342a01e607d001dad9f6ab1484d0d37233ac (diff)
downloadscummvm-rg350-566eb5d24759eb38f94de0d5ab754689c53526bb.tar.gz
scummvm-rg350-566eb5d24759eb38f94de0d5ab754689c53526bb.tar.bz2
scummvm-rg350-566eb5d24759eb38f94de0d5ab754689c53526bb.zip
SCI: Add some info on kPalVary(9)/kPalVaryUnknown2
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kgraphics32.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics32.cpp b/engines/sci/engine/kgraphics32.cpp
index 7f831fece1..cd735d1233 100644
--- a/engines/sci/engine/kgraphics32.cpp
+++ b/engines/sci/engine/kgraphics32.cpp
@@ -690,6 +690,12 @@ reg_t kPalVaryUnknown(EngineState *s, int argc, reg_t *argv) {
reg_t kPalVaryUnknown2(EngineState *s, int argc, reg_t *argv) {
// TODO: Unknown (seems to be SCI32 exclusive)
+ // It seems to be related to the day/night palette effects in QFG4, and
+ // accepts a palette resource ID. It is triggered right when the night
+ // effect is initially applied (when exiting the caves).
+ // In QFG4, there are two scene palettes: 790 for night, and 791 for day.
+ // Initially, the game starts at night time, but this is called with the
+ // ID of the day time palette (i.e. 791).
return kStub(s, argc, argv);
}