equal
deleted
inserted
replaced
6 #define SPRITE_H |
6 #define SPRITE_H |
7 |
7 |
8 #include "gfx_type.h" |
8 #include "gfx_type.h" |
9 |
9 |
10 #define GENERAL_SPRITE_COLOR(color) ((color) + PALETTE_RECOLOR_START) |
10 #define GENERAL_SPRITE_COLOR(color) ((color) + PALETTE_RECOLOR_START) |
11 #define PLAYER_SPRITE_COLOR(owner) (GENERAL_SPRITE_COLOR(_player_colors[owner])) |
11 #define COMPANY_SPRITE_COLOR(owner) (GENERAL_SPRITE_COLOR(_company_colours[owner])) |
12 |
12 |
13 /** |
13 /** |
14 * Whether a sprite comes from the original graphics files or a new grf file |
14 * Whether a sprite comes from the original graphics files or a new grf file |
15 * (either supplied by OpenTTD or supplied by the user). |
15 * (either supplied by OpenTTD or supplied by the user). |
16 * |
16 * |