aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-25 20:29:56 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-25 20:30:58 +0300
commit6779036d25e460ca5e8c6d290772e78c3277ccfc (patch)
tree79eef0ca1026053b740ca1ec1e5314c73f0d3ea4
parent4fb6c07535cff9a385344f5025b25892b828ebc4 (diff)
downloadminetest-6779036d25e460ca5e8c6d290772e78c3277ccfc.tar.gz
minetest-6779036d25e460ca5e8c6d290772e78c3277ccfc.tar.bz2
minetest-6779036d25e460ca5e8c6d290772e78c3277ccfc.zip
Make server world selection not brain dead and use gameid 'minetest' instead of 'mesetint'
-rw-r--r--games/minetest/mods/bucket/depends.txt (renamed from games/mesetint/mods/bucket/depends.txt)0
-rw-r--r--games/minetest/mods/bucket/init.lua (renamed from games/mesetint/mods/bucket/init.lua)0
-rw-r--r--games/minetest/mods/bucket/textures/bucket.png (renamed from games/mesetint/mods/bucket/textures/bucket.png)bin329 -> 329 bytes
-rw-r--r--games/minetest/mods/bucket/textures/bucket_lava.png (renamed from games/mesetint/mods/bucket/textures/bucket_lava.png)bin363 -> 363 bytes
-rw-r--r--games/minetest/mods/bucket/textures/bucket_water.png (renamed from games/mesetint/mods/bucket/textures/bucket_water.png)bin369 -> 369 bytes
-rw-r--r--games/minetest/mods/default/init.lua (renamed from games/mesetint/mods/default/init.lua)0
-rw-r--r--games/minetest/mods/default/textures/crack.png (renamed from games/mesetint/mods/default/textures/crack.png)bin1076 -> 1076 bytes
-rw-r--r--games/minetest/mods/default/textures/default_apple.png (renamed from games/mesetint/mods/default/textures/default_apple.png)bin203 -> 203 bytes
-rw-r--r--games/minetest/mods/default/textures/default_book.png (renamed from games/mesetint/mods/default/textures/default_book.png)bin292 -> 292 bytes
-rw-r--r--games/minetest/mods/default/textures/default_bookshelf.png (renamed from games/mesetint/mods/default/textures/default_bookshelf.png)bin597 -> 597 bytes
-rw-r--r--games/minetest/mods/default/textures/default_brick.png (renamed from games/mesetint/mods/default/textures/default_brick.png)bin604 -> 604 bytes
-rw-r--r--games/minetest/mods/default/textures/default_cactus_side.png (renamed from games/mesetint/mods/default/textures/default_cactus_side.png)bin279 -> 279 bytes
-rw-r--r--games/minetest/mods/default/textures/default_cactus_top.png (renamed from games/mesetint/mods/default/textures/default_cactus_top.png)bin236 -> 236 bytes
-rw-r--r--games/minetest/mods/default/textures/default_chest_front.png (renamed from games/mesetint/mods/default/textures/default_chest_front.png)bin167 -> 167 bytes
-rw-r--r--games/minetest/mods/default/textures/default_chest_lock.png (renamed from games/mesetint/mods/default/textures/default_chest_lock.png)bin224 -> 224 bytes
-rw-r--r--games/minetest/mods/default/textures/default_chest_side.png (renamed from games/mesetint/mods/default/textures/default_chest_side.png)bin151 -> 151 bytes
-rw-r--r--games/minetest/mods/default/textures/default_chest_top.png (renamed from games/mesetint/mods/default/textures/default_chest_top.png)bin142 -> 142 bytes
-rw-r--r--games/minetest/mods/default/textures/default_clay.png (renamed from games/mesetint/mods/default/textures/default_clay.png)bin613 -> 613 bytes
-rw-r--r--games/minetest/mods/default/textures/default_clay_brick.png (renamed from games/mesetint/mods/default/textures/default_clay_brick.png)bin249 -> 249 bytes
-rw-r--r--games/minetest/mods/default/textures/default_clay_lump.png (renamed from games/mesetint/mods/default/textures/default_clay_lump.png)bin210 -> 210 bytes
-rw-r--r--games/minetest/mods/default/textures/default_cloud.png (renamed from games/mesetint/mods/default/textures/default_cloud.png)bin118 -> 118 bytes
-rw-r--r--games/minetest/mods/default/textures/default_coal_lump.png (renamed from games/mesetint/mods/default/textures/default_coal_lump.png)bin933 -> 933 bytes
-rw-r--r--games/minetest/mods/default/textures/default_cobble.png (renamed from games/mesetint/mods/default/textures/default_cobble.png)bin830 -> 830 bytes
-rw-r--r--games/minetest/mods/default/textures/default_dirt.png (renamed from games/mesetint/mods/default/textures/default_dirt.png)bin1586 -> 1586 bytes
-rw-r--r--games/minetest/mods/default/textures/default_fence.png (renamed from games/mesetint/mods/default/textures/default_fence.png)bin539 -> 539 bytes
-rw-r--r--games/minetest/mods/default/textures/default_furnace_front.png (renamed from games/mesetint/mods/default/textures/default_furnace_front.png)bin246 -> 246 bytes
-rw-r--r--games/minetest/mods/default/textures/default_furnace_side.png (renamed from games/mesetint/mods/default/textures/default_furnace_side.png)bin236 -> 236 bytes
-rw-r--r--games/minetest/mods/default/textures/default_glass.png (renamed from games/mesetint/mods/default/textures/default_glass.png)bin978 -> 978 bytes
-rw-r--r--games/minetest/mods/default/textures/default_grass.png (renamed from games/mesetint/mods/default/textures/default_grass.png)bin874 -> 874 bytes
-rw-r--r--games/minetest/mods/default/textures/default_grass_footsteps.png (renamed from games/mesetint/mods/default/textures/default_grass_footsteps.png)bin856 -> 856 bytes
-rw-r--r--games/minetest/mods/default/textures/default_grass_side.png (renamed from games/mesetint/mods/default/textures/default_grass_side.png)bin878 -> 878 bytes
-rw-r--r--games/minetest/mods/default/textures/default_gravel.png (renamed from games/mesetint/mods/default/textures/default_gravel.png)bin591 -> 591 bytes
-rw-r--r--games/minetest/mods/default/textures/default_iron_lump.png (renamed from games/mesetint/mods/default/textures/default_iron_lump.png)bin936 -> 936 bytes
-rw-r--r--games/minetest/mods/default/textures/default_junglegrass.png (renamed from games/mesetint/mods/default/textures/default_junglegrass.png)bin672 -> 672 bytes
-rw-r--r--games/minetest/mods/default/textures/default_jungletree.png (renamed from games/mesetint/mods/default/textures/default_jungletree.png)bin502 -> 502 bytes
-rw-r--r--games/minetest/mods/default/textures/default_jungletree_top.png (renamed from games/mesetint/mods/default/textures/default_jungletree_top.png)bin507 -> 507 bytes
-rw-r--r--games/minetest/mods/default/textures/default_ladder.png (renamed from games/mesetint/mods/default/textures/default_ladder.png)bin395 -> 395 bytes
-rw-r--r--games/minetest/mods/default/textures/default_lava.png (renamed from games/mesetint/mods/default/textures/default_lava.png)bin357 -> 357 bytes
-rw-r--r--games/minetest/mods/default/textures/default_leaves.png (renamed from games/mesetint/mods/default/textures/default_leaves.png)bin1689 -> 1689 bytes
-rw-r--r--games/minetest/mods/default/textures/default_mese.png (renamed from games/mesetint/mods/default/textures/default_mese.png)bin203 -> 203 bytes
-rw-r--r--games/minetest/mods/default/textures/default_mineral_coal.png (renamed from games/mesetint/mods/default/textures/default_mineral_coal.png)bin952 -> 952 bytes
-rw-r--r--games/minetest/mods/default/textures/default_mineral_iron.png (renamed from games/mesetint/mods/default/textures/default_mineral_iron.png)bin1614 -> 1614 bytes
-rw-r--r--games/minetest/mods/default/textures/default_mossycobble.png (renamed from games/mesetint/mods/default/textures/default_mossycobble.png)bin965 -> 965 bytes
-rw-r--r--games/minetest/mods/default/textures/default_nc_back.png (renamed from games/mesetint/mods/default/textures/default_nc_back.png)bin303 -> 303 bytes
-rw-r--r--games/minetest/mods/default/textures/default_nc_front.png (renamed from games/mesetint/mods/default/textures/default_nc_front.png)bin410 -> 410 bytes
-rw-r--r--games/minetest/mods/default/textures/default_nc_rb.png (renamed from games/mesetint/mods/default/textures/default_nc_rb.png)bin203 -> 203 bytes
-rw-r--r--games/minetest/mods/default/textures/default_nc_side.png (renamed from games/mesetint/mods/default/textures/default_nc_side.png)bin260 -> 260 bytes
-rw-r--r--games/minetest/mods/default/textures/default_paper.png (renamed from games/mesetint/mods/default/textures/default_paper.png)bin242 -> 242 bytes
-rw-r--r--games/minetest/mods/default/textures/default_papyrus.png (renamed from games/mesetint/mods/default/textures/default_papyrus.png)bin366 -> 366 bytes
-rw-r--r--games/minetest/mods/default/textures/default_rail.png (renamed from games/mesetint/mods/default/textures/default_rail.png)bin507 -> 507 bytes
-rw-r--r--games/minetest/mods/default/textures/default_rail_crossing.png (renamed from games/mesetint/mods/default/textures/default_rail_crossing.png)bin555 -> 555 bytes
-rw-r--r--games/minetest/mods/default/textures/default_rail_curved.png (renamed from games/mesetint/mods/default/textures/default_rail_curved.png)bin545 -> 545 bytes
-rw-r--r--games/minetest/mods/default/textures/default_rail_t_junction.png (renamed from games/mesetint/mods/default/textures/default_rail_t_junction.png)bin542 -> 542 bytes
-rw-r--r--games/minetest/mods/default/textures/default_sand.png (renamed from games/mesetint/mods/default/textures/default_sand.png)bin1381 -> 1381 bytes
-rw-r--r--games/minetest/mods/default/textures/default_sandstone.png (renamed from games/mesetint/mods/default/textures/default_sandstone.png)bin772 -> 772 bytes
-rw-r--r--games/minetest/mods/default/textures/default_sapling.png (renamed from games/mesetint/mods/default/textures/default_sapling.png)bin502 -> 502 bytes
-rw-r--r--games/minetest/mods/default/textures/default_scorched_stuff.png (renamed from games/mesetint/mods/default/textures/default_scorched_stuff.png)bin233 -> 233 bytes
-rw-r--r--games/minetest/mods/default/textures/default_sign_wall.png (renamed from games/mesetint/mods/default/textures/default_sign_wall.png)bin489 -> 489 bytes
-rw-r--r--games/minetest/mods/default/textures/default_steel_block.png (renamed from games/mesetint/mods/default/textures/default_steel_block.png)bin219 -> 219 bytes
-rw-r--r--games/minetest/mods/default/textures/default_steel_ingot.png (renamed from games/mesetint/mods/default/textures/default_steel_ingot.png)bin207 -> 207 bytes
-rw-r--r--games/minetest/mods/default/textures/default_stick.png (renamed from games/mesetint/mods/default/textures/default_stick.png)bin182 -> 182 bytes
-rw-r--r--games/minetest/mods/default/textures/default_stone.png (renamed from games/mesetint/mods/default/textures/default_stone.png)bin806 -> 806 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tnt_bottom.png (renamed from games/mesetint/mods/default/textures/default_tnt_bottom.png)bin161 -> 161 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tnt_side.png (renamed from games/mesetint/mods/default/textures/default_tnt_side.png)bin186 -> 186 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tnt_top.png (renamed from games/mesetint/mods/default/textures/default_tnt_top.png)bin264 -> 264 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_mesepick.png (renamed from games/mesetint/mods/default/textures/default_tool_mesepick.png)bin252 -> 252 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_steelaxe.png (renamed from games/mesetint/mods/default/textures/default_tool_steelaxe.png)bin927 -> 927 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_steelpick.png (renamed from games/mesetint/mods/default/textures/default_tool_steelpick.png)bin271 -> 271 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_steelshovel.png (renamed from games/mesetint/mods/default/textures/default_tool_steelshovel.png)bin216 -> 216 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_steelsword.png (renamed from games/mesetint/mods/default/textures/default_tool_steelsword.png)bin291 -> 291 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_stoneaxe.png (renamed from games/mesetint/mods/default/textures/default_tool_stoneaxe.png)bin931 -> 931 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_stonepick.png (renamed from games/mesetint/mods/default/textures/default_tool_stonepick.png)bin262 -> 262 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_stoneshovel.png (renamed from games/mesetint/mods/default/textures/default_tool_stoneshovel.png)bin203 -> 203 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_stonesword.png (renamed from games/mesetint/mods/default/textures/default_tool_stonesword.png)bin301 -> 301 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_woodaxe.png (renamed from games/mesetint/mods/default/textures/default_tool_woodaxe.png)bin927 -> 927 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_woodpick.png (renamed from games/mesetint/mods/default/textures/default_tool_woodpick.png)bin245 -> 245 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_woodshovel.png (renamed from games/mesetint/mods/default/textures/default_tool_woodshovel.png)bin203 -> 203 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tool_woodsword.png (renamed from games/mesetint/mods/default/textures/default_tool_woodsword.png)bin255 -> 255 bytes
-rw-r--r--games/minetest/mods/default/textures/default_torch.png (renamed from games/mesetint/mods/default/textures/default_torch.png)bin925 -> 925 bytes
-rw-r--r--games/minetest/mods/default/textures/default_torch_on_ceiling.png (renamed from games/mesetint/mods/default/textures/default_torch_on_ceiling.png)bin913 -> 913 bytes
-rw-r--r--games/minetest/mods/default/textures/default_torch_on_floor.png (renamed from games/mesetint/mods/default/textures/default_torch_on_floor.png)bin917 -> 917 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tree.png (renamed from games/mesetint/mods/default/textures/default_tree.png)bin1445 -> 1445 bytes
-rw-r--r--games/minetest/mods/default/textures/default_tree_top.png (renamed from games/mesetint/mods/default/textures/default_tree_top.png)bin1024 -> 1024 bytes
-rw-r--r--games/minetest/mods/default/textures/default_water.png (renamed from games/mesetint/mods/default/textures/default_water.png)bin518 -> 518 bytes
-rw-r--r--games/minetest/mods/default/textures/default_wood.png (renamed from games/mesetint/mods/default/textures/default_wood.png)bin1400 -> 1400 bytes
-rw-r--r--games/minetest/mods/default/textures/heart.png (renamed from games/mesetint/mods/default/textures/heart.png)bin308 -> 308 bytes
-rw-r--r--games/minetest/mods/default/textures/player.png (renamed from games/mesetint/mods/default/textures/player.png)bin212 -> 212 bytes
-rw-r--r--games/minetest/mods/default/textures/player_back.png (renamed from games/mesetint/mods/default/textures/player_back.png)bin201 -> 201 bytes
-rw-r--r--games/minetest/mods/default/textures/treeprop.png (renamed from games/mesetint/mods/default/textures/treeprop.png)bin1055 -> 1055 bytes
-rw-r--r--games/minetest/mods/default/textures/wieldhand.png (renamed from games/mesetint/mods/default/textures/wieldhand.png)bin384 -> 384 bytes
-rw-r--r--games/minetest/mods/experimental/depends.txt (renamed from games/mesetint/mods/experimental/depends.txt)0
-rw-r--r--games/minetest/mods/experimental/init.lua (renamed from games/mesetint/mods/experimental/init.lua)0
-rw-r--r--games/minetest/mods/experimental/textures/experimental_dummyball.png (renamed from games/mesetint/mods/experimental/textures/experimental_dummyball.png)bin838 -> 838 bytes
-rw-r--r--games/minetest/mods/give_initial_stuff/depends.txt (renamed from games/mesetint/mods/give_initial_stuff/depends.txt)0
-rw-r--r--games/minetest/mods/give_initial_stuff/init.lua (renamed from games/mesetint/mods/give_initial_stuff/init.lua)0
-rw-r--r--games/minetest/mods/legacy/depends.txt (renamed from games/mesetint/mods/legacy/depends.txt)0
-rw-r--r--games/minetest/mods/legacy/init.lua (renamed from games/mesetint/mods/legacy/init.lua)0
-rw-r--r--games/minetest/mods/legacy/textures/apple_iron.png (renamed from games/mesetint/mods/legacy/textures/apple_iron.png)bin207 -> 207 bytes
-rw-r--r--games/minetest/mods/legacy/textures/cooked_rat.png (renamed from games/mesetint/mods/legacy/textures/cooked_rat.png)bin239 -> 239 bytes
-rw-r--r--games/minetest/mods/legacy/textures/dungeon_master.png (renamed from games/mesetint/mods/legacy/textures/dungeon_master.png)bin6636 -> 6636 bytes
-rw-r--r--games/minetest/mods/legacy/textures/fireball.png (renamed from games/mesetint/mods/legacy/textures/fireball.png)bin603 -> 603 bytes
-rw-r--r--games/minetest/mods/legacy/textures/firefly.png (renamed from games/mesetint/mods/legacy/textures/firefly.png)bin116 -> 116 bytes
-rw-r--r--games/minetest/mods/legacy/textures/oerkki1.png (renamed from games/mesetint/mods/legacy/textures/oerkki1.png)bin250 -> 250 bytes
-rw-r--r--games/minetest/mods/legacy/textures/oerkki1_damaged.png (renamed from games/mesetint/mods/legacy/textures/oerkki1_damaged.png)bin341 -> 341 bytes
-rw-r--r--games/minetest/mods/legacy/textures/rat.png (renamed from games/mesetint/mods/legacy/textures/rat.png)bin920 -> 920 bytes
-rw-r--r--mods/minetest/mods_here.txt (renamed from mods/mesetint/mods_here.txt)0
-rw-r--r--src/defaultsettings.cpp2
-rw-r--r--src/main.cpp152
-rw-r--r--src/subgame.cpp15
-rw-r--r--src/subgame.h1
110 files changed, 140 insertions, 30 deletions
diff --git a/games/mesetint/mods/bucket/depends.txt b/games/minetest/mods/bucket/depends.txt
index 3a7daa1d7..3a7daa1d7 100644
--- a/games/mesetint/mods/bucket/depends.txt
+++ b/games/minetest/mods/bucket/depends.txt
diff --git a/games/mesetint/mods/bucket/init.lua b/games/minetest/mods/bucket/init.lua
index 8ed9da522..8ed9da522 100644
--- a/games/mesetint/mods/bucket/init.lua
+++ b/games/minetest/mods/bucket/init.lua
diff --git a/games/mesetint/mods/bucket/textures/bucket.png b/games/minetest/mods/bucket/textures/bucket.png
index f165fd209..f165fd209 100644
--- a/games/mesetint/mods/bucket/textures/bucket.png
+++ b/games/minetest/mods/bucket/textures/bucket.png
Binary files differ
diff --git a/games/mesetint/mods/bucket/textures/bucket_lava.png b/games/minetest/mods/bucket/textures/bucket_lava.png
index 7cf27cd1f..7cf27cd1f 100644
--- a/games/mesetint/mods/bucket/textures/bucket_lava.png
+++ b/games/minetest/mods/bucket/textures/bucket_lava.png
Binary files differ
diff --git a/games/mesetint/mods/bucket/textures/bucket_water.png b/games/minetest/mods/bucket/textures/bucket_water.png
index f220ec51e..f220ec51e 100644
--- a/games/mesetint/mods/bucket/textures/bucket_water.png
+++ b/games/minetest/mods/bucket/textures/bucket_water.png
Binary files differ
diff --git a/games/mesetint/mods/default/init.lua b/games/minetest/mods/default/init.lua
index 8788b3810..8788b3810 100644
--- a/games/mesetint/mods/default/init.lua
+++ b/games/minetest/mods/default/init.lua
diff --git a/games/mesetint/mods/default/textures/crack.png b/games/minetest/mods/default/textures/crack.png
index 499783982..499783982 100644
--- a/games/mesetint/mods/default/textures/crack.png
+++ b/games/minetest/mods/default/textures/crack.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_apple.png b/games/minetest/mods/default/textures/default_apple.png
index 9593f28f6..9593f28f6 100644
--- a/games/mesetint/mods/default/textures/default_apple.png
+++ b/games/minetest/mods/default/textures/default_apple.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_book.png b/games/minetest/mods/default/textures/default_book.png
index 176fb6aa9..176fb6aa9 100644
--- a/games/mesetint/mods/default/textures/default_book.png
+++ b/games/minetest/mods/default/textures/default_book.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_bookshelf.png b/games/minetest/mods/default/textures/default_bookshelf.png
index 5ecc50ff3..5ecc50ff3 100644
--- a/games/mesetint/mods/default/textures/default_bookshelf.png
+++ b/games/minetest/mods/default/textures/default_bookshelf.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_brick.png b/games/minetest/mods/default/textures/default_brick.png
index 32d77f347..32d77f347 100644
--- a/games/mesetint/mods/default/textures/default_brick.png
+++ b/games/minetest/mods/default/textures/default_brick.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_cactus_side.png b/games/minetest/mods/default/textures/default_cactus_side.png
index fc479fde6..fc479fde6 100644
--- a/games/mesetint/mods/default/textures/default_cactus_side.png
+++ b/games/minetest/mods/default/textures/default_cactus_side.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_cactus_top.png b/games/minetest/mods/default/textures/default_cactus_top.png
index f9e68df51..f9e68df51 100644
--- a/games/mesetint/mods/default/textures/default_cactus_top.png
+++ b/games/minetest/mods/default/textures/default_cactus_top.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_chest_front.png b/games/minetest/mods/default/textures/default_chest_front.png
index c5628af94..c5628af94 100644
--- a/games/mesetint/mods/default/textures/default_chest_front.png
+++ b/games/minetest/mods/default/textures/default_chest_front.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_chest_lock.png b/games/minetest/mods/default/textures/default_chest_lock.png
index ae038fae5..ae038fae5 100644
--- a/games/mesetint/mods/default/textures/default_chest_lock.png
+++ b/games/minetest/mods/default/textures/default_chest_lock.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_chest_side.png b/games/minetest/mods/default/textures/default_chest_side.png
index 916dd784d..916dd784d 100644
--- a/games/mesetint/mods/default/textures/default_chest_side.png
+++ b/games/minetest/mods/default/textures/default_chest_side.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_chest_top.png b/games/minetest/mods/default/textures/default_chest_top.png
index 58c79674d..58c79674d 100644
--- a/games/mesetint/mods/default/textures/default_chest_top.png
+++ b/games/minetest/mods/default/textures/default_chest_top.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_clay.png b/games/minetest/mods/default/textures/default_clay.png
index 3557429d8..3557429d8 100644
--- a/games/mesetint/mods/default/textures/default_clay.png
+++ b/games/minetest/mods/default/textures/default_clay.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_clay_brick.png b/games/minetest/mods/default/textures/default_clay_brick.png
index e36648e48..e36648e48 100644
--- a/games/mesetint/mods/default/textures/default_clay_brick.png
+++ b/games/minetest/mods/default/textures/default_clay_brick.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_clay_lump.png b/games/minetest/mods/default/textures/default_clay_lump.png
index be0bab9d7..be0bab9d7 100644
--- a/games/mesetint/mods/default/textures/default_clay_lump.png
+++ b/games/minetest/mods/default/textures/default_clay_lump.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_cloud.png b/games/minetest/mods/default/textures/default_cloud.png
index 24091a377..24091a377 100644
--- a/games/mesetint/mods/default/textures/default_cloud.png
+++ b/games/minetest/mods/default/textures/default_cloud.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_coal_lump.png b/games/minetest/mods/default/textures/default_coal_lump.png
index bad901efa..bad901efa 100644
--- a/games/mesetint/mods/default/textures/default_coal_lump.png
+++ b/games/minetest/mods/default/textures/default_coal_lump.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_cobble.png b/games/minetest/mods/default/textures/default_cobble.png
index 7d0447419..7d0447419 100644
--- a/games/mesetint/mods/default/textures/default_cobble.png
+++ b/games/minetest/mods/default/textures/default_cobble.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_dirt.png b/games/minetest/mods/default/textures/default_dirt.png
index 7cb9c89a6..7cb9c89a6 100644
--- a/games/mesetint/mods/default/textures/default_dirt.png
+++ b/games/minetest/mods/default/textures/default_dirt.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_fence.png b/games/minetest/mods/default/textures/default_fence.png
index 0b99f0eb5..0b99f0eb5 100644
--- a/games/mesetint/mods/default/textures/default_fence.png
+++ b/games/minetest/mods/default/textures/default_fence.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_furnace_front.png b/games/minetest/mods/default/textures/default_furnace_front.png
index 1620a27c3..1620a27c3 100644
--- a/games/mesetint/mods/default/textures/default_furnace_front.png
+++ b/games/minetest/mods/default/textures/default_furnace_front.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_furnace_side.png b/games/minetest/mods/default/textures/default_furnace_side.png
index 63cb162fe..63cb162fe 100644
--- a/games/mesetint/mods/default/textures/default_furnace_side.png
+++ b/games/minetest/mods/default/textures/default_furnace_side.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_glass.png b/games/minetest/mods/default/textures/default_glass.png
index ade0196fe..ade0196fe 100644
--- a/games/mesetint/mods/default/textures/default_glass.png
+++ b/games/minetest/mods/default/textures/default_glass.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_grass.png b/games/minetest/mods/default/textures/default_grass.png
index 3610bb2bc..3610bb2bc 100644
--- a/games/mesetint/mods/default/textures/default_grass.png
+++ b/games/minetest/mods/default/textures/default_grass.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_grass_footsteps.png b/games/minetest/mods/default/textures/default_grass_footsteps.png
index 57e063d8c..57e063d8c 100644
--- a/games/mesetint/mods/default/textures/default_grass_footsteps.png
+++ b/games/minetest/mods/default/textures/default_grass_footsteps.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_grass_side.png b/games/minetest/mods/default/textures/default_grass_side.png
index 4f4f680be..4f4f680be 100644
--- a/games/mesetint/mods/default/textures/default_grass_side.png
+++ b/games/minetest/mods/default/textures/default_grass_side.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_gravel.png b/games/minetest/mods/default/textures/default_gravel.png
index f08666ad9..f08666ad9 100644
--- a/games/mesetint/mods/default/textures/default_gravel.png
+++ b/games/minetest/mods/default/textures/default_gravel.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_iron_lump.png b/games/minetest/mods/default/textures/default_iron_lump.png
index edb931018..edb931018 100644
--- a/games/mesetint/mods/default/textures/default_iron_lump.png
+++ b/games/minetest/mods/default/textures/default_iron_lump.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_junglegrass.png b/games/minetest/mods/default/textures/default_junglegrass.png
index eea87c07c..eea87c07c 100644
--- a/games/mesetint/mods/default/textures/default_junglegrass.png
+++ b/games/minetest/mods/default/textures/default_junglegrass.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_jungletree.png b/games/minetest/mods/default/textures/default_jungletree.png
index ccd20ac74..ccd20ac74 100644
--- a/games/mesetint/mods/default/textures/default_jungletree.png
+++ b/games/minetest/mods/default/textures/default_jungletree.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_jungletree_top.png b/games/minetest/mods/default/textures/default_jungletree_top.png
index 2a9b51373..2a9b51373 100644
--- a/games/mesetint/mods/default/textures/default_jungletree_top.png
+++ b/games/minetest/mods/default/textures/default_jungletree_top.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_ladder.png b/games/minetest/mods/default/textures/default_ladder.png
index 11056359d..11056359d 100644
--- a/games/mesetint/mods/default/textures/default_ladder.png
+++ b/games/minetest/mods/default/textures/default_ladder.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_lava.png b/games/minetest/mods/default/textures/default_lava.png
index cb02ada13..cb02ada13 100644
--- a/games/mesetint/mods/default/textures/default_lava.png
+++ b/games/minetest/mods/default/textures/default_lava.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_leaves.png b/games/minetest/mods/default/textures/default_leaves.png
index 7a25126e9..7a25126e9 100644
--- a/games/mesetint/mods/default/textures/default_leaves.png
+++ b/games/minetest/mods/default/textures/default_leaves.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_mese.png b/games/minetest/mods/default/textures/default_mese.png
index 4c876cdc5..4c876cdc5 100644
--- a/games/mesetint/mods/default/textures/default_mese.png
+++ b/games/minetest/mods/default/textures/default_mese.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_mineral_coal.png b/games/minetest/mods/default/textures/default_mineral_coal.png
index 3ff9692fb..3ff9692fb 100644
--- a/games/mesetint/mods/default/textures/default_mineral_coal.png
+++ b/games/minetest/mods/default/textures/default_mineral_coal.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_mineral_iron.png b/games/minetest/mods/default/textures/default_mineral_iron.png
index 51b15d95d..51b15d95d 100644
--- a/games/mesetint/mods/default/textures/default_mineral_iron.png
+++ b/games/minetest/mods/default/textures/default_mineral_iron.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_mossycobble.png b/games/minetest/mods/default/textures/default_mossycobble.png
index fad1b33ff..fad1b33ff 100644
--- a/games/mesetint/mods/default/textures/default_mossycobble.png
+++ b/games/minetest/mods/default/textures/default_mossycobble.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_nc_back.png b/games/minetest/mods/default/textures/default_nc_back.png
index f09f41658..f09f41658 100644
--- a/games/mesetint/mods/default/textures/default_nc_back.png
+++ b/games/minetest/mods/default/textures/default_nc_back.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_nc_front.png b/games/minetest/mods/default/textures/default_nc_front.png
index cad9edab1..cad9edab1 100644
--- a/games/mesetint/mods/default/textures/default_nc_front.png
+++ b/games/minetest/mods/default/textures/default_nc_front.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_nc_rb.png b/games/minetest/mods/default/textures/default_nc_rb.png
index 7ebc9930d..7ebc9930d 100644
--- a/games/mesetint/mods/default/textures/default_nc_rb.png
+++ b/games/minetest/mods/default/textures/default_nc_rb.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_nc_side.png b/games/minetest/mods/default/textures/default_nc_side.png
index f954045fb..f954045fb 100644
--- a/games/mesetint/mods/default/textures/default_nc_side.png
+++ b/games/minetest/mods/default/textures/default_nc_side.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_paper.png b/games/minetest/mods/default/textures/default_paper.png
index ae5c06bc6..ae5c06bc6 100644
--- a/games/mesetint/mods/default/textures/default_paper.png
+++ b/games/minetest/mods/default/textures/default_paper.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_papyrus.png b/games/minetest/mods/default/textures/default_papyrus.png
index bf0dec7fe..bf0dec7fe 100644
--- a/games/mesetint/mods/default/textures/default_papyrus.png
+++ b/games/minetest/mods/default/textures/default_papyrus.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_rail.png b/games/minetest/mods/default/textures/default_rail.png
index 18176d9f3..18176d9f3 100644
--- a/games/mesetint/mods/default/textures/default_rail.png
+++ b/games/minetest/mods/default/textures/default_rail.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_rail_crossing.png b/games/minetest/mods/default/textures/default_rail_crossing.png
index 984640577..984640577 100644
--- a/games/mesetint/mods/default/textures/default_rail_crossing.png
+++ b/games/minetest/mods/default/textures/default_rail_crossing.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_rail_curved.png b/games/minetest/mods/default/textures/default_rail_curved.png
index 62afa3d2b..62afa3d2b 100644
--- a/games/mesetint/mods/default/textures/default_rail_curved.png
+++ b/games/minetest/mods/default/textures/default_rail_curved.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_rail_t_junction.png b/games/minetest/mods/default/textures/default_rail_t_junction.png
index 9985f63cd..9985f63cd 100644
--- a/games/mesetint/mods/default/textures/default_rail_t_junction.png
+++ b/games/minetest/mods/default/textures/default_rail_t_junction.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_sand.png b/games/minetest/mods/default/textures/default_sand.png
index 15101a7eb..15101a7eb 100644
--- a/games/mesetint/mods/default/textures/default_sand.png
+++ b/games/minetest/mods/default/textures/default_sand.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_sandstone.png b/games/minetest/mods/default/textures/default_sandstone.png
index c4759b4d0..c4759b4d0 100644
--- a/games/mesetint/mods/default/textures/default_sandstone.png
+++ b/games/minetest/mods/default/textures/default_sandstone.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_sapling.png b/games/minetest/mods/default/textures/default_sapling.png
index 73f502306..73f502306 100644
--- a/games/mesetint/mods/default/textures/default_sapling.png
+++ b/games/minetest/mods/default/textures/default_sapling.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_scorched_stuff.png b/games/minetest/mods/default/textures/default_scorched_stuff.png
index 9ced2fbe8..9ced2fbe8 100644
--- a/games/mesetint/mods/default/textures/default_scorched_stuff.png
+++ b/games/minetest/mods/default/textures/default_scorched_stuff.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_sign_wall.png b/games/minetest/mods/default/textures/default_sign_wall.png
index 06eac1ee9..06eac1ee9 100644
--- a/games/mesetint/mods/default/textures/default_sign_wall.png
+++ b/games/minetest/mods/default/textures/default_sign_wall.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_steel_block.png b/games/minetest/mods/default/textures/default_steel_block.png
index 8e2020081..8e2020081 100644
--- a/games/mesetint/mods/default/textures/default_steel_block.png
+++ b/games/minetest/mods/default/textures/default_steel_block.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_steel_ingot.png b/games/minetest/mods/default/textures/default_steel_ingot.png
index f6c9414e7..f6c9414e7 100644
--- a/games/mesetint/mods/default/textures/default_steel_ingot.png
+++ b/games/minetest/mods/default/textures/default_steel_ingot.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_stick.png b/games/minetest/mods/default/textures/default_stick.png
index 2d31797f0..2d31797f0 100644
--- a/games/mesetint/mods/default/textures/default_stick.png
+++ b/games/minetest/mods/default/textures/default_stick.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_stone.png b/games/minetest/mods/default/textures/default_stone.png
index cad0dbe2b..cad0dbe2b 100644
--- a/games/mesetint/mods/default/textures/default_stone.png
+++ b/games/minetest/mods/default/textures/default_stone.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tnt_bottom.png b/games/minetest/mods/default/textures/default_tnt_bottom.png
index 8ba2fca0b..8ba2fca0b 100644
--- a/games/mesetint/mods/default/textures/default_tnt_bottom.png
+++ b/games/minetest/mods/default/textures/default_tnt_bottom.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tnt_side.png b/games/minetest/mods/default/textures/default_tnt_side.png
index d9a2bc4eb..d9a2bc4eb 100644
--- a/games/mesetint/mods/default/textures/default_tnt_side.png
+++ b/games/minetest/mods/default/textures/default_tnt_side.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tnt_top.png b/games/minetest/mods/default/textures/default_tnt_top.png
index a84ffc9af..a84ffc9af 100644
--- a/games/mesetint/mods/default/textures/default_tnt_top.png
+++ b/games/minetest/mods/default/textures/default_tnt_top.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_mesepick.png b/games/minetest/mods/default/textures/default_tool_mesepick.png
index a1f3812e0..a1f3812e0 100644
--- a/games/mesetint/mods/default/textures/default_tool_mesepick.png
+++ b/games/minetest/mods/default/textures/default_tool_mesepick.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_steelaxe.png b/games/minetest/mods/default/textures/default_tool_steelaxe.png
index 0ad23c93b..0ad23c93b 100644
--- a/games/mesetint/mods/default/textures/default_tool_steelaxe.png
+++ b/games/minetest/mods/default/textures/default_tool_steelaxe.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_steelpick.png b/games/minetest/mods/default/textures/default_tool_steelpick.png
index 7982dafeb..7982dafeb 100644
--- a/games/mesetint/mods/default/textures/default_tool_steelpick.png
+++ b/games/minetest/mods/default/textures/default_tool_steelpick.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_steelshovel.png b/games/minetest/mods/default/textures/default_tool_steelshovel.png
index ed8413846..ed8413846 100644
--- a/games/mesetint/mods/default/textures/default_tool_steelshovel.png
+++ b/games/minetest/mods/default/textures/default_tool_steelshovel.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_steelsword.png b/games/minetest/mods/default/textures/default_tool_steelsword.png
index a74581238..a74581238 100644
--- a/games/mesetint/mods/default/textures/default_tool_steelsword.png
+++ b/games/minetest/mods/default/textures/default_tool_steelsword.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_stoneaxe.png b/games/minetest/mods/default/textures/default_tool_stoneaxe.png
index 698ac918f..698ac918f 100644
--- a/games/mesetint/mods/default/textures/default_tool_stoneaxe.png
+++ b/games/minetest/mods/default/textures/default_tool_stoneaxe.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_stonepick.png b/games/minetest/mods/default/textures/default_tool_stonepick.png
index b34de6f32..b34de6f32 100644
--- a/games/mesetint/mods/default/textures/default_tool_stonepick.png
+++ b/games/minetest/mods/default/textures/default_tool_stonepick.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_stoneshovel.png b/games/minetest/mods/default/textures/default_tool_stoneshovel.png
index ba5243101..ba5243101 100644
--- a/games/mesetint/mods/default/textures/default_tool_stoneshovel.png
+++ b/games/minetest/mods/default/textures/default_tool_stoneshovel.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_stonesword.png b/games/minetest/mods/default/textures/default_tool_stonesword.png
index 8f8191f92..8f8191f92 100644
--- a/games/mesetint/mods/default/textures/default_tool_stonesword.png
+++ b/games/minetest/mods/default/textures/default_tool_stonesword.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_woodaxe.png b/games/minetest/mods/default/textures/default_tool_woodaxe.png
index 3daa4af72..3daa4af72 100644
--- a/games/mesetint/mods/default/textures/default_tool_woodaxe.png
+++ b/games/minetest/mods/default/textures/default_tool_woodaxe.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_woodpick.png b/games/minetest/mods/default/textures/default_tool_woodpick.png
index ea728cca3..ea728cca3 100644
--- a/games/mesetint/mods/default/textures/default_tool_woodpick.png
+++ b/games/minetest/mods/default/textures/default_tool_woodpick.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_woodshovel.png b/games/minetest/mods/default/textures/default_tool_woodshovel.png
index 649ab4c38..649ab4c38 100644
--- a/games/mesetint/mods/default/textures/default_tool_woodshovel.png
+++ b/games/minetest/mods/default/textures/default_tool_woodshovel.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tool_woodsword.png b/games/minetest/mods/default/textures/default_tool_woodsword.png
index d6c6be325..d6c6be325 100644
--- a/games/mesetint/mods/default/textures/default_tool_woodsword.png
+++ b/games/minetest/mods/default/textures/default_tool_woodsword.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_torch.png b/games/minetest/mods/default/textures/default_torch.png
index 7a953c222..7a953c222 100644
--- a/games/mesetint/mods/default/textures/default_torch.png
+++ b/games/minetest/mods/default/textures/default_torch.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_torch_on_ceiling.png b/games/minetest/mods/default/textures/default_torch_on_ceiling.png
index 6965d380e..6965d380e 100644
--- a/games/mesetint/mods/default/textures/default_torch_on_ceiling.png
+++ b/games/minetest/mods/default/textures/default_torch_on_ceiling.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_torch_on_floor.png b/games/minetest/mods/default/textures/default_torch_on_floor.png
index 76d1dd5ac..76d1dd5ac 100644
--- a/games/mesetint/mods/default/textures/default_torch_on_floor.png
+++ b/games/minetest/mods/default/textures/default_torch_on_floor.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tree.png b/games/minetest/mods/default/textures/default_tree.png
index 65abfc243..65abfc243 100644
--- a/games/mesetint/mods/default/textures/default_tree.png
+++ b/games/minetest/mods/default/textures/default_tree.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_tree_top.png b/games/minetest/mods/default/textures/default_tree_top.png
index 2cdd94f80..2cdd94f80 100644
--- a/games/mesetint/mods/default/textures/default_tree_top.png
+++ b/games/minetest/mods/default/textures/default_tree_top.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_water.png b/games/minetest/mods/default/textures/default_water.png
index e5f8cdc25..e5f8cdc25 100644
--- a/games/mesetint/mods/default/textures/default_water.png
+++ b/games/minetest/mods/default/textures/default_water.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/default_wood.png b/games/minetest/mods/default/textures/default_wood.png
index 57c1d7c12..57c1d7c12 100644
--- a/games/mesetint/mods/default/textures/default_wood.png
+++ b/games/minetest/mods/default/textures/default_wood.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/heart.png b/games/minetest/mods/default/textures/heart.png
index 6bc183e04..6bc183e04 100644
--- a/games/mesetint/mods/default/textures/heart.png
+++ b/games/minetest/mods/default/textures/heart.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/player.png b/games/minetest/mods/default/textures/player.png
index 90adf9747..90adf9747 100644
--- a/games/mesetint/mods/default/textures/player.png
+++ b/games/minetest/mods/default/textures/player.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/player_back.png b/games/minetest/mods/default/textures/player_back.png
index 530aa7519..530aa7519 100644
--- a/games/mesetint/mods/default/textures/player_back.png
+++ b/games/minetest/mods/default/textures/player_back.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/treeprop.png b/games/minetest/mods/default/textures/treeprop.png
index 77ea4d6d4..77ea4d6d4 100644
--- a/games/mesetint/mods/default/textures/treeprop.png
+++ b/games/minetest/mods/default/textures/treeprop.png
Binary files differ
diff --git a/games/mesetint/mods/default/textures/wieldhand.png b/games/minetest/mods/default/textures/wieldhand.png
index c4549e5ed..c4549e5ed 100644
--- a/games/mesetint/mods/default/textures/wieldhand.png
+++ b/games/minetest/mods/default/textures/wieldhand.png
Binary files differ
diff --git a/games/mesetint/mods/experimental/depends.txt b/games/minetest/mods/experimental/depends.txt
index 3a7daa1d7..3a7daa1d7 100644
--- a/games/mesetint/mods/experimental/depends.txt
+++ b/games/minetest/mods/experimental/depends.txt
diff --git a/games/mesetint/mods/experimental/init.lua b/games/minetest/mods/experimental/init.lua
index e11086274..e11086274 100644
--- a/games/mesetint/mods/experimental/init.lua
+++ b/games/minetest/mods/experimental/init.lua
diff --git a/games/mesetint/mods/experimental/textures/experimental_dummyball.png b/games/minetest/mods/experimental/textures/experimental_dummyball.png
index 084676552..084676552 100644
--- a/games/mesetint/mods/experimental/textures/experimental_dummyball.png
+++ b/games/minetest/mods/experimental/textures/experimental_dummyball.png
Binary files differ
diff --git a/games/mesetint/mods/give_initial_stuff/depends.txt b/games/minetest/mods/give_initial_stuff/depends.txt
index 3a7daa1d7..3a7daa1d7 100644
--- a/games/mesetint/mods/give_initial_stuff/depends.txt
+++ b/games/minetest/mods/give_initial_stuff/depends.txt
diff --git a/games/mesetint/mods/give_initial_stuff/init.lua b/games/minetest/mods/give_initial_stuff/init.lua
index 9cf6b51b5..9cf6b51b5 100644
--- a/games/mesetint/mods/give_initial_stuff/init.lua
+++ b/games/minetest/mods/give_initial_stuff/init.lua
diff --git a/games/mesetint/mods/legacy/depends.txt b/games/minetest/mods/legacy/depends.txt
index 3a7daa1d7..3a7daa1d7 100644
--- a/games/mesetint/mods/legacy/depends.txt
+++ b/games/minetest/mods/legacy/depends.txt
diff --git a/games/mesetint/mods/legacy/init.lua b/games/minetest/mods/legacy/init.lua
index 7f9088ce0..7f9088ce0 100644
--- a/games/mesetint/mods/legacy/init.lua
+++ b/games/minetest/mods/legacy/init.lua
diff --git a/games/mesetint/mods/legacy/textures/apple_iron.png b/games/minetest/mods/legacy/textures/apple_iron.png
index 2dffdf014..2dffdf014 100644
--- a/games/mesetint/mods/legacy/textures/apple_iron.png
+++ b/games/minetest/mods/legacy/textures/apple_iron.png
Binary files differ
diff --git a/games/mesetint/mods/legacy/textures/cooked_rat.png b/games/minetest/mods/legacy/textures/cooked_rat.png
index daad3be0d..daad3be0d 100644
--- a/games/mesetint/mods/legacy/textures/cooked_rat.png
+++ b/games/minetest/mods/legacy/textures/cooked_rat.png
Binary files differ
diff --git a/games/mesetint/mods/legacy/textures/dungeon_master.png b/games/minetest/mods/legacy/textures/dungeon_master.png
index 3457c8228..3457c8228 100644
--- a/games/mesetint/mods/legacy/textures/dungeon_master.png
+++ b/games/minetest/mods/legacy/textures/dungeon_master.png
Binary files differ
diff --git a/games/mesetint/mods/legacy/textures/fireball.png b/games/minetest/mods/legacy/textures/fireball.png
index 523142850..523142850 100644
--- a/games/mesetint/mods/legacy/textures/fireball.png
+++ b/games/minetest/mods/legacy/textures/fireball.png
Binary files differ
diff --git a/games/mesetint/mods/legacy/textures/firefly.png b/games/minetest/mods/legacy/textures/firefly.png
index 40df7fa1c..40df7fa1c 100644
--- a/games/mesetint/mods/legacy/textures/firefly.png
+++ b/games/minetest/mods/legacy/textures/firefly.png
Binary files differ
diff --git a/games/mesetint/mods/legacy/textures/oerkki1.png b/games/minetest/mods/legacy/textures/oerkki1.png
index 33cbac9e7..33cbac9e7 100644
--- a/games/mesetint/mods/legacy/textures/oerkki1.png
+++ b/games/minetest/mods/legacy/textures/oerkki1.png
Binary files differ
diff --git a/games/mesetint/mods/legacy/textures/oerkki1_damaged.png b/games/minetest/mods/legacy/textures/oerkki1_damaged.png
index 9b777387c..9b777387c 100644
--- a/games/mesetint/mods/legacy/textures/oerkki1_damaged.png
+++ b/games/minetest/mods/legacy/textures/oerkki1_damaged.png
Binary files differ
diff --git a/games/mesetint/mods/legacy/textures/rat.png b/games/minetest/mods/legacy/textures/rat.png
index d1a0e2ae2..d1a0e2ae2 100644
--- a/games/mesetint/mods/legacy/textures/rat.png
+++ b/games/minetest/mods/legacy/textures/rat.png
Binary files differ
diff --git a/mods/mesetint/mods_here.txt b/mods/minetest/mods_here.txt
index 63042b493..63042b493 100644
--- a/mods/mesetint/mods_here.txt
+++ b/mods/minetest/mods_here.txt
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index a777ed736..5d4c969e3 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -101,7 +101,7 @@ void set_default_settings(Settings *settings)
// Server stuff
// "map-dir" doesn't exist by default.
- settings->setDefault("default_game", "mesetint");
+ settings->setDefault("default_game", "minetest");
settings->setDefault("motd", "");
settings->setDefault("max_users", "100");
settings->setDefault("strict_protocol_version_checking", "true");
diff --git a/src/main.cpp b/src/main.cpp
index fe1bcd450..41b62b1dd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -739,6 +739,20 @@ void SpeedTests()
}
}
+static void print_worldspecs(const std::vector<WorldSpec> &worldspecs,
+ std::ostream &os)
+{
+ for(u32 i=0; i<worldspecs.size(); i++){
+ std::string name = worldspecs[i].name;
+ std::string path = worldspecs[i].path;
+ if(name.find(" ") != std::string::npos)
+ name = std::string("'") + name + "'";
+ path = std::string("'") + path + "'";
+ name = padStringRight(name, 14);
+ os<<" "<<name<<" "<<path<<std::endl;
+ }
+}
+
int main(int argc, char *argv[])
{
int retval = 0;
@@ -777,6 +791,8 @@ int main(int argc, char *argv[])
"Same as --world (deprecated)"));
allowed_options.insert("world", ValueSpec(VALUETYPE_STRING,
"Set world path (implies local game)"));
+ allowed_options.insert("worldname", ValueSpec(VALUETYPE_STRING,
+ "Set world by name (implies local game)"));
allowed_options.insert("info", ValueSpec(VALUETYPE_FLAG,
"Print more information to console"));
allowed_options.insert("verbose", ValueSpec(VALUETYPE_FLAG,
@@ -894,7 +910,7 @@ int main(int argc, char *argv[])
}
// Print startup message
- actionstream<<PROJECT_NAME<<
+ infostream<<PROJECT_NAME<<
" with SER_FMT_VER_HIGHEST="<<(int)SER_FMT_VER_HIGHEST
<<", "<<BUILD_INFO
<<std::endl;
@@ -991,11 +1007,16 @@ int main(int argc, char *argv[])
commanded_world = cmd_args.get("world");
else if(cmd_args.exists("map-dir"))
commanded_world = cmd_args.get("map-dir");
- else if(cmd_args.exists("nonopt0"))
+ else if(cmd_args.exists("nonopt0")) // First nameless argument
commanded_world = cmd_args.get("nonopt0");
else if(g_settings->exists("map-dir"))
commanded_world = g_settings->get("map-dir");
+ // World name
+ std::string commanded_worldname = "";
+ if(cmd_args.exists("worldname"))
+ commanded_worldname = cmd_args.get("worldname");
+
// Strip world.mt from commanded_world
{
std::string worldmt = "world.mt";
@@ -1037,21 +1058,74 @@ int main(int argc, char *argv[])
// World directory
std::string world_path;
+ verbosestream<<"Determining world path"<<std::endl;
bool is_legacy_world = false;
+ // If a world was commanded, use it
if(commanded_world != ""){
world_path = commanded_world;
+ infostream<<"Using commanded world path ["<<world_path<<"]"
+ <<std::endl;
+ }
+ // If a world name was specified, select it
+ else if(commanded_worldname != ""){
+ // Get information about available worlds
+ std::vector<WorldSpec> worldspecs = getAvailableWorlds();
+ world_path = "";
+ for(u32 i=0; i<worldspecs.size(); i++){
+ std::string name = worldspecs[i].name;
+ if(name == commanded_worldname){
+ world_path = worldspecs[i].path;
+ break;
+ }
+ }
+ if(world_path == ""){
+ dstream<<"World '"<<commanded_worldname<<"' not "
+ <<"available. Available worlds:"<<std::endl;
+ print_worldspecs(worldspecs, dstream);
+ return 1;
+ }
}
- else{
- // No specific world was commanded
- // Check if the world is found from the default directory, and if
- // not, see if the legacy world directory exists.
- world_path = porting::path_user + DIR_DELIM + "worlds" + DIR_DELIM + "world";
- std::string legacy_world_path = porting::path_user + DIR_DELIM + "world";
- if(!fs::PathExists(world_path) && fs::PathExists(legacy_world_path)){
- errorstream<<"Warning: Using legacy world directory \""
- <<legacy_world_path<<"\""<<std::endl;
- world_path = legacy_world_path;
- is_legacy_world = true;
+ // No world was specified; try to select it automatically
+ else
+ {
+ // Get information about available worlds
+ std::vector<WorldSpec> worldspecs = getAvailableWorlds();
+ // If a world name was specified, select it
+ if(commanded_worldname != ""){
+ world_path = "";
+ for(u32 i=0; i<worldspecs.size(); i++){
+ std::string name = worldspecs[i].name;
+ if(name == commanded_worldname){
+ world_path = worldspecs[i].path;
+ break;
+ }
+ }
+ if(world_path == ""){
+ dstream<<"World '"<<commanded_worldname<<"' not "
+ <<"available. Available worlds:"<<std::endl;
+ print_worldspecs(worldspecs, dstream);
+ return 1;
+ }
+ }
+ // If there is only a single world, use it
+ if(worldspecs.size() == 1){
+ world_path = worldspecs[0].path;
+ dstream<<"Automatically selecting world at ["
+ <<world_path<<"]"<<std::endl;
+ // If there are multiple worlds, list them
+ } else if(worldspecs.size() > 1){
+ dstream<<"Multiple worlds are available."<<std::endl;
+ dstream<<"Please select one using --worldname <name>"
+ <<" or --world <path>"<<std::endl;
+ print_worldspecs(worldspecs, dstream);
+ return 1;
+ // If there are no worlds, automatically create a new one
+ } else {
+ // This is the ultimate default world path
+ world_path = porting::path_user + DIR_DELIM + "worlds" +
+ DIR_DELIM + "world";
+ infostream<<"Creating default world at ["
+ <<world_path<<"]"<<std::endl;
}
}
@@ -1059,25 +1133,49 @@ int main(int argc, char *argv[])
errorstream<<"No world path specified or found."<<std::endl;
return 1;
}
+ verbosestream<<"Using world path ["<<world_path<<"]"<<std::endl;
- // Gamespec
- std::string world_gameid = getWorldGameId(world_path, is_legacy_world);
- SubgameSpec gamespec = findSubgame(world_gameid);
- if(commanded_gamespec.isValid() &&
- commanded_gamespec.id != world_gameid){
- errorstream<<"WARNING: Overriding gameid from \""
- <<world_gameid<<"\" to \""
- <<commanded_gamespec.id<<"\""<<std::endl;
- gamespec = commanded_gamespec;
+ // We need a gameid.
+ std::string gameid;
+ verbosestream<<"Determining gameid"<<std::endl;
+ // If world doesn't exist
+ if(!getWorldExists(world_path))
+ {
+ // Try to take gamespec from command line
+ if(commanded_gamespec.isValid()){
+ gameid = commanded_gamespec.id;
+ infostream<<"Using commanded gameid ["<<gameid<<"]"<<std::endl;
+ }
+ // Otherwise we will be using "minetest"
+ else{
+ gameid = g_settings->get("default_game");
+ infostream<<"Using default gameid ["<<gameid<<"]"<<std::endl;
+ }
}
-
+ // If world exists
+ else
+ {
+ // Otherwise read from the world
+ std::string world_gameid = getWorldGameId(world_path, is_legacy_world);
+ gameid = world_gameid;
+ if(commanded_gamespec.isValid() &&
+ commanded_gamespec.id != world_gameid){
+ gameid = commanded_gamespec.id;
+ errorstream<<"WARNING: Using commanded gameid ["<<gameid<<"]"
+ <<" instead of world gameid ["<<world_gameid
+ <<"]"<<std::endl;
+ } else{
+ infostream<<"Using world gameid ["<<gameid<<"]"<<std::endl;
+ }
+ }
+ verbosestream<<"Finding subgame ["<<gameid<<"]"<<std::endl;
+ SubgameSpec gamespec = findSubgame(gameid);
if(!gamespec.isValid()){
- errorstream<<"Invalid gamespec. (world_gameid="
- <<world_gameid<<")"<<std::endl;
+ errorstream<<"Subgame ["<<gameid<<"] could not be found."
+ <<std::endl;
return 1;
}
-
- infostream<<"Using gamespec \""<<gamespec.id<<"\""<<std::endl;
+ verbosestream<<"Using gameid ["<<gamespec.id<<"]"<<std::endl;
// Create server
Server server(world_path, configpath, gamespec, false);
diff --git a/src/subgame.cpp b/src/subgame.cpp
index 3d4480ebf..d7668b0e5 100644
--- a/src/subgame.cpp
+++ b/src/subgame.cpp
@@ -78,7 +78,13 @@ std::vector<SubgameSpec> getAvailableGames()
return specs;
}
-#define LEGACY_GAMEID "mesetint"
+#define LEGACY_GAMEID "minetest"
+
+bool getWorldExists(const std::string &world_path)
+{
+ return (fs::PathExists(world_path + DIR_DELIM + "map_meta.txt") ||
+ fs::PathExists(world_path + DIR_DELIM + "world.mt"));
+}
std::string getWorldGameId(const std::string &world_path, bool can_be_legacy)
{
@@ -95,6 +101,9 @@ std::string getWorldGameId(const std::string &world_path, bool can_be_legacy)
}
if(!conf.exists("gameid"))
return "";
+ // The "mesetint" gameid has been discarded
+ if(conf.get("gameid") == "mesetint")
+ return "minetest";
return conf.get("gameid");
}
@@ -113,7 +122,9 @@ std::vector<WorldSpec> getAvailableWorlds()
continue;
std::string fullpath = *i + DIR_DELIM + dirvector[j].name;
std::string name = dirvector[j].name;
- std::string gameid = getWorldGameId(fullpath);
+ // Just allow filling in the gameid always for now
+ bool can_be_legacy = true;
+ std::string gameid = getWorldGameId(fullpath, can_be_legacy);
WorldSpec spec(fullpath, name, gameid);
if(!spec.isValid()){
infostream<<"(invalid: "<<name<<") ";
diff --git a/src/subgame.h b/src/subgame.h
index 061bb4180..49e526d76 100644
--- a/src/subgame.h
+++ b/src/subgame.h
@@ -52,6 +52,7 @@ SubgameSpec findSubgame(const std::string &id);
std::set<std::string> getAvailableGameIds();
std::vector<SubgameSpec> getAvailableGames();
+bool getWorldExists(const std::string &world_path);
std::string getWorldGameId(const std::string &world_path,
bool can_be_legacy=false);