summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Camera: Fix shooting line offsets (#9681)SmallJoker2020-04-16
| | | | 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.
* 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
|
* Add all src folders to doxygen (#9603)DS2020-04-14
|
* Update wireshark dissector (#9621)sfan52020-04-14
|
* 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 default stack size setting (#8873)SmallJoker2020-04-13
| | | | | New setting "default_stack_max" to alter the default stack sizes of all items when desired. Co-authored-by: Pascal Abresch <nep@packageloss.eu>
* 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
* Dockerfile: use alpine to reduce size (#9226)ㄗㄠˋ ㄑㄧˊ2020-04-12
| | | | | | | | | | | | | * Dockerfile: use alpine to reduce size * Fix the UID & GID + alpine version + rights * Reduce the junk when we copy, only copy needed files * Build in the right cmake place & permit customize mtg version * Latest build fixes Co-authored-by: Loïc Blot <nerzhul@users.noreply.github.com>
* Update README copyright to current year (#9566)Testman2020-04-12
|
* Play 'player_jump' when player jumps (#9373)Wuzzy2020-04-12
|
* Fix delayed error message in start game tabrubenwardy2020-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
|
* Update API site build (#9622)Paul Ouellette2020-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
|
* Add vscode cmake plugin files to gitignoreLoic 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
* Install the `locale` directory in a standard location without subfolder (#9618)Hugo Locurcio2020-04-10
| | | Other established FOSS projects don't seem to be doing this.
* Automated build changes (#9619)Loïc Blot2020-04-09
| | | | | | | | | * Automated build changes * drop a useless ubuntu non lts version * update gitlab ci syntax to modern one * add debian 10 step on the gitlab ci pipeline * switch docker build to Debian 10 * add .gradle folder to gitignore
* Collision various fixes (#9343)TheTermos2020-04-08
|
* Allow to select en as language in settings menu (#9604)DS2020-04-08
| | | fixes #9599
* Travis: Build clang jobs with LuaJIT enabled for better coveragesfan52020-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
* Clarify use of minetest.request_insecure_environment() (#9597)rubenwardy2020-04-06
|
* 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.
* Add tone mapping for entities (#9521)Danila Shutov2020-04-06
| | | fixes #9301