summaryrefslogtreecommitdiff
path: root/src/tile.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-25 09:53:21 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-25 09:53:21 +0200
commitd3a6a12baea7317f6765ae7541cbc453f83d7928 (patch)
tree3d81655e70479a83aa7315acc586feeba8180bb0 /src/tile.cpp
parentde3fdba568cf0b05e8fe0ec7fb11552416474093 (diff)
downloadminetest-d3a6a12baea7317f6765ae7541cbc453f83d7928.tar.gz
minetest-d3a6a12baea7317f6765ae7541cbc453f83d7928.tar.bz2
minetest-d3a6a12baea7317f6765ae7541cbc453f83d7928.zip
removed alternative name "pressure" from param2
Diffstat (limited to 'src/tile.cpp')
-rw-r--r--src/tile.cpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/tile.cpp b/src/tile.cpp
index 79d68d4c3..18a2f155a 100644
--- a/src/tile.cpp
+++ b/src/tile.cpp
@@ -23,51 +23,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "main.h"
#include <string>
-// A mapping from tiles to paths of textures
-
-/*const char * g_tile_texture_filenames[TILES_COUNT] =
-{
- NULL,
- "stone.png",
- "water.png",
- "grass.png",
- "tree.png",
- "leaves.png",
- "grass_footsteps.png",
- "mese.png",
- "mud.png",
- "tree_top.png",
- "mud.png_sidegrass",
- "cloud.png",
- "coalstone.png",
- "wood.png",
-};*/
-
/*
These can either be real paths or generated names of preloaded
textures (like "mud.png_sidegrass")
*/
std::string g_tile_texture_paths[TILES_COUNT];
-/*std::string g_tile_texture_path_strings[TILES_COUNT];
-const char * g_tile_texture_paths[TILES_COUNT] = {0};
-
-void init_tile_texture_paths()
-{
- for(s32 i=0; i<TILES_COUNT; i++)
- {
- const char *filename = g_tile_texture_filenames[i];
-
- if(filename != NULL)
- {
- g_tile_texture_path_strings[i] =
- porting::getDataPath(filename);
- g_tile_texture_paths[i] =
- g_tile_texture_path_strings[i].c_str();
- }
- }
-}*/
-
const char * tile_texture_path_get(u32 i)
{
assert(i < TILES_COUNT);