aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2018-01-03Connected Nodeboxes: Add `disconnected` boxesThomas--S
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)
2018-01-03Tool.cpp/.h, lua_api/l_util.cpp: Tidy up code and remove dead codeHybrid Dog
2018-01-03Tool getDigParams: Fix selecting the best fitting timeHybrid Dog
Previously, time was compared with result_time before dividing it by the level difference.
2018-01-01Add unittests on ActiveObject and BanManager class (#6866)Loïc Blot
* Add unittests on ActiveObject and BanManager class This also permit to fix a bug in ban manager setting bans modified when no modification occurs
2017-12-26Fix rounding error in g/set_node caused by truncation to floatrubenwardy
2017-12-26Add check to pause game on lost window focusrubenwardy
2017-12-26Line_of_sight: Improve using VoxelLineIteratorDániel Juhász
This commit rewrites line_of_sight with VoxelLineIterator. Stepsize is no longer needed, the results will be always accurate.
2017-12-25Fix dancing textnumber Zero
2017-12-25- Clear colors when reading property info.Rob Blanckaert
- Set vertex colors on upright_sprites.
2017-12-22Fix undefined behaviour on getting pointer to data in empty vectornOOb3167
`&vector[0]` is undefined if vector.empty(), causing build failure on MSVC
2017-12-21Fix wrong scrolling (#6809)Vitaliy
2017-12-17Allow 'default' parameter in 'settings:get_bool' functionJordan Irwin
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
2017-12-17Adjust default console heightEzhh
#6797
2017-12-16Fix items turning black (#6780)Vitaliy
2017-12-14Zoom: Add 'disabled by game or mod' messageparamat
2017-12-14Minimap messages: Improve 'disabled by server' messageparamat
2017-12-14Chat: Remove prompt history duplicates (#6762)SmallJoker
2017-12-14directiontables: Fix MSVC compiler error (#6785)adrido
2017-12-12Update light decoding table size (#6696)Vitaliy
Fix old undiminish_light bug
2017-12-11CSM fixes: load mods after flavours & add flavour to block mod loading (#6738)Loïc Blot
* 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
2017-12-10F5 debug info: Add colons, use lowercase except for FPS and RTTThomasMonroe314
2017-12-10Damage: Remove damage ignore timerSmallJoker
2017-12-10Use std::vector instead of dynamic C-Array (#6744)adrido
2017-12-06Add an active object step time budget #6721Lars Hofhansl
This can be set via the active_object_interval option.
2017-12-06Add coloured logs (#4549)you
The setting log_colour can be used to en-/disable or autodetect it.
2017-12-06Ensure no item stack is being held before crafting (#4779)Luis Cáceres