dungeon_crawler

view prototype/src/texman.h @ 11:e5567ddbf2ef

- Texture set (texture manager) - materials
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 19 Aug 2012 03:11:36 +0300
parents
children
line source
1 #ifndef TEXMAN_H_
2 #define TEXMAN_H_
4 #include <string>
5 #include <map>
7 class TextureSet {
8 private:
9 mutable std::map<std::string, unsigned int> textures;
11 public:
12 ~TextureSet();
14 unsigned int get_texture(const char *fname) const;
15 };
17 #endif // TEXMAN_H_