diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-10-24 23:39:15 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-10-24 23:39:15 +0200 |
commit | 16e1a2f3dd5c08a3847aa635d4bd9dbf83f83c3f (patch) | |
tree | f268eb9171bf17817e7b6065870e027a5d834f3f /src/assets.cpp | |
parent | 6723790daa66c333103f940540ea7ef83a4057d9 (diff) |
Tile rendering needs a redoing.
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 |