Cleaned up the palette handling a bit. Renamed _palCopy to _palette since I
found the old name misleading (there is only one array that stores the palette in the engine, though it could be argued that it's a copy of the one used by the backend), and removed some code that I'm almost certain was never used. (I've added assert()s to trigger in the cases where it would have been used.) svn-id: r13949
This commit is contained in:
parent
51b373eb6f
commit
0426d38aa5
9 changed files with 69 additions and 134 deletions
|
@ -433,7 +433,7 @@ int32 Logic::fnPlayCredits(int32 *params) {
|
|||
uint16 logoWidth = 0;
|
||||
uint16 logoHeight = 0;
|
||||
byte *logoData = NULL;
|
||||
byte palette[1024];
|
||||
byte palette[256 * 4];
|
||||
|
||||
if (f.open("credits.bmp")) {
|
||||
logoWidth = f.readUint16LE();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue