Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

ResImagePack.h

Go to the documentation of this file.
00001 #ifndef HEADER_RESIMAGEPACK_H
00002 #define HEADER_RESIMAGEPACK_H
00003 
00004 class Path;
00005 
00006 #include "ResourcePack.h"
00007 
00008 #include "SDL.h"
00009 
00010 /**
00011  * Image resources and image loading.
00012  */
00013 class ResImagePack : public ResourcePack<SDL_Surface*> {
00014     protected:
00015         virtual void unloadRes(SDL_Surface *res);
00016     public:
00017         virtual const char *getName() const { return "image_pack"; }
00018 
00019         static SDL_Surface *loadImage(const Path &file);
00020         void addImage(const std::string &name, const Path &file);
00021 };
00022 
00023 #endif
00024 

Generated on Wed Jun 1 09:54:31 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2