diff options
author | Kari Salminen | 2007-08-01 18:14:10 +0000 |
---|---|---|
committer | Kari Salminen | 2007-08-01 18:14:10 +0000 |
commit | 8e5fb44fcb00a78b47734e2edb11b2ae0c561adb (patch) | |
tree | 35cfc1021094c762da27fede18006cc5f7bc2f2a | |
parent | e5bd393a8939bd8464cfd65e6ee0fe6c0fd05462 (diff) | |
download | scummvm-rg350-8e5fb44fcb00a78b47734e2edb11b2ae0c561adb.tar.gz scummvm-rg350-8e5fb44fcb00a78b47734e2edb11b2ae0c561adb.tar.bz2 scummvm-rg350-8e5fb44fcb00a78b47734e2edb11b2ae0c561adb.zip |
Added data for the Atari ST AGI palette and Apple IIGS AGI palettes V1 and V2.
svn-id: r28387
-rw-r--r-- | engines/agi/graphics.cpp | 67 |
1 files changed, 66 insertions, 1 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index 3e39fc07ea..b9e8971e13 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -68,7 +68,69 @@ uint8 egaPalette[16 * 3] = { }; /** - * First generation Amiga AGI palette. + * Atari ST AGI palette. + * Used by all of the tested Atari ST AGI games + * from Donald Duck's Playground (1986) to Manhunter II (1989). + * 16 RGB colors. 3 bits per color component. + */ +uint8 atariStAgiPalette[16 * 3] = { + 0x0, 0x0, 0x0, + 0x0, 0x0, 0x7, + 0x0, 0x4, 0x0, + 0x0, 0x5, 0x4, + 0x5, 0x0, 0x0, + 0x5, 0x3, 0x6, + 0x4, 0x3, 0x0, + 0x5, 0x5, 0x5, + 0x3, 0x3, 0x2, + 0x0, 0x5, 0x7, + 0x0, 0x6, 0x0, + 0x0, 0x7, 0x6, + 0x7, 0x2, 0x3, + 0x7, 0x4, 0x7, + 0x7, 0x7, 0x4, + 0x7, 0x7, 0x7 +}; + +/** + * Second generation Apple IIGS AGI palette. + * A 16-color, 12-bit RGB palette. + * + * Used by at least the following Apple IIGS AGI versions: + * 1.003 (Leisure Suit Larry I v1.0E, intro says 1987) + * 1.005 (AGI Demo 2 1987-06-30?) + * 1.006 (King's Quest I v1.0S 1988-02-23) + * 1.007 (Police Quest I v2.0B 1988-04-21 8:00am) + * 1.013 (King's Quest II v2.0A 1988-06-16 (CE)) + * 1.013 (Mixed-Up Mother Goose v2.0A 1988-05-31 10:00am) + * 1.014 (King's Quest III v2.0A 1988-08-28 (CE)) + * 1.014 (Space Quest II v2.0A, LOGIC.141 says 1988) + * 2.004 (Manhunter I v2.0E 1988-10-05 (CE)) + * 2.006 (King's Quest IV v1.0K 1988-11-22 (CE)) + * 3.001 (Black Cauldron v1.0O 1989-02-24 (CE)) + * 3.003 (Gold Rush! v1.0M 1989-02-28 (CE)) + */ +uint8 appleIIgsAgiPaletteV2[16 * 3] = { + 0x0, 0x0, 0x0, + 0x0, 0x0, 0xF, + 0x0, 0x8, 0x0, + 0x0, 0xD, 0xB, + 0xC, 0x0, 0x0, + 0xB, 0x7, 0xD, + 0x8, 0x5, 0x0, + 0xB, 0xB, 0xB, + 0x7, 0x7, 0x7, + 0x0, 0xB, 0xF, + 0x0, 0xE, 0x0, + 0x0, 0xF, 0xD, + 0xF, 0x9, 0x8, + 0xD, 0x9, 0xF, // Only this differs from the 1st generation palette + 0xE, 0xE, 0x0, + 0xF, 0xF, 0xF +}; + +/** + * First generation Amiga & Apple IIGS AGI palette. * A 16-color, 12-bit RGB palette. * * Used by at least the following Amiga AGI versions: @@ -78,6 +140,9 @@ uint8 egaPalette[16 * 3] = { * 2.107 (King's Quest II v2.0J 1987-01-29) * x.yyy (Black Cauldron v2.00 1987-06-14) * x.yyy (Larry I v1.05 1987-06-26) + * + * Also used by at least the following Apple IIGS AGI versions: + * 1.002 (Space Quest I, intro says v2.2 1987) */ uint8 amigaAgiPaletteV1[16 * 3] = { 0x0, 0x0, 0x0, |