added definition of 16 colors palette to gfx backend for V2/V3 games
I hope it's correct :) svn-id: r6941
This commit is contained in:
parent
7189347adb
commit
00a2bc9127
1 changed files with 12 additions and 0 deletions
|
@ -314,6 +314,18 @@ void Scumm::scummInit() {
|
|||
initScreens(0, 16, _realWidth, 144);
|
||||
}
|
||||
|
||||
if (((_features & GF_AFTER_V2) || (_features & GF_AFTER_V3)) && !(_features & GF_OLD256)) {
|
||||
byte pal16[16 * 4] = {
|
||||
0, 0, 0, 0, 0, 0, 168, 0, 0, 168, 0, 0, 0, 168, 168, 0,
|
||||
168, 0, 0, 0, 168, 0, 168, 0, 168, 84, 0, 0, 168, 168, 168, 0,
|
||||
84, 84, 84, 0, 84, 84, 84, 0, 84, 252, 84, 0, 84, 252, 252, 0,
|
||||
252, 84, 84, 0, 63, 84, 252, 0, 252, 252, 84, 0, 252, 252, 252, 0
|
||||
};
|
||||
memcpy (_currentPalette, pal16, 16 * 4);
|
||||
setDirtyColors(0, 15);
|
||||
updatePalette();
|
||||
}
|
||||
|
||||
if (_features & GF_AFTER_V3)
|
||||
_charset = new CharsetRendererOld256(this);
|
||||
else if (_features & GF_AFTER_V8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue