Wuzzy
4b9fabf172
Builtin: Make dropped light_source nodes glow ( #9200 )
2019-12-19 19:41:44 +01:00
Bluebird
80af58c8c5
Make core.item_place_node return position of placed node. ( #7713 )
2019-12-18 19:21:24 +01:00
Zaoqi
39a1e6660e
Dockerfile: correct apt clean
+ git clone --depth 1 + remove .git ( #8697 )
2019-12-17 14:34:21 +01:00
sfan5
db7e59f472
Correct documentation around minetest.item_place
...
The code that calls minetest.item_place_object was removed
in 2013 in commit fc61c8809b9a1d47d9f117446764107a56cec956.
2019-12-16 21:24:34 +01:00
Hugues Ross
b50dc43f67
Don't override the FGIMG style property if the image parameter is null
2019-12-16 19:26:57 +01:00
Hugues Ross
e42faae8d9
Remove the dependency on FGIMG/BGIMG from the hovered/pressed variants
...
- Make guiButtonImage support null images properly
2019-12-16 19:26:57 +01:00
Hugues Ross
bd4b8d40b3
StyleSpec: 0-initialize the property_set array
2019-12-16 19:26:57 +01:00
SmallJoker
41ff0f6679
Lua API: Document HP, breath and damage limits ( #9080 )
2019-12-15 18:55:01 +01:00
Zaoqi
03e1f23a5e
Add Alpine build dependencies in README ( #9206 )
2019-12-15 17:10:25 +01:00
SmallJoker
c3d0aab0bc
GUIFormSpecMenu: Fix legacy sorting using std::stable_sort
2019-12-14 21:28:07 +01:00
rubenwardy
8e63d22d64
Fix spaces breaking formspec_version[] tag
2019-12-09 21:05:07 +00:00
Hugues Ross
9284313d17
Refactor to centralize GUIButton styling/rendering code ( #9090 )
2019-12-09 20:06:51 +00:00
SmallJoker
a462181e5f
guiConfirmRegistration: Fix hidden error message
2019-12-09 20:01:16 +01:00
DS
8f73ec6c6c
Formspec: make bgcolor element less confusing and allow setting fullscreen color ( #8996 )
2019-12-08 18:59:30 +01:00
rubenwardy
d3255f92d7
Fix luacheck errors
2019-12-07 23:50:12 +01:00
rubenwardy
51b4ddc4c9
Run luacheck in travis
2019-12-07 23:50:12 +01:00
Paul Ouellette
27ce6d0ecc
Clean up craft replacements docs
2019-12-07 23:46:24 +01:00
SmallJoker
103d9c5c53
Renaming the function wasn't enough
2019-12-07 15:55:49 +01:00
SmallJoker
aa8df112ff
Attachments: Fix interpolation from (0,0,0) after detach
...
GenericCAO::getPosition() did not take the camera offset into account
LocalPlayer attachment cleanup: Use sane getParent() function
Make that getPosition() (GenericCAO and LocalPlayer) always return the absolute position
2019-12-07 15:12:26 +01:00
rubenwardy
51f230895c
Fix failing build due to code style error
2019-12-06 23:00:54 +00:00
v-rob
4f45bfd08b
Add scrollbaroptions FormSpec element ( #8530 )
2019-12-06 20:51:10 +00:00
Zaoqi
9a5d43a4f5
Fix android build due to omitted file in src files
2019-12-06 20:50:45 +00:00
Pierre-Yves Rollo
cf7fda0083
Add z-index management to HUD
2019-12-06 20:31:26 +00:00
SmallJoker
f6de86ce4b
Fix LocalPlayer-bound sound playback broken by 81c2370
2019-12-05 20:52:30 +01:00
Nils Dagsson Moskopp
ef8bf3cf35
Fix Debian build dependencies in README
...
This patch replaces the statement in the README about a build dependency of the
minetest binary on the package “build-essential” with a corresponding statement
about build dependencies on the three packages “g++”, “make”, and “libc6-dev”.
Though often used as a shorthand, “build-essential” is not a package used to
install packages that are essential for building software – “build-essential”
depends on packages that are essential for building Debian packages. Therefore,
the dependency on “build-essential” implies a dependency on a lot of packages that
are not actually necessary to build minetest (e.g. the Perl programming language).
2019-12-02 10:49:39 +01:00
ANAND
4b6bff46e1
Use a safer implementation of gsub in core.chat_format_message ( #9133 )
...
This search-and-replace implementation does not use Lua pattern-matching
2019-11-25 20:03:34 +01:00
sfan5
0b2f0914cc
Improve client-side packet receiving
2019-11-25 20:00:24 +01:00
paramat
154080c883
Caves: Fix shadowing of 'large_cave_depth' to avoid confusion
2019-11-23 01:41:27 +00:00
paramat
ec5f591014
Dungeons: Move duplicated y limit checks to generation function
2019-11-23 01:41:27 +00:00
SmallJoker
b50a166bb0
Formspec: Fix priorities for version < 3 ( #9121 )
...
* Formspec: Fix priorities for version < 3
1) Introduce 'priority' to 'FieldSpec'
2) Sort elements based on 'priority'
3) Assign 'name' to the Item Image Button's image to show tooltips again
2019-11-20 19:39:10 +01:00
Lars Hofhansl
60bff1e6cb
Waves generated with Perlin-type noise #8994
2019-11-19 19:42:52 -08:00
Paramat
b3c245bb46
Move duplicated mapgen parameters to class MapgenBasic ( #9134 )
...
'large_cave_depth', 'dungeon_ymin' and 'dungeon_ymax' are duplicated across many mapgens so should have been in class MapgenBasic from the start.
2019-11-19 19:59:17 +00:00
sfan5
c10952b574
Rework packet receiving in ServerThread
...
Notably it tries to receive all queued packets
between server steps, not just one.
2019-11-19 20:27:20 +01:00
Paramat
97764600e2
Randomwalk cave liquids: Remove deprecated 'lava depth' parameter ( #9105 )
...
Low-disruption first step towards removing the hardcoded cave liquid
code. Since MT 5.0.0 cave liquids can be defined and located by
biome definitions instead.
In games that do not yet use biome definitions to define and locate
cave liquids (MTGame does), lava will now appear below
y = water_level - 256 instead of below 'lava depth' (usually y = -256).
Therefore no change in most mapgens if using the default 'lava depth'.
2019-11-18 23:40:01 +00:00
William Breathitt Gray
706b6aad06
Fix find_path for newer jsoncpp installations
...
The upstream JsonCpp project has renamed the `json/features.h` file to
`json/json_features.h`. This patch fixes the JsonCpp installation search
by looking for `json/allocator.h` which has not been renamed on newer
versions of JsonCpp.
Fixes: https://github.com/minetest/minetest/issues/9119
2019-11-17 11:39:49 +01:00
sfan5
49365b25d9
Optimize semaphore wait with zero timeout on POSIX
2019-11-14 20:20:14 +01:00
sfan5
b5f5e00b29
Install client_lua_api.txt documentation too
...
fixes #9104
2019-11-11 14:06:48 +01:00
sfan5
02111e4961
Fix clang-tidy and lint travis checks
2019-11-11 14:06:48 +01:00
sfan5
c44318a253
[CSM] Fix and improve minetest.get_language()
...
Previously this method would accidentally reset the locale
and break everything.
2019-11-11 14:06:48 +01:00
sfan5
2c4cf508a9
[CSM] Implement minetest.get_csm_restrictions()
...
fixes #8068
2019-11-11 14:06:48 +01:00
sfan5
3f271564e0
Run on_item_use CSM callback even if item is not marked usable
...
Mods may want to to handle item interaction even if the item
is not marked usable (= server-side callback exists).
2019-11-11 14:06:48 +01:00
sfan5
682b9de824
Fix camera:get_offset() in CSM
2019-11-11 14:06:48 +01:00
sfan5
b57dc70769
[CSM] Expose more env functions
2019-11-11 14:06:48 +01:00
sfan5
b0260b5ec8
Refactor CSM restriction code a bit
...
This also fixes find_node_near restrictions being ineffective.
2019-11-11 14:06:48 +01:00
sfan5
4d668f32a6
Call on_secondary_use when object is right-clicked
2019-11-10 13:12:31 +01:00
Paramat
3b0df9760b
Randomwalk caves: Extend beyond mapchunk vertically also ( #9094 )
...
Previously, randomwalk caves only extended beyond the mapchunk
borders horizontally, preventing vertical overlap and
interconnection.
2019-11-10 01:41:20 +00:00
sfan5
d961ece144
Be lenient with extra slashes for CSM paths
2019-11-09 16:08:38 +01:00
sfan5
485b669840
[CSM] Remove non-functional minetest.get_day_count()
2019-11-09 16:08:38 +01:00
sfan5
7e649f985c
Corrections to client_lua_api.txt
2019-11-09 16:08:38 +01:00
sfan5
b1f2a69382
Introduce get_modpath() for CSM
2019-11-09 16:08:38 +01:00