diff options
Diffstat (limited to 'src/tile.h')
-rw-r--r-- | src/tile.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/tile.h b/src/tile.h index f1aa100fc..d97567661 100644 --- a/src/tile.h +++ b/src/tile.h @@ -93,18 +93,16 @@ struct TileSpec } param; }; -// A mapping from tiles to names of cached textures -extern const char * g_tile_texture_names[TILES_COUNT]; - -// A mapping from tiles to materials -// Initialized at run-time. -extern video::SMaterial g_tile_materials[TILES_COUNT]; +/*extern const char * g_tile_texture_paths[TILES_COUNT]; +extern video::SMaterial g_tile_materials[TILES_COUNT];*/ /* Functions */ // Initializes g_tile_materials -void tile_materials_preload(TextureCache &cache); +void tile_materials_preload(IrrlichtWrapper *irrlicht); + +video::SMaterial & tile_material_get(u32 i); #endif |