mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Cracking blocks while digging
This commit is contained in:
@@ -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];
|
||||
|
Reference in New Issue
Block a user