projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed some unused code (handled in video/gl_renderer now)
[supertux.git]
/
src
/
sprite
/
sprite_manager.hpp
diff --git
a/src/sprite/sprite_manager.hpp
b/src/sprite/sprite_manager.hpp
index
48dca27
..
544ee9f
100644
(file)
--- a/
src/sprite/sprite_manager.hpp
+++ b/
src/sprite/sprite_manager.hpp
@@
-21,6
+21,7
@@
#define SUPERTUX_SPRITE_MANAGER_H
#include <map>
#define SUPERTUX_SPRITE_MANAGER_H
#include <map>
+#include <string>
class SpriteData;
class Sprite;
class SpriteData;
class Sprite;
@@
-30,7
+31,7
@@
class SpriteManager
private:
typedef std::map<std::string, SpriteData*> Sprites;
Sprites sprites;
private:
typedef std::map<std::string, SpriteData*> Sprites;
Sprites sprites;
-
+
public:
SpriteManager();
~SpriteManager();
public:
SpriteManager();
~SpriteManager();
@@
-42,4
+43,6
@@
private:
SpriteData* load(const std::string& filename);
};
SpriteData* load(const std::string& filename);
};
+extern SpriteManager* sprite_manager;
+
#endif
#endif