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"
26 #include "sprites/misc.c"
27 #include "sprites/ws_bolt.c"
28 #include "sprites/ws_vbar1.c"
29 #include "sprites/ws_vbar3.c"
30 #include "sprites/ws_hbar6.c"
31 #include "sprites/ws_hbar10.c"
32 #include "sprites/ws_costcredit.c"
33 #include "sprites/weaponshop.c"
34 #include "sprites/weapon_sprites.c"
36 #define spritemap_entry(x, y) [ x ] = &(y .header)
37 const struct palpic
*spritemaps
[] = {
38 spritemap_entry(SI_PLAYERS
, players
),
39 spritemap_entry(SI_BULLET
, bullet
),
40 spritemap_entry(SI_CROSSHAIR
, crosshair4
),
41 spritemap_entry(SI_FLASH
, flash
),
42 spritemap_entry(SI_FLAME
, flame
),
43 spritemap_entry(SI_GRENADE
, grenade
),
44 spritemap_entry(SI_GRENADE_EXPLOSION
, grenade_explosion
),
45 spritemap_entry(SI_ENEMY_WESTERN
, enemies
),
46 spritemap_entry(SI_ENEMY_ASIAN
, enemies_b
),
47 spritemap_entry(SI_ROCKET
, rocket
),
48 spritemap_entry(SI_BIG_EXPLOSION
, bigexpl
),
49 spritemap_entry(SI_WORLDMAP
, worldmap
),
50 spritemap_entry(SI_CLIENTS
, clients
),
51 spritemap_entry(SI_MAPBLINK
, mapblink
),
52 spritemap_entry(SI_PICFRAME_HORIZ
, frame_horizontal
),
53 spritemap_entry(SI_PICFRAME_VERT
, frame_vertical
),
54 spritemap_entry(SI_VEHICLES_SMALL
, vehicles_small
),
55 spritemap_entry(SI_VEHICLES_MEDIUM
, vehicles_medium
),
56 spritemap_entry(SI_VEHICLES_BIG
, vehicles_big
),
57 spritemap_entry(SI_MINES
, mines
),
58 spritemap_entry(SI_BUNKERS
, bunkers
),
59 spritemap_entry(SI_GUNTURRET
, gunturret
),
60 spritemap_entry(SI_BOSSES
, bosses
),
61 spritemap_entry(SI_MISC
, misc
),
62 spritemap_entry(SI_WS_BOLT
, ws_bolt
),
63 spritemap_entry(SI_WS_VBAR1
, ws_vbar1
),
64 spritemap_entry(SI_WS_VBAR3
, ws_vbar3
),
65 spritemap_entry(SI_WS_HBAR6
, ws_hbar6
),
66 spritemap_entry(SI_WS_HBAR10
, ws_hbar10
),
67 spritemap_entry(SI_WS_COSTCREDIT
, ws_costcredit
),
68 spritemap_entry(SI_WEAPONSHOP
, weaponshop
),
69 spritemap_entry(SI_WEAPONS
, weapon_sprites
),