From 3b0bff2f743a3abf100368f94efafa7c2843a9b7 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 21 Dec 2010 02:25:47 +0200 Subject: Cracking blocks while digging --- src/tile.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/tile.cpp') diff --git a/src/tile.cpp b/src/tile.cpp index 174c72fdf..23b1638d1 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -37,6 +37,13 @@ const char * g_tile_texture_paths[TILES_COUNT] = "../data/cloud.png", }; +const char * tile_texture_path_get(u32 i) +{ + assert(i < TILES_COUNT); + + return g_tile_texture_paths[i]; +} + // A mapping from tiles to materials // Initialized at run-time. video::SMaterial g_tile_materials[TILES_COUNT]; -- cgit v1.2.3