aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Game refactor [4/X]: keycache is now owned by InputHandlerLoic Blot2018-01-20
| | | | | | * 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
* Game refactor [3/X]: Move keycache to inputhandlerLoic Blot2018-01-20
|
* Game refactor [2/X]: Various moves (profilergraph, nodePlacementPrediction, ↵Loic Blot2018-01-20
| | | | | | | | create_formspec_menu) * Move profilergraph to dedicated files * Move nodePlacementPrediction to Game class * Rename create_formspec_menu to GUIFormSpecMenu::create
* Game/Input refactor [1/X]: make RealInputHandler handle joystick inputs with ↵Loic Blot2018-01-20
| | | | | | | 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
* [CSM] Add basic HUD manipulation. (#6067)red-0012018-01-20
| | | | | | * [CSM] Add basic HUD manipulation. Workaround for on_connect not working right now.
* Biomes: Add 'get heat', 'get humidity', 'get biome data' APIsparamat2018-01-16
| | | | | 'get biome data' returns biome id, heat and humidity. Clean up nearby lines in lua_api.txt.
* Load a texturepack from the 'textures' subfolder of a gamered-0012018-01-16
|
* Lua_api.txt: Various improvementsparamat2018-01-15
| | | | | Improve documentation for formspec 'position' and 'anchor' elements. Add missing documentation of 'animation' and 'glow' for particle spawners.
* Mapgen folder: Update and improve copyright information of filesparamat2018-01-15
|
* Lua_api.txt: Improve bullet point indentation consistencyezhh2018-01-13
|
* Registration confirmation dialog: Fix grammarMuhammad Rifqi Priyo Susanto2018-01-13
| | | | Fixes commit 792752997c5ae2aaa4f54d0a2e2af2a96d7d1e9f.
* Lua_api.txt: Add chat command params infoezhh2018-01-13
|
* Add confirmation on new player registration (#6849)Muhammad Rifqi Priyo Susanto2018-01-13
| | | | | | | | | | | | | | * 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()
* Revert "Add an active object step time budget #6721"Lars Hofhansl2018-01-12
| | | | | This reverts commit 9c669016d1578a5c62f932c6ccb7a2b4b1e21f0a. See #6907
* Add a build step to test non freetype builds (#6908)Loïc Blot2018-01-12
| | | * Add a build step to test non freetype builds
* Forget to fix non freetype build in StaticTextLoic Blot2018-01-12
|
* Lua_api.txt: Fix, improve and add to Object Properties documentationparamat2018-01-12
| | | | Correct 'automatic rotate' to be a number instead of a bool.
* Lua_api.txt: Improve and complete ABM documentationparamat2018-01-12
| | | | Document 'active object count (wider)'.
* Settingtypes.txt: Correct value of 'max block send distance'paramat2018-01-12
|
* Fix ambient occlusion and dark lines at mapblock bordersnumber Zero2018-01-12
|
* Fix off-by-one in log output line length (#6896)Pedro Gimeno2018-01-09
|
* Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()Pedro Gimeno2018-01-08
|
* Lua API docs: Add warning that schematic placing is cachedSokomine2018-01-07
|
* Fix naming conventions of noise userdatarubenwardy2018-01-07
|
* Don't recalculate statustext initial color everytime & review fixesLoic Blot2018-01-05
|
* GameUI refactor (part 7/7): Finish to include profiler things to GameUILoic Blot2018-01-05
| | | | | | | | | 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
* GameUI refactor (part 6/X): Move Game::guitext_profiler & ↵Loic Blot2018-01-05
| | | | | | | showStatusTextSimple to GameUI class Other enhancements: * Move showStatusTextSimple to GameUI class & rename to showTranslatedStatusText
* GameUI refactor (part 5/X): Move Game::guitext_chat to GameUI classLoic Blot2018-01-05
| | | | | | Other enhancements: * Move update_profiler_gui to Game class * Move updateChat to Game class
* GameUI refactor (part 4/X): Move Game::guitext_status, Game::m_statustext, ↵Loic Blot2018-01-05
| | | | | | | | 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
* GameUI refactor (part 3/X): Move Game::guitext2, Game::guitext_info, ↵Loic Blot2018-01-05
| | | | | | | | Game::infotext to GameUI class Other enhancements: * Drop unused GameRunData::time_of_day * Little GameUI::update code path optimizations
* GameUI refactor (part 2/X): Move Game::guitext to GameUI + enhancements on ↵Loic Blot2018-01-05
| | | | | | | StaticText Other enhancements: * C++ friendlyness for addStaticText() -> move to static StaticText::add()
* GameUI refactor (part 1/X): GameUI object creation + GameUIFlags move to GameUILoic Blot2018-01-05
| | | | | | | | | | 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
* Biomes: Add vertical biome blend (#6853)Paramat2018-01-05
| | | | Add 'vertical blend' parameter to biome registration that defines how many nodes above the biome's 'y max' limit the blend will extend.
* Prevent Android from automatically locking display (#6876)Wayward One2018-01-04
| | | As mentioned in #5759
* Fix Wstringop-overflow warning from util/srp.cpp (#6855)you2018-01-04
| | | | * Fix Wstringop-overflow warning from util/srp.cpp
* [CSM] Don't load the IO library. (#6087)red-0012018-01-04
| | | | | | | | | * [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.
* Mgv7: Add docs for the new floatland exponent parameterparamat2018-01-04
|
* Fix crash on can_bypass_userlimit returning non-booleanrubenwardy2018-01-03
|
* Mgv7 floatlands: Add exponent parameterparamat2018-01-03
| | | | | Allows more control over shape of floatland mountain terrain. Terrain shape is unchanged.
* Connected Nodeboxes: Add `disconnected` boxesThomas--S2018-01-03
| | | | | | | | | | | | | | | 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)
* Tool.cpp/.h, lua_api/l_util.cpp: Tidy up code and remove dead codeHybrid Dog2018-01-03
|
* Tool getDigParams: Fix selecting the best fitting timeHybrid Dog2018-01-03
| | | | | Previously, time was compared with result_time before dividing it by the level difference.
* Add unittests on ActiveObject and BanManager class (#6866)Loïc Blot2018-01-01
| | | | | | * Add unittests on ActiveObject and BanManager class This also permit to fix a bug in ban manager setting bans modified when no modification occurs
* Update README.md copyright notice tooLoïc Blot2018-01-01
|
* Happy new year 2018: update LICENSE.txtLoïc Blot2018-01-01
|
* Advanced settings: Add range check for float typeMuhammad Rifqi Priyo Susanto2017-12-26
|
* Fix rounding error in g/set_node caused by truncation to floatrubenwardy2017-12-26
|
* Add check to pause game on lost window focusrubenwardy2017-12-26
|
* Line_of_sight: Improve using VoxelLineIteratorDániel Juhász2017-12-26
| | | | | This commit rewrites line_of_sight with VoxelLineIterator. Stepsize is no longer needed, the results will be always accurate.
* Wireshark plugin: Complete all commands. (#6841)sofar2017-12-26
| | | | | 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.