aboutsummaryrefslogtreecommitdiff
path: root/src/objdef.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-14Refactor texture overrides and add new features (#9600)Hugues Ross11-71/+285
* 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)Wuzzy1-22/+44
2020-04-13Add default stack size setting (#8873)SmallJoker3-3/+11
New setting "default_stack_max" to alter the default stack sizes of all items when desired. Co-authored-by: Pascal Abresch <nep@packageloss.eu>
2020-04-13Add scroll_container formspec element (redo) (#9101)DS11-50/+411
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)SmallJoker2-1/+10
Activated using F5
2020-04-12Dockerfile: use alpine to reduce size (#9226)ㄗㄠˋ ㄑㄧˊ1-28/+40
* 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>
2020-04-12Update README copyright to current year (#9566)Testman1-1/+1
2020-04-12Play 'player_jump' when player jumps (#9373)Wuzzy2-2/+15
2020-04-12Fix delayed error message in start game tabrubenwardy1-29/+24
2020-04-11Improve waypoints and add image variant (#9480)Lars Müller7-47/+118
2020-04-11Formspecs: Add state-selection to style elements (#9378)Hugues Ross22-317/+454
2020-04-11Fix broken config check in 659245asfan51-0/+1
2020-04-11Update API site build (#9622)Paul Ouellette2-13/+2
2020-04-11Implement DPI scaling for Windows (#9586)sfan55-25/+69
2020-04-11Reduce ServerEnvironment propagation (#9642)Loïc Blot7-118/+71
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 Blot25-294/+125
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 Blot19-992/+1038
2020-04-11pass clang-formatLoic Blot2-35/+38
2020-04-11Add vscode cmake plugin files to gitignoreLoic Blot1-1/+2
2020-04-11Move serveractiveobject & unitsaoLoic Blot20-404/+445
Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h} Move UnitSAO class to dedicated files
2020-04-11Formspec: No spec ID for static text labelsSmallJoker1-1/+1
Fixes #9634
2020-04-11Use TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639)Alex1-1/+1
Fixes #9637.
2020-04-11Various features and fixessfan55-69/+123
2020-04-11Implement minetest.sound_fade()sfan54-3/+34
2020-04-11scriptapi: Sort out ServerEnvironment / Environment distinction properlysfan57-65/+72
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 cleanupssfan54-6/+18
2020-04-10Print error if invalid mapgen alias was detected (#9579)Wuzzy3-0/+39
2020-04-10Move clientsimpleobject.h to client folder (#9630)Loïc Blot1-0/+0
This file is only called from client folder, retrieve its friends :)
2020-04-10Drop genericobject.{cpp,h} (#9629)Loïc Blot16-407/+300
* 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-10Install the `locale` directory in a standard location without subfolder (#9618)Hugo Locurcio1-2/+1
Other established FOSS projects don't seem to be doing this.
2020-04-09Automated build changes (#9619)Loïc Blot3-76/+54
* 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
2020-04-08Collision various fixes (#9343)TheTermos4-149/+141
2020-04-08Allow to select en as language in settings menu (#9604)DS1-1/+1
fixes #9599
2020-04-08Travis: Build clang jobs with LuaJIT enabled for better coveragesfan51-3/+9
2020-04-08Work around LuaJIT issues on aarch64 (#9614)sfan55-4/+33
- 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)sfan522-111/+87
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)sfan55-43/+87
fixes #2862
2020-04-06Clarify use of minetest.request_insecure_environment() (#9597)rubenwardy1-5/+5
2020-04-06Allow relative directories for `screenshot_path`, tweak default path (#9122)Hugo Locurcio3-4/+16
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-06Add tone mapping for entities (#9521)Danila Shutov1-0/+37
fixes #9301
2020-04-06Add allowed_mapgens option in game.conf. (#9263)Wren Turkal2-0/+21
The game.conf has a disallowed_mapgens option. However, some games require a certain mapgen to be used, like the CTF plugin. This change adds an option to specify allowed mapgens so that the setting can be specified in a way that needn't be updated as map generators are added to Minetest.
2020-04-06Some minor Lua API documentation clarifications (#9461)Wuzzy1-12/+19
See #5854
2020-04-05Continue with 5.3.0-devsfan53-4/+4
2020-04-05Bump version to 5.2.0sfan53-3/+3
2020-04-05Update credits for 5.2.0 (#9593)rubenwardy1-47/+34
2020-04-05Translated using Weblate (Japanese)BreadW1-6/+5
Currently translated at 100.0% (1288 of 1288 strings)
2020-04-05Translated using Weblate (German)sfan51-10/+9
Currently translated at 100.0% (1288 of 1288 strings)
2020-04-05Translated using Weblate (Turkish)Oğuz Ersen1-7/+6
Currently translated at 100.0% (1288 of 1288 strings)
2020-04-05Hypertext: Fix hovercolor not working in global tag (#9582)Pierre-Yves Rollo1-2/+1
2020-04-04Builtin: Make item entities glow less (#9594)sfan51-1/+1
minor adjustment to #9200