Skip to content

Commit

Permalink
SCI: Add some info on kPalVary(9)/kPalVaryUnknown2
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Jan 11, 2013
1 parent 182f342 commit 566eb5d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions engines/sci/engine/kgraphics32.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit 566eb5d

Please sign in to comment.