(svn r18888) -Codechange: Rename PALETTE_59[EF] to something more meaningful.

pull/155/head
frosch 15 years ago
parent 4ded5d48d7
commit 04090dc6ab

@ -1507,9 +1507,8 @@ static const PaletteID PALETTE_TO_TRANSPARENT = 0x322; // This sets the spr
static const PaletteID PALETTE_TO_STRUCT_GREY = 0x323;
static const PaletteID PALETTE_CRASH = 0x324;
/* XXX another place where structures are coloured.
* I'm not sure which colours these are */
static const PaletteID PALETTE_59E = 0x59E;
static const PaletteID PALETTE_59F = 0x59F;
/* Two recolourings only used by the church */
static const PaletteID PALETTE_CHURCH_RED = 0x59E;
static const PaletteID PALETTE_CHURCH_CREAM = 0x59F;
#endif /* SPRITES_H */

@ -77,18 +77,18 @@ static const DrawBuildingsTileStruct _town_draw_tile_data[] = {
M( 0xf54, PAL_NONE, 0x59b, PAL_NONE, 0, 0, 14, 16, 22, 0),
M( 0xf54, PAL_NONE, 0x59c, PAL_NONE, 0, 0, 14, 16, 35, 0),
M( 0x59d, PAL_NONE, 0x59c, PAL_NONE, 0, 0, 14, 16, 35, 0),
M( 0xf54, PAL_NONE, 0x59a, PALETTE_59E, 0, 0, 14, 16, 16, 0),
M( 0xf54, PAL_NONE, 0x59b, PALETTE_59E, 0, 0, 14, 16, 22, 0),
M( 0xf54, PAL_NONE, 0x59c, PALETTE_59E, 0, 0, 14, 16, 35, 0),
M( 0x59d, PAL_NONE, 0x59c, PALETTE_59E, 0, 0, 14, 16, 35, 0),
M( 0xf54, PAL_NONE, 0x59a, PALETTE_59F, 0, 0, 14, 16, 16, 0),
M( 0xf54, PAL_NONE, 0x59b, PALETTE_59F, 0, 0, 14, 16, 22, 0),
M( 0xf54, PAL_NONE, 0x59c, PALETTE_59F, 0, 0, 14, 16, 35, 0),
M( 0x59d, PAL_NONE, 0x59c, PALETTE_59F, 0, 0, 14, 16, 35, 0),
M( 0xf54, PAL_NONE, 0x59a, PALETTE_59F, 0, 0, 14, 16, 16, 0),
M( 0xf54, PAL_NONE, 0x59b, PALETTE_59F, 0, 0, 14, 16, 22, 0),
M( 0xf54, PAL_NONE, 0x59c, PALETTE_59F, 0, 0, 14, 16, 35, 0),
M( 0x59d, PAL_NONE, 0x59c, PALETTE_59F, 0, 0, 14, 16, 35, 0),
M( 0xf54, PAL_NONE, 0x59a, PALETTE_CHURCH_RED, 0, 0, 14, 16, 16, 0),
M( 0xf54, PAL_NONE, 0x59b, PALETTE_CHURCH_RED, 0, 0, 14, 16, 22, 0),
M( 0xf54, PAL_NONE, 0x59c, PALETTE_CHURCH_RED, 0, 0, 14, 16, 35, 0),
M( 0x59d, PAL_NONE, 0x59c, PALETTE_CHURCH_RED, 0, 0, 14, 16, 35, 0),
M( 0xf54, PAL_NONE, 0x59a, PALETTE_CHURCH_CREAM, 0, 0, 14, 16, 16, 0),
M( 0xf54, PAL_NONE, 0x59b, PALETTE_CHURCH_CREAM, 0, 0, 14, 16, 22, 0),
M( 0xf54, PAL_NONE, 0x59c, PALETTE_CHURCH_CREAM, 0, 0, 14, 16, 35, 0),
M( 0x59d, PAL_NONE, 0x59c, PALETTE_CHURCH_CREAM, 0, 0, 14, 16, 35, 0),
M( 0xf54, PAL_NONE, 0x59a, PALETTE_CHURCH_CREAM, 0, 0, 14, 16, 16, 0),
M( 0xf54, PAL_NONE, 0x59b, PALETTE_CHURCH_CREAM, 0, 0, 14, 16, 22, 0),
M( 0xf54, PAL_NONE, 0x59c, PALETTE_CHURCH_CREAM, 0, 0, 14, 16, 35, 0),
M( 0x59d, PAL_NONE, 0x59c, PALETTE_CHURCH_CREAM, 0, 0, 14, 16, 35, 0),
M( 0xf54, PAL_NONE, 0x5a0, PAL_NONE, 0, 0, 15, 15, 5, 0),
M( 0xf54, PAL_NONE, 0x5a1, PAL_NONE, 0, 0, 15, 15, 53, 0),
M( 0xf54, PAL_NONE, 0x5a2, PAL_NONE, 0, 0, 15, 15, 53, 0),

Loading…
Cancel
Save