aboutsummaryrefslogtreecommitdiff
path: root/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-03Add formspec testing to test mod in minimalrubenwardy5-139/+333
2019-08-03Add styles to most elementsrubenwardy9-100/+284
2019-08-03Add style[] tag with button supportrubenwardy7-3/+240
2019-08-03Add custom colorable GUIButton implementationrubenwardy9-19/+2471
2019-08-03Fix negative offsets not being supported by container[]rubenwardy1-2/+2
2019-08-02Builtin: Forward old return valuesSmallJoker1-1/+1
Was forgotten in 69bf964.
2019-08-01Correct ServerActiveObject's virtual getArmorGroups() to be const.Beha1-1/+1
Due to commit ec3142a , UnitSAO's getArmorGroups() did not match ServerActiveObject's, notably resulting in the lua get_armor_groups() call returning nothing.
2019-08-01Mainmenu: Use textarea in error formspecsSmallJoker2-43/+31
2019-08-01Group "immortal" also protects players from damageWuzzy5-19/+25
Document new meaning of immortal=1 for players Disable breathing if player is immortal Hide builtin statbars if player immortal (delayed) Co-authored-by: ClobberXD <ClobberXD@gmail.com>
2019-07-31Allow toolcaps to override the built-in times for dig_immediatesfan51-8/+10
2019-07-31Silence invalid clang format warnings in guiScrollBar.cpp (#8724)Paramat1-2/+3
2019-07-30Sky: Refactor of moon and sun drawing (#8683)Methacrylon2-149/+142
Split sun and moon render parts from the main render function.
2019-07-30Move the clamping of hp/breath when their maximums change to ↵Beha6-22/+26
read_object_properties(). (#8689) This prevents set_properties() calls that have nothing to do with hp_max or breath_max overriding the saved hp before another mod has the chance to set a player's intended hp_max (such as in on_joinplayer).
2019-07-30README: make -j$(nproc) (#8699)Zaoqi1-1/+1
2019-07-29Rename guiScrollBar to GUIScrollBarDS-Minetest8-22/+22
2019-07-29ContentCAO: Fix broken attachments on join (#8701)SmallJoker9-117/+164
What happened: 1) Object data is received. Client begins to read the data 2) Client initializes all its children (gob_cmd_update_infant) 3) Children try to attach to parent (yet not added) 4) Parent initializes, is added to the environment And somewhere in between, Irrlicht wrecks up the attachments due to the missing matrix node. The solution here is to: 1) Use the same structure as ServerActiveObject 2) Attach all children after the parent is really initialized
2019-07-29lua_api.txt clarifications regarding mapgen object index IDs and handles. ↵Beha1-11/+16
(#8713)
2019-07-28guiScrollBar: move directly to clicked pos if clicked into trayDS-Minetest2-41/+22
2019-07-27Check for 'action' field in ABMs & LBMsSmallJoker2-0/+10
2019-07-27Prefix RecipePriority elements with PRIORITY_Paul Ouellette2-17/+17
2019-07-27Initialize priority in CraftDefinition constructorsPaul Ouellette2-62/+94
The priority is used by getCraftResult, which may be used before initHash is called.
2019-07-27minimal: Move get_craft_result tests to test modPaul Ouellette3-62/+49
2019-07-26Fix missing item images clipping in formspecs (#8652)Pierre-Yves Rollo1-3/+24
* Fix clipping of itemimage * Code style * More code styling
2019-07-26Document 'wield_item' entity property (#8694)Alex1-1/+3
2019-07-26Initialise 'seabed_height' to avoid compilation warning (#8715)Paramat1-1/+1
2019-07-25Re-order mapgens in mainmenu and 'all settings' mapgen selection (#8705)Paramat3-9/+16
v6 always last to discourage selection. Special mapgens flat, fractal, singlenode, next to last. Of these, singlenode last to discourage selection. Of the remaining, v5 last due to age, v7 first due to being the default.
2019-07-25Mgfractal: Make non-fractal terrain optional (#8702)Paramat3-47/+74
Enabled by default. Only allow spawn on fractal, not on seabed terrain. Various codestyle and comment improvements.
2019-07-24Removed debug.upvaluejoin to prevent leak of insecure environmenty1-1/+0
2019-07-21Update README.md (#8700)Zaoqi1-6/+6
2019-07-20Add /help formspec for commands and privileges (#8385)SmallJoker3-7/+146
* Trigger for 'all' as well * Add description textarea, double-click to copy
2019-07-20Improve documentation of mapgen aliases (#8693)Paramat1-9/+10
2019-07-20Document the deprecation of hardcoded cave liquids (#8692)Paramat4-1/+14
2019-07-17travis: Disable macOS buildsfan51-4/+4
The build often hits the 50m time limit or fails with spurious errors. It can be re-enabled when/if we figure out how to solve this.
2019-07-16Optimize getting active objects a bit. #8674Lars Hofhansl3-6/+11
2019-07-16Use vector.dot and vector.cross in vector.angleHybridDog1-5/+3
2019-07-16Add vector.dot and vector.crossHybridDog2-0/+16
Mostly copied from MarkuBu's code
2019-07-16Dungeons: Make multiple large rooms possible (#8678)Paramat4-41/+51
Re-add the random size range for large rooms. Remove 'first_room_large' bool. Add 'large_room_chance' parameter that can disable large rooms, specify 1 large room, or specify a chance for large rooms. If 1 or a chance is specified, the first generated room is large, to take advantage of the intersection checks that are done for the 1st room only.
2019-07-14Docs: Clarify where to check for 'protection_bypass' (#8675)SmallJoker2-16/+9
2019-07-09Move more dungeon parameter selection to mapgens (#8653)Paramat4-64/+62
Move 'num_dungeons' to 'DungeonParams'. Add new parameter 'num_rooms' to replace 'rooms_min' and 'rooms_max', so that the mapgen has complete control over the number of rooms. Add new bool 'first_room_large' so that the mapgen chooses this instead of a hardcoded 1 in 4 chance. Add new parameter 'room_size_large' to replace 'room_size_large_min' and 'room_size_large_max', so that the mapgen has complete control over this.
2019-07-08Do predict when sneak-place to node with on_rightclickDS-Minetest1-1/+2
2019-07-07Improve ABM time budget handling. #8645Lars Hofhansl2-38/+54
2019-07-08Document ObjectRef:remove under Lua entity (#8659)ANAND1-4/+3
This was previously documented under the general ObjectRef section with a note that this won't work on players. So I think this would fit better with Lua entity-only methods. This PR also changes the title of the Lua entity-only section from `LuaEntitySAO-only` to `Lua entity only`.
2019-07-05Improve grammar and formatting in the READMEHugo Locurcio1-54/+52
This also clarifies the fact that Minetest saves `minetest.conf` when closing Minetest for the first time, rather than when starting it for the first time. This also fixes the default key for the pitch move mode which is now P.
2019-07-01Update biome definition dungeon node documentation (#8650)Paramat1-1/+3
2019-06-30Dungeongen: Remove most hardcoded dungeon nodes (#8594)Paramat4-121/+45
Biome-defined dungeon nodes was added as a feature to MT 5.0.0. So now remove most of the hardcoded dungeon node code that assumes a game has stone, sandstone, desert stone, and no other stone types. If biome-defined dungeon nodes are not found, dungeon nodes fall back to the 'cobble' mapgen alias if present, if not present they fall back to biome-defined 'stone'. Remove now-unnecessary mapgen aliases from MapgenBasic. Non-mgv6 games now only need to define 3 to 5 mapgen aliases. Document dungeon parameters. Make c_lava_source fallback to c_water_source as both are used as cave liquids.
2019-06-28Optimize and unify mesh processing (#7851)Vitaliy1-130/+63
2019-06-27Add compatible, consistent coordinate system to FormSpecs. (#8524)v-rob3-153/+541
2019-06-27Increase upper limit of display_gamma to 10 (#8618)ANAND2-2/+2
2019-06-22Add support for 9-sliced backgrounds (#8600)rubenwardy5-13/+137
9-slice textures are commonly used in GUIs to allow scaling them to match any resolution without distortion. https://en.wikipedia.org/wiki/9-slice_scaling
2019-06-21Fix segfault on quitting with open node formspec (#8608)SmallJoker1-5/+4