From 16e1a2f3dd5c08a3847aa635d4bd9dbf83f83c3f Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 24 Oct 2017 23:39:15 +0200 Subject: Tile rendering needs a redoing. --- src/assets.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/assets.cpp') 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 -- cgit