Loic Blot
61ffd65f26
Send Position packet on event, don't check it at each AsyncRunStep.
...
* This permit to cleanup the player checking loop
2015-03-04 12:19:26 +01:00
Loic Blot
705390e1f4
ASyncRunStep doesn't need to lock when do setTimeOfDaySpeed.
...
* setTimeOfDaySpeed already lock a mutex when modify the value, we don't need to lock all environment.
* add a fine grain lock for getTimeOfDay and setTimeOfDay to solve environment multithread modifications on this value
2015-03-04 11:46:31 +01:00
Loic Blot
c468ca4821
Send Inventory packet on event, don't check it at each AsyncRunStep.
...
* Call UpdateCrafting into SendInventory because this functions is only called before SendInventory
* Use Player* instead of peer_id for UpdateCrafting because SendInventory already has the Player* pointer, then don't loop for searching Player* per peer_id
* m_env_mutex don't need to be used with this modification because it's already locked before the calls
2015-03-04 11:29:39 +01:00
Loic Blot
e14b94eb22
Remove unused m_wielded_item_not_sent
2015-03-03 17:36:54 +01:00
Loic Blot
ee42254b45
Send Breath packet on event, don't check it at each AsyncRunStep
2015-03-03 16:33:20 +01:00
Loic Blot
14e866c4a6
Send Player HP when setHP (or a setHP caller) is called instead of looping and testing the state change.
2015-03-03 16:06:04 +01:00
Miguel Almeida
c43eb29895
Fix occlusion
2015-03-02 12:09:02 +01:00
Craig Robbins
962db37734
Fix narrow_to_wide_c (ANDROID)
...
* Ensure converted string is NUL terminated
* Restore logic to that used prior to 9e2a9b5
2015-03-02 13:16:01 +10:00
paramat
1bfc5a19e6
Mgv6: Add heightmap. Do not make large caves that are entirely above ground
2015-03-02 02:13:43 +00:00
est31
ef9fd92918
Add /setpassword and /clearpassword logging
2015-02-27 23:00:28 +01:00
mahmutelmas06
e6c4403ff3
Add Turkish language
2015-02-27 15:52:50 +01:00
Rui
0f4d1553e5
Update minetest.po
2015-02-27 15:47:48 +01:00
Loic Blot
28feef926f
Revert "Fix particles draworder" (issue #2388 )
...
This reverts commit c09d026f0561ee3c6db821a7e193716f724a0e4a.
2015-02-27 14:15:24 +01:00
Craig Robbins
102e0ee00d
Change find_surface_nodes_in_area to find_nodes_in_area_under_air
2015-02-27 21:42:00 +10:00
Loic Blot
0d823b300e
Add find_surface_nodes_in_area LUA call which permit to only get the nodes which touch air. This permit to massively improve performance for mods like plantlife
2015-02-27 21:34:33 +10:00
rubenwardy
01954fdc73
Wrap lines longer than 80 characters in lua_api.txt ...and minor formating changes
2015-02-27 13:41:17 +10:00
Craig Robbins
6146989309
Fix minor memory leak (Android)
2015-02-27 13:40:27 +10:00
paramat
a5bcca8305
Biome API: Re-calculate biome at every surface in a mapchunk column
2015-02-26 03:35:25 +00:00
rubenwardy
d4cb605659
Add camera smoothing and cinematic mode (F8)
2015-02-25 15:34:33 +01:00
Loic Blot
35af6ccbba
Rename --do-unittests to --run-unittests as @Zeno- and @sfan5 requested
2015-02-24 08:56:52 +01:00
gregorycu
1622c43591
Optimise MapBlockMesh related functions
...
Directely or indirectly optimises the following functions:
* MapBlockMesh::MapBlockMesh
* MapBlockMesh::getTileInfo
* MapBlockMesh::makeFastFace
* MapBlockMesh::getSmoothLightCombined
2015-02-23 23:20:31 +10:00
Craig Robbins
45eb41c599
Fix wrapDegrees family of functions
...
wrapDegrees() (renamed to modulo360f)
wrapDegrees_0_360
wrapDegrees_180
Minor errors were present in previous versions; see issue #2328
2015-02-23 22:50:32 +10:00
4Evergreen4
27f1517fc3
Add src/network/CMakeFiles/ and src/client/CMakeFiles to gitignore
2015-02-23 16:50:28 +10:00
Kahrl
eb49a8d55e
Disallow object:remove() if the object is a player
...
Rebased by Zeno- (conflict in lua_api.txt)
2015-02-23 16:49:48 +10:00
ShadowNinja
c07611927c
Fix serialization of floating point numbers
2015-02-21 13:16:18 -05:00
Markus Koschany
b622bb55d0
Improve FindIrrlicht.cmake module
...
Linux distributions prefer to link against a shared version of the Irrlicht
engine instead of using embedded code copies of the same. Search for this
shared version first and use that but fall back to the static version if it
does not exist.
This also fixes https://github.com/minetest/minetest/issues/2163
2015-02-21 18:21:10 +01:00
kaeza
28fdc9575d
Add mod.conf file support This new file only permits to specify a mod name for now
2015-02-21 18:18:06 +01:00
Loic Blot
63fbfd1ad5
Fix android build
2015-02-21 17:37:48 +01:00
Loic Blot
12d7ac0fec
Fix some memory leaks on packet sending.
2015-02-21 17:27:31 +01:00
Loic Blot
2fd9ac5fe9
Move hex.h to util/
2015-02-21 14:32:35 +01:00
BlockMen
033c80a4d8
Fix particles draworder
2015-02-21 14:11:00 +01:00
Loic Blot
d311a338ac
Move sha1.hpp and base64.hpp to util/
2015-02-21 14:03:27 +01:00
BlockMen
e86ca8bee4
Use skin font for usernames ( fixes #2363 )
2015-02-21 13:31:42 +01:00
Loic Blot
1ee802b074
Use proper CMakeLists.txt for network and client directories
2015-02-21 11:51:12 +01:00
Rui
82ef6d2201
Update Japanese Translation
...
ok @Zeno- @nerzhul
2015-02-21 11:17:52 +01:00
Loic Blot
e329b0c079
Unit tests must be done at integration process.
...
* Remove --enable-unittests and --disable-unittests and add --do-unittests function
* --do-unittests function will exit 0 on success.
* minetest and minetestserver binaries are launched with --do-unittests in travis build.
2015-02-21 11:04:19 +01:00
paramat
91a0d2f7ca
Mgv5: Remove blobgen. Remove crumble and wetness noises
...
Add large pseudorandom caves below -256
De-link terrain level from water_level
Cavegen: Mgv5 large cave code
2015-02-21 01:43:25 +00:00
Ner'zhul
d764dd8156
update README.txt
...
* prefix apt-get with sudo
* git clone minetest_game without going to folder
* execute minetest binary without going into bin folder
2015-02-20 10:35:39 +01:00
Ner'zhul
7020fe2941
Typo fix in networkprotocol.h
...
InventoryAction is in inventorymanager.h
2015-02-19 20:03:22 +01:00
BlockMen
ed5471043e
Uncomment version patch field
2015-02-18 23:52:51 +01:00
Perttu Ahola
bb4840d977
Bump version to 0.4.12
2015-02-18 23:50:01 +01:00
Novatux
c9e6dde91e
Add modname convention checking
...
Fixes #2037
2015-02-18 16:48:58 +01:00
est31
22ea6a5d81
Server: announce MIN/MAX protocol version supported to serverlist. Client: check serverlist
...
Client now informs about incompatible servers from the list, this permits to prevent the protocol movements.
Server announces its supported protocol versions to master server
2015-02-18 16:09:59 +01:00
BlockMen
cdb7014321
Increase default font_size
2015-02-18 12:51:17 +01:00
BlockMen
b691b97ab1
Fix font_size under windows
2015-02-18 12:39:23 +01:00
Perttu Ahola
fdf974e4fd
Use fixed size for builtin menus on non-android platforms
2015-02-18 12:33:40 +02:00
Loic Blot
1ebc81ec2e
Update missing files for Android.mk
2015-02-18 09:53:43 +01:00
Loic Blot
ad693a80de
Fix unused (and so, broken) enable_rollback_recording. This option must be reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable)
...
ok @ShadowNinja
2015-02-18 09:28:39 +01:00
Loic Blot
e42d1a71cf
Android build fix
2015-02-18 09:23:24 +01:00
fz72
714e41c831
Fix map_seed not changed when creating a new world after login to another
2015-02-18 08:57:14 +01:00