18e4ecbb90bfafcfff78a19654eb88439a1c0929
[supertux.git] / src / resources.h
1 //  $Id$
2 //
3 //  SuperTux -  A Jump'n Run
4 //  Copyright (C) 2003 Tobias Glaesser <tobi.web@gmx.de>
5 //
6 //  This program is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU General Public License
8 //  as published by the Free Software Foundation; either version 2
9 //  of the License, or (at your option) any later version.
10 //
11 //  This program is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 //  GNU General Public License for more details.
15 //
16 //  You should have received a copy of the GNU General Public License
17 //  along with this program; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19
20 #ifndef SUPERTUX_RESOURCES_H
21 #define SUPERTUX_RESOURCES_H
22
23 #include "audio/musicref.h"
24
25 class SpriteManager;
26 class SoundManager;
27
28 /* Sound files: */
29 enum {
30   SND_JUMP,
31   SND_BIGJUMP,
32   SND_SKID,
33   SND_DISTRO,
34   SND_HERRING,
35   SND_BRICK,
36   SND_HURT,
37   SND_SQUISH,
38   SND_FALL,
39   SND_RICOCHET,
40   SND_BUMP_UPGRADE,
41   SND_UPGRADE,
42   SND_EXCELLENT,
43   SND_COFFEE,
44   SND_SHOOT,
45   SND_LIFEUP,
46   SND_STOMP,
47   SND_KICK,
48   SND_EXPLODE,
49   NUM_SOUNDS
50 };
51
52 extern char* soundfilenames[NUM_SOUNDS];
53
54 extern Surface* img_waves[3]; 
55 extern Surface* img_water;
56 extern Surface* img_pole;
57 extern Surface* img_poletop;
58 extern Surface* img_flag[2];
59 extern Surface* img_cloud[2][4];
60
61 extern Surface* img_super_bkgd;
62
63 extern MusicRef herring_song;
64 extern MusicRef level_end_song;
65
66 extern SpriteManager* sprite_manager;
67 extern SoundManager* sound_manager;
68
69 void loadshared();
70 void unloadshared();
71
72 #endif
73
74 /* EOF */
75