oweals/minetest.git
9 years agoMove texture_min_size even further down the pipe. Now, textures are JIT-upscaled...
Aaron Suen [Tue, 31 Mar 2015 00:04:19 +0000 (20:04 -0400)]
Move texture_min_size even further down the pipe. Now, textures are JIT-upscaled using an image transformation, right at the time they're added to a mesh or particle; images used in 2D elements are left unscaled. This should fix any remaining issues with HUD elements.

9 years agoChange format of screenshot names
Craig Robbins [Tue, 31 Mar 2015 06:13:42 +0000 (16:13 +1000)]
Change format of screenshot names

Filename screenshot_ + ISO 8601 format + [-serial]

i.e. screenshot_YYYY-MM-DDTHH::MM::SS[-serial].png

Serial is added if the filename + timestamp already exists and is in the range 1 to 999

9 years agoGenElementManager: Pass opaque handles to Lua and rename to ObjDefManager
kwolekr [Tue, 31 Mar 2015 03:40:35 +0000 (23:40 -0400)]
GenElementManager: Pass opaque handles to Lua and rename to ObjDefManager

Add core.clear_registered_schematics() and refactor schematics somewhat

9 years agoUse Buffer not SharedBuffer in NetworkPacket::oldForgePacket
Loic Blot [Mon, 30 Mar 2015 17:55:14 +0000 (19:55 +0200)]
Use Buffer not SharedBuffer in NetworkPacket::oldForgePacket

9 years agoOn Android enable always fast
Craig Robbins [Sat, 28 Mar 2015 05:24:35 +0000 (15:24 +1000)]
On Android enable always fast

Invert the meaning of holding down the fast button (i.e. holding down the fast button -- if there is one -- means walk), unless performing an action, sneaking or jumping.
Still requires fast move to be toggled on (and fast priv)

9 years agoLet main menu scale (non-Android)
Craig Robbins [Sun, 29 Mar 2015 14:33:07 +0000 (00:33 +1000)]
Let main menu scale (non-Android)

This fixes main menu not fitting for 800x600 (and lower resolutions) on PC builds

9 years agoFix Android build-related bugs
Craig Robbins [Sat, 28 Mar 2015 10:25:34 +0000 (20:25 +1000)]
Fix Android build-related bugs

E.g. Sound and freetype always being disabled, redefinition of pre-processor directives

9 years agoMake sure g_timegetter is initalised before running speedtests
Craig Robbins [Sun, 29 Mar 2015 12:21:32 +0000 (22:21 +1000)]
Make sure g_timegetter is initalised before running speedtests

Thanks @SmallJoker for noticing the issue

9 years agoFix typo
Craig Robbins [Sun, 29 Mar 2015 12:08:14 +0000 (22:08 +1000)]
Fix typo

9 years agoUpdate credits
Craig Robbins [Mon, 23 Mar 2015 04:20:28 +0000 (14:20 +1000)]
Update credits

9 years agoqueued_commands must be a std::deque. RunCommandQueues needs to push packet on front...
Loic Blot [Sun, 29 Mar 2015 08:49:43 +0000 (10:49 +0200)]
queued_commands must be a std::deque. RunCommandQueues needs to push packet on front, not back

9 years agoFix uninitialized variable Player::local_animation_speed
Loic Blot [Sat, 28 Mar 2015 09:45:32 +0000 (10:45 +0100)]
Fix uninitialized variable Player::local_animation_speed

9 years agoUpdate minetest.po
Rui [Sun, 22 Mar 2015 21:18:04 +0000 (06:18 +0900)]
Update minetest.po

Update minetest.po

Update minetest.po

9 years agoAdd Lua function get_video_modes() for main menu
Craig Robbins [Sat, 28 Mar 2015 01:05:39 +0000 (11:05 +1000)]
Add Lua function get_video_modes() for main menu

Also updates and uses porting::getSupportedVideoModes()

9 years agoMake camera clear error message if there's no error
ShadowNinja [Sat, 28 Mar 2015 02:20:10 +0000 (22:20 -0400)]
Make camera clear error message if there's no error

9 years agoFix GetText translation loading
ShadowNinja [Sat, 28 Mar 2015 02:10:08 +0000 (22:10 -0400)]
Fix GetText translation loading

9 years agoChange error_message from wstring to string
ShadowNinja [Sat, 28 Mar 2015 00:24:04 +0000 (20:24 -0400)]
Change error_message from wstring to string

This removes a lot of narrow/wide conversions where a wide string was never used.

9 years agoFix MSVC compile error
ShadowNinja [Fri, 27 Mar 2015 19:16:41 +0000 (15:16 -0400)]
Fix MSVC compile error

9 years agoDocument nil player as being allowed for can_dig
ShadowNinja [Fri, 27 Mar 2015 19:11:28 +0000 (15:11 -0400)]
Document nil player as being allowed for can_dig

9 years agoFix typo in OpenGL ES 2 CMake file
ShadowNinja [Fri, 27 Mar 2015 19:10:27 +0000 (15:10 -0400)]
Fix typo in OpenGL ES 2 CMake file

9 years agoClean up and tweak build system 2402/head
ShadowNinja [Fri, 27 Feb 2015 23:05:29 +0000 (18:05 -0500)]
Clean up and tweak build system

  * Combine client and server man pages.
  * Update unit test options and available databases in man page.
  * Add `--worldname` to man page.
  * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`.
  * Disable server build by default on all operating systems.
  * Make `ENABLE_FREETYPE` not fail if FreeType isn't found.
  * Enable LevelDB, Redis, and FreeType detection by default.
  * Remove the `VERSION_PATCH_ORIG` hack.
  * Add option to search for and use system JSONCPP.
  * Remove broken LuaJIT version detection.
  * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`.
  * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`.
  * Clean up style of CMake files.

9 years agoRemove duplicate code since 8ca08a850ff2494652aa0ac2daa3d00f03aa4e7a
Loic Blot [Sun, 22 Mar 2015 09:22:25 +0000 (10:22 +0100)]
Remove duplicate code since 8ca08a850ff2494652aa0ac2daa3d00f03aa4e7a

9 years agoUpdate German translation and minetest.pot
Wuzzy [Sat, 14 Mar 2015 15:56:52 +0000 (16:56 +0100)]
Update German translation and minetest.pot

9 years agolua_api/l_mapgen: generate_ores/decorations: make p1, p2 optional
paramat [Sun, 22 Mar 2015 21:03:19 +0000 (21:03 +0000)]
lua_api/l_mapgen: generate_ores/decorations: make p1, p2 optional

9 years agoChange filename of screenshots to something more human readable
Craig Robbins [Tue, 24 Mar 2015 16:42:31 +0000 (02:42 +1000)]
Change filename of screenshots to something more human readable

9 years agoUpdate timestamp to include date
Craig Robbins [Tue, 24 Mar 2015 16:29:24 +0000 (02:29 +1000)]
Update timestamp to include date

9 years agoDon't send an InventoryAction at each setInventoryModified, we only need one SendInve...
Loic Blot [Tue, 24 Mar 2015 08:36:54 +0000 (09:36 +0100)]
Don't send an InventoryAction at each setInventoryModified, we only need one SendInventory per inventory modification

Client doesn't like to receive multiples SendInventory for one action, this can trigger glitches on clients (sometimes due to incorrect UDP packet ordering due to UDP protocol)

This fix issue #2544

9 years agoSlow down the "key repeat" touch speed for some Android controls
Craig Robbins [Tue, 24 Mar 2015 12:19:32 +0000 (22:19 +1000)]
Slow down the "key repeat" touch speed for some Android controls

Increases the key/buttons repeat delay for fly, noclip, fast, debug and camera buttons

9 years agoAdd core.register_schematic() and cache schematics on use
kwolekr [Tue, 24 Mar 2015 02:10:59 +0000 (22:10 -0400)]
Add core.register_schematic() and cache schematics on use

9 years agoFix endianness inconsistency with PcgRandom::bytes()
kwolekr [Tue, 24 Mar 2015 01:07:32 +0000 (21:07 -0400)]
Fix endianness inconsistency with PcgRandom::bytes()

9 years agoSchematics: Error if unable to open file
kwolekr [Tue, 24 Mar 2015 01:03:28 +0000 (21:03 -0400)]
Schematics: Error if unable to open file

9 years agoDo not enable texture_clean_transparent by default
kwolekr [Mon, 23 Mar 2015 22:19:19 +0000 (18:19 -0400)]
Do not enable texture_clean_transparent by default

This feature is still experimental and has some issues. Also,
increase texture_min_size to 64 px. The setting was initially
a conservative 16 so that the effect would not be noticable
for players who aren't using aniso/bi/trilinear filtering. This
isn't necessary now that texture_clean_transparent is disabled
by default.

9 years agoMgv6: Use heightmap in placeTreesAndJungleGrass()
paramat [Mon, 23 Mar 2015 19:36:00 +0000 (19:36 +0000)]
Mgv6: Use heightmap in placeTreesAndJungleGrass()

9 years agoFix for sun/moon tonemaps: don't upscale 1px images.
Aaron Suen [Mon, 23 Mar 2015 06:23:29 +0000 (02:23 -0400)]
Fix for sun/moon tonemaps: don't upscale 1px images.

9 years agoFix Android build on 32 bit
est31 [Sun, 22 Mar 2015 23:46:55 +0000 (00:46 +0100)]
Fix Android build on 32 bit

Remove the --system=linux-x86_64 which isn't neccessary on 64 bit,
as, when given no --system parameter, the standalone-toolchain.sh script
figures out the platform on itself. Naturally, the hardcoded setting broke
android building on 32 bit systems.

9 years agoFix cmake po detection bug
est31 [Sun, 22 Mar 2015 19:52:57 +0000 (20:52 +0100)]
Fix cmake po detection bug

Previously, cmake po detection would treat the "timestamp" file created by building for android as own language directory.

9 years agoFix minetest.get_craft_recipe function
est31 [Mon, 23 Mar 2015 01:38:53 +0000 (02:38 +0100)]
Fix minetest.get_craft_recipe function

Previously, calling it resulted in a crash.

9 years agoPlayer: Fix a deadlock triggered by previous commit 0e5e49736c0a5fa29bca257bafc02d7c7...
Loic Blot [Sun, 22 Mar 2015 20:33:09 +0000 (21:33 +0100)]
Player: Fix a deadlock triggered by previous commit 0e5e49736c0a5fa29bca257bafc02d7c7a7171c9

9 years agoProtect Player::hud from concurrent modifications
Loic Blot [Sun, 22 Mar 2015 19:09:44 +0000 (20:09 +0100)]
Protect Player::hud from concurrent modifications
Sometimes HUD can be modified by ServerThread and EmergeThread results in a crash on client side because the HUD is not correct

9 years agoMgv7: 1 up , 1 down overgeneration for chunk border continuity
paramat [Fri, 20 Mar 2015 18:06:05 +0000 (18:06 +0000)]
Mgv7: 1 up , 1 down overgeneration for chunk border continuity

Fixes biome layer at y = 47 when base/alt terrain exceeds it
Also fixes missing dust glitch at y = 47
Mgv5/mgv7:Cleanup code

9 years agoRevert "Add a Lua call to do damages / heals" ok @ShadowNinja
Loic Blot [Sun, 22 Mar 2015 17:01:56 +0000 (18:01 +0100)]
Revert "Add a Lua call to do damages / heals" ok @ShadowNinja

This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.

9 years agoRemove unused ConnectionCommand::sendToAll function. NetworkPacket::oldForgePacket...
Loic Blot [Sun, 22 Mar 2015 11:18:16 +0000 (12:18 +0100)]
Remove unused ConnectionCommand::sendToAll function. NetworkPacket::oldForgePacket returns Buffer instead of SharedBuffer and is used in ConnectionCommand instead of Connection::Send
This remove the NetworkPacket buffer => SharedBuffer => Buffer copy. Now NetworkPacket => Buffer

9 years agoFix some loose ends from 3993093f
kwolekr [Sun, 22 Mar 2015 06:58:47 +0000 (02:58 -0400)]
Fix some loose ends from 3993093f

9 years agoAdd support for the PCG32 PRNG algo (and associated script APIs)
kwolekr [Sun, 22 Mar 2015 04:01:46 +0000 (00:01 -0400)]
Add support for the PCG32 PRNG algo (and associated script APIs)

9 years agoSendInventory when handleCommand_Interact is a use.
poet-nohit [Sat, 21 Mar 2015 19:41:32 +0000 (13:41 -0600)]
SendInventory when handleCommand_Interact is a use.
This call was missing when change looping to triggering SendInventory: 1b2f64473ed4f222d3b7f02df853730d4382105e

9 years agoFix composite textures with texture_min_size. Moved upscaling of textures to later...
Aaron Suen [Sat, 21 Mar 2015 13:59:06 +0000 (09:59 -0400)]
Fix composite textures with texture_min_size. Moved upscaling of textures to later in the process, when images are converted to textures, instead of right after image load, so the original image is unmodified for generateImagePart.

9 years agoConnect rails with connect_to_raillike and shorten the codes
SmallJoker [Sat, 21 Mar 2015 11:52:05 +0000 (12:52 +0100)]
Connect rails with connect_to_raillike and shorten the codes

9 years agoOptimize minetest.get_(all)_craft_recipe(s)
gregorycu [Mon, 26 Jan 2015 13:46:55 +0000 (00:46 +1100)]
Optimize minetest.get_(all)_craft_recipe(s)

Signed off by: ShadowNinja, kwolekr

9 years agoConfigurable automatic texture scaling and filtering at load time.
Aaron Suen [Sun, 8 Mar 2015 00:52:59 +0000 (19:52 -0500)]
Configurable automatic texture scaling and filtering at load time.

Signed off by: Zeno, kwolekr

9 years agoRevert "Fix issue #2441: crash on respawn, since a conversion std::list to std::vecto...
kwolekr [Fri, 20 Mar 2015 22:40:18 +0000 (18:40 -0400)]
Revert "Fix issue #2441: crash on respawn, since a conversion std::list to std::vector on Environment.cpp"

This reverts parts of commit 9749d9fee6db99da1ab861dc04ec63ef973db3e0, which breaks node resolver
list clearing

9 years agoMgv5/mgv7: Sprinkle dust from full_node_max.Y if chunk above is generated
paramat [Mon, 16 Mar 2015 01:22:37 +0000 (01:22 +0000)]
Mgv5/mgv7: Sprinkle dust from full_node_max.Y if chunk above is generated

Mgv5: Add large_cave_depth constant

9 years agoReset the old HP method on PlayerSAO::setHP
Loic Blot [Wed, 18 Mar 2015 18:41:25 +0000 (19:41 +0100)]
Reset the old HP method on PlayerSAO::setHP

9 years agoFix game minetest.conf default settings
est31 [Fri, 13 Mar 2015 03:35:34 +0000 (04:35 +0100)]
Fix game minetest.conf default settings

This was a regression introduced by f6e4c5d9cf459e8278a76a2beaee59732e841458 .

9 years agoAdd a Lua call to do damages / heals
Loic Blot [Wed, 18 Mar 2015 09:03:51 +0000 (10:03 +0100)]
Add a Lua call to do damages / heals

9 years agoServerpacketHandler: spelling fixes
Loic Blot [Wed, 18 Mar 2015 10:57:05 +0000 (11:57 +0100)]
ServerpacketHandler: spelling fixes

9 years agoMgv6: Remove addDirtGravelBlobs, replaced by blob ore in Minetest Game
paramat [Tue, 17 Mar 2015 05:21:31 +0000 (05:21 +0000)]
Mgv6: Remove addDirtGravelBlobs, replaced by blob ore in Minetest Game

Desert stone above y = -32 not water_level
Remove unused generateExperimental()

9 years agoSave creative_mode and enable_damage setting for each world in world.mt
fz72 [Sun, 15 Mar 2015 13:52:10 +0000 (14:52 +0100)]
Save creative_mode and enable_damage setting for each world in world.mt

Create Parameters on world initialisation and set settings of old worlds

9 years agoMutexedQueue inherits must use std::deque instead of std::list
Loic Blot [Thu, 5 Mar 2015 19:54:36 +0000 (20:54 +0100)]
MutexedQueue inherits must use std::deque instead of std::list

9 years agoRemove Android makefile ugly make -j hack
Loic Blot [Tue, 17 Mar 2015 14:48:48 +0000 (15:48 +0100)]
Remove Android makefile ugly make -j hack

9 years agoStandalone bundle for OSX (w/ dependencies!)
Pavel Puchkin [Tue, 10 Mar 2015 17:29:13 +0000 (19:29 +0200)]
Standalone bundle for OSX (w/ dependencies!)

9 years agoServer::step throw is never catched in minetestserver
Loic Blot [Tue, 17 Mar 2015 08:13:12 +0000 (09:13 +0100)]
Server::step throw is never catched in minetestserver
Replace it with an errorstream + assert for server

This throw can be trigger by LuaError exception or ConnectionBindFailed exception in the following functions:
* EmergeThread::Thread()
* ScriptApiEnv::environment_Step()
* ScriptApiEnv::player_event()
* ServerThread::Thread()

9 years agoUse the NetworkPacket api to read full version string instead of u8 pointers. Also...
Loic Blot [Tue, 17 Mar 2015 13:04:46 +0000 (14:04 +0100)]
Use the NetworkPacket api to read full version string instead of u8 pointers. Also store the reserved byte to use API properly

Fixes #2509

9 years agoFix a little regression on SendActiveObjectMessages which send all TOCLIENT_ACTIVE_OB...
Loic Blot [Tue, 17 Mar 2015 08:16:39 +0000 (09:16 +0100)]
Fix a little regression on SendActiveObjectMessages which send all TOCLIENT_ACTIVE_OBJECT_MESSAGES as reliable

9 years agoMinor bug fix (lag between damage flash and hearts updating)
Craig Robbins [Tue, 17 Mar 2015 07:39:59 +0000 (17:39 +1000)]
Minor bug fix (lag between damage flash and hearts updating)

9 years agoFix various damage related bugs (client-side)
Craig Robbins [Tue, 17 Mar 2015 06:21:48 +0000 (16:21 +1000)]
Fix various damage related bugs (client-side)

E.g. spawning or teleporting into lava to become invinsible

9 years agoMinor cleanup: game.cpp
Craig Robbins [Tue, 17 Mar 2015 06:44:17 +0000 (16:44 +1000)]
Minor cleanup: game.cpp

* Sort includes
* Remove unnecessary includes
* Ensure the parameter name for GameRunData is consistent for class member functions

9 years agoRevert "Server::step throw is never catched. Replace it with an errorstream + assert"
kwolekr [Tue, 17 Mar 2015 01:17:27 +0000 (21:17 -0400)]
Revert "Server::step throw is never catched. Replace it with an errorstream + assert"

This reverts commit 5f8e48c63baf12930430d5d8fc07495021599e61.

9 years agoBump android version code
Loic Blot [Mon, 16 Mar 2015 19:37:07 +0000 (20:37 +0100)]
Bump android version code

9 years agoServer::step throw is never catched. Replace it with an errorstream + assert
Loic Blot [Mon, 16 Mar 2015 19:25:35 +0000 (20:25 +0100)]
Server::step throw is never catched. Replace it with an errorstream + assert
This throw can be trigger by LuaError exception or ConnectionBindFailed exception in the following functions:
* EmergeThread::Thread()
* ScriptApiEnv::environment_Step()
* ScriptApiEnv::player_event()
* ServerThread::Thread()

9 years agoAndroid: Fix auto-entry of server address and port in mainmenu
est31 [Mon, 16 Mar 2015 16:32:30 +0000 (17:32 +0100)]
Android: Fix auto-entry of server address and port in mainmenu

Fixes #2497.

9 years agoMove client packet generators to dedicated functions for:
Loic Blot [Mon, 16 Mar 2015 11:39:27 +0000 (12:39 +0100)]
Move client packet generators to dedicated functions for:
* TOSERVER_INIT_LEGACY
* TOSERVER_DELETEDBLOCKS
* TOSERVER_GOTBLOCKS
* TOSERVER_REMOVED_SOUNDS
Also use a std::vector instead of std::set for TOSERVER_REMOVED_SOUNDS

9 years agoMove TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD and TOCLIENT_ACTIVE_OBJECT_MESSAGES to private...
Loic Blot [Mon, 16 Mar 2015 11:01:40 +0000 (12:01 +0100)]
Move TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD and TOCLIENT_ACTIVE_OBJECT_MESSAGES to private functions

9 years agoRename packethandler/{client,server}.cpp to {client,server}packethandler.cpp
Loic Blot [Mon, 16 Mar 2015 09:19:13 +0000 (10:19 +0100)]
Rename packethandler/{client,server}.cpp to {client,server}packethandler.cpp
* Requested by @Zeno-
* Approved by @nerzhul

9 years agoIf player is dead, permit it to respawn, even if damages are not enabled
Loic Blot [Mon, 16 Mar 2015 09:01:56 +0000 (10:01 +0100)]
If player is dead, permit it to respawn, even if damages are not enabled
* Mods can do setHP function to do damages and override the enable_damage value sometimes

9 years agoSendPlayerHPOrDie everytime at client connection, damage enabled or not, this will...
Loic Blot [Sun, 15 Mar 2015 18:09:26 +0000 (19:09 +0100)]
SendPlayerHPOrDie everytime at client connection, damage enabled or not, this will fix the player which stay dead at connection

9 years agoFiner progress bar updates when initializing nodes
est31 [Sun, 15 Mar 2015 06:25:22 +0000 (07:25 +0100)]
Finer progress bar updates when initializing nodes

The bar is only drawn when the user will notice a change, which prevents time overheads that this commit would cause, resulting from useless draws.

9 years agoAndroid Makefile update backported from stable-0.4 with minor changes
Loic Blot [Sun, 15 Mar 2015 10:21:34 +0000 (11:21 +0100)]
Android Makefile update backported from stable-0.4 with minor changes

9 years agomg_decoration: Raise highest allowed deco top to max edge of voxelmanip
paramat [Sat, 14 Mar 2015 04:26:04 +0000 (04:26 +0000)]
mg_decoration: Raise highest allowed deco top to max edge of voxelmanip

Remove max_y from functions, simplify code

9 years agoAndroid: Backport changes from stable-0.4
Loic Blot [Sat, 14 Mar 2015 18:59:14 +0000 (19:59 +0100)]
Android: Backport changes from stable-0.4

9 years agoAndroid: fix package name in JAVA sources
Loic Blot [Sat, 14 Mar 2015 17:52:31 +0000 (18:52 +0100)]
Android: fix package name in JAVA sources

9 years agoFix package name in AndroidManifest.xml
Loic Blot [Sat, 14 Mar 2015 17:41:36 +0000 (18:41 +0100)]
Fix package name in AndroidManifest.xml

9 years agoAndroidManifest.xml version bump
Loic Blot [Sat, 14 Mar 2015 17:28:02 +0000 (18:28 +0100)]
AndroidManifest.xml version bump

9 years agoDisable double-click -> ESC translation for main menu
Craig Robbins [Sat, 14 Mar 2015 09:55:35 +0000 (19:55 +1000)]
Disable double-click -> ESC translation for main menu

9 years agoclient.cpp: typo fix and break; fix to make some compilers happy
Loic Blot [Fri, 13 Mar 2015 21:08:41 +0000 (22:08 +0100)]
client.cpp: typo fix and break; fix to make some compilers happy

9 years agoReplace NetworkPacket pointers to references
Loic Blot [Fri, 13 Mar 2015 21:01:49 +0000 (22:01 +0100)]
Replace NetworkPacket pointers to references

9 years agoPrepare Protocol v25 init & authentication.
Loic Blot [Fri, 13 Mar 2015 15:35:21 +0000 (16:35 +0100)]
Prepare Protocol v25 init & authentication.
* TOSERVER_INIT and TOCLIENT_INIT renamed to _LEGACY
* TOSERVER_PASSWORD merged from dev-0.5, can use protocol v24 and v25
* TOCLIENT_ACCESS_DENIED merged from dev-0.5, can use protocol v24 and v25, with normalized strings an a custom id for custom errors
* new TOSERVER_INIT packet only send MT version, supported compressions, protocols and serialization, this permit to rework everything later without break the _INIT packet
* new TOSERVER_AUTH packet which auth the client
* new TOCLIENT_HELLO packet which send server serialization version atm
* new TOCLIENT_AUTH_ACCEPTED which is send when TOCLIENT_AUTH was okay. After this packet, the client load datas from servers, like after TOCLIENT_INIT_LEGACY packet

9 years agoHandle the newly added TOCLIENT_ACCESS_DENIED and TOCLIENT_DELETE_PARTICLESPAWNER
Loic Blot [Fri, 13 Mar 2015 13:14:48 +0000 (14:14 +0100)]
Handle the newly added TOCLIENT_ACCESS_DENIED and TOCLIENT_DELETE_PARTICLESPAWNER
* Rename the handlers from _Legacy to regular, because here we can use same handlers
* Fix some packet names and pseudo handlers

9 years agoRename some packet and handlers to <packet>_Legacy name for compat layer between...
Loic Blot [Fri, 13 Mar 2015 12:40:48 +0000 (13:40 +0100)]
Rename some packet and handlers to <packet>_Legacy name for compat layer between new network changes and old network clients

9 years agoUse the new Player::isDead function when it's the case
Loic Blot [Fri, 13 Mar 2015 07:57:19 +0000 (08:57 +0100)]
Use the new Player::isDead function when it's the case

9 years agoUpdate Indonesian Language
SmallJoker [Mon, 2 Mar 2015 20:03:17 +0000 (21:03 +0100)]
Update Indonesian Language

9 years agohandleCommand_Breath mustn't update breath is player is dead. A dead player doesn...
Loic Blot [Thu, 12 Mar 2015 10:27:28 +0000 (11:27 +0100)]
handleCommand_Breath mustn't update breath is player is dead. A dead player doesn't breath.
Add Player::isDead function to check player is dead

9 years agoDon't handle PlayerPos packet coming from client if player is dead
Loic Blot [Thu, 12 Mar 2015 09:32:16 +0000 (10:32 +0100)]
Don't handle PlayerPos packet coming from client if player is dead

9 years agoMgv5/mgv7: Add desert temples if desert stone detected in mapchunk
paramat [Wed, 11 Mar 2015 06:48:06 +0000 (06:48 +0000)]
Mgv5/mgv7: Add desert temples if desert stone detected in mapchunk

9 years agoUnescape tooltip texts
est31 [Tue, 10 Mar 2015 15:22:56 +0000 (16:22 +0100)]
Unescape tooltip texts

Previously, tooltips didn't unescape escaped formspec texts.
Item descriptions that trigger tooltips like inside inventories or for item_image_button
don't need to get unescaped, as they don't get set using formspec, but from lua.

9 years agoMgv6: Fix uninitialised heightmap used by cavegen
paramat [Wed, 11 Mar 2015 05:28:07 +0000 (05:28 +0000)]
Mgv6: Fix uninitialised heightmap used by cavegen

9 years agolua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorations
paramat [Tue, 10 Mar 2015 04:51:21 +0000 (04:51 +0000)]
lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorations

9 years agoSilence Clang warning
ShadowNinja [Wed, 11 Mar 2015 00:45:42 +0000 (20:45 -0400)]
Silence Clang warning

9 years agoEnsure that heightmap is initialized before use
Craig Robbins [Tue, 10 Mar 2015 08:46:28 +0000 (18:46 +1000)]
Ensure that heightmap is initialized before use

Without this, cavegen will use values in the heightmap before they are initialized.

9 years agoStop formspecs closing with double-click in empty area
Craig Robbins [Mon, 9 Mar 2015 02:42:25 +0000 (12:42 +1000)]
Stop formspecs closing with double-click in empty area

Behaviour on Android remains the same until other alternatives can be devised (if possible)

See #2425 (and the many other -- now closed -- issues reporting this feature as a bug)

9 years agoFix memleak pointed by issue #2439.
Loic Blot [Sun, 8 Mar 2015 17:13:27 +0000 (18:13 +0100)]
Fix memleak pointed by issue #2439.
Also change bzero to memset. bzero doesn't work on windows