Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

/home/James/ZEngine-dev/include/ZE_DataPtr.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002          This file is Part of the ZEngine Library for SDL Game Development.
00003                       Copyright (C) 2002 ConceptOfZero.net
00004 
00005              Licensed under the BSD License, see licensing.txt.
00006 
00007     The maintainer of this library is James Turk (jturk@conceptofzero.net) 
00008          and the home of this Library is http://www.conceptofzero.net/
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 //Utility Classes Used Throughout ZEngine//
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__

Generated on Wed Nov 20 01:18:05 2002 for ZEngine by doxygen1.3-rc1