(svn r2497) Use a struct array for palette entries instead of a flat byte array

This commit is contained in:
tron
2005-06-30 05:27:32 +00:00
parent 6e72d514b7
commit 9d75047211
6 changed files with 244 additions and 243 deletions

10
gfx.h
View File

@@ -94,9 +94,13 @@ VARDEF bool _use_dos_palette;
//enum { NUM_SPRITES = 0x1500 };
enum { NUM_SPRITES = 0x3500 }; // 1500 + space for custom GRF sets
/* tables.h */
extern byte _palettes[4][256 * 3];
VARDEF byte _cur_palette[768];
typedef struct Colour {
byte r;
byte g;
byte b;
} Colour;
extern Colour _cur_palette[256];
typedef enum StringColorFlags {