| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
|
| |
Allowing scrolling with the mousewheel when the vertical scrollbar is
hidden, unnecessarily exposes oversized containers and newlines at the
end of the text. For example try scrolling over the textareas in the
pause menu. This PR addresses the issue by requiring the scrollbar to be
visible before allowing the scrolling with the mousewheel.
|
|
|
|
| |
* Update light storage format
|
| |
|
|
|
|
|
|
| |
No longer decide placement on 'buildable_to' parameter.
Dust nodes only look acceptable placed on cubic nodes.
Modders may not want to make their plantlike decorations 'buildable_to'.
|
|
|
|
| |
Updated and rebased version of a PR by red-001
|
|
|
|
|
| |
This allows the client to retrieve blocks at a greater distance
from the server, thus allowing for a real zoom.
|
| |
|
| |
|
|
|
|
| |
Nearby codestyle cleanup.
|
|
|
|
|
|
|
|
| |
Falling nodes should make a sound. This can only be done here,
so for simplicity we just call the sound_play() here with the node
place sound. We ignore any gain value in the sound spec since a
falling node should be loud, so the 1.0 default gain makes sense
here.
|
| |
|
| |
|
| |
|
|
|
|
| |
* Move files around
|
| |
|
| |
|
|
|
|
| |
We try to use default fallback for both mono and main font when custom font path is not exist. This way, if Minetest is not corrupted, we could avoid crash.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This avoids scaling textures to 'texture_min_size' unless it is actually
required (because either auto-scaling or bi/trilinear filtering is enabled)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Clean draw_*() arguments
* Split rendering core
* Add anaglyph 3D
* Interlaced 3D
* Drop obsolete methods
|
| |
|
|
|
|
| |
* Iitial Haiku support
|
|
|
|
| |
Causes get_day_night_ratio() to return unpredictable results.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add "all_floors" and "all_ceilings" flags for simple and schematic
decorations. Decorations are placed on all floor and/or ceiling surfaces.
Decorations are placed before dungeon generation so placement in dungeons
is not possible.
Add 'getSurfaces()' function to mapgen.cpp that returns 2 arrays of y
coordinates for all floor and ceiling surfaces in a specified node column.
Move 'getHeight()' checks into DecoSimple and DecoSchematic. Delete
'getHeight()' functions.
|
|
|
|
|
| |
This makes it possible to modify the tool capabilities of individual
itemstacks by calling a method on itemstack metadata references.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Fix default item callbacks to work with nil users
* item.lua: Handle node drops for invalid players
The if-condition for the dropping loop is the same as `inv`, which means that the 2nd possible definition of `give_item` is never used.
Remove redundant `local _, dropped_item`
|
| |
|
|
|
|
|
|
| |
This causes blocks in front of the player to be rendered sooner and
blocks in the periphal view (that would soon be out of view) a bit later.
Overall this leads to smoother rendering as the player is moving around.
|
|
|
|
|
|
| |
Autogenerate minetest.conf.example to convert noises to the now standard
'group format'.
Delete the now unnecessary minetest.conf.example.extra.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Formspec input for each individual noise parameter and flag.
Allow noise flags to be set in advanced settings, previously only settable
in minetest.conf.
Standardise 'group format' for noise parameters set in minetest.conf, as
only these support noise flags. However the older 'single line' format is
still accepted to support existing minetest.conf files.
Therefore auto-generate minetest.conf.example with noise parameters in
'group format'.
Setting 'type' in settingtypes.txt is now either 'noise_params_2D' or
'noise_params_3D', the dimension number is displayed in the advanced
settings edit page.
|
|
|
|
|
| |
We should avoid providing incorrect struct members in documentation
since people will be coding based on them.
|
|
|
|
| |
This is a small, partial revert of #6483, which had set this to 1.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|