diff options
-rw-r--r-- | share/client/textures/fontlucida.png (renamed from data/clienttextures/fontlucida.png) | bin | 17284 -> 17284 bytes | |||
-rw-r--r-- | share/client/textures/menubg.png (renamed from data/clienttextures/menubg.png) | bin | 1586 -> 1586 bytes | |||
-rw-r--r-- | share/client/textures/menulogo.png (renamed from data/clienttextures/menulogo.png) | bin | 498 -> 498 bytes | |||
-rw-r--r-- | share/client/textures/smoke_puff.png (renamed from data/clienttextures/smoke_puff.png) | bin | 2182 -> 2182 bytes | |||
-rw-r--r-- | share/client/textures/unknown_block.png (renamed from data/clienttextures/unknown_block.png) | bin | 582 -> 582 bytes | |||
-rw-r--r-- | share/client/textures/unknown_item.png (renamed from data/clienttextures/unknown_item.png) | bin | 710 -> 710 bytes | |||
-rw-r--r-- | share/client/textures/unknown_object.png (renamed from data/clienttextures/unknown_object.png) | bin | 489 -> 489 bytes | |||
-rw-r--r-- | share/server/builtin.lua (renamed from data/builtin.lua) | 0 | ||||
-rw-r--r-- | share/server/games/mesetint/mods/bucket/depends.txt (renamed from data/mods/bucket/depends.txt) | 0 | ||||
-rw-r--r-- | share/server/games/mesetint/mods/bucket/init.lua (renamed from data/mods/bucket/init.lua) | 0 | ||||
-rw-r--r-- | share/server/games/mesetint/mods/bucket/textures/bucket.png (renamed from data/mods/bucket/textures/bucket.png) | bin | 329 -> 329 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/bucket/textures/bucket_lava.png (renamed from data/mods/bucket/textures/bucket_lava.png) | bin | 363 -> 363 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/bucket/textures/bucket_water.png (renamed from data/mods/bucket/textures/bucket_water.png) | bin | 369 -> 369 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/init.lua (renamed from data/mods/default/init.lua) | 0 | ||||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/crack.png (renamed from data/mods/default/textures/crack.png) | bin | 1076 -> 1076 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_apple.png (renamed from data/mods/default/textures/default_apple.png) | bin | 203 -> 203 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_book.png (renamed from data/mods/default/textures/default_book.png) | bin | 292 -> 292 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_bookshelf.png (renamed from data/mods/default/textures/default_bookshelf.png) | bin | 597 -> 597 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_brick.png (renamed from data/mods/default/textures/default_brick.png) | bin | 604 -> 604 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_cactus_side.png (renamed from data/mods/default/textures/default_cactus_side.png) | bin | 279 -> 279 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_cactus_top.png (renamed from data/mods/default/textures/default_cactus_top.png) | bin | 236 -> 236 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_chest_front.png (renamed from data/mods/default/textures/default_chest_front.png) | bin | 167 -> 167 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_chest_lock.png (renamed from data/mods/default/textures/default_chest_lock.png) | bin | 224 -> 224 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_chest_side.png (renamed from data/mods/default/textures/default_chest_side.png) | bin | 151 -> 151 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_chest_top.png (renamed from data/mods/default/textures/default_chest_top.png) | bin | 142 -> 142 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_clay.png (renamed from data/mods/default/textures/default_clay.png) | bin | 613 -> 613 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_clay_brick.png (renamed from data/mods/default/textures/default_clay_brick.png) | bin | 249 -> 249 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_clay_lump.png (renamed from data/mods/default/textures/default_clay_lump.png) | bin | 210 -> 210 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_cloud.png (renamed from data/mods/default/textures/default_cloud.png) | bin | 118 -> 118 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_coal_lump.png (renamed from data/mods/default/textures/default_coal_lump.png) | bin | 933 -> 933 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_cobble.png (renamed from data/mods/default/textures/default_cobble.png) | bin | 830 -> 830 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_dirt.png (renamed from data/mods/default/textures/default_dirt.png) | bin | 1586 -> 1586 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_fence.png (renamed from data/mods/default/textures/default_fence.png) | bin | 539 -> 539 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_furnace_front.png (renamed from data/mods/default/textures/default_furnace_front.png) | bin | 246 -> 246 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_furnace_side.png (renamed from data/mods/default/textures/default_furnace_side.png) | bin | 236 -> 236 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_glass.png (renamed from data/mods/default/textures/default_glass.png) | bin | 978 -> 978 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_grass.png (renamed from data/mods/default/textures/default_grass.png) | bin | 874 -> 874 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_grass_footsteps.png (renamed from data/mods/default/textures/default_grass_footsteps.png) | bin | 856 -> 856 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_grass_side.png (renamed from data/mods/default/textures/default_grass_side.png) | bin | 878 -> 878 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_gravel.png (renamed from data/mods/default/textures/default_gravel.png) | bin | 591 -> 591 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_iron_lump.png (renamed from data/mods/default/textures/default_iron_lump.png) | bin | 936 -> 936 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_junglegrass.png (renamed from data/mods/default/textures/default_junglegrass.png) | bin | 672 -> 672 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_jungletree.png (renamed from data/mods/default/textures/default_jungletree.png) | bin | 502 -> 502 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_jungletree_top.png (renamed from data/mods/default/textures/default_jungletree_top.png) | bin | 507 -> 507 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_ladder.png (renamed from data/mods/default/textures/default_ladder.png) | bin | 395 -> 395 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_lava.png (renamed from data/mods/default/textures/default_lava.png) | bin | 357 -> 357 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_leaves.png (renamed from data/mods/default/textures/default_leaves.png) | bin | 1689 -> 1689 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_mese.png (renamed from data/mods/default/textures/default_mese.png) | bin | 203 -> 203 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_mineral_coal.png (renamed from data/mods/default/textures/default_mineral_coal.png) | bin | 952 -> 952 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_mineral_iron.png (renamed from data/mods/default/textures/default_mineral_iron.png) | bin | 1614 -> 1614 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_mossycobble.png (renamed from data/mods/default/textures/default_mossycobble.png) | bin | 965 -> 965 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_nc_back.png (renamed from data/mods/default/textures/default_nc_back.png) | bin | 303 -> 303 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_nc_front.png (renamed from data/mods/default/textures/default_nc_front.png) | bin | 410 -> 410 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_nc_rb.png (renamed from data/mods/default/textures/default_nc_rb.png) | bin | 203 -> 203 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_nc_side.png (renamed from data/mods/default/textures/default_nc_side.png) | bin | 260 -> 260 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_paper.png (renamed from data/mods/default/textures/default_paper.png) | bin | 242 -> 242 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_papyrus.png (renamed from data/mods/default/textures/default_papyrus.png) | bin | 366 -> 366 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_rail.png (renamed from data/mods/default/textures/default_rail.png) | bin | 507 -> 507 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_rail_crossing.png (renamed from data/mods/default/textures/default_rail_crossing.png) | bin | 555 -> 555 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_rail_curved.png (renamed from data/mods/default/textures/default_rail_curved.png) | bin | 545 -> 545 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_rail_t_junction.png (renamed from data/mods/default/textures/default_rail_t_junction.png) | bin | 542 -> 542 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_sand.png (renamed from data/mods/default/textures/default_sand.png) | bin | 1381 -> 1381 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_sandstone.png (renamed from data/mods/default/textures/default_sandstone.png) | bin | 772 -> 772 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_sapling.png (renamed from data/mods/default/textures/default_sapling.png) | bin | 502 -> 502 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_scorched_stuff.png (renamed from data/mods/default/textures/default_scorched_stuff.png) | bin | 233 -> 233 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_sign.png (renamed from data/mods/default/textures/default_sign.png) | bin | 1374 -> 1374 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_sign_back.png (renamed from data/mods/default/textures/default_sign_back.png) | bin | 1312 -> 1312 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_sign_wall.png (renamed from data/mods/default/textures/default_sign_wall.png) | bin | 489 -> 489 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_steel_block.png (renamed from data/mods/default/textures/default_steel_block.png) | bin | 219 -> 219 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_steel_ingot.png (renamed from data/mods/default/textures/default_steel_ingot.png) | bin | 207 -> 207 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_stick.png (renamed from data/mods/default/textures/default_stick.png) | bin | 182 -> 182 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_stone.png (renamed from data/mods/default/textures/default_stone.png) | bin | 806 -> 806 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tnt_bottom.png (renamed from data/mods/default/textures/default_tnt_bottom.png) | bin | 161 -> 161 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tnt_side.png (renamed from data/mods/default/textures/default_tnt_side.png) | bin | 186 -> 186 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tnt_top.png (renamed from data/mods/default/textures/default_tnt_top.png) | bin | 264 -> 264 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_mesepick.png (renamed from data/mods/default/textures/default_tool_mesepick.png) | bin | 252 -> 252 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_steelaxe.png (renamed from data/mods/default/textures/default_tool_steelaxe.png) | bin | 927 -> 927 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_steelpick.png (renamed from data/mods/default/textures/default_tool_steelpick.png) | bin | 271 -> 271 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_steelshovel.png (renamed from data/mods/default/textures/default_tool_steelshovel.png) | bin | 216 -> 216 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_steelsword.png (renamed from data/mods/default/textures/default_tool_steelsword.png) | bin | 291 -> 291 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_stoneaxe.png (renamed from data/mods/default/textures/default_tool_stoneaxe.png) | bin | 931 -> 931 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_stonepick.png (renamed from data/mods/default/textures/default_tool_stonepick.png) | bin | 262 -> 262 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_stoneshovel.png (renamed from data/mods/default/textures/default_tool_stoneshovel.png) | bin | 203 -> 203 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_stonesword.png (renamed from data/mods/default/textures/default_tool_stonesword.png) | bin | 301 -> 301 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_woodaxe.png (renamed from data/mods/default/textures/default_tool_woodaxe.png) | bin | 927 -> 927 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_woodpick.png (renamed from data/mods/default/textures/default_tool_woodpick.png) | bin | 245 -> 245 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_woodshovel.png (renamed from data/mods/default/textures/default_tool_woodshovel.png) | bin | 203 -> 203 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tool_woodsword.png (renamed from data/mods/default/textures/default_tool_woodsword.png) | bin | 255 -> 255 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_torch.png (renamed from data/mods/default/textures/default_torch.png) | bin | 925 -> 925 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_torch_on_ceiling.png (renamed from data/mods/default/textures/default_torch_on_ceiling.png) | bin | 913 -> 913 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_torch_on_floor.png (renamed from data/mods/default/textures/default_torch_on_floor.png) | bin | 917 -> 917 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tree.png (renamed from data/mods/default/textures/default_tree.png) | bin | 1445 -> 1445 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_tree_top.png (renamed from data/mods/default/textures/default_tree_top.png) | bin | 1024 -> 1024 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_water.png (renamed from data/mods/default/textures/default_water.png) | bin | 518 -> 518 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/default_wood.png (renamed from data/mods/default/textures/default_wood.png) | bin | 1400 -> 1400 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/heart.png (renamed from data/mods/default/textures/heart.png) | bin | 308 -> 308 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/player.png (renamed from data/mods/default/textures/player.png) | bin | 212 -> 212 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/player_back.png (renamed from data/mods/default/textures/player_back.png) | bin | 201 -> 201 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/skybox1.png (renamed from data/mods/default/textures/skybox1.png) | bin | 236 -> 236 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/skybox1_dawn.png (renamed from data/mods/default/textures/skybox1_dawn.png) | bin | 598 -> 598 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/skybox1_night.png (renamed from data/mods/default/textures/skybox1_night.png) | bin | 2247 -> 2247 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/skybox2.png (renamed from data/mods/default/textures/skybox2.png) | bin | 231 -> 231 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/skybox2_dawn.png (renamed from data/mods/default/textures/skybox2_dawn.png) | bin | 199 -> 199 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/skybox2_night.png (renamed from data/mods/default/textures/skybox2_night.png) | bin | 2583 -> 2583 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/skybox3.png (renamed from data/mods/default/textures/skybox3.png) | bin | 190 -> 190 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/skybox3_dawn.png (renamed from data/mods/default/textures/skybox3_dawn.png) | bin | 190 -> 190 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/skybox3_night.png (renamed from data/mods/default/textures/skybox3_night.png) | bin | 190 -> 190 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/treeprop.png (renamed from data/mods/default/textures/treeprop.png) | bin | 1055 -> 1055 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/default/textures/wieldhand.png (renamed from data/mods/default/textures/wieldhand.png) | bin | 384 -> 384 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/experimental/depends.txt (renamed from data/mods/experimental/depends.txt) | 0 | ||||
-rw-r--r-- | share/server/games/mesetint/mods/experimental/init.lua (renamed from data/mods/experimental/init.lua) | 0 | ||||
-rw-r--r-- | share/server/games/mesetint/mods/experimental/textures/experimental_dummyball.png (renamed from data/mods/experimental/textures/experimental_dummyball.png) | bin | 838 -> 838 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/give_initial_stuff/depends.txt (renamed from data/mods/give_initial_stuff/depends.txt) | 0 | ||||
-rw-r--r-- | share/server/games/mesetint/mods/give_initial_stuff/init.lua (renamed from data/mods/give_initial_stuff/init.lua) | 0 | ||||
-rw-r--r-- | share/server/games/mesetint/mods/legacy/depends.txt (renamed from data/mods/legacy/depends.txt) | 0 | ||||
-rw-r--r-- | share/server/games/mesetint/mods/legacy/init.lua (renamed from data/mods/legacy/init.lua) | 0 | ||||
-rw-r--r-- | share/server/games/mesetint/mods/legacy/textures/apple_iron.png (renamed from data/mods/legacy/textures/apple_iron.png) | bin | 207 -> 207 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/legacy/textures/cooked_rat.png (renamed from data/mods/legacy/textures/cooked_rat.png) | bin | 239 -> 239 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/legacy/textures/dungeon_master.png (renamed from data/mods/legacy/textures/dungeon_master.png) | bin | 6636 -> 6636 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/legacy/textures/fireball.png (renamed from data/mods/legacy/textures/fireball.png) | bin | 603 -> 603 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/legacy/textures/firefly.png (renamed from data/mods/legacy/textures/firefly.png) | bin | 116 -> 116 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/legacy/textures/oerkki1.png (renamed from data/mods/legacy/textures/oerkki1.png) | bin | 250 -> 250 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/legacy/textures/oerkki1_damaged.png (renamed from data/mods/legacy/textures/oerkki1_damaged.png) | bin | 341 -> 341 bytes | |||
-rw-r--r-- | share/server/games/mesetint/mods/legacy/textures/rat.png (renamed from data/mods/legacy/textures/rat.png) | bin | 920 -> 920 bytes | |||
-rw-r--r-- | src/client.cpp | 2 | ||||
-rw-r--r-- | src/game.cpp | 2 | ||||
-rw-r--r-- | src/guiPauseMenu.cpp | 4 | ||||
-rw-r--r-- | src/main.cpp | 28 | ||||
-rw-r--r-- | src/porting.cpp | 61 | ||||
-rw-r--r-- | src/porting.h | 6 | ||||
-rw-r--r-- | src/server.cpp | 65 | ||||
-rw-r--r-- | src/server.h | 24 | ||||
-rw-r--r-- | src/servermain.cpp | 38 | ||||
-rw-r--r-- | src/tile.cpp | 7 |
134 files changed, 136 insertions, 101 deletions
diff --git a/data/clienttextures/fontlucida.png b/share/client/textures/fontlucida.png Binary files differindex c63fa02b7..c63fa02b7 100644 --- a/data/clienttextures/fontlucida.png +++ b/share/client/textures/fontlucida.png diff --git a/data/clienttextures/menubg.png b/share/client/textures/menubg.png Binary files differindex 7cb9c89a6..7cb9c89a6 100644 --- a/data/clienttextures/menubg.png +++ b/share/client/textures/menubg.png diff --git a/data/clienttextures/menulogo.png b/share/client/textures/menulogo.png Binary files differindex 76595c48d..76595c48d 100644 --- a/data/clienttextures/menulogo.png +++ b/share/client/textures/menulogo.png diff --git a/data/clienttextures/smoke_puff.png b/share/client/textures/smoke_puff.png Binary files differindex e346d204c..e346d204c 100644 --- a/data/clienttextures/smoke_puff.png +++ b/share/client/textures/smoke_puff.png diff --git a/data/clienttextures/unknown_block.png b/share/client/textures/unknown_block.png Binary files differindex a27cb8ca9..a27cb8ca9 100644 --- a/data/clienttextures/unknown_block.png +++ b/share/client/textures/unknown_block.png diff --git a/data/clienttextures/unknown_item.png b/share/client/textures/unknown_item.png Binary files differindex 35cabf0ad..35cabf0ad 100644 --- a/data/clienttextures/unknown_item.png +++ b/share/client/textures/unknown_item.png diff --git a/data/clienttextures/unknown_object.png b/share/client/textures/unknown_object.png Binary files differindex 4d6a98d56..4d6a98d56 100644 --- a/data/clienttextures/unknown_object.png +++ b/share/client/textures/unknown_object.png diff --git a/data/builtin.lua b/share/server/builtin.lua index 351cf3bb0..351cf3bb0 100644 --- a/data/builtin.lua +++ b/share/server/builtin.lua diff --git a/data/mods/bucket/depends.txt b/share/server/games/mesetint/mods/bucket/depends.txt index 3a7daa1d7..3a7daa1d7 100644 --- a/data/mods/bucket/depends.txt +++ b/share/server/games/mesetint/mods/bucket/depends.txt diff --git a/data/mods/bucket/init.lua b/share/server/games/mesetint/mods/bucket/init.lua index 8ed9da522..8ed9da522 100644 --- a/data/mods/bucket/init.lua +++ b/share/server/games/mesetint/mods/bucket/init.lua diff --git a/data/mods/bucket/textures/bucket.png b/share/server/games/mesetint/mods/bucket/textures/bucket.png Binary files differindex f165fd209..f165fd209 100644 --- a/data/mods/bucket/textures/bucket.png +++ b/share/server/games/mesetint/mods/bucket/textures/bucket.png diff --git a/data/mods/bucket/textures/bucket_lava.png b/share/server/games/mesetint/mods/bucket/textures/bucket_lava.png Binary files differindex 7cf27cd1f..7cf27cd1f 100644 --- a/data/mods/bucket/textures/bucket_lava.png +++ b/share/server/games/mesetint/mods/bucket/textures/bucket_lava.png diff --git a/data/mods/bucket/textures/bucket_water.png b/share/server/games/mesetint/mods/bucket/textures/bucket_water.png Binary files differindex f220ec51e..f220ec51e 100644 --- a/data/mods/bucket/textures/bucket_water.png +++ b/share/server/games/mesetint/mods/bucket/textures/bucket_water.png diff --git a/data/mods/default/init.lua b/share/server/games/mesetint/mods/default/init.lua index 2fdfdb39c..2fdfdb39c 100644 --- a/data/mods/default/init.lua +++ b/share/server/games/mesetint/mods/default/init.lua diff --git a/data/mods/default/textures/crack.png b/share/server/games/mesetint/mods/default/textures/crack.png Binary files differindex 499783982..499783982 100644 --- a/data/mods/default/textures/crack.png +++ b/share/server/games/mesetint/mods/default/textures/crack.png diff --git a/data/mods/default/textures/default_apple.png b/share/server/games/mesetint/mods/default/textures/default_apple.png Binary files differindex 9593f28f6..9593f28f6 100644 --- a/data/mods/default/textures/default_apple.png +++ b/share/server/games/mesetint/mods/default/textures/default_apple.png diff --git a/data/mods/default/textures/default_book.png b/share/server/games/mesetint/mods/default/textures/default_book.png Binary files differindex 176fb6aa9..176fb6aa9 100644 --- a/data/mods/default/textures/default_book.png +++ b/share/server/games/mesetint/mods/default/textures/default_book.png diff --git a/data/mods/default/textures/default_bookshelf.png b/share/server/games/mesetint/mods/default/textures/default_bookshelf.png Binary files differindex 5ecc50ff3..5ecc50ff3 100644 --- a/data/mods/default/textures/default_bookshelf.png +++ b/share/server/games/mesetint/mods/default/textures/default_bookshelf.png diff --git a/data/mods/default/textures/default_brick.png b/share/server/games/mesetint/mods/default/textures/default_brick.png Binary files differindex 32d77f347..32d77f347 100644 --- a/data/mods/default/textures/default_brick.png +++ b/share/server/games/mesetint/mods/default/textures/default_brick.png diff --git a/data/mods/default/textures/default_cactus_side.png b/share/server/games/mesetint/mods/default/textures/default_cactus_side.png Binary files differindex fc479fde6..fc479fde6 100644 --- a/data/mods/default/textures/default_cactus_side.png +++ b/share/server/games/mesetint/mods/default/textures/default_cactus_side.png diff --git a/data/mods/default/textures/default_cactus_top.png b/share/server/games/mesetint/mods/default/textures/default_cactus_top.png Binary files differindex f9e68df51..f9e68df51 100644 --- a/data/mods/default/textures/default_cactus_top.png +++ b/share/server/games/mesetint/mods/default/textures/default_cactus_top.png diff --git a/data/mods/default/textures/default_chest_front.png b/share/server/games/mesetint/mods/default/textures/default_chest_front.png Binary files differindex c5628af94..c5628af94 100644 --- a/data/mods/default/textures/default_chest_front.png +++ b/share/server/games/mesetint/mods/default/textures/default_chest_front.png diff --git a/data/mods/default/textures/default_chest_lock.png b/share/server/games/mesetint/mods/default/textures/default_chest_lock.png Binary files differindex ae038fae5..ae038fae5 100644 --- a/data/mods/default/textures/default_chest_lock.png +++ b/share/server/games/mesetint/mods/default/textures/default_chest_lock.png diff --git a/data/mods/default/textures/default_chest_side.png b/share/server/games/mesetint/mods/default/textures/default_chest_side.png Binary files differindex 916dd784d..916dd784d 100644 --- a/data/mods/default/textures/default_chest_side.png +++ b/share/server/games/mesetint/mods/default/textures/default_chest_side.png diff --git a/data/mods/default/textures/default_chest_top.png b/share/server/games/mesetint/mods/default/textures/default_chest_top.png Binary files differindex 58c79674d..58c79674d 100644 --- a/data/mods/default/textures/default_chest_top.png +++ b/share/server/games/mesetint/mods/default/textures/default_chest_top.png diff --git a/data/mods/default/textures/default_clay.png b/share/server/games/mesetint/mods/default/textures/default_clay.png Binary files differindex 3557429d8..3557429d8 100644 --- a/data/mods/default/textures/default_clay.png +++ b/share/server/games/mesetint/mods/default/textures/default_clay.png diff --git a/data/mods/default/textures/default_clay_brick.png b/share/server/games/mesetint/mods/default/textures/default_clay_brick.png Binary files differindex e36648e48..e36648e48 100644 --- a/data/mods/default/textures/default_clay_brick.png +++ b/share/server/games/mesetint/mods/default/textures/default_clay_brick.png diff --git a/data/mods/default/textures/default_clay_lump.png b/share/server/games/mesetint/mods/default/textures/default_clay_lump.png Binary files differindex be0bab9d7..be0bab9d7 100644 --- a/data/mods/default/textures/default_clay_lump.png +++ b/share/server/games/mesetint/mods/default/textures/default_clay_lump.png diff --git a/data/mods/default/textures/default_cloud.png b/share/server/games/mesetint/mods/default/textures/default_cloud.png Binary files differindex 24091a377..24091a377 100644 --- a/data/mods/default/textures/default_cloud.png +++ b/share/server/games/mesetint/mods/default/textures/default_cloud.png diff --git a/data/mods/default/textures/default_coal_lump.png b/share/server/games/mesetint/mods/default/textures/default_coal_lump.png Binary files differindex bad901efa..bad901efa 100644 --- a/data/mods/default/textures/default_coal_lump.png +++ b/share/server/games/mesetint/mods/default/textures/default_coal_lump.png diff --git a/data/mods/default/textures/default_cobble.png b/share/server/games/mesetint/mods/default/textures/default_cobble.png Binary files differindex 7d0447419..7d0447419 100644 --- a/data/mods/default/textures/default_cobble.png +++ b/share/server/games/mesetint/mods/default/textures/default_cobble.png diff --git a/data/mods/default/textures/default_dirt.png b/share/server/games/mesetint/mods/default/textures/default_dirt.png Binary files differindex 7cb9c89a6..7cb9c89a6 100644 --- a/data/mods/default/textures/default_dirt.png +++ b/share/server/games/mesetint/mods/default/textures/default_dirt.png diff --git a/data/mods/default/textures/default_fence.png b/share/server/games/mesetint/mods/default/textures/default_fence.png Binary files differindex 0b99f0eb5..0b99f0eb5 100644 --- a/data/mods/default/textures/default_fence.png +++ b/share/server/games/mesetint/mods/default/textures/default_fence.png diff --git a/data/mods/default/textures/default_furnace_front.png b/share/server/games/mesetint/mods/default/textures/default_furnace_front.png Binary files differindex 1620a27c3..1620a27c3 100644 --- a/data/mods/default/textures/default_furnace_front.png +++ b/share/server/games/mesetint/mods/default/textures/default_furnace_front.png diff --git a/data/mods/default/textures/default_furnace_side.png b/share/server/games/mesetint/mods/default/textures/default_furnace_side.png Binary files differindex 63cb162fe..63cb162fe 100644 --- a/data/mods/default/textures/default_furnace_side.png +++ b/share/server/games/mesetint/mods/default/textures/default_furnace_side.png diff --git a/data/mods/default/textures/default_glass.png b/share/server/games/mesetint/mods/default/textures/default_glass.png Binary files differindex ade0196fe..ade0196fe 100644 --- a/data/mods/default/textures/default_glass.png +++ b/share/server/games/mesetint/mods/default/textures/default_glass.png diff --git a/data/mods/default/textures/default_grass.png b/share/server/games/mesetint/mods/default/textures/default_grass.png Binary files differindex 3610bb2bc..3610bb2bc 100644 --- a/data/mods/default/textures/default_grass.png +++ b/share/server/games/mesetint/mods/default/textures/default_grass.png diff --git a/data/mods/default/textures/default_grass_footsteps.png b/share/server/games/mesetint/mods/default/textures/default_grass_footsteps.png Binary files differindex 57e063d8c..57e063d8c 100644 --- a/data/mods/default/textures/default_grass_footsteps.png +++ b/share/server/games/mesetint/mods/default/textures/default_grass_footsteps.png diff --git a/data/mods/default/textures/default_grass_side.png b/share/server/games/mesetint/mods/default/textures/default_grass_side.png Binary files differindex 4f4f680be..4f4f680be 100644 --- a/data/mods/default/textures/default_grass_side.png +++ b/share/server/games/mesetint/mods/default/textures/default_grass_side.png diff --git a/data/mods/default/textures/default_gravel.png b/share/server/games/mesetint/mods/default/textures/default_gravel.png Binary files differindex f08666ad9..f08666ad9 100644 --- a/data/mods/default/textures/default_gravel.png +++ b/share/server/games/mesetint/mods/default/textures/default_gravel.png diff --git a/data/mods/default/textures/default_iron_lump.png b/share/server/games/mesetint/mods/default/textures/default_iron_lump.png Binary files differindex edb931018..edb931018 100644 --- a/data/mods/default/textures/default_iron_lump.png +++ b/share/server/games/mesetint/mods/default/textures/default_iron_lump.png diff --git a/data/mods/default/textures/default_junglegrass.png b/share/server/games/mesetint/mods/default/textures/default_junglegrass.png Binary files differindex eea87c07c..eea87c07c 100644 --- a/data/mods/default/textures/default_junglegrass.png +++ b/share/server/games/mesetint/mods/default/textures/default_junglegrass.png diff --git a/data/mods/default/textures/default_jungletree.png b/share/server/games/mesetint/mods/default/textures/default_jungletree.png Binary files differindex ccd20ac74..ccd20ac74 100644 --- a/data/mods/default/textures/default_jungletree.png +++ b/share/server/games/mesetint/mods/default/textures/default_jungletree.png diff --git a/data/mods/default/textures/default_jungletree_top.png b/share/server/games/mesetint/mods/default/textures/default_jungletree_top.png Binary files differindex 2a9b51373..2a9b51373 100644 --- a/data/mods/default/textures/default_jungletree_top.png +++ b/share/server/games/mesetint/mods/default/textures/default_jungletree_top.png diff --git a/data/mods/default/textures/default_ladder.png b/share/server/games/mesetint/mods/default/textures/default_ladder.png Binary files differindex 11056359d..11056359d 100644 --- a/data/mods/default/textures/default_ladder.png +++ b/share/server/games/mesetint/mods/default/textures/default_ladder.png diff --git a/data/mods/default/textures/default_lava.png b/share/server/games/mesetint/mods/default/textures/default_lava.png Binary files differindex cb02ada13..cb02ada13 100644 --- a/data/mods/default/textures/default_lava.png +++ b/share/server/games/mesetint/mods/default/textures/default_lava.png diff --git a/data/mods/default/textures/default_leaves.png b/share/server/games/mesetint/mods/default/textures/default_leaves.png Binary files differindex 7a25126e9..7a25126e9 100644 --- a/data/mods/default/textures/default_leaves.png +++ b/share/server/games/mesetint/mods/default/textures/default_leaves.png diff --git a/data/mods/default/textures/default_mese.png b/share/server/games/mesetint/mods/default/textures/default_mese.png Binary files differindex 4c876cdc5..4c876cdc5 100644 --- a/data/mods/default/textures/default_mese.png +++ b/share/server/games/mesetint/mods/default/textures/default_mese.png diff --git a/data/mods/default/textures/default_mineral_coal.png b/share/server/games/mesetint/mods/default/textures/default_mineral_coal.png Binary files differindex 3ff9692fb..3ff9692fb 100644 --- a/data/mods/default/textures/default_mineral_coal.png +++ b/share/server/games/mesetint/mods/default/textures/default_mineral_coal.png diff --git a/data/mods/default/textures/default_mineral_iron.png b/share/server/games/mesetint/mods/default/textures/default_mineral_iron.png Binary files differindex 51b15d95d..51b15d95d 100644 --- a/data/mods/default/textures/default_mineral_iron.png +++ b/share/server/games/mesetint/mods/default/textures/default_mineral_iron.png diff --git a/data/mods/default/textures/default_mossycobble.png b/share/server/games/mesetint/mods/default/textures/default_mossycobble.png Binary files differindex fad1b33ff..fad1b33ff 100644 --- a/data/mods/default/textures/default_mossycobble.png +++ b/share/server/games/mesetint/mods/default/textures/default_mossycobble.png diff --git a/data/mods/default/textures/default_nc_back.png b/share/server/games/mesetint/mods/default/textures/default_nc_back.png Binary files differindex f09f41658..f09f41658 100644 --- a/data/mods/default/textures/default_nc_back.png +++ b/share/server/games/mesetint/mods/default/textures/default_nc_back.png diff --git a/data/mods/default/textures/default_nc_front.png b/share/server/games/mesetint/mods/default/textures/default_nc_front.png Binary files differindex cad9edab1..cad9edab1 100644 --- a/data/mods/default/textures/default_nc_front.png +++ b/share/server/games/mesetint/mods/default/textures/default_nc_front.png diff --git a/data/mods/default/textures/default_nc_rb.png b/share/server/games/mesetint/mods/default/textures/default_nc_rb.png Binary files differindex 7ebc9930d..7ebc9930d 100644 --- a/data/mods/default/textures/default_nc_rb.png +++ b/share/server/games/mesetint/mods/default/textures/default_nc_rb.png diff --git a/data/mods/default/textures/default_nc_side.png b/share/server/games/mesetint/mods/default/textures/default_nc_side.png Binary files differindex f954045fb..f954045fb 100644 --- a/data/mods/default/textures/default_nc_side.png +++ b/share/server/games/mesetint/mods/default/textures/default_nc_side.png diff --git a/data/mods/default/textures/default_paper.png b/share/server/games/mesetint/mods/default/textures/default_paper.png Binary files differindex ae5c06bc6..ae5c06bc6 100644 --- a/data/mods/default/textures/default_paper.png +++ b/share/server/games/mesetint/mods/default/textures/default_paper.png diff --git a/data/mods/default/textures/default_papyrus.png b/share/server/games/mesetint/mods/default/textures/default_papyrus.png Binary files differindex bf0dec7fe..bf0dec7fe 100644 --- a/data/mods/default/textures/default_papyrus.png +++ b/share/server/games/mesetint/mods/default/textures/default_papyrus.png diff --git a/data/mods/default/textures/default_rail.png b/share/server/games/mesetint/mods/default/textures/default_rail.png Binary files differindex 18176d9f3..18176d9f3 100644 --- a/data/mods/default/textures/default_rail.png +++ b/share/server/games/mesetint/mods/default/textures/default_rail.png diff --git a/data/mods/default/textures/default_rail_crossing.png b/share/server/games/mesetint/mods/default/textures/default_rail_crossing.png Binary files differindex 984640577..984640577 100644 --- a/data/mods/default/textures/default_rail_crossing.png +++ b/share/server/games/mesetint/mods/default/textures/default_rail_crossing.png diff --git a/data/mods/default/textures/default_rail_curved.png b/share/server/games/mesetint/mods/default/textures/default_rail_curved.png Binary files differindex 62afa3d2b..62afa3d2b 100644 --- a/data/mods/default/textures/default_rail_curved.png +++ b/share/server/games/mesetint/mods/default/textures/default_rail_curved.png diff --git a/data/mods/default/textures/default_rail_t_junction.png b/share/server/games/mesetint/mods/default/textures/default_rail_t_junction.png Binary files differindex 9985f63cd..9985f63cd 100644 --- a/data/mods/default/textures/default_rail_t_junction.png +++ b/share/server/games/mesetint/mods/default/textures/default_rail_t_junction.png diff --git a/data/mods/default/textures/default_sand.png b/share/server/games/mesetint/mods/default/textures/default_sand.png Binary files differindex 15101a7eb..15101a7eb 100644 --- a/data/mods/default/textures/default_sand.png +++ b/share/server/games/mesetint/mods/default/textures/default_sand.png diff --git a/data/mods/default/textures/default_sandstone.png b/share/server/games/mesetint/mods/default/textures/default_sandstone.png Binary files differindex c4759b4d0..c4759b4d0 100644 --- a/data/mods/default/textures/default_sandstone.png +++ b/share/server/games/mesetint/mods/default/textures/default_sandstone.png diff --git a/data/mods/default/textures/default_sapling.png b/share/server/games/mesetint/mods/default/textures/default_sapling.png Binary files differindex 73f502306..73f502306 100644 --- a/data/mods/default/textures/default_sapling.png +++ b/share/server/games/mesetint/mods/default/textures/default_sapling.png diff --git a/data/mods/default/textures/default_scorched_stuff.png b/share/server/games/mesetint/mods/default/textures/default_scorched_stuff.png Binary files differindex 9ced2fbe8..9ced2fbe8 100644 --- a/data/mods/default/textures/default_scorched_stuff.png +++ b/share/server/games/mesetint/mods/default/textures/default_scorched_stuff.png diff --git a/data/mods/default/textures/default_sign.png b/share/server/games/mesetint/mods/default/textures/default_sign.png Binary files differindex 2e0b3cbef..2e0b3cbef 100644 --- a/data/mods/default/textures/default_sign.png +++ b/share/server/games/mesetint/mods/default/textures/default_sign.png diff --git a/data/mods/default/textures/default_sign_back.png b/share/server/games/mesetint/mods/default/textures/default_sign_back.png Binary files differindex 779e4bc2c..779e4bc2c 100644 --- a/data/mods/default/textures/default_sign_back.png +++ b/share/server/games/mesetint/mods/default/textures/default_sign_back.png diff --git a/data/mods/default/textures/default_sign_wall.png b/share/server/games/mesetint/mods/default/textures/default_sign_wall.png Binary files differindex 06eac1ee9..06eac1ee9 100644 --- a/data/mods/default/textures/default_sign_wall.png +++ b/share/server/games/mesetint/mods/default/textures/default_sign_wall.png diff --git a/data/mods/default/textures/default_steel_block.png b/share/server/games/mesetint/mods/default/textures/default_steel_block.png Binary files differindex 8e2020081..8e2020081 100644 --- a/data/mods/default/textures/default_steel_block.png +++ b/share/server/games/mesetint/mods/default/textures/default_steel_block.png diff --git a/data/mods/default/textures/default_steel_ingot.png b/share/server/games/mesetint/mods/default/textures/default_steel_ingot.png Binary files differindex f6c9414e7..f6c9414e7 100644 --- a/data/mods/default/textures/default_steel_ingot.png +++ b/share/server/games/mesetint/mods/default/textures/default_steel_ingot.png diff --git a/data/mods/default/textures/default_stick.png b/share/server/games/mesetint/mods/default/textures/default_stick.png Binary files differindex 2d31797f0..2d31797f0 100644 --- a/data/mods/default/textures/default_stick.png +++ b/share/server/games/mesetint/mods/default/textures/default_stick.png diff --git a/data/mods/default/textures/default_stone.png b/share/server/games/mesetint/mods/default/textures/default_stone.png Binary files differindex cad0dbe2b..cad0dbe2b 100644 --- a/data/mods/default/textures/default_stone.png +++ b/share/server/games/mesetint/mods/default/textures/default_stone.png diff --git a/data/mods/default/textures/default_tnt_bottom.png b/share/server/games/mesetint/mods/default/textures/default_tnt_bottom.png Binary files differindex 8ba2fca0b..8ba2fca0b 100644 --- a/data/mods/default/textures/default_tnt_bottom.png +++ b/share/server/games/mesetint/mods/default/textures/default_tnt_bottom.png diff --git a/data/mods/default/textures/default_tnt_side.png b/share/server/games/mesetint/mods/default/textures/default_tnt_side.png Binary files differindex d9a2bc4eb..d9a2bc4eb 100644 --- a/data/mods/default/textures/default_tnt_side.png +++ b/share/server/games/mesetint/mods/default/textures/default_tnt_side.png diff --git a/data/mods/default/textures/default_tnt_top.png b/share/server/games/mesetint/mods/default/textures/default_tnt_top.png Binary files differindex a84ffc9af..a84ffc9af 100644 --- a/data/mods/default/textures/default_tnt_top.png +++ b/share/server/games/mesetint/mods/default/textures/default_tnt_top.png diff --git a/data/mods/default/textures/default_tool_mesepick.png b/share/server/games/mesetint/mods/default/textures/default_tool_mesepick.png Binary files differindex a1f3812e0..a1f3812e0 100644 --- a/data/mods/default/textures/default_tool_mesepick.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_mesepick.png diff --git a/data/mods/default/textures/default_tool_steelaxe.png b/share/server/games/mesetint/mods/default/textures/default_tool_steelaxe.png Binary files differindex 0ad23c93b..0ad23c93b 100644 --- a/data/mods/default/textures/default_tool_steelaxe.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_steelaxe.png diff --git a/data/mods/default/textures/default_tool_steelpick.png b/share/server/games/mesetint/mods/default/textures/default_tool_steelpick.png Binary files differindex 7982dafeb..7982dafeb 100644 --- a/data/mods/default/textures/default_tool_steelpick.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_steelpick.png diff --git a/data/mods/default/textures/default_tool_steelshovel.png b/share/server/games/mesetint/mods/default/textures/default_tool_steelshovel.png Binary files differindex ed8413846..ed8413846 100644 --- a/data/mods/default/textures/default_tool_steelshovel.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_steelshovel.png diff --git a/data/mods/default/textures/default_tool_steelsword.png b/share/server/games/mesetint/mods/default/textures/default_tool_steelsword.png Binary files differindex a74581238..a74581238 100644 --- a/data/mods/default/textures/default_tool_steelsword.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_steelsword.png diff --git a/data/mods/default/textures/default_tool_stoneaxe.png b/share/server/games/mesetint/mods/default/textures/default_tool_stoneaxe.png Binary files differindex 698ac918f..698ac918f 100644 --- a/data/mods/default/textures/default_tool_stoneaxe.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_stoneaxe.png diff --git a/data/mods/default/textures/default_tool_stonepick.png b/share/server/games/mesetint/mods/default/textures/default_tool_stonepick.png Binary files differindex b34de6f32..b34de6f32 100644 --- a/data/mods/default/textures/default_tool_stonepick.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_stonepick.png diff --git a/data/mods/default/textures/default_tool_stoneshovel.png b/share/server/games/mesetint/mods/default/textures/default_tool_stoneshovel.png Binary files differindex ba5243101..ba5243101 100644 --- a/data/mods/default/textures/default_tool_stoneshovel.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_stoneshovel.png diff --git a/data/mods/default/textures/default_tool_stonesword.png b/share/server/games/mesetint/mods/default/textures/default_tool_stonesword.png Binary files differindex 8f8191f92..8f8191f92 100644 --- a/data/mods/default/textures/default_tool_stonesword.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_stonesword.png diff --git a/data/mods/default/textures/default_tool_woodaxe.png b/share/server/games/mesetint/mods/default/textures/default_tool_woodaxe.png Binary files differindex 3daa4af72..3daa4af72 100644 --- a/data/mods/default/textures/default_tool_woodaxe.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_woodaxe.png diff --git a/data/mods/default/textures/default_tool_woodpick.png b/share/server/games/mesetint/mods/default/textures/default_tool_woodpick.png Binary files differindex ea728cca3..ea728cca3 100644 --- a/data/mods/default/textures/default_tool_woodpick.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_woodpick.png diff --git a/data/mods/default/textures/default_tool_woodshovel.png b/share/server/games/mesetint/mods/default/textures/default_tool_woodshovel.png Binary files differindex 649ab4c38..649ab4c38 100644 --- a/data/mods/default/textures/default_tool_woodshovel.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_woodshovel.png diff --git a/data/mods/default/textures/default_tool_woodsword.png b/share/server/games/mesetint/mods/default/textures/default_tool_woodsword.png Binary files differindex d6c6be325..d6c6be325 100644 --- a/data/mods/default/textures/default_tool_woodsword.png +++ b/share/server/games/mesetint/mods/default/textures/default_tool_woodsword.png diff --git a/data/mods/default/textures/default_torch.png b/share/server/games/mesetint/mods/default/textures/default_torch.png Binary files differindex 7a953c222..7a953c222 100644 --- a/data/mods/default/textures/default_torch.png +++ b/share/server/games/mesetint/mods/default/textures/default_torch.png diff --git a/data/mods/default/textures/default_torch_on_ceiling.png b/share/server/games/mesetint/mods/default/textures/default_torch_on_ceiling.png Binary files differindex 6965d380e..6965d380e 100644 --- a/data/mods/default/textures/default_torch_on_ceiling.png +++ b/share/server/games/mesetint/mods/default/textures/default_torch_on_ceiling.png diff --git a/data/mods/default/textures/default_torch_on_floor.png b/share/server/games/mesetint/mods/default/textures/default_torch_on_floor.png Binary files differindex 76d1dd5ac..76d1dd5ac 100644 --- a/data/mods/default/textures/default_torch_on_floor.png +++ b/share/server/games/mesetint/mods/default/textures/default_torch_on_floor.png diff --git a/data/mods/default/textures/default_tree.png b/share/server/games/mesetint/mods/default/textures/default_tree.png Binary files differindex 65abfc243..65abfc243 100644 --- a/data/mods/default/textures/default_tree.png +++ b/share/server/games/mesetint/mods/default/textures/default_tree.png diff --git a/data/mods/default/textures/default_tree_top.png b/share/server/games/mesetint/mods/default/textures/default_tree_top.png Binary files differindex 2cdd94f80..2cdd94f80 100644 --- a/data/mods/default/textures/default_tree_top.png +++ b/share/server/games/mesetint/mods/default/textures/default_tree_top.png diff --git a/data/mods/default/textures/default_water.png b/share/server/games/mesetint/mods/default/textures/default_water.png Binary files differindex e5f8cdc25..e5f8cdc25 100644 --- a/data/mods/default/textures/default_water.png +++ b/share/server/games/mesetint/mods/default/textures/default_water.png diff --git a/data/mods/default/textures/default_wood.png b/share/server/games/mesetint/mods/default/textures/default_wood.png Binary files differindex 57c1d7c12..57c1d7c12 100644 --- a/data/mods/default/textures/default_wood.png +++ b/share/server/games/mesetint/mods/default/textures/default_wood.png diff --git a/data/mods/default/textures/heart.png b/share/server/games/mesetint/mods/default/textures/heart.png Binary files differindex 6bc183e04..6bc183e04 100644 --- a/data/mods/default/textures/heart.png +++ b/share/server/games/mesetint/mods/default/textures/heart.png diff --git a/data/mods/default/textures/player.png b/share/server/games/mesetint/mods/default/textures/player.png Binary files differindex 90adf9747..90adf9747 100644 --- a/data/mods/default/textures/player.png +++ b/share/server/games/mesetint/mods/default/textures/player.png diff --git a/data/mods/default/textures/player_back.png b/share/server/games/mesetint/mods/default/textures/player_back.png Binary files differindex 530aa7519..530aa7519 100644 --- a/data/mods/default/textures/player_back.png +++ b/share/server/games/mesetint/mods/default/textures/player_back.png diff --git a/data/mods/default/textures/skybox1.png b/share/server/games/mesetint/mods/default/textures/skybox1.png Binary files differindex 9801d5f4f..9801d5f4f 100644 --- a/data/mods/default/textures/skybox1.png +++ b/share/server/games/mesetint/mods/default/textures/skybox1.png diff --git a/data/mods/default/textures/skybox1_dawn.png b/share/server/games/mesetint/mods/default/textures/skybox1_dawn.png Binary files differindex 9711c4781..9711c4781 100644 --- a/data/mods/default/textures/skybox1_dawn.png +++ b/share/server/games/mesetint/mods/default/textures/skybox1_dawn.png diff --git a/data/mods/default/textures/skybox1_night.png b/share/server/games/mesetint/mods/default/textures/skybox1_night.png Binary files differindex 32e43a63e..32e43a63e 100644 --- a/data/mods/default/textures/skybox1_night.png +++ b/share/server/games/mesetint/mods/default/textures/skybox1_night.png diff --git a/data/mods/default/textures/skybox2.png b/share/server/games/mesetint/mods/default/textures/skybox2.png Binary files differindex a8c94b4d2..a8c94b4d2 100644 --- a/data/mods/default/textures/skybox2.png +++ b/share/server/games/mesetint/mods/default/textures/skybox2.png diff --git a/data/mods/default/textures/skybox2_dawn.png b/share/server/games/mesetint/mods/default/textures/skybox2_dawn.png Binary files differindex a761dff2d..a761dff2d 100644 --- a/data/mods/default/textures/skybox2_dawn.png +++ b/share/server/games/mesetint/mods/default/textures/skybox2_dawn.png diff --git a/data/mods/default/textures/skybox2_night.png b/share/server/games/mesetint/mods/default/textures/skybox2_night.png Binary files differindex beb07a9cf..beb07a9cf 100644 --- a/data/mods/default/textures/skybox2_night.png +++ b/share/server/games/mesetint/mods/default/textures/skybox2_night.png diff --git a/data/mods/default/textures/skybox3.png b/share/server/games/mesetint/mods/default/textures/skybox3.png Binary files differindex 2776ec712..2776ec712 100644 --- a/data/mods/default/textures/skybox3.png +++ b/share/server/games/mesetint/mods/default/textures/skybox3.png diff --git a/data/mods/default/textures/skybox3_dawn.png b/share/server/games/mesetint/mods/default/textures/skybox3_dawn.png Binary files differindex 22c8cbef5..22c8cbef5 100644 --- a/data/mods/default/textures/skybox3_dawn.png +++ b/share/server/games/mesetint/mods/default/textures/skybox3_dawn.png diff --git a/data/mods/default/textures/skybox3_night.png b/share/server/games/mesetint/mods/default/textures/skybox3_night.png Binary files differindex bb509789b..bb509789b 100644 --- a/data/mods/default/textures/skybox3_night.png +++ b/share/server/games/mesetint/mods/default/textures/skybox3_night.png diff --git a/data/mods/default/textures/treeprop.png b/share/server/games/mesetint/mods/default/textures/treeprop.png Binary files differindex 77ea4d6d4..77ea4d6d4 100644 --- a/data/mods/default/textures/treeprop.png +++ b/share/server/games/mesetint/mods/default/textures/treeprop.png diff --git a/data/mods/default/textures/wieldhand.png b/share/server/games/mesetint/mods/default/textures/wieldhand.png Binary files differindex c4549e5ed..c4549e5ed 100644 --- a/data/mods/default/textures/wieldhand.png +++ b/share/server/games/mesetint/mods/default/textures/wieldhand.png diff --git a/data/mods/experimental/depends.txt b/share/server/games/mesetint/mods/experimental/depends.txt index 3a7daa1d7..3a7daa1d7 100644 --- a/data/mods/experimental/depends.txt +++ b/share/server/games/mesetint/mods/experimental/depends.txt diff --git a/data/mods/experimental/init.lua b/share/server/games/mesetint/mods/experimental/init.lua index 1ee3fdc2e..1ee3fdc2e 100644 --- a/data/mods/experimental/init.lua +++ b/share/server/games/mesetint/mods/experimental/init.lua diff --git a/data/mods/experimental/textures/experimental_dummyball.png b/share/server/games/mesetint/mods/experimental/textures/experimental_dummyball.png Binary files differindex 084676552..084676552 100644 --- a/data/mods/experimental/textures/experimental_dummyball.png +++ b/share/server/games/mesetint/mods/experimental/textures/experimental_dummyball.png diff --git a/data/mods/give_initial_stuff/depends.txt b/share/server/games/mesetint/mods/give_initial_stuff/depends.txt index 3a7daa1d7..3a7daa1d7 100644 --- a/data/mods/give_initial_stuff/depends.txt +++ b/share/server/games/mesetint/mods/give_initial_stuff/depends.txt diff --git a/data/mods/give_initial_stuff/init.lua b/share/server/games/mesetint/mods/give_initial_stuff/init.lua index 9cf6b51b5..9cf6b51b5 100644 --- a/data/mods/give_initial_stuff/init.lua +++ b/share/server/games/mesetint/mods/give_initial_stuff/init.lua diff --git a/data/mods/legacy/depends.txt b/share/server/games/mesetint/mods/legacy/depends.txt index 3a7daa1d7..3a7daa1d7 100644 --- a/data/mods/legacy/depends.txt +++ b/share/server/games/mesetint/mods/legacy/depends.txt diff --git a/data/mods/legacy/init.lua b/share/server/games/mesetint/mods/legacy/init.lua index 7f9088ce0..7f9088ce0 100644 --- a/data/mods/legacy/init.lua +++ b/share/server/games/mesetint/mods/legacy/init.lua diff --git a/data/mods/legacy/textures/apple_iron.png b/share/server/games/mesetint/mods/legacy/textures/apple_iron.png Binary files differindex 2dffdf014..2dffdf014 100644 --- a/data/mods/legacy/textures/apple_iron.png +++ b/share/server/games/mesetint/mods/legacy/textures/apple_iron.png diff --git a/data/mods/legacy/textures/cooked_rat.png b/share/server/games/mesetint/mods/legacy/textures/cooked_rat.png Binary files differindex daad3be0d..daad3be0d 100644 --- a/data/mods/legacy/textures/cooked_rat.png +++ b/share/server/games/mesetint/mods/legacy/textures/cooked_rat.png diff --git a/data/mods/legacy/textures/dungeon_master.png b/share/server/games/mesetint/mods/legacy/textures/dungeon_master.png Binary files differindex 3457c8228..3457c8228 100644 --- a/data/mods/legacy/textures/dungeon_master.png +++ b/share/server/games/mesetint/mods/legacy/textures/dungeon_master.png diff --git a/data/mods/legacy/textures/fireball.png b/share/server/games/mesetint/mods/legacy/textures/fireball.png Binary files differindex 523142850..523142850 100644 --- a/data/mods/legacy/textures/fireball.png +++ b/share/server/games/mesetint/mods/legacy/textures/fireball.png diff --git a/data/mods/legacy/textures/firefly.png b/share/server/games/mesetint/mods/legacy/textures/firefly.png Binary files differindex 40df7fa1c..40df7fa1c 100644 --- a/data/mods/legacy/textures/firefly.png +++ b/share/server/games/mesetint/mods/legacy/textures/firefly.png diff --git a/data/mods/legacy/textures/oerkki1.png b/share/server/games/mesetint/mods/legacy/textures/oerkki1.png Binary files differindex 33cbac9e7..33cbac9e7 100644 --- a/data/mods/legacy/textures/oerkki1.png +++ b/share/server/games/mesetint/mods/legacy/textures/oerkki1.png diff --git a/data/mods/legacy/textures/oerkki1_damaged.png b/share/server/games/mesetint/mods/legacy/textures/oerkki1_damaged.png Binary files differindex 9b777387c..9b777387c 100644 --- a/data/mods/legacy/textures/oerkki1_damaged.png +++ b/share/server/games/mesetint/mods/legacy/textures/oerkki1_damaged.png diff --git a/data/mods/legacy/textures/rat.png b/share/server/games/mesetint/mods/legacy/textures/rat.png Binary files differindex d1a0e2ae2..d1a0e2ae2 100644 --- a/data/mods/legacy/textures/rat.png +++ b/share/server/games/mesetint/mods/legacy/textures/rat.png diff --git a/src/client.cpp b/src/client.cpp index bc303bc4b..72cd28b18 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -40,7 +40,7 @@ with this program; if not, write to the Free Software Foundation, Inc., static std::string getTextureCacheDir() { - return porting::path_userdata + DIR_DELIM + "cache" + DIR_DELIM + "texture"; + return porting::path_user + DIR_DELIM + "cache" + DIR_DELIM + "textures"; } struct TextureRequest diff --git a/src/game.cpp b/src/game.cpp index a69942e61..0d09e335e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -726,7 +726,7 @@ void the_game( if(address == ""){ draw_load_screen(L"Creating server...", driver, font); infostream<<"Creating server"<<std::endl; - server = new Server(map_dir, configpath); + server = new Server(map_dir, configpath, "mesetint"); server->start(port); } diff --git a/src/guiPauseMenu.cpp b/src/guiPauseMenu.cpp index 3cd572387..3b1861b3d 100644 --- a/src/guiPauseMenu.cpp +++ b/src/guiPauseMenu.cpp @@ -174,7 +174,7 @@ void GUIPauseMenu::regenerateGui(v2u32 screensize) SWPRINTF_CHARSTRING
,
BUILD_INFO,
- porting::path_userdata.c_str()
+ porting::path_user.c_str()
);*/
std::ostringstream os;
@@ -182,7 +182,7 @@ void GUIPauseMenu::regenerateGui(v2u32 screensize) os<<"by Perttu Ahola and contributors\n";
os<<"celeron55@gmail.com\n";
os<<BUILD_INFO<<"\n";
- os<<"ud_path = "<<wrap_rows(porting::path_userdata, 20)<<"\n";
+ os<<"path_user = "<<wrap_rows(porting::path_user, 20)<<"\n";
Environment->addStaticText(narrow_to_wide(os.str()).c_str(), rect, false, true, this, 259);
}
diff --git a/src/main.cpp b/src/main.cpp index ec999c530..322d84e9e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1157,19 +1157,18 @@ int main(int argc, char *argv[]) porting::signal_handler_init(); bool &kill = *porting::signal_handler_killstatus(); - // Initialize porting::path_data and porting::path_userdata porting::initializePaths(); // Create user data directory - fs::CreateDir(porting::path_userdata); + fs::CreateDir(porting::path_user); - init_gettext((porting::path_data+DIR_DELIM+".."+DIR_DELIM+"locale").c_str()); + init_gettext((porting::path_share+DIR_DELIM+".."+DIR_DELIM+"locale").c_str()); // Initialize debug streams #ifdef RUN_IN_PLACE std::string debugfile = DEBUGFILE; #else - std::string debugfile = porting::path_userdata+DIR_DELIM+DEBUGFILE; + std::string debugfile = porting::path_user+DIR_DELIM+DEBUGFILE; #endif debugstreams_init(disable_stderr, debugfile.c_str()); // Initialize debug stacks @@ -1221,10 +1220,12 @@ int main(int argc, char *argv[]) else { core::array<std::string> filenames; - filenames.push_back(porting::path_userdata + + filenames.push_back(porting::path_user + DIR_DELIM + "minetest.conf"); #ifdef RUN_IN_PLACE - filenames.push_back(porting::path_userdata + + // Try also from a lower level (to aid having the same configuration + // for many RUN_IN_PLACE installs) + filenames.push_back(porting::path_user + DIR_DELIM + ".." + DIR_DELIM + "minetest.conf"); #endif @@ -1278,11 +1279,22 @@ int main(int argc, char *argv[]) port = 30000; // Map directory - std::string map_dir = porting::path_userdata+DIR_DELIM+"world"; + std::string map_dir = porting::path_user + DIR_DELIM + "server" + DIR_DELIM + "worlds" + DIR_DELIM + "world"; if(cmd_args.exists("map-dir")) map_dir = cmd_args.get("map-dir"); else if(g_settings->exists("map-dir")) map_dir = g_settings->get("map-dir"); + else{ + // No map-dir option was specified. + // Check if the world is found from the default directory, and if + // not, see if the legacy world directory exists. + std::string legacy_map_dir = porting::path_user+DIR_DELIM+".."+DIR_DELIM+"world"; + if(!fs::PathExists(map_dir) && fs::PathExists(legacy_map_dir)){ + errorstream<<"Warning: Using legacy world directory \"" + <<legacy_map_dir<<"\""<<std::endl; + map_dir = legacy_map_dir; + } + } // Run dedicated server if asked to if(cmd_args.getFlag("server")) @@ -1293,7 +1305,7 @@ int main(int argc, char *argv[]) g_timegetter = new SimpleTimeGetter(); // Create server - Server server(map_dir.c_str(), configpath); + Server server(map_dir, configpath, "mesetint"); server.start(port); // Run server diff --git a/src/porting.cpp b/src/porting.cpp index 0adc955a9..edf950635 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -124,12 +124,12 @@ void signal_handler_init(void) Path mangler */ -std::string path_data = ".." DIR_DELIM "data"; -std::string path_userdata = ".."; +std::string path_share = ".." DIR_DELIM "share"; +std::string path_user = ".." DIR_DELIM "user"; std::string getDataPath(const char *subpath) { - return path_data + DIR_DELIM + subpath; + return path_share + DIR_DELIM + subpath; } void pathRemoveFile(char *path, char delim) @@ -163,16 +163,13 @@ void initializePaths() char buf[buflen]; DWORD len; - // Find path of executable and set path_data relative to it + // Find path of executable and set path_share relative to it len = GetModuleFileName(GetModuleHandle(NULL), buf, buflen); assert(len < buflen); pathRemoveFile(buf, '\\'); - // Use "./bin/../data" - path_data = std::string(buf) + DIR_DELIM ".." DIR_DELIM "data"; - - // Use "./bin/.." - path_userdata = std::string(buf) + DIR_DELIM ".."; + path_share = std::string(buf) + "\\..\\share"; + path_user = std::string(buf) + "\\..\\user"; /* Linux @@ -187,11 +184,8 @@ void initializePaths() pathRemoveFile(buf, '/'); - // Use "./bin/../data" - path_data = std::string(buf) + "/../data"; - - // Use "./bin/../" - path_userdata = std::string(buf) + "/.."; + path_share = std::string(buf) + "/../share"; + path_user = std::string(buf) + "/../user"; /* OS X @@ -201,8 +195,8 @@ void initializePaths() //TODO: Get path of executable. This assumes working directory is bin/ dstream<<"WARNING: Relative path not properly supported on OS X and FreeBSD" <<std::endl; - path_data = std::string("../data"); - path_userdata = std::string(".."); + path_share = std::string("../share"); + path_user = std::string("../user"); #endif @@ -224,19 +218,18 @@ void initializePaths() char buf[buflen]; DWORD len; - // Find path of executable and set path_data relative to it + // Find path of executable and set path_share relative to it len = GetModuleFileName(GetModuleHandle(NULL), buf, buflen); assert(len < buflen); pathRemoveFile(buf, '\\'); - // Use "./bin/../data" - path_data = std::string(buf) + DIR_DELIM ".." DIR_DELIM "data"; - //path_data = std::string(buf) + "/../share/" + PROJECT_NAME; + // Use ".\bin\..\share" + path_share = std::string(buf) + "\\..\\share"; // Use "C:\Documents and Settings\user\Application Data\<PROJECT_NAME>" len = GetEnvironmentVariable("APPDATA", buf, buflen); assert(len < buflen); - path_userdata = std::string(buf) + DIR_DELIM + PROJECT_NAME; + path_user = std::string(buf) + DIR_DELIM + PROJECT_NAME; /* Linux @@ -251,15 +244,15 @@ void initializePaths() pathRemoveFile(buf, '/'); - path_data = std::string(buf) + "/../share/" + PROJECT_NAME; - //path_data = std::string(INSTALL_PREFIX) + "/share/" + PROJECT_NAME; - if (!fs::PathExists(path_data)) { - dstream<<"WARNING: data path " << path_data << " not found!"; - path_data = std::string(buf) + "/../data"; - dstream<<" Trying " << path_data << std::endl; + path_share = std::string(buf) + "/../share/" + PROJECT_NAME; + //path_share = std::string(INSTALL_PREFIX) + "/share/" + PROJECT_NAME; + if (!fs::PathExists(path_share)) { + dstream<<"WARNING: data path " << path_share << " not found!"; + path_share = std::string(buf) + "/../data"; + dstream<<" Trying " << path_share << std::endl; } - path_userdata = std::string(getenv("HOME")) + "/." + PROJECT_NAME; + path_user = std::string(getenv("HOME")) + "/." + PROJECT_NAME; /* OS X @@ -276,7 +269,7 @@ void initializePaths() { dstream<<"Bundle resource path: "<<path<<std::endl; //chdir(path); - path_data = std::string(path) + "/data"; + path_share = std::string(path) + "/share"; } else { @@ -285,19 +278,19 @@ void initializePaths() } CFRelease(resources_url); - path_userdata = std::string(getenv("HOME")) + "/Library/Application Support/" + PROJECT_NAME; + path_user = std::string(getenv("HOME")) + "/Library/Application Support/" + PROJECT_NAME; #elif defined(__FreeBSD__) - path_data = std::string(INSTALL_PREFIX) + "/share/" + PROJECT_NAME; - path_userdata = std::string(getenv("HOME")) + "/." + PROJECT_NAME; + path_share = std::string(INSTALL_PREFIX) + "/share/" + PROJECT_NAME; + path_user = std::string(getenv("HOME")) + "/." + PROJECT_NAME; #endif #endif // RUN_IN_PLACE - dstream<<"path_data = "<<path_data<<std::endl; - dstream<<"path_userdata = "<<path_userdata<<std::endl; + dstream<<"path_share = "<<path_share<<std::endl; + dstream<<"path_user = "<<path_user<<std::endl; } } //namespace porting diff --git a/src/porting.h b/src/porting.h index 4970a8478..05a6ae0c4 100644 --- a/src/porting.h +++ b/src/porting.h @@ -59,7 +59,7 @@ bool * signal_handler_killstatus(void); /* Path of static data directory. */ -extern std::string path_data; +extern std::string path_share; /* Directory for storing user data. Examples: @@ -67,7 +67,7 @@ extern std::string path_data; Linux: "~/.<PROJECT_NAME>" Mac: "~/Library/Application Support/<PROJECT_NAME>" */ -extern std::string path_userdata; +extern std::string path_user; /* Get full path of stuff in data directory. @@ -76,7 +76,7 @@ extern std::string path_userdata; std::string getDataPath(const char *subpath); /* - Initialize path_data and path_userdata. + Initialize path_share and path_user. */ void initializePaths(); diff --git a/src/server.cpp b/src/server.cpp index 899624633..69f655e6a 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -843,13 +843,17 @@ u32 PIChecksum(core::list<PlayerInfo> &l) */ Server::Server( - std::string mapsavedir, - std::string configpath + std::string path_world, + std::string path_config, + std::string gamename ): + m_gamename(gamename), + m_path_world(path_world), + m_path_config(path_config), m_env(NULL), m_con(PROTOCOL_ID, 512, CONNECTION_TIMEOUT, this), - m_authmanager(mapsavedir+DIR_DELIM+"auth.txt"), - m_banmanager(mapsavedir+DIR_DELIM+"ipban.txt"), + m_authmanager(path_world+DIR_DELIM+"auth.txt"), + m_banmanager(path_world+DIR_DELIM+"ipban.txt"), m_lua(NULL), m_itemdef(createItemDefManager()), m_nodedef(createNodeDefManager()), @@ -859,12 +863,15 @@ Server::Server( m_time_counter(0), m_time_of_day_send_timer(0), m_uptime(0), - m_mapsavedir(mapsavedir), - m_configpath(configpath), m_shutdown_requested(false), m_ignore_map_edit_events(false), m_ignore_map_edit_events_peer_id(0) { + infostream<<"Server created."<<std::endl; + infostream<<"- path_world = "<<path_world<<std::endl; + infostream<<"- path_config = "<<path_config<<std::endl; + infostream<<"- gamename = "<<gamename<<std::endl; + m_liquid_transform_timer = 0.0; m_print_info_timer = 0.0; m_objectdata_timer = 0.0; @@ -876,27 +883,35 @@ Server::Server( m_step_dtime_mutex.Init(); m_step_dtime = 0.0; - JMutexAutoLock envlock(m_env_mutex); - JMutexAutoLock conlock(m_con_mutex); + // Figure out some paths + m_path_share = porting::path_share + DIR_DELIM + "server"; + m_path_game = m_path_share + DIR_DELIM + "games" + DIR_DELIM + m_gamename; // Path to builtin.lua - std::string builtinpath = porting::path_data + DIR_DELIM + "builtin.lua"; + std::string builtinpath = m_path_share + DIR_DELIM + "builtin.lua"; // Add default global mod search path - m_modspaths.push_front(porting::path_data + DIR_DELIM + "mods"); + m_modspaths.push_front(m_path_game + DIR_DELIM "mods"); // Add world mod search path - m_modspaths.push_front(mapsavedir + DIR_DELIM + "worldmods"); - // Add user mod search path - m_modspaths.push_front(porting::path_userdata + DIR_DELIM + "usermods"); + m_modspaths.push_front(m_path_world + DIR_DELIM + "worldmods"); + // Add addon mod search path + for(std::set<std::string>::const_iterator i = m_path_addons.begin(); + i != m_path_addons.end(); i++){ + m_modspaths.push_front((*i) + DIR_DELIM + "mods"); + } // Print out mod search paths - infostream<<"Mod search paths:"<<std::endl; + infostream<<"- mod search paths:"<<std::endl; for(core::list<std::string>::Iterator i = m_modspaths.begin(); i != m_modspaths.end(); i++){ std::string modspath = *i; infostream<<" "<<modspath<<std::endl; } + // Lock environment + JMutexAutoLock envlock(m_env_mutex); + JMutexAutoLock conlock(m_con_mutex); + // Initialize scripting infostream<<"Server: Initializing scripting"<<std::endl; @@ -936,7 +951,7 @@ Server::Server( // Initialize Environment - m_env = new ServerEnvironment(new ServerMap(mapsavedir, this), m_lua, + m_env = new ServerEnvironment(new ServerMap(path_world, this), m_lua, this, this); // Give environment reference to scripting api @@ -946,15 +961,15 @@ Server::Server( m_env->getMap().addEventReceiver(this); // If file exists, load environment metadata - if(fs::PathExists(m_mapsavedir+DIR_DELIM+"env_meta.txt")) + if(fs::PathExists(m_path_world+DIR_DELIM+"env_meta.txt")) { infostream<<"Server: Loading environment metadata"<<std::endl; - m_env->loadMeta(m_mapsavedir); + m_env->loadMeta(m_path_world); } // Load players infostream<<"Server: Loading players"<<std::endl; - m_env->deSerializePlayers(m_mapsavedir); + m_env->deSerializePlayers(m_path_world); /* Add some test ActiveBlockModifiers to environment @@ -1002,13 +1017,13 @@ Server::~Server() Save players */ infostream<<"Server: Saving players"<<std::endl; - m_env->serializePlayers(m_mapsavedir); + m_env->serializePlayers(m_path_world); /* Save environment metadata */ infostream<<"Server: Saving environment metadata"<<std::endl; - m_env->saveMeta(m_mapsavedir); + m_env->saveMeta(m_path_world); } /* @@ -1065,7 +1080,7 @@ void Server::start(unsigned short port) m_thread.setRun(true); m_thread.Start(); - infostream<<"Server: Started on port "<<port<<std::endl; + infostream<<"Server started on port "<<port<<"."<<std::endl; } void Server::stop() @@ -1803,10 +1818,10 @@ void Server::AsyncRunStep() m_env->getMap().save(MOD_STATE_WRITE_NEEDED); // Save players - m_env->serializePlayers(m_mapsavedir); + m_env->serializePlayers(m_path_world); // Save environment metadata - m_env->saveMeta(m_mapsavedir); + m_env->saveMeta(m_path_world); } } } @@ -4110,8 +4125,8 @@ void Server::setPlayerPassword(const std::string &name, const std::wstring &pass // Saves g_settings to configpath given at initialization void Server::saveConfig() { - if(m_configpath != "") - g_settings->updateConfigFile(m_configpath.c_str()); + if(m_path_config != "") + g_settings->updateConfigFile(m_path_config.c_str()); } void Server::notifyPlayer(const char *name, const std::wstring msg) diff --git a/src/server.h b/src/server.h index 04bd61a87..50cd5b285 100644 --- a/src/server.h +++ b/src/server.h @@ -392,6 +392,7 @@ public: */ Server( + std::string gamename, std::string mapsavedir, std::string configpath ); @@ -526,7 +527,7 @@ public: const ModSpec* getModSpec(const std::string &modname); - std::string getWorldPath(){ return m_mapsavedir; } + std::string getWorldPath(){ return m_path_world; } private: @@ -631,6 +632,21 @@ private: Variables */ + // Game name + std::string m_gamename; + // World directory + std::string m_path_world; + // Path to user's configuration file ("" = no configuration file) + std::string m_path_config; + + // Equivalent of /usr/share/minetest/server + std::string m_path_share; + // Equivalent of /usr/share/minetest/server/games/gamename + std::string m_path_game; + // Equivalent of /usr/share/minetest/server/addons/gamename + // and ~/.minetest/server/addons/gamename + std::set<std::string> m_path_addons; + // Some timers float m_liquid_transform_timer; float m_print_info_timer; @@ -724,12 +740,6 @@ private: /* Random stuff */ - - // Map directory - std::string m_mapsavedir; - - // Configuration path ("" = no configuration file) - std::string m_configpath; // Mod parent directory paths core::list<std::string> m_modspaths; diff --git a/src/servermain.cpp b/src/servermain.cpp index 4194faaaa..5eb5162ae 100644 --- a/src/servermain.cpp +++ b/src/servermain.cpp @@ -163,17 +163,16 @@ int main(int argc, char *argv[]) porting::signal_handler_init(); bool &kill = *porting::signal_handler_killstatus(); - // Initialize porting::path_data and porting::path_userdata porting::initializePaths(); // Create user data directory - fs::CreateDir(porting::path_userdata); + fs::CreateDir(porting::path_user); // Initialize debug streams #ifdef RUN_IN_PLACE std::string debugfile = DEBUGFILE; #else - std::string debugfile = porting::path_userdata+DIR_DELIM+DEBUGFILE; + std::string debugfile = porting::path_user+DIR_DELIM+DEBUGFILE; #endif debugstreams_init(disable_stderr, debugfile.c_str()); // Initialize debug stacks @@ -283,10 +282,12 @@ int main(int argc, char *argv[]) else { core::array<std::string> filenames; - filenames.push_back(porting::path_userdata + + filenames.push_back(porting::path_user + DIR_DELIM + "minetest.conf"); #ifdef RUN_IN_PLACE - filenames.push_back(porting::path_userdata + + // Try also from a lower level (to aid having the same configuration + // for many RUN_IN_PLACE installs) + filenames.push_back(porting::path_user + DIR_DELIM + ".." + DIR_DELIM + "minetest.conf"); #endif @@ -334,28 +335,31 @@ int main(int argc, char *argv[]) // Port? u16 port = 30000; if(cmd_args.exists("port") && cmd_args.getU16("port") != 0) - { port = cmd_args.getU16("port"); - } else if(g_settings->exists("port") && g_settings->getU16("port") != 0) - { port = g_settings->getU16("port"); - } - else - { - dstream<<"Please specify port (in config or on command line)" - <<std::endl; - } - // Figure out path to map - std::string map_dir = porting::path_userdata+DIR_DELIM+"world"; + // Map directory + std::string map_dir = porting::path_user + DIR_DELIM + "server" + DIR_DELIM + "worlds" + DIR_DELIM + "world"; if(cmd_args.exists("map-dir")) map_dir = cmd_args.get("map-dir"); else if(g_settings->exists("map-dir")) map_dir = g_settings->get("map-dir"); + else{ + // No map-dir option was specified. + // Check if the world is found from the default directory, and if + // not, see if the legacy world directory exists. + std::string legacy_map_dir = porting::path_user+DIR_DELIM+".."+DIR_DELIM+"world"; + if(!fs::PathExists(map_dir) && fs::PathExists(legacy_map_dir)){ + errorstream<<"Warning: Using legacy world directory \"" + <<legacy_map_dir<<"\""<<std::endl; + map_dir = legacy_map_dir; + } + } + // Create server - Server server(map_dir.c_str(), configpath); + Server server(map_dir, configpath, "mesetint"); server.start(port); // Run server diff --git a/src/tile.cpp b/src/tile.cpp index c39a65511..5ef469944 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -132,8 +132,9 @@ std::string getTexturePath(const std::string &filename) */ if(fullpath == "") { - std::string rel_path = std::string("clienttextures")+DIR_DELIM+filename; - std::string testpath = porting::path_data + DIR_DELIM + rel_path; + std::string rel_path = std::string("client") + + DIR_DELIM + "textures" + DIR_DELIM + filename; + std::string testpath = porting::path_share + DIR_DELIM + rel_path; // Check all filename extensions. Returns "" if not found. fullpath = getImagePath(testpath); } @@ -997,7 +998,7 @@ void TextureSource::buildMainAtlas(class IGameDef *gamedef) /* Write image to file so that it can be inspected */ - /*std::string atlaspath = porting::path_userdata + /*std::string atlaspath = porting::path_user + DIR_DELIM + "generated_texture_atlas.png"; infostream<<"Removing and writing texture atlas for inspection to " <<atlaspath<<std::endl; |