aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-02-10Node definition manager refactor (#7016)Dániel Juhász
* Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager
2018-02-10Position entity nametags relative to selection-box (#7031)stujones11
2018-02-09Fix 'Change Keys' menu crash caused by 501f936SmallJoker
2018-02-08Switch F3 to use 'enable_fog' settingThomasMonroe314
2018-02-08Include alpha channel reference in MaterialTypeParamstujones11
2018-02-08Move `setlocale` from Lua to C++.red-001
2018-02-08Add main_menu_style settingPorygonZRocks
2018-02-04Make hud_get return aligment, offset and size. (#7006)lisacvuk
* Make hud_get return aligment and offset. * Return size aswell.
2018-02-04Remove unused light updating codeDániel Juhász
Also remove the unit test that tests the removed algorithms.
2018-02-02Refine movement anticheat again (#7004)sfan5
* Account for walking speed in vertical dir * Avoid undefined behaviour due to division-by-zero
2018-01-30Fix liquid bottoms not being renderednumber Zero
2018-01-30Add minetest.bulk_set_node call + optimize Environment::set_node call (#6958)Loïc Blot
* 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-28Apply physics overrides correctly during anticheat calculations (#6970)sfan5
2018-01-26[CSM] HUD Fix not updating server HUDs caused by 4f688d5SmallJoker
2018-01-26Fix issues with earlier CSM HUD commit (#6940)red-001
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-23Disable fall damage when "immortal" group set (#6946)lisacvuk
2018-01-23CSM: Remove screenshot APIred-001
Reverted from commit 19960e26c672c6337f8c6ffbe27f2c6bca49750c (* [CSM] add screenshot api lua)
2018-01-22[CSM] Don't Load the package library (#6944)red-001
Already removed by a latter step in CSM init so this just saves on pointless work.
2018-01-21Change include from "cmake_config.h" to "config.h"Wayward One
Fixes #6894
2018-01-21[CSM] Remove `on_connect` callback (#6941)red-001
Fixes #6939
2018-01-20[CSM] Add functions to create particles and particlespawners. (#6072)red-001
2018-01-20Game refactor [4/X]: keycache is now owned by InputHandlerLoic Blot
* 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-20Game refactor [3/X]: Move keycache to inputhandlerLoic Blot
2018-01-20Game refactor [2/X]: Various moves (profilergraph, nodePlacementPrediction, ↵Loic Blot
create_formspec_menu) * Move profilergraph to dedicated files * Move nodePlacementPrediction to Game class * Rename create_formspec_menu to GUIFormSpecMenu::create
2018-01-20Game/Input refactor [1/X]: make RealInputHandler handle joystick inputs with ↵Loic Blot
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[CSM] Add basic HUD manipulation. (#6067)red-001
* [CSM] Add basic HUD manipulation. Workaround for on_connect not working right now.
2018-01-16Biomes: Add 'get heat', 'get humidity', 'get biome data' APIsparamat
'get biome data' returns biome id, heat and humidity. Clean up nearby lines in lua_api.txt.
2018-01-16Load a texturepack from the 'textures' subfolder of a gamered-001
2018-01-15Mapgen folder: Update and improve copyright information of filesparamat
2018-01-13Registration confirmation dialog: Fix grammarMuhammad Rifqi Priyo Susanto
Fixes commit 792752997c5ae2aaa4f54d0a2e2af2a96d7d1e9f.
2018-01-13Add confirmation on new player registration (#6849)Muhammad Rifqi Priyo Susanto
* 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-12Revert "Add an active object step time budget #6721"Lars Hofhansl
This reverts commit 9c669016d1578a5c62f932c6ccb7a2b4b1e21f0a. See #6907
2018-01-12Forget to fix non freetype build in StaticTextLoic Blot
2018-01-12Fix ambient occlusion and dark lines at mapblock bordersnumber Zero
2018-01-09Fix off-by-one in log output line length (#6896)Pedro Gimeno
2018-01-08Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()Pedro Gimeno
2018-01-07Fix naming conventions of noise userdatarubenwardy
2018-01-05Don't recalculate statustext initial color everytime & review fixesLoic Blot
2018-01-05GameUI refactor (part 7/7): Finish to include profiler things to GameUILoic Blot
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-05GameUI refactor (part 6/X): Move Game::guitext_profiler & ↵Loic Blot
showStatusTextSimple to GameUI class Other enhancements: * Move showStatusTextSimple to GameUI class & rename to showTranslatedStatusText
2018-01-05GameUI refactor (part 5/X): Move Game::guitext_chat to GameUI classLoic Blot
Other enhancements: * Move update_profiler_gui to Game class * Move updateChat to Game class
2018-01-05GameUI refactor (part 4/X): Move Game::guitext_status, Game::m_statustext, ↵Loic Blot
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-05GameUI refactor (part 3/X): Move Game::guitext2, Game::guitext_info, ↵Loic Blot
Game::infotext to GameUI class Other enhancements: * Drop unused GameRunData::time_of_day * Little GameUI::update code path optimizations
2018-01-05GameUI refactor (part 2/X): Move Game::guitext to GameUI + enhancements on ↵Loic Blot
StaticText Other enhancements: * C++ friendlyness for addStaticText() -> move to static StaticText::add()
2018-01-05GameUI refactor (part 1/X): GameUI object creation + GameUIFlags move to GameUILoic Blot
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-05Biomes: Add vertical biome blend (#6853)Paramat
Add 'vertical blend' parameter to biome registration that defines how many nodes above the biome's 'y max' limit the blend will extend.
2018-01-04Fix Wstringop-overflow warning from util/srp.cpp (#6855)you
* Fix Wstringop-overflow warning from util/srp.cpp
2018-01-04[CSM] Don't load the IO library. (#6087)red-001
* [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.
2018-01-03Fix crash on can_bypass_userlimit returning non-booleanrubenwardy
2018-01-03Mgv7 floatlands: Add exponent parameterparamat
Allows more control over shape of floatland mountain terrain. Terrain shape is unchanged.