| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Also count multibyte sequences as "one" character.
Adds unittest for the bug reporter's case.
Fixes #2796.
|
|
|
|
| |
No freezing when inbuf_size doesn't decrease over time.
|
|
|
|
|
|
|
|
| |
* Make method (more) consistent with current code stlye
* Move index into loop constructor after @rubenwardy's suggestion
* Cache inv_s->getList(s.listname), which removes a possibly bad scenario
of inv_s being null.
* Properly check for validity
|
|
|
|
|
|
|
| |
Adds list-rings, a method to implement item sending between inventories via shift-click.
Nice insider feature: a ring consisting of a single inventory list serves as nice clean-up method.
Also adds them to minimal game, and the standard inventory.
Craft output slots are not supported.
|
| |
|
|
|
|
| |
Decorations: Remove lower limit of water level for placement
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
While utf8_to_wide works well, wide_to_utf8 is quite broken
on android, for some reason.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
According to doc, dofile() raises an error when parsing failed due to syntax errors.
Fixes #2775
|
|
|
|
| |
Treegen: Remove alias checks from jungletree generation for speed
|
| |
|
|
|
|
|
| |
If you run minetest with valgrind, you'll quickly notice uninitialized jump
depend error messages that point to s_base.cpp:131. This commit fixes those.
|
| |
|
|
|
|
|
|
|
| |
Spare direct multoplication, use constant MapBlock::nodecount instead of
local nodecount variables.
Also use strides at one place instead of multiplications.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ObjectRef:
get_properties
get_armor_groups
get_animation
get_attach
get_bone_position
Players:
get_physics_override
hud_get_hotbar_itemcount
hud_get_hotbar_image
hud_get_hotbar_selected_image
get_sky
get_day_night_ratio
get_local_animation
get_eye_offset
Global:
minetest.get_gen_notify
minetest.get_noiseparams
|
|
|
|
|
| |
Parent commit broke behaviour.
Thanks @TeTpaAka for testing the fix.
|
| |
|
|
|
|
| |
0.5 persistence for humidity
|
|
|
|
|
|
| |
Use v arrows except where there is only one line between two boxes,
and other improvements
(Yea could use ↓ but its an ASCII art not an Unicode art).
|
| |
|
|
|
|
| |
-192 for mgv5 deep oceans. Improve code
|
|
|
|
| |
Also fix a startup error caused by s_security.cpp
|
|
|
|
| |
Thanks to @UltimateNate for pointing this out :)
|
|
|
|
|
| |
This allows newer versions to add additional information that isn't
read by us, but still in a backwards compatible manner.
|
|
|
|
|
|
| |
Also, clean up surrounding code style
Replace by-value parameter passing with const refs when possible
Fix post-increment of iterators
|
| |
|
|
|
|
| |
libstdc++ doesn't include <cstring> inside of <string>, unlike libc++.
|
| |
|
|
|
|
|
| |
Its a possible mistake to log in to a server with twice the same name.
Before, it triggered a server wide error message, now it logs to actionstream.
|
|
|
|
|
| |
Work around irrlicht bug and hide nametag if its alpha is set to 0.
Thanks @TeTpaAka for pointing out workaround.
|
|
|
|
|
|
|
|
| |
Commit 11a96e4901ce54c4646e47866f7a66cd9034c16b
commented out version parsing, resulting in the version byte being parsed as part of the color,
making nametags dark grey.
Re-introduces version parsing and ignores the packet if the version is more recent than ours,
fixing the unused variable warning (should have been done anyway).
|
|
|
|
| |
NodeDefManager
|
|
|
|
|
| |
This improves performance of MapBlock::raiseModified by a factor of 6.
Also, clean up mapblock.h a bit and inline small functions.
|
|
|
|
|
|
| |
This adds the ability to grab 'slices' of noise calculated by PerlinNoiseMap.
Retrieving smaller slices of noise from the computation result as needed
optimizes memory usage while maintaining a reasonable amount of CPU overhead.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
warnings
|