aboutsummaryrefslogtreecommitdiff
path: root/src/tile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile.cpp')
-rw-r--r--src/tile.cpp7
1 files changed, 7 insertions, 0 deletions
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];