aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Swap out -ffast-math for a safe subset of optimization flags (#9682)sfan52020-04-16
| | | | It caused more trouble than its worth. fixes #3943, fixes #5330
* Optimize get_objects_inside_radius calls (#9671)Loïc Blot2020-04-16
| | | | | | | | | * 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
* Android: add Android Studio support, completely redone java part (#9066)Maksim2020-04-15
|
* Fix parsing JSON with large integers (#9674)sfan52020-04-15
|
* Verify database connection on interval (#9665)Loïc Blot2020-04-15
|
* scriptapi: Some small optimizations to value pushing (#9669)sfan52020-04-14
|
* PostgreSQL: Fix listAllLoadableBlocks returning the same blockSmallJoker2020-04-14
| | | | Suggested change from https://github.com/minetest/minetest/issues/9670#issuecomment-613563738
* Refactor texture overrides and add new features (#9600)Hugues Ross2020-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Remove sound menu and show proper msgs if sound is off (#9069)Wuzzy2020-04-13
|
* Add scroll_container formspec element (redo) (#9101)DS2020-04-13
| | | | | | | | | 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.
* GUIFormSpecMenu: Add basic element highlighing debug feature (#9423)SmallJoker2020-04-12
| | | Activated using F5
* Play 'player_jump' when player jumps (#9373)Wuzzy2020-04-12
|
* Improve waypoints and add image variant (#9480)Lars Müller2020-04-11
|
* Formspecs: Add state-selection to style elements (#9378)Hugues Ross2020-04-11
|
* Fix broken config check in 659245asfan52020-04-11
|
* Implement DPI scaling for Windows (#9586)sfan52020-04-11
|
* Reduce ServerEnvironment propagation (#9642)Loïc Blot2020-04-11
| | | | | | | | | | 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
* Drop content_sao.{cpp,h}Loic Blot2020-04-11
| | | | | | | 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
* Move PlayerSAO to dedicated filesLoic Blot2020-04-11
|
* pass clang-formatLoic Blot2020-04-11
|
* Move serveractiveobject & unitsaoLoic Blot2020-04-11
| | | | | Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h} Move UnitSAO class to dedicated files
* Formspec: No spec ID for static text labelsSmallJoker2020-04-11
| | | | Fixes #9634
* Use TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639)Alex2020-04-11
| | | Fixes #9637.
* Various features and fixessfan52020-04-11
|
* Implement minetest.sound_fade()sfan52020-04-11
|
* scriptapi: Sort out ServerEnvironment / Environment distinction properlysfan52020-04-11
| | | | | | The API implementation is shared between CSM and SSM. Functions should retrieve a plain env when they do not need any server-specific functions.
* A few initialization cleanupssfan52020-04-11
|
* Print error if invalid mapgen alias was detected (#9579)Wuzzy2020-04-10
|
* Move clientsimpleobject.h to client folder (#9630)Loïc Blot2020-04-10
| | | This file is only called from client folder, retrieve its friends :)
* Drop genericobject.{cpp,h} (#9629)Loïc Blot2020-04-10
| | | | | | | | | | * 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
* Collision various fixes (#9343)TheTermos2020-04-08
|
* Work around LuaJIT issues on aarch64 (#9614)sfan52020-04-08
| | | | - 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
* Overall improvements to log messages (#9598)sfan52020-04-08
| | | | Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places.
* Miscellaneous networking improvements (#9611)sfan52020-04-08
| | | fixes #2862
* Allow relative directories for `screenshot_path`, tweak default path (#9122)Hugo Locurcio2020-04-06
| | | | | | | 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.
* Hypertext: Fix hovercolor not working in global tag (#9582)Pierre-Yves Rollo2020-04-05
|
* Revert collision tweaks #9365 and #9327 (#9591)SmallJoker2020-04-04
| | | | | | 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.
* Fix cursor still visible after closing formspec while on HyperText (#9583)Pierre-Yves Rollo2020-04-04
|
* Fix 'the the' typos in comments (#9554)LNJ2020-04-04
|
* Update minetest.conf.example, settings_translation_file.cppupdatepo.sh2020-04-03
|
* Fix texture distortion for flowing liquids (#9561)Elias Åström2020-04-02
| | | | | | | | | 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.
* Fix GUI element click-through by changing visibility (#9534)DS2020-03-31
| | | | | 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.)
* Ignore near_plane setting on non-Android platforms (#8749)ANAND2020-03-28
| | | 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.
* Fix crash on wielditem/item entitiessfan52020-03-28
| | | | bug was introduced in f3032a637c53f3c98fbbed1d3b691898aabe1687
* Hypertext: Fix alignment tags adding unwanted newlines (#9548)Pierre-Yves Rollo2020-03-26
|
* Connection: Fix deadlock in debug mode (#9550)SmallJoker2020-03-26
|
* Fix incorrect light updates for wielditem and item visuals (#9540)Danila Shutov2020-03-23
| | | An alternative to #9537
* Add comments for translators (#9510)Wuzzy2020-03-20
| | | | | * Add translator comments for "special" strings * Add translator comments for some "tricky" strings
* Fix entity lighting (#9514)Danila Shutov2020-03-16
| | | fixes #9482
* Fix mouse events sent to wrong GUI elements when draggingsfan52020-03-16
|