est31
826d0b3ab3
Add UTF and other utility unit tests
2015-06-14 12:07:51 +02:00
est31
91fb684aff
Android: bypass broken wide_to_utf8 with wide_to_narrow
...
While utf8_to_wide works well, wide_to_utf8 is quite broken
on android, for some reason.
2015-06-14 08:25:21 +02:00
Ilya Zhuravlev
415372ca13
Use utf-8 in formspecs
2015-06-13 19:49:55 +02:00
est31
a2998bba96
Add utf-8 conversion utilities and re-add intlGUIEditBox
2015-06-13 19:49:55 +02:00
TeTpaAka
14b9820f48
Add minetest.register_on_player_hpchange
2015-06-13 19:40:31 +02:00
TeTpaAka
db4fc8326e
Add return list of individual counts to find_node_in_area
2015-06-13 19:39:18 +02:00
est31
b0f86bb221
dofile error reporting for syntax errors
...
According to doc, dofile() raises an error when parsing failed due to syntax errors.
Fixes #2775
2015-06-12 20:23:31 +02:00
paramat
e2cb2d8a60
Minimal: Add snow biome and jungleleaves nodes. Add mapgen aliases
...
Treegen: Remove alias checks from jungletree generation for speed
2015-06-12 08:20:19 +01:00
paramat
4ffc5628c4
Mgv5/mgv7: Trigger biome recalculation at underwater surfaces
2015-06-03 06:37:10 +01:00
est31
057c0f538f
Fix uninitialized variable error
...
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.
2015-06-02 13:55:02 +02:00
est31
fe36c20cad
Make split method static
2015-06-01 17:04:21 +02:00
est31
6fe143f2e5
Mapblock: nodecount refactor
...
Spare direct multoplication, use constant MapBlock::nodecount instead of
local nodecount variables.
Also use strides at one place instead of multiplications.
2015-05-31 06:24:41 +02:00
SmallJoker
704d68d163
Only retrieve always_fly_fast setting once
2015-05-30 22:29:36 +02:00
Craig Robbins
b7049f2c7d
(Android) Only simulate holding down fast key if fast_move is toggled to true
2015-05-29 22:59:21 +10:00
kwolekr
3c87e26ee0
Make get_biome_list() error message more helpful
2015-05-28 20:04:50 -04:00
Kahrl
dd8360391d
Fix typo in variable name
2015-05-28 20:47:15 +02:00
TeTpaAka
4573eef202
Add some missing getter functions to the lua API
...
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
2015-05-28 16:46:35 +02:00
est31
5dca9148ab
Consistent const string params
...
Parent commit broke behaviour.
Thanks @TeTpaAka for testing the fix.
2015-05-27 13:23:09 +02:00
est31
83fbe514cf
Spare some string copies
2015-05-27 11:45:40 +02:00
paramat
76335a7dc9
Mgv6: Enable snowbiomes by default. Double biome noise spread. 3 octaves, 0.5 persistence for humidity
2015-05-26 02:08:06 +01:00
est31
82947d6263
Small clientiface ASCII art improvements
...
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).
2015-05-24 16:33:22 +02:00
paramat
4794436910
Biome API, mgv7: Increase heat/humidity spreads. Improve mgv7 noise parameters
2015-05-24 04:33:09 +01:00
paramat
fad4983a6b
Mgv5/v7: Fix generateBiomes biome recalculation logic Biomegen down to y = -192 for mgv5 deep oceans. Improve code
2015-05-23 02:18:30 +01:00
SmallJoker
33071ebfa2
Fix Windows build, clean up included headers
...
Also fix a startup error caused by s_security.cpp
2015-05-22 20:37:59 +02:00
est31
f371a3d1da
Deny empty username early in the protocol
...
Thanks to @UltimateNate for pointing this out :)
2015-05-22 20:24:39 +02:00
est31
e849948c9d
Don't ignore nametag attribute change message for newer versions
...
This allows newer versions to add additional information that isn't
read by us, but still in a backwards compatible manner.
2015-05-21 19:01:46 +02:00
kwolekr
4df33b90e5
Replace instances of std::map<std::string, std::string> with StringMap
...
Also, clean up surrounding code style
Replace by-value parameter passing with const refs when possible
Fix post-increment of iterators
2015-05-19 16:10:49 -04:00
rubenwardy
2fe20c59bb
Add texture overriding
2015-05-19 21:27:07 +02:00
kwolekr
e6b052264b
Fix build with libstdc++
...
libstdc++ doesn't include <cstring> inside of <string>, unlike libc++.
2015-05-19 02:38:48 -04:00
kwolekr
7e10e81669
Split ObjDef/ObjDefManager out to objdef.cpp
2015-05-18 22:30:25 -04:00
est31
a01b4c957b
Lower log level for unexpected behaviour
...
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.
2015-05-19 00:55:58 +02:00
est31
00189a4f35
Enforce hiding nametag
...
Work around irrlicht bug and hide nametag if its alpha is set to 0.
Thanks @TeTpaAka for pointing out workaround.
2015-05-18 23:10:48 +02:00
est31
eb68529153
Make nametags white again
...
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).
2015-05-18 21:11:41 +02:00
kwolekr
e2e354061a
Fix null dereference when loading schematic from definition without a NodeDefManager
2015-05-17 22:32:35 -04:00
kwolekr
d013e12e5a
Record MapBlock modification reasons as flags instead of strings
...
This improves performance of MapBlock::raiseModified by a factor of 6.
Also, clean up mapblock.h a bit and inline small functions.
2015-05-17 22:14:26 -04:00
kwolekr
793f960e04
SAPI/Noise: Add PerlinNoiseMap:getMapSlice() function
...
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.
2015-05-17 04:04:17 -04:00
paramat
53dda619f0
Mapgen v5/v7: Detect sandstone, enable sandstone brick dungeons
2015-05-17 06:07:39 +01:00
kwolekr
f560198cd7
Add optional buffer param for bulk data array writes in Lua
2015-05-17 00:07:45 -04:00
kwolekr
6cb6cec1ef
Noise: Fix interpolation at negative coordinates
2015-05-17 00:04:51 -04:00
ShadowNinja
c8b2e0fbdf
Fix current mod name change missed during rebase
2015-05-16 21:12:03 -04:00
kwolekr
2d843f3cae
Add -Wsign-compare for Clang builds and fix some signed/unsigned compiler warnings
2015-05-16 20:15:03 -04:00
kwolekr
5292177986
SAPI: Accept either ARGB8 table or ColorString to specify colors
2015-05-16 20:15:03 -04:00
ShadowNinja
d85feedccc
Add core.get_dir_list
2015-05-16 18:33:22 -04:00
ShadowNinja
2dd64f03da
Add core.request_insecure_environment()
2015-05-16 18:33:19 -04:00
ShadowNinja
310295c511
Add core.mkdir
2015-05-16 18:32:37 -04:00
ShadowNinja
1008aefa8c
Add mod security
...
Due to compatibility concerns, this is temporarily disabled.
2015-05-16 18:32:31 -04:00
est31
47a129350c
Fix build since last commit
...
Also rename method to better match what it does.
2015-05-16 22:14:15 +02:00
est31
223cd47b49
Finalize init packets and enable protocol v25
...
This enables srp.
2015-05-16 21:17:28 +02:00
TeTpaAka
766d3b3a57
Add push_ARGB8 to script/common/c_converter
2015-05-15 16:21:56 -04:00
TeTpaAka
676750bd57
Generalize core.get/set_nametag_color into core.get/set_nametag_attributes
2015-05-15 16:21:01 -04:00