00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00025 #ifndef __ze_dataptr_h__
00026 #define __ze_dataptr_h__
00027 
00028 #include "ZE_Includes.h"
00029 
00030 namespace ZE
00031 {
00032 
00034 
00036 
00042 class ImageData
00043 {
00044         public:
00046                 SDL_Surface *image;
00048                 string filename;
00054                 ImageData() { image = NULL; };
00055 };
00056 
00057 #ifdef USE_SDL_TTF
00058 
00064 class FontData
00065 {
00066         public:
00068                 TTF_Font *font;
00070                 string filename;
00076                 FontData() { font = NULL; };
00077 };
00078 
00079 #endif //USE_SDL_TTF
00080 
00081 #ifdef USE_SDL_MIXER
00082 
00088 class SoundData
00089 {
00090         public:
00092                 Mix_Chunk *sound;
00094                 string filename;
00100                 SoundData() { sound = NULL; };
00101 };
00102 
00108 class MusicData
00109 {
00110         public:
00112                 Mix_Music *music;
00114                 string filename;
00120                 MusicData() { music = NULL; };
00121 };
00122 
00123 #endif //USE_SDL_MIXER
00124 
00125 }
00126 
00127 #endif //__ze_dataptr_h__