From 297524c8ec41b585c4812494791772406653e479 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 19 Dec 2017 19:27:06 +0100 Subject: Introduce tall tiles. Some features are still missing but the commit is large enough as it is. TODO: render layers and fix minor artifacts. --- src/game/assets.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game') diff --git a/src/game/assets.cpp b/src/game/assets.cpp index 1bc8948..046934b 100644 --- a/src/game/assets.cpp +++ b/src/game/assets.cpp @@ -38,11 +38,11 @@ void load(void) unit_selected.load("assets/units/selected_", 1); world::register_tile(TILE_DIRT, 0); - render::register_tile(TILE_DIRT, "assets/tiles/dirt.png"); + render::register_tile(TILE_DIRT, "assets/tiles/dirt.png", NULL, 0.0f); world::register_tile(TILE_STONE, CF_SOLID); - render::register_tile(TILE_STONE, "assets/tiles/stone.png"); + render::register_tile(TILE_STONE, "assets/tiles/stone.png", "assets/tiles/stone_side.png", 1.0f); world::register_tile(TILE_WATER, CF_WATER); - render::register_tile(TILE_WATER, "assets/tiles/water.png"); + render::register_tile(TILE_WATER, "assets/tiles/water.png", NULL, 0.0f); } } // namespace game::assets -- cgit