Imported graphics updates from Codebase

This commit is contained in:
Kayne Ruse
2013-06-04 05:05:40 +10:00
parent 6a16e341ec
commit 783e8928d6
9 changed files with 98 additions and 116 deletions
+4 -4
View File
@@ -29,8 +29,8 @@
class SurfaceManager {
public:
SurfaceManager();
~SurfaceManager();
SurfaceManager() = default;
~SurfaceManager() noexcept;
SDL_Surface* Load(std::string key, std::string fname);
SDL_Surface* Reload(std::string key, std::string fname);
@@ -42,8 +42,8 @@ public:
SDL_Surface* operator[](std::string key) { return Get(key); };
private:
SDL_Surface* LoadSurface(std::string key, std::string fname);
typedef std::map<std::string, SDL_Surface*> mapType;
mapType surfaceMap;
typedef std::map<std::string, SDL_Surface*> MapType;
MapType surfaceMap;
};
#endif