stujones11 [Sat, 10 Feb 2018 09:42:33 +0000 (09:42 +0000)]
Position entity nametags relative to selection-box (#7031)
SmallJoker [Fri, 9 Feb 2018 08:39:34 +0000 (09:39 +0100)]
Fix 'Change Keys' menu crash caused by
501f936
you [Thu, 8 Feb 2018 18:17:06 +0000 (19:17 +0100)]
Allow dumping userdata (#7012)
ThomasMonroe314 [Mon, 29 Jan 2018 17:21:49 +0000 (11:21 -0600)]
Switch F3 to use 'enable_fog' setting
stujones11 [Fri, 26 Jan 2018 19:08:54 +0000 (19:08 +0000)]
Include alpha channel reference in MaterialTypeParam
red-001 [Sun, 21 Jan 2018 12:28:47 +0000 (12:28 +0000)]
Move `setlocale` from Lua to C++.
PorygonZRocks [Tue, 5 Dec 2017 05:01:49 +0000 (23:01 -0600)]
Add main_menu_style setting
you [Mon, 5 Feb 2018 14:17:10 +0000 (15:17 +0100)]
Add minetest.is_player (#7013)
* Add minetest.is_player
* First use for is_player
paramat [Mon, 5 Feb 2018 04:59:13 +0000 (04:59 +0000)]
Lua_api.txt: Document 'wielditem' visual in object properties
paramat [Thu, 1 Feb 2018 01:12:56 +0000 (01:12 +0000)]
Item entity: Prevent motion in ignore nodes
Wuzzy [Sun, 4 Feb 2018 18:21:41 +0000 (19:21 +0100)]
Add kill chat command (#6992)
Replace minetest.* with core.* in 1 file
lisacvuk [Sun, 4 Feb 2018 09:17:46 +0000 (10:17 +0100)]
Make hud_get return aligment, offset and size. (#7006)
* Make hud_get return aligment and offset.
* Return size aswell.
Dániel Juhász [Sun, 4 Feb 2018 03:16:45 +0000 (04:16 +0100)]
Remove unused light updating code
Also remove the unit test that tests the removed algorithms.
sfan5 [Fri, 2 Feb 2018 22:34:09 +0000 (23:34 +0100)]
Refine movement anticheat again (#7004)
* Account for walking speed in vertical dir
* Avoid undefined behaviour due to division-by-zero
number Zero [Mon, 29 Jan 2018 17:24:15 +0000 (20:24 +0300)]
Fix liquid bottoms not being rendered
Wayward One [Sun, 21 Jan 2018 20:41:04 +0000 (15:41 -0500)]
Add Android drivers to the video_driver drop-down menu
Adds the Android video drivers ogles1 and ogles2 to the video_drivers drop-down menu
Loïc Blot [Mon, 29 Jan 2018 23:30:02 +0000 (00:30 +0100)]
Add minetest.bulk_set_node call + optimize Environment::set_node call (#6958)
* Add minetest.bulk_set_node call + experimental mod unittest
* Optimize set_node function to prevent triple lookup on contentfeatures
Do only one lookup for old, and try to merge old and new lookup if node is same than previous node
* Add benchmark function + optimize vector population to have real results
Wuzzy [Mon, 29 Jan 2018 22:39:36 +0000 (23:39 +0100)]
Make chat command + privilege help slightly more accurate (#6964)
* Make chat command help slightly more accurate
* Slightly more accurate privilege help
* Simplify command/priv help
* More command/priv help tweaks
sfan5 [Sun, 28 Jan 2018 09:21:21 +0000 (10:21 +0100)]
Apply physics overrides correctly during anticheat calculations (#6970)
SmallJoker [Fri, 26 Jan 2018 20:27:30 +0000 (21:27 +0100)]
[CSM] HUD Fix not updating server HUDs caused by
4f688d5
red-001 [Fri, 26 Jan 2018 15:05:47 +0000 (15:05 +0000)]
Fix issues with earlier CSM HUD commit (#6940)
The CSM HUD PR caused some strange behavior including aborts due to parts of it using some slightly hacky code, the event refactor changing how events are processed and a minor oversight.
Tre [Thu, 25 Jan 2018 19:59:24 +0000 (13:59 -0600)]
Main menu: Change tabs to 'Start Game' and 'Join Game' (#6955)
lisacvuk [Tue, 23 Jan 2018 18:28:21 +0000 (19:28 +0100)]
Disable fall damage when "immortal" group set (#6946)
Muhammad Nur Hidayat Yasuyoshi (MNH48.com) [Tue, 23 Jan 2018 18:27:41 +0000 (02:27 +0800)]
Add missing languages from menu (#6953)
The following languages exist in Minetest PO folder were missing from the selection menu:
- dv (Dhivehi)
- ms (Malay)
- sl (Slovenian)
- sv (Swedish)
- sw (Swahili)
Paramat [Tue, 23 Jan 2018 18:04:58 +0000 (18:04 +0000)]
Intersects_protection(): Move from Minetest Game to builtin (#6952)
A useful function that applies 'core.is_protected()' to a 3D lattice of
points evenly spaced throughout a defined volume, with a parameter for
the maximum spacing of points.
red-001 [Fri, 19 Jan 2018 16:18:16 +0000 (16:18 +0000)]
CSM: Remove screenshot API
Reverted from commit
19960e26c672c6337f8c6ffbe27f2c6bca49750c
(* [CSM] add screenshot api lua)
red-001 [Mon, 22 Jan 2018 07:34:49 +0000 (07:34 +0000)]
[CSM] Don't Load the package library (#6944)
Already removed by a latter step in CSM init so this just saves on pointless work.
Wayward One [Sun, 21 Jan 2018 21:26:04 +0000 (16:26 -0500)]
Change include from "cmake_config.h" to "config.h"
Fixes #6894
red-001 [Sun, 21 Jan 2018 17:27:27 +0000 (17:27 +0000)]
[CSM] Remove `on_connect` callback (#6941)
Fixes #6939
red-001 [Sat, 20 Jan 2018 22:31:53 +0000 (22:31 +0000)]
[CSM] Add functions to create particles and particlespawners. (#6072)
Loïc Blot [Sat, 20 Jan 2018 22:31:15 +0000 (23:31 +0100)]
Add minetest issue template (#6936)
* Add minetest issue template
This permits end user to have a basic template permitting to do issue triage and for users to know what we expect.
Loic Blot [Sat, 13 Jan 2018 09:54:18 +0000 (10:54 +0100)]
Game refactor [4/X]: keycache is now owned by InputHandler
* Make InputHandler own the key cache
* Add a helper function InputHandler::cancelPressed to avoid multiple similar calls in game.cpp
* Move RandomInputHandler::step definition into cpp file
Loic Blot [Sat, 13 Jan 2018 09:40:25 +0000 (10:40 +0100)]
Game refactor [3/X]: Move keycache to inputhandler
Loic Blot [Sat, 13 Jan 2018 09:34:56 +0000 (10:34 +0100)]
Game refactor [2/X]: Various moves (profilergraph, nodePlacementPrediction, create_formspec_menu)
* Move profilergraph to dedicated files
* Move nodePlacementPrediction to Game class
* Rename create_formspec_menu to GUIFormSpecMenu::create
Loic Blot [Sat, 6 Jan 2018 10:34:03 +0000 (11:34 +0100)]
Game/Input refactor [1/X]: make RealInputHandler handle joystick inputs with standard input
Joystick input is a RealInputHandler only usage, make it intelligent and handle the joystick with keyboard direct.
This permits to remove many getters in game which should be owned by RealInputHandler
red-001 [Sat, 20 Jan 2018 13:09:58 +0000 (13:09 +0000)]
[CSM] Add basic HUD manipulation. (#6067)
* [CSM] Add basic HUD manipulation.
Workaround for on_connect not working right now.
paramat [Fri, 22 Sep 2017 11:38:55 +0000 (12:38 +0100)]
Biomes: Add 'get heat', 'get humidity', 'get biome data' APIs
'get biome data' returns biome id, heat and humidity.
Clean up nearby lines in lua_api.txt.
red-001 [Fri, 23 Jun 2017 00:51:57 +0000 (01:51 +0100)]
Load a texturepack from the 'textures' subfolder of a game
paramat [Mon, 15 Jan 2018 03:34:03 +0000 (03:34 +0000)]
Lua_api.txt: Various improvements
Improve documentation for formspec 'position' and 'anchor' elements.
Add missing documentation of 'animation' and 'glow' for particle spawners.
paramat [Mon, 15 Jan 2018 02:26:15 +0000 (02:26 +0000)]
Mapgen folder: Update and improve copyright information of files
ezhh [Sat, 13 Jan 2018 17:25:01 +0000 (17:25 +0000)]
Lua_api.txt: Improve bullet point indentation consistency
Muhammad Rifqi Priyo Susanto [Sat, 13 Jan 2018 15:32:05 +0000 (22:32 +0700)]
Registration confirmation dialog: Fix grammar
Fixes commit
792752997c5ae2aaa4f54d0a2e2af2a96d7d1e9f.
ezhh [Sat, 13 Jan 2018 03:42:07 +0000 (03:42 +0000)]
Lua_api.txt: Add chat command params info
Muhammad Rifqi Priyo Susanto [Sat, 13 Jan 2018 11:07:16 +0000 (18:07 +0700)]
Add confirmation on new player registration (#6849)
* Attempt to add registration confirmation
Using SRP auth mechanism, if server sent AUTH_MECHANISM_FIRST_SRP that means the player isn't exist.
Also tell player about the server and chosen username.
Local game has localhost as IP address of the server.
Add RenderingEngine::draw_menu_scene() to draw GUI and clouds background.
aborted -> connection_aborted
* Rewrite information message text
Client::promptConfirmRegister() -> Client::promptConfirmRegistration()
Lars Hofhansl [Sat, 13 Jan 2018 07:47:39 +0000 (23:47 -0800)]
Revert "Add an active object step time budget #6721"
This reverts commit
9c669016d1578a5c62f932c6ccb7a2b4b1e21f0a.
See #6907
Loïc Blot [Fri, 12 Jan 2018 14:36:54 +0000 (15:36 +0100)]
Add a build step to test non freetype builds (#6908)
* Add a build step to test non freetype builds
Loic Blot [Fri, 12 Jan 2018 07:36:38 +0000 (08:36 +0100)]
Forget to fix non freetype build in StaticText
paramat [Fri, 12 Jan 2018 01:15:51 +0000 (01:15 +0000)]
Lua_api.txt: Fix, improve and add to Object Properties documentation
Correct 'automatic rotate' to be a number instead of a bool.
paramat [Fri, 12 Jan 2018 00:32:55 +0000 (00:32 +0000)]
Lua_api.txt: Improve and complete ABM documentation
Document 'active object count (wider)'.
paramat [Thu, 11 Jan 2018 23:50:35 +0000 (23:50 +0000)]
Settingtypes.txt: Correct value of 'max block send distance'
number Zero [Mon, 25 Dec 2017 20:51:48 +0000 (23:51 +0300)]
Fix ambient occlusion and dark lines at mapblock borders
Pedro Gimeno [Tue, 9 Jan 2018 18:07:14 +0000 (19:07 +0100)]
Fix off-by-one in log output line length (#6896)
Pedro Gimeno [Mon, 8 Jan 2018 20:32:15 +0000 (21:32 +0100)]
Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()
Sokomine [Sun, 7 Jan 2018 10:47:52 +0000 (11:47 +0100)]
Lua API docs: Add warning that schematic placing is cached
rubenwardy [Sun, 7 Jan 2018 01:06:18 +0000 (01:06 +0000)]
Fix naming conventions of noise userdata
Loic Blot [Fri, 5 Jan 2018 18:39:06 +0000 (19:39 +0100)]
Don't recalculate statustext initial color everytime & review fixes
Loic Blot [Thu, 4 Jan 2018 22:58:46 +0000 (23:58 +0100)]
GameUI refactor (part 7/7): Finish to include profiler things to GameUI
Other changes:
* Add GameUI clarification comment
* Move force_fog_off & disable_camera_update flags from GameUI to Game, it's not UI related
* Properly init GameUI::Flags
* Move toggleChat toggleHud & toggleProfiler to GameUI
* Add gameui.cpp to LINT whitelist
Loic Blot [Thu, 4 Jan 2018 22:32:32 +0000 (23:32 +0100)]
GameUI refactor (part 6/X): Move Game::guitext_profiler & showStatusTextSimple to GameUI class
Other enhancements:
* Move showStatusTextSimple to GameUI class & rename to showTranslatedStatusText
Loic Blot [Thu, 4 Jan 2018 22:04:40 +0000 (23:04 +0100)]
GameUI refactor (part 5/X): Move Game::guitext_chat to GameUI class
Other enhancements:
* Move update_profiler_gui to Game class
* Move updateChat to Game class
Loic Blot [Thu, 4 Jan 2018 20:35:26 +0000 (21:35 +0100)]
GameUI refactor (part 4/X): Move Game::guitext_status, Game::m_statustext, GameRunData::statustext_time to GameUI class
Other enhancements:
* Simplify setStatusText to showStatusText, as it shows the label too (preventing almost every setStatusText to call setStatusTextTime(0)
* Add unittests
Loic Blot [Thu, 4 Jan 2018 18:52:40 +0000 (19:52 +0100)]
GameUI refactor (part 3/X): Move Game::guitext2, Game::guitext_info, Game::infotext to GameUI class
Other enhancements:
* Drop unused GameRunData::time_of_day
* Little GameUI::update code path optimizations
Loic Blot [Wed, 3 Jan 2018 16:28:57 +0000 (17:28 +0100)]
GameUI refactor (part 2/X): Move Game::guitext to GameUI + enhancements on StaticText
Other enhancements:
* C++ friendlyness for addStaticText() -> move to static StaticText::add()
Loic Blot [Wed, 3 Jan 2018 13:28:55 +0000 (14:28 +0100)]
GameUI refactor (part 1/X): GameUI object creation + GameUIFlags move to GameUI
Game class is too huge and has too specialization on various subjects, like UI, formspecs, client, renderer. Start to move UI related things to GameUI object and cleanup them
Other improvements:
* updateChat: more performance on error messages by remove string copies
* Initialize all game class members in definition instead of constructor (with nullptr instead of NULL)
* Drop unused Client::show{GameChat,GameHud,Profiler,GameFog}
* Add GameUI unittests
Paramat [Thu, 4 Jan 2018 23:10:55 +0000 (23:10 +0000)]
Biomes: Add vertical biome blend (#6853)
Add 'vertical blend' parameter to biome registration that defines how
many nodes above the biome's 'y max' limit the blend will extend.
Wayward One [Thu, 4 Jan 2018 20:18:18 +0000 (15:18 -0500)]
Prevent Android from automatically locking display (#6876)
As mentioned in #5759
you [Thu, 4 Jan 2018 13:25:20 +0000 (14:25 +0100)]
Fix Wstringop-overflow warning from util/srp.cpp (#6855)
* Fix Wstringop-overflow warning from util/srp.cpp
red-001 [Thu, 4 Jan 2018 07:21:12 +0000 (07:21 +0000)]
[CSM] Don't load the IO library. (#6087)
* [CSM] Don't load the IO library.
* Rename the function to match the Lua API function name and add a missing `const`
* Add a comment to explain some strange code and fix the other issues pointed out by shadowninja.
paramat [Thu, 4 Jan 2018 00:41:36 +0000 (00:41 +0000)]
Mgv7: Add docs for the new floatland exponent parameter
rubenwardy [Wed, 3 Jan 2018 14:18:13 +0000 (14:18 +0000)]
Fix crash on can_bypass_userlimit returning non-boolean
paramat [Sun, 24 Dec 2017 22:38:35 +0000 (22:38 +0000)]
Mgv7 floatlands: Add exponent parameter
Allows more control over shape of floatland mountain terrain.
Terrain shape is unchanged.
Thomas--S [Sat, 22 Apr 2017 19:17:46 +0000 (21:17 +0200)]
Connected Nodeboxes: Add `disconnected` boxes
The `disconnected_*` boxes are the opposites of the `connect_*` ones,
i.e. when a node has no suitable neighbours on the respective side, the
according disconnected box is drawn.
* disconnected_top
* disconnected_bottom
* disconnected_front
* disconnected_left
* disconnected_back
* disconnected_right
* disconnected (when there is *no* neighbour)
* disconnected_sides (when there are *no* neighbours to the sides)
Hybrid Dog [Mon, 10 Apr 2017 18:03:53 +0000 (20:03 +0200)]
Tool.cpp/.h, lua_api/l_util.cpp: Tidy up code and remove dead code
Hybrid Dog [Wed, 19 Apr 2017 18:55:47 +0000 (20:55 +0200)]
Tool getDigParams: Fix selecting the best fitting time
Previously, time was compared with result_time before dividing it by
the level difference.
Loïc Blot [Mon, 1 Jan 2018 17:48:52 +0000 (18:48 +0100)]
Add unittests on ActiveObject and BanManager class (#6866)
* Add unittests on ActiveObject and BanManager class
This also permit to fix a bug in ban manager setting bans modified when no modification occurs
Loïc Blot [Mon, 1 Jan 2018 16:17:31 +0000 (17:17 +0100)]
Update README.md copyright notice too
Loïc Blot [Mon, 1 Jan 2018 16:13:37 +0000 (17:13 +0100)]
Happy new year 2018: update LICENSE.txt
Muhammad Rifqi Priyo Susanto [Mon, 25 Dec 2017 15:11:27 +0000 (22:11 +0700)]
Advanced settings: Add range check for float type
rubenwardy [Fri, 22 Dec 2017 10:00:57 +0000 (10:00 +0000)]
Fix rounding error in g/set_node caused by truncation to float
rubenwardy [Sun, 10 Sep 2017 02:17:47 +0000 (03:17 +0100)]
Add check to pause game on lost window focus
Dániel Juhász [Thu, 1 Dec 2016 19:15:37 +0000 (20:15 +0100)]
Line_of_sight: Improve using VoxelLineIterator
This commit rewrites line_of_sight with VoxelLineIterator.
Stepsize is no longer needed, the results will be always accurate.
sofar [Tue, 26 Dec 2017 13:06:31 +0000 (05:06 -0800)]
Wireshark plugin: Complete all commands. (#6841)
This still leaves plenty of data undecoded, but just having the packet
types all covered 100% for 0.4.16 will make looking at traces a lot
simpler than seeing half the packets show up as unknown.
number Zero [Sun, 24 Dec 2017 21:54:43 +0000 (00:54 +0300)]
Fix dancing text
Rob Blanckaert [Sun, 22 Oct 2017 18:41:57 +0000 (11:41 -0700)]
- Clear colors when reading property info.
- Set vertex colors on upright_sprites.
nOOb3167 [Fri, 22 Dec 2017 10:35:06 +0000 (11:35 +0100)]
Fix error if setting menu_last_game is not a valid game
nOOb3167 [Fri, 22 Dec 2017 10:33:46 +0000 (11:33 +0100)]
Fix undefined behaviour on getting pointer to data in empty vector
`&vector[0]` is undefined if vector.empty(), causing build failure on MSVC
Vitaliy [Thu, 21 Dec 2017 19:58:06 +0000 (22:58 +0300)]
Fix wrong scrolling (#6809)
Paramat [Thu, 21 Dec 2017 19:57:42 +0000 (19:57 +0000)]
Vector functions: Fix vector.direction() function, improve documentation (#6801)
vector.direction() now returns a normalised vector with direction p1 to p2.
Jordan Irwin [Sun, 17 Dec 2017 15:27:37 +0000 (07:27 -0800)]
Allow 'default' parameter in 'settings:get_bool' function
Default value is used when the setting key is not found in the config
file. If default value is not set, 'nil' is returned.
#6188
Ezhh [Sun, 17 Dec 2017 04:38:54 +0000 (04:38 +0000)]
Adjust default console height
#6797
Ezhh [Sat, 16 Dec 2017 16:02:08 +0000 (16:02 +0000)]
Give subgames the ability to disallow specific mapgens (#6792)
Vitaliy [Sat, 16 Dec 2017 16:01:37 +0000 (19:01 +0300)]
Fix items turning black (#6780)
Tre [Sat, 16 Dec 2017 04:05:36 +0000 (22:05 -0600)]
Change Normal Map setting to be less ambigous
paramat [Tue, 12 Dec 2017 09:47:43 +0000 (09:47 +0000)]
Zoom: Add 'disabled by game or mod' message
paramat [Mon, 11 Dec 2017 11:45:02 +0000 (11:45 +0000)]
Minimap messages: Improve 'disabled by server' message
ashtrayoz [Thu, 9 Nov 2017 12:29:04 +0000 (23:29 +1100)]
Add callback to preserve node metadata as item metadata
SmallJoker [Thu, 14 Dec 2017 18:47:29 +0000 (19:47 +0100)]
Chat: Remove prompt history duplicates (#6762)
adrido [Thu, 14 Dec 2017 18:46:42 +0000 (19:46 +0100)]
directiontables: Fix MSVC compiler error (#6785)
Vitaliy [Tue, 12 Dec 2017 18:29:55 +0000 (21:29 +0300)]
Update light decoding table size (#6696)
Fix old undiminish_light bug
SmallJoker [Tue, 12 Dec 2017 18:19:04 +0000 (19:19 +0100)]
Builtin: Fix handle_node_drops crash with nil digger
Loïc Blot [Mon, 11 Dec 2017 16:33:44 +0000 (17:33 +0100)]
CSM fixes: load mods after flavours & add flavour to block mod loading (#6738)
* CSM fixes: load mods after flavours & add flavour to block mod loading
* Don't permit to load mods twice
* Prepare builtin integrity global algorithm
* Add missing doc & use a nicer byteflag for LOAD_CLIENT_MODS flavour
* flag typo fix
* Invert CSM_FL_LOOKUP_NODES & CSM_FL_LOAD_CLIENT_MODS ids