- Oct 08, 2016
-
-
Loïc Blot authored
-
Loïc Blot authored
* LocalPlayer take ownership of maxHudId as it's the only caller * RemotePlayer take ownership of day night ratio as it's the only user * Pass getPlayerControl as const reference to prevent object copy on each call (perf improvement in ObjectRef::l_get_player_control call) * getPlayerSAO is now only RemotePlayer call * get/setHotbarItemCount is now RemotePlayer owned * Server: Use RemotePlayer instead of Player object on concerned call to properly fix the object type * PlayerSAO now uses RemotePlayer instead of Player because it's only server side * ObjectRef::getplayer also returns RemotePlayer as it's linked with PlayerSAO
-
paramat authored
Add missing documentation for 'register_biome' and 'clear_registered_biomes'. Add documentation for 'nodeupdate_single'. 'nodeupdate' is not yet documented due to a bug it causes.
-
SmallJoker authored
-
- Oct 06, 2016
-
-
sfan5 authored
The initial problem was that mutex_auto_lock.h tries to use std::unique_lock<std::mutex> despite mutex.h not using C++11's std::mutex on Windows. The problem here is the mismatch between C++11 usage conditions of the two headers. This commit moves the decision logic to threads.h and makes sure mutex.h, mutex_auto_lock.h and event.h all use the same features.
-
Loïc Blot authored
Also remove some unused parameters/functions
-
SmallJoker authored
-
Loïc Blot authored
-
SmallJoker authored
-
Loïc Blot authored
-
Loïc Blot authored
-
- Oct 05, 2016
-
-
Loïc Blot authored
-
Loïc Blot authored
* This permit to improve performance on C++11 builds * use some existing typedefs in tools maps * minor code style changes
-
Loïc Blot authored
Added the following chat coreside features * Chat messages length limit * Message rate limiting * Message rate kicking Note: * handleChat now takes RemotePlayer pointer instead of u16 to remove useless lookups
-
- Oct 04, 2016
- Oct 03, 2016
-
-
est31 authored
-
paramat authored
The fallback vector is in case 'wallmounted to dir' is nil due to voxelmanip placing a wallmounted node without resetting a pre-existing param2 value that is out-of-range for wallmounted. The fallback vector corresponds to param2 = 0.
-
raymoo authored
Adds a flag to forceload_block which lets you turn off persistence for that forceload.
-
rubenwardy authored
-
- Oct 02, 2016
-
-
sfan5 authored
-
- Oct 01, 2016
-
-
Rui authored
-
- Sep 30, 2016
- Sep 29, 2016
-
-
sfan5 authored
-
- Sep 25, 2016
- Sep 23, 2016
-
-
paramat authored
Re-add documentation of noise parameter formats. Re-add 'mgv5_np_ground' noise parameters in group format. Both these were deleted through auto-generation of conf.example. Add note to builtin/mainmenu/dlg_settings_advanced.lua that this documentation must be preserved.
-
- Sep 21, 2016
-
-
sfan5 authored
The libraries updated in this commit were built with a set of scripts: https://gist.github.com/sfan5/780c24313c164d34634e18677683b9a3 Building new library versions or just using a different MinGW version is now way easier. This means Windows builds no longer need to use ancient library versions just because nobody knows how to build them.
-
sfan5 authored
This allows you to use an stdcall zlib (zlib1.dll instead of zlibwapi.dll) when building Minetest for win32.
-
sfan5 authored
This commit fixes #4516, though note that this will gradually fix MapBlocks as they are used/modified and thus re-serialized.
-
paramat authored
-
James Stevenson authored
-
- Sep 19, 2016
-
-
est31 authored
Fix a typo pointed out by @thecow275. Also, use the deprecated notification system which respects the deprecated_lua_api_handling setting.
-
- Sep 17, 2016
-
-
paramat authored
Add 'core.LIGHT_MAX = 14' to builtin/game/constants.lua with the intention to replace misplaced 'default.LIGHT_MAX = 14' in Minetest Game. Add comment in light.h requiring the constant be changed in both places. Add lighting bug warning to note in lua_api.txt. There are hundreds of mod uses of 15 which causes a lighting bug.
-
- Sep 15, 2016