1 #include "spritemaps.h"
3 #include "sprites/players.c"
4 #include "sprites/bullet.c"
5 #include "sprites/crosshair4.c"
6 #include "sprites/flash.c"
7 #include "sprites/flame.c"
8 #include "sprites/grenade.c"
9 #include "sprites/grenade_explosion.c"
10 #include "sprites/rocket.c"
11 #include "sprites/enemies.c"
12 #include "sprites/enemies_b.c"
13 #include "sprites/bigexpl.c"
14 #include "sprites/worldmap.c"
15 #include "sprites/clients.c"
16 #include "sprites/mapblink.c"
17 #include "sprites/frame_vertical.c"
18 #include "sprites/frame_horizontal.c"
19 #include "sprites/vehicles_small.c"
20 #include "sprites/vehicles_medium.c"
21 #include "sprites/vehicles_big.c"
22 #include "sprites/mines.c"
23 #include "sprites/bunkers.c"
24 #include "sprites/gunturret.c"
25 #include "sprites/bosses.c"
27 #define spritemap_entry(x, y) [ x ] = &(y .header)
28 const struct palpic
*spritemaps
[] = {
29 spritemap_entry(SI_PLAYERS
, players
),
30 spritemap_entry(SI_BULLET
, bullet
),
31 spritemap_entry(SI_CROSSHAIR
, crosshair4
),
32 spritemap_entry(SI_FLASH
, flash
),
33 spritemap_entry(SI_FLAME
, flame
),
34 spritemap_entry(SI_GRENADE
, grenade
),
35 spritemap_entry(SI_GRENADE_EXPLOSION
, grenade_explosion
),
36 spritemap_entry(SI_ENEMY_WESTERN
, enemies
),
37 spritemap_entry(SI_ENEMY_ASIAN
, enemies_b
),
38 spritemap_entry(SI_ROCKET
, rocket
),
39 spritemap_entry(SI_BIG_EXPLOSION
, bigexpl
),
40 spritemap_entry(SI_WORLDMAP
, worldmap
),
41 spritemap_entry(SI_CLIENTS
, clients
),
42 spritemap_entry(SI_MAPBLINK
, mapblink
),
43 spritemap_entry(SI_PICFRAME_HORIZ
, frame_horizontal
),
44 spritemap_entry(SI_PICFRAME_VERT
, frame_vertical
),
45 spritemap_entry(SI_VEHICLES_SMALL
, vehicles_small
),
46 spritemap_entry(SI_VEHICLES_MEDIUM
, vehicles_medium
),
47 spritemap_entry(SI_VEHICLES_BIG
, vehicles_big
),
48 spritemap_entry(SI_MINES
, mines
),
49 spritemap_entry(SI_BUNKERS
, bunkers
),
50 spritemap_entry(SI_GUNTURRET
, gunturret
),
51 spritemap_entry(SI_BOSSES
, bosses
),