sfan5
cf0bcebc76
Refine movement anticheat again ( #7004 )
...
* Account for walking speed in vertical dir
* Avoid undefined behaviour due to division-by-zero
2018-02-02 23:34:09 +01:00
number Zero
49b65a5593
Fix liquid bottoms not being rendered
2018-01-30 21:13:24 +01:00
Wayward One
cc400581e2
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
2018-01-30 21:11:47 +01:00
Loïc Blot
584d00a01c
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
2018-01-30 00:30:02 +01:00
Wuzzy
3b4df956b1
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
2018-01-29 23:39:36 +01:00
sfan5
de2c40c8fc
Apply physics overrides correctly during anticheat calculations ( #6970 )
2018-01-28 10:21:21 +01:00
SmallJoker
7d3295e21f
[CSM] HUD Fix not updating server HUDs caused by 4f688d5
2018-01-26 21:27:30 +01:00
red-001
4f688d5616
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.
2018-01-26 16:05:47 +01:00
Tre
3a5959ae6b
Main menu: Change tabs to 'Start Game' and 'Join Game' ( #6955 )
2018-01-25 20:59:24 +01:00
lisacvuk
62c10e3d08
Disable fall damage when "immortal" group set ( #6946 )
2018-01-23 19:28:21 +01:00
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
04e5a65c65
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)
2018-01-23 19:27:41 +01:00
Paramat
01bc817fe0
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.
2018-01-23 19:04:58 +01:00
red-001
0425c6b8c8
CSM: Remove screenshot API
...
Reverted from commit 19960e26c672c6337f8c6ffbe27f2c6bca49750c
(* [CSM] add screenshot api lua)
2018-01-23 05:27:38 +00:00
red-001
d6050bee51
[CSM] Don't Load the package library ( #6944 )
...
Already removed by a latter step in CSM init so this just saves on pointless work.
2018-01-22 08:34:49 +01:00
Wayward One
684e70477d
Change include from "cmake_config.h" to "config.h"
...
Fixes #6894
2018-01-21 23:25:04 +01:00
red-001
49ff1d2ea8
[CSM] Remove on_connect
callback ( #6941 )
...
Fixes #6939
2018-01-21 18:27:27 +01:00
red-001
5dab742645
[CSM] Add functions to create particles and particlespawners. ( #6072 )
2018-01-20 23:31:53 +01:00
Loïc Blot
da80e8af8a
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.
2018-01-20 23:31:15 +01:00
Loic Blot
99c9e7a986
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
2018-01-20 16:38:38 +01:00
Loic Blot
f5a006dce7
Game refactor [3/X]: Move keycache to inputhandler
2018-01-20 16:38:38 +01:00
Loic Blot
64fe79b53b
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
2018-01-20 16:38:38 +01:00
Loic Blot
362323cdc2
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
2018-01-20 16:38:38 +01:00
red-001
9649e47214
[CSM] Add basic HUD manipulation. ( #6067 )
...
* [CSM] Add basic HUD manipulation.
Workaround for on_connect not working right now.
2018-01-20 14:09:58 +01:00
paramat
d45e5da8ca
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.
2018-01-16 08:47:07 +00:00
red-001
4c0d4e4105
Load a texturepack from the 'textures' subfolder of a game
2018-01-16 08:45:17 +00:00
paramat
70a90bc83a
Lua_api.txt: Various improvements
...
Improve documentation for formspec 'position' and 'anchor' elements.
Add missing documentation of 'animation' and 'glow' for particle spawners.
2018-01-15 04:42:14 +00:00
paramat
142474196a
Mapgen folder: Update and improve copyright information of files
2018-01-15 04:42:08 +00:00
ezhh
5435b07d4e
Lua_api.txt: Improve bullet point indentation consistency
2018-01-13 19:37:17 +00:00
Muhammad Rifqi Priyo Susanto
670f8afd18
Registration confirmation dialog: Fix grammar
...
Fixes commit 792752997c5ae2aaa4f54d0a2e2af2a96d7d1e9f.
2018-01-13 19:30:34 +00:00
ezhh
8349a3db10
Lua_api.txt: Add chat command params info
2018-01-13 14:59:18 +00:00
Muhammad Rifqi Priyo Susanto
792752997c
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()
2018-01-13 12:07:16 +01:00
Lars Hofhansl
fad263dec9
Revert "Add an active object step time budget #6721 "
...
This reverts commit 9c669016d1578a5c62f932c6ccb7a2b4b1e21f0a.
See #6907
2018-01-12 23:47:39 -08:00
Loïc Blot
7e50529867
Add a build step to test non freetype builds ( #6908 )
...
* Add a build step to test non freetype builds
2018-01-12 15:36:54 +01:00
Loic Blot
6f2fe8a554
Forget to fix non freetype build in StaticText
2018-01-12 08:36:38 +01:00
paramat
62872dabac
Lua_api.txt: Fix, improve and add to Object Properties documentation
...
Correct 'automatic rotate' to be a number instead of a bool.
2018-01-12 05:51:40 +00:00
paramat
05e9e128b9
Lua_api.txt: Improve and complete ABM documentation
...
Document 'active object count (wider)'.
2018-01-12 05:45:39 +00:00
paramat
b8fc6a1955
Settingtypes.txt: Correct value of 'max block send distance'
2018-01-12 05:45:39 +00:00
number Zero
b4df0d67dd
Fix ambient occlusion and dark lines at mapblock borders
2018-01-12 05:44:11 +00:00
Pedro Gimeno
f77f19a941
Fix off-by-one in log output line length ( #6896 )
2018-01-09 19:07:14 +01:00
Pedro Gimeno
63f4ee21b0
Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()
2018-01-08 20:32:15 +00:00
Sokomine
2992b774fe
Lua API docs: Add warning that schematic placing is cached
2018-01-07 11:47:52 +01:00
rubenwardy
0a83c42dfd
Fix naming conventions of noise userdata
2018-01-07 01:06:18 +00:00
Loic Blot
9146c6a50f
Don't recalculate statustext initial color everytime & review fixes
2018-01-05 20:59:30 +01:00
Loic Blot
f40f4143df
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
2018-01-05 20:59:30 +01:00
Loic Blot
02f82eca0b
GameUI refactor (part 6/X): Move Game::guitext_profiler & showStatusTextSimple to GameUI class
...
Other enhancements:
* Move showStatusTextSimple to GameUI class & rename to showTranslatedStatusText
2018-01-05 20:59:30 +01:00
Loic Blot
326b0faa5e
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
2018-01-05 20:59:30 +01:00
Loic Blot
fe510d90c1
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
2018-01-05 20:59:30 +01:00
Loic Blot
aab3b18e4b
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
2018-01-05 20:59:30 +01:00
Loic Blot
3a772e7ed6
GameUI refactor (part 2/X): Move Game::guitext to GameUI + enhancements on StaticText
...
Other enhancements:
* C++ friendlyness for addStaticText() -> move to static StaticText::add()
2018-01-05 20:59:30 +01:00
Loic Blot
0ebaed430a
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
2018-01-05 20:59:30 +01:00