Map is back.
This commit is contained in:
parent
af2947c50a
commit
8453e7c3b9
4 changed files with 17 additions and 16 deletions
|
@ -16,6 +16,7 @@ namespace textures {
|
|||
|
||||
struct TextureManager {
|
||||
std::vector<sf::Image> surfaces;
|
||||
std::vector<wchar_t> tile_set;
|
||||
std::unordered_map<std::string, SpriteTexture> sprite_textures;
|
||||
sf::Image floor;
|
||||
sf::Image ceiling;
|
||||
|
@ -27,6 +28,8 @@ namespace textures {
|
|||
|
||||
sf::Image load_image(const std::string& filename);
|
||||
|
||||
std::vector<wchar_t>& get_tile_set();
|
||||
|
||||
const uint32_t* get_surface(size_t num);
|
||||
|
||||
const uint32_t* get_floor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue