diff options
Diffstat (limited to 'engines/sci/sci.h')
-rw-r--r-- | engines/sci/sci.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/engines/sci/sci.h b/engines/sci/sci.h index ac2d7288c8..35d2f8d8f1 100644 --- a/engines/sci/sci.h +++ b/engines/sci/sci.h @@ -81,18 +81,14 @@ enum SciGameFlags { ** SCI0 flags */ - /* Applies to all versions before 0.000.395 + /* Applies to all versions before 0.000.395 (i.e. KQ4 old, XMAS 1988 and LSL2) ** Old SCI versions used two word header for script blocks (first word equal ** to 0x82, meaning of the second one unknown). New SCI versions used one ** word header. + ** Also, old SCI versions assign 120 degrees to left & right, and 60 to up + ** and down. Later versions use an even 90 degree distribution. */ - GF_OLDSCRIPTHEADER = (1 << 0), - - /* Applies to all versions before 0.000.395 - ** Earlier versions assign 120 degrees to left & right , and 60 to up and down. - ** Later versions use an even 90 degree distribution. - */ - GF_OLDANGLES = (1 << 1), + GF_SCI0_OLD = (1 << 0), /* Applies to all versions before 0.000.502 ** Old SCI versions used to interpret the third DrawPic() parameter inversely, @@ -100,12 +96,12 @@ enum SciGameFlags { ** Also, they used 15 priority zones from 42 to 200 instead of 14 priority ** zones from 42 to 190. */ - GF_OLDGFXFUNCTIONS = (1 << 2), + GF_SCI0_OLDGFXFUNCS = (1 << 1), /* Applies to all versions before 0.000.629 ** Older SCI versions had simpler code for GetTime() */ - GF_OLDGETTIME = (1 << 3), + GF_SCI0_OLDGETTIME = (1 << 2), // ---------------------------------------------------------------------------- @@ -117,12 +113,12 @@ enum SciGameFlags { ** In later SCI1 versions, the argument of lofs[as] ** instructions is absolute rather than relative. */ - GF_LOFSABSOLUTE = (1 << 4), + GF_LOFSABSOLUTE = (1 << 3), /* Applies to all versions from 1.000.510 onwards ** kDoSound() is different than in earlier SCI1 versions. */ - GF_NEWDOSOUND = (1 << 5) + GF_NEWDOSOUND = (1 << 4) }; class SciEngine : public Engine { |