aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-04-16Drop -Wabi useless flag (#9676)Loïc Blot
2020-04-16Android: fix formspec input for AArch64 devices (#9685)Maksim
2020-04-16Camera: Fix shooting line offsets (#9681)SmallJoker
Removes duplicated offset calculations from Game and use whatever the Camera class returns. This keeps the eye position nicely in sync, and gets rid of duplicated code.
2020-04-16Swap out -ffast-math for a safe subset of optimization flags (#9682)sfan5
It caused more trouble than its worth. fixes #3943, fixes #5330
2020-04-16Optimize get_objects_inside_radius calls (#9671)Loïc Blot
* Optimize getObjectsInsideRadius calls our previous implementation calls the ActiveObjectMgr to return ids and then lookup those ids in the same map and test each object Instead now we call the global map to return the pointers directly and we ask filtering when building the list using lamba. This drop double looping over ranges of active objects (and then filtered one) and drop x lookups on the map regarding the first call results
2020-04-15Android: add Android Studio support, completely redone java part (#9066)Maksim
2020-04-15Fix parsing JSON with large integers (#9674)sfan5
2020-04-15Verify database connection on interval (#9665)Loïc Blot
2020-04-14scriptapi: Some small optimizations to value pushing (#9669)sfan5
2020-04-14PostgreSQL: Fix listAllLoadableBlocks returning the same blockSmallJoker
Suggested change from https://github.com/minetest/minetest/issues/9670#issuecomment-613563738
2020-04-14Refactor texture overrides and add new features (#9600)Hugues Ross
* Refactor texture overrides, and add new features: - Texture overrides can support multiple targets in one line - Texture override files can have comment lines - Item images/wield images can be overridden * Formatting changes * Address soime feedback - Pass vectors by const reference - Log syntax errors as warnings - Remove 'C' prefix from TextureOverrideSource * Simplify override target checks with an inline helper function * make linter happy * Apply feedback suggestions Co-Authored-By: rubenwardy <rw@rubenwardy.com> * Remove remaining != 0 checks * Update copyright notice Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-04-13Remove sound menu and show proper msgs if sound is off (#9069)Wuzzy
2020-04-13Add scroll_container formspec element (redo) (#9101)DS
New formspec elements: - `scroll_container[<X>,<Y>;<W>,<H>;<scrollbar name>;<orientation>;<scroll factor>]` - `scroll_container_end[]` Other elements can be embedded in this element. Scrollbar must be placed manually.
2020-04-12GUIFormSpecMenu: Add basic element highlighing debug feature (#9423)SmallJoker
Activated using F5
2020-04-12Play 'player_jump' when player jumps (#9373)Wuzzy
2020-04-11Improve waypoints and add image variant (#9480)Lars Müller
2020-04-11Formspecs: Add state-selection to style elements (#9378)Hugues Ross
2020-04-11Fix broken config check in 659245asfan5
2020-04-11Implement DPI scaling for Windows (#9586)sfan5
2020-04-11Reduce ServerEnvironment propagation (#9642)Loïc Blot
ServerEnvironment is a huge class with many accessors. In various places it's not needed Remove it to reduce the ServerEnvironment view. Idea here is to reduce size of some of our objects to transport lightweight managers and permit easier testing Pathfinder is now tied to a generic map, not a ServerMap, it can be ported to client
2020-04-11Drop content_sao.{cpp,h}Loic Blot
Move LuaEntitySAO to a new dedicated file Drop TestSAO (useless object) Drop the old static startup initialized SAO factory, which was pretty useless. This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation
2020-04-11Move PlayerSAO to dedicated filesLoic Blot
2020-04-11pass clang-formatLoic Blot
2020-04-11Move serveractiveobject & unitsaoLoic Blot
Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h} Move UnitSAO class to dedicated files
2020-04-11Formspec: No spec ID for static text labelsSmallJoker
Fixes #9634
2020-04-11Use TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639)Alex
Fixes #9637.
2020-04-11Various features and fixessfan5
2020-04-11Implement minetest.sound_fade()sfan5
2020-04-11scriptapi: Sort out ServerEnvironment / Environment distinction properlysfan5
The API implementation is shared between CSM and SSM. Functions should retrieve a plain env when they do not need any server-specific functions.
2020-04-11A few initialization cleanupssfan5
2020-04-10Print error if invalid mapgen alias was detected (#9579)Wuzzy
2020-04-10Move clientsimpleobject.h to client folder (#9630)Loïc Blot
This file is only called from client folder, retrieve its friends :)
2020-04-10Drop genericobject.{cpp,h} (#9629)Loïc Blot
* Drop genericobject.{cpp,h} This file is not for generic object but for ActiveObject message passing. Put ownership of the various commands to the right objects and cleanup the related code. * Protect ServerActiveObject::m_messages_out * typo fix
2020-04-08Collision various fixes (#9343)TheTermos
2020-04-08Work around LuaJIT issues on aarch64 (#9614)sfan5
- Move the text segment below the 47-bit limit, needed for script_exception_wrapper which must be lightuserdata - Replace CUSTOM_RIDX_SCRIPTAPI with full userdata
2020-04-08Overall improvements to log messages (#9598)sfan5
Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places.
2020-04-08Miscellaneous networking improvements (#9611)sfan5
fixes #2862
2020-04-06Allow relative directories for `screenshot_path`, tweak default path (#9122)Hugo Locurcio
This will likely be more intuitive for users and should play better with sandboxed distributions such as Flatpak. In addition, the screenshot directory will now be created if it doesn't exist already.
2020-04-05Hypertext: Fix hovercolor not working in global tag (#9582)Pierre-Yves Rollo
2020-04-04Revert collision tweaks #9365 and #9327 (#9591)SmallJoker
This reverts commit df74d369a395f0b99bd23fa3e7fb4c628c3df336. This reverts commit 908e76247922d4adf879b3996c4f75bdbb4e536d. Restores the original collision detection bugs to release 5.2.0 prior the large collision detection fix.
2020-04-04Fix cursor still visible after closing formspec while on HyperText (#9583)Pierre-Yves Rollo
2020-04-04Fix 'the the' typos in comments (#9554)LNJ
2020-04-03Update minetest.conf.example, settings_translation_file.cppupdatepo.sh
2020-04-02Fix texture distortion for flowing liquids (#9561)Elias Åström
Previously textures of the side faces on flowing liquid nodes would become distorted on different axis depending on the liquid level. This is because the nodes always had the same texture coordinates, even when the generated face could have different sizes. This solves that problem by adjusting the texture coordinates for the vertices making up the top of the faces, so the textures will not look compressed for smaller faces.
2020-03-31Fix GUI element click-through by changing visibility (#9534)DS
This adds a vector that holds pointers to elements that should only be visible while being drawn. In the guifsmenu's draw func, all elements in this vector are made visible and invisible again. Apart from there, they are always invisible. (Well they are still visible before the first drawn, does this matter? If yes, it could be fixed easily with some lines of code everywhere.)
2020-03-28Ignore near_plane setting on non-Android platforms (#8749)ANAND
Camera's near-plane will be hard-coded to 0.1 on all non-Android platforms. The upper-bound of this setting has been reduced to 0.25, as 0.5 is just way too high.
2020-03-28Fix crash on wielditem/item entitiessfan5
bug was introduced in f3032a637c53f3c98fbbed1d3b691898aabe1687
2020-03-26Hypertext: Fix alignment tags adding unwanted newlines (#9548)Pierre-Yves Rollo
2020-03-26Connection: Fix deadlock in debug mode (#9550)SmallJoker
2020-03-23Fix incorrect light updates for wielditem and item visuals (#9540)Danila Shutov
An alternative to #9537