Loic Blot
262dc31e53
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
2015-03-16 10:02:01 +01:00
Loic Blot
e01e7c4574
SendPlayerHPOrDie everytime at client connection, damage enabled or not, this will fix the player which stay dead at connection
2015-03-15 19:09:26 +01:00
est31
f9986b360a
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.
2015-03-15 22:01:52 +10:00
Loic Blot
6e62992e96
Android Makefile update backported from stable-0.4 with minor changes
2015-03-15 11:21:34 +01:00
paramat
30613e71cd
mg_decoration: Raise highest allowed deco top to max edge of voxelmanip
...
Remove max_y from functions, simplify code
2015-03-15 04:15:48 +00:00
Loic Blot
d71219e01c
Android: Backport changes from stable-0.4
2015-03-14 19:59:14 +01:00
Loic Blot
a03fdd923f
Android: fix package name in JAVA sources
2015-03-14 18:52:31 +01:00
Loic Blot
1b13972f22
Fix package name in AndroidManifest.xml
2015-03-14 18:41:36 +01:00
Loic Blot
fa59f2e69c
AndroidManifest.xml version bump
2015-03-14 18:28:02 +01:00
Craig Robbins
364c62fa2e
Disable double-click -> ESC translation for main menu
2015-03-14 23:41:42 +10:00
Loic Blot
ae19a9f796
client.cpp: typo fix and break; fix to make some compilers happy
2015-03-13 22:08:48 +01:00
Loic Blot
b4f34761bd
Replace NetworkPacket pointers to references
2015-03-13 22:01:49 +01:00
Loic Blot
554575520c
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
2015-03-13 20:23:03 +01:00
Loic Blot
d77c45c0ca
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
2015-03-13 14:28:20 +01:00
Loic Blot
7d8afdbc1e
Rename some packet and handlers to <packet>_Legacy name for compat layer between new network changes and old network clients
2015-03-13 13:40:48 +01:00
Loic Blot
8e2ec156dc
Use the new Player::isDead function when it's the case
2015-03-13 08:57:58 +01:00
SmallJoker
f8e201f826
Update Indonesian Language
2015-03-12 17:08:08 +01:00
Loic Blot
ba0e414249
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
2015-03-12 11:27:28 +01:00
Loic Blot
41aa52bc09
Don't handle PlayerPos packet coming from client if player is dead
2015-03-12 10:32:16 +01:00
paramat
24cd3fa41c
Mgv5/mgv7: Add desert temples if desert stone detected in mapchunk
2015-03-12 02:33:16 +00:00
est31
b5c9ea9e29
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.
2015-03-11 14:33:07 +01:00
paramat
47fb77c56e
Mgv6: Fix uninitialised heightmap used by cavegen
2015-03-11 06:04:07 +00:00
paramat
6817647244
lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorations
2015-03-11 03:36:39 +00:00
ShadowNinja
79f6e3ec16
Silence Clang warning
2015-03-10 20:47:52 -04:00
Craig Robbins
18bfa215cf
Ensure that heightmap is initialized before use
...
Without this, cavegen will use values in the heightmap before they are initialized.
2015-03-10 18:46:28 +10:00
Craig Robbins
af0501043d
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)
2015-03-09 12:42:25 +10:00
Loic Blot
84437aaa6c
Fix memleak pointed by issue #2439 .
...
Also change bzero to memset. bzero doesn't work on windows
2015-03-08 18:13:27 +01:00
Loic Blot
62f54e9f52
Fix unitialized data when creating TOSERVER_INIT packet
2015-03-08 18:03:43 +01:00
ShadowNinja
e2055f2858
Make the dummy backend only look up blocks once
2015-03-08 03:16:40 -04:00
Maksim Gamarnik
58762a2b97
Update Android Makefile
...
ARMv7 default build
Update curl
Update OpenSSL
2015-03-08 15:48:40 +10:00
paramat
b13d0401c0
Heightmaps: Fix uninitialised values in mgv5/mgv6. findGroundLevel: Return -MAP_GENERATION_LIMIT if surface not found
2015-03-08 03:54:03 +00:00
gregorycu
dd4390dd36
Optimize Profiler::avg()
2015-03-07 20:04:01 -05:00
ShadowNinja
0e52779292
Don't use luaL_checkstring to read node names, it's only for arguments
...
This caused confusing error messages like "argument #4 to set_node is not a string."
2015-03-07 20:04:01 -05:00
Mahmut Elmas
d6e8875ceb
Add Turkish comment translation to minetest.desktop
2015-03-07 18:46:30 -05:00
est31
f8539dfbbb
Add more Android build files to .gitignore
2015-03-07 18:44:36 -05:00
ngosang
55e479a807
Respect game mapgen flags and save world noise params
2015-03-07 15:53:39 -05:00
sapier
ec01288ea7
Fix RUN_IN_PLACE broken due to invalid usage of assert
2015-03-07 15:22:35 +01:00
Craig Robbins
27791ee1aa
For usages of assert() that are meant to persist in Release builds (when NDEBUG is defined), replace those usages with persistent alternatives
2015-03-07 22:41:47 +10:00
Loic Blot
1c560c7a47
Improve Clouds::render mathematics
2015-03-07 13:27:43 +01:00
Craig Robbins
54c7a5c0ce
Fix Android text bug (no text displaying)
2015-03-07 20:51:07 +10:00
paramat
6db532d376
Dungeongen: Optionally set ignore to be untouchable to disable floating dungeons
2015-03-07 01:41:53 +00:00
ShadowNinja
053e376671
Don't start a server for map migration
2015-03-06 00:20:45 -05:00
ShadowNinja
2cb27a5fb6
Clean up database API and save the local map on an interval
2015-03-06 00:20:45 -05:00
paramat
be0c4804a5
Biome API: Enable decorations placed on water
...
Add schematic decoration force placement flag
2015-03-06 03:32:15 +00:00
BlockMen
08d843e1c2
Improve group-based connection between raillike nodes
2015-03-05 23:24:32 +01:00
Loic Blot
caba8fcd93
l_get_modnames: Compare using std::sort instead of a custom function which does same work
2015-03-05 20:12:54 +01:00
Loic Blot
346c951bb4
collisionMoveSimple: use std::vector instead of std::list, this improve the performances
2015-03-05 18:08:19 +01:00
Loic Blot
1183a731b0
ProfilerGraph: Use std::list instead of std::vector
2015-03-05 17:57:47 +01:00
Craig Robbins
1e07aa835e
Fix mapgen using unitialised height map values
2015-03-06 01:42:55 +10:00
Loic Blot
b7ba9742e7
Use std::queue for HTTPFetchRequest and std::vector for log_output instead of std::list
2015-03-05 16:21:10 +01:00