aboutsummaryrefslogtreecommitdiff
path: root/src/server/serveractiveobject.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-20Replace travis with github actions (#9641)Loïc Blot18-274/+296
* Move outside of travis to Github actions This will permit to have better integrated CI workflow than the previous travis one.
2020-04-19Fix alias handling of get_content_id (#9712)sfan52-22/+25
fixes #9632
2020-04-19Reuse object_shader for "wielditem" and "item" entity drawtypes (#9537)Danila Shutov6-165/+24
2020-04-18Shaders: Complete 478e753. OpenGL 4.3 compatiblitySmallJoker1-2/+2
2020-04-18script: Move SAO usability check so that it covers all functions (#9698)sfan51-12/+4
see also 91eef646a59575bd9ae792e257bb6ad12fafc0b1
2020-04-18Formspec: allow lists to change size and existence while the formspec is ↵DS3-41/+36
open (#9700) Fixes #9640.
2020-04-18Apply a scrollbar's default value to scroll containers (#9699)DS2-2/+6
Fixes #9691.
2020-04-18serverpackethandler: Reduce pkt->getPeerId() invocations and more (#9689)HybridDog2-342/+272
2020-04-17Android: fix handling non-latin characters on older Android devices (#9309)Maksim2-0/+16
2020-04-17Document which noise APIs add world seed to noiseparams seed (#9693)Paramat1-8/+18
2020-04-17Rename "subgame" to "game" in 2 error messages (#9680)Wuzzy1-2/+2
2020-04-16Add an option to disable unittest build, & disable them on Docker build (#9677)Loïc Blot6-2/+19
2020-04-16Drop -Wabi useless flag (#9676)Loïc Blot1-3/+3
2020-04-16Android: fix formspec input for AArch64 devices (#9685)Maksim1-13/+9
2020-04-16Camera: Fix shooting line offsets (#9681)SmallJoker4-24/+31
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)sfan52-1/+9
It caused more trouble than its worth. fixes #3943, fixes #5330
2020-04-16Optimize get_objects_inside_radius calls (#9671)Loïc Blot7-39/+55
* 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)Maksim50-2520/+1129
2020-04-15Fix parsing JSON with large integers (#9674)sfan51-3/+3
2020-04-15Verify database connection on interval (#9665)Loïc Blot9-34/+66
2020-04-14Add all src folders to doxygen (#9603)DS1-10/+2
2020-04-14Update wireshark dissector (#9621)sfan51-420/+489
2020-04-14scriptapi: Some small optimizations to value pushing (#9669)sfan57-67/+59
2020-04-14PostgreSQL: Fix listAllLoadableBlocks returning the same blockSmallJoker1-1/+1
Suggested change from https://github.com/minetest/minetest/issues/9670#issuecomment-613563738
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