diff options
Diffstat (limited to 'src/assets.cpp')
-rw-r--r-- | src/assets.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/assets.cpp b/src/assets.cpp index 7d77a38..94651c6 100644 --- a/src/assets.cpp +++ b/src/assets.cpp @@ -3,8 +3,8 @@ namespace assets { human_assets_t human; -render::tile_monotonic_t tile_dirt; -render::tile_connecting12_t tile_wall; +sf::Texture tile_dirt; +sf::Texture tile_wall; void load(void) { @@ -13,8 +13,8 @@ void load(void) human.legs_idle.load("assets/units/human/legs_idle", 2, 2); human.legs_walking.load("assets/units/human/legs_walking", 2, 2); - tile_dirt.load("assets/tiles/dirt"); - tile_wall.load("assets/tiles/wall"); + tile_dirt.loadFromFile("assets/tiles/dirt.png"); + tile_wall.loadFromFile("assets/tiles/wall.png"); } } // namespace assets |