5238 Commits

Author SHA1 Message Date
RealBadAngel
4287e8a34e Remove textures vertical offset. Fix for area enabling parallax. 2015-06-21 00:11:09 +02:00
est31
ef0e155635 Android: use loop inside makefile to spare repetition 2015-06-20 07:48:17 +02:00
est31
e63f773ad6 Small CAO improvements
-> remove the old parent as @kahrl suggested
-> use indices no iterator as @kwolekr suggested
2015-06-20 06:58:07 +02:00
paramat
063ca7aa52 Mapgen objects: Enable heatmap and humidmap for all biome api mapgens 2015-06-20 04:16:17 +01:00
figec
4da614fdfe More correct wrap_rows implementation 2015-06-20 03:41:51 +02:00
est31
6ddde110e2 Generic CAO cleanups and renames for clarification
* Use enum for GENERIC_CMD_*
* Rename m_attachements to attachement_parent_ids (public member and clearer name)
* Rename GENERIC_CMD_SET_ATTACHMENT to GENERIC_CMD_ATTACH_TO
* USHRT_MAX + 1 buffer sizes to prevent overflows as @kahrl suggested
* Remove unneccessary m_id from GenericCAO (shadowing protected superclass member for no reason) as @kahrl suggested
2015-06-20 03:37:30 +02:00
est31
daa69a349d Make attached objects visible in 3rd person view 2015-06-20 02:59:53 +02:00
figec
f5250b76a8 Fix wrap_rows at inner byte of multibyte sequence
Also fix UTF-8 inner byte bounds and make unittest for case this fixes.
2015-06-18 23:39:23 +02:00
paramat
d80262c640 Biome API: Add noise defined biome blend 2015-06-18 07:05:22 +01:00
paramat
5a97d77bc9 Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain 2015-06-18 04:18:15 +01:00
est31
f753728327 Don't print an error for valid listring[] formspec 2015-06-18 04:25:11 +02:00
est31
964e96bf67 Make wrap_rows not wrap inside utf-8 multibyte sequences
Also count multibyte sequences as "one" character.
Adds unittest for the bug reporter's case.
Fixes #2796.
2015-06-17 22:22:15 +02:00
est31
f83baa2f1a Fail iconv call gracefully
No freezing when inbuf_size doesn't decrease over time.
2015-06-17 19:03:58 +02:00
est31
9d1496789b GUIFormSpecMenu::OnEvent code style update and small refactor
* 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
2015-06-16 20:33:07 +02:00
est31
0b9e6bae82 Update credits tab 2015-06-16 19:34:27 +02:00
est31
571e159a1a Add list-rings
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.
2015-06-16 14:51:26 +02:00
Nathaniel Olsen
f59572bf50 Remove unneccessary space for tab completion 2015-06-16 07:16:22 +02:00
Wuzzy
5909c55a76 Don't highlight entries in credits 2015-06-15 17:43:47 +02:00
paramat
a69b079e9d Biome API: Enable biome generation to lower world limit
Decorations: Remove lower limit of water level for placement
2015-06-15 02:07:38 +01:00
SmallJoker
cd87a54248 Ignore punches with no damage in the actionstream 2015-06-15 00:10:13 +02:00
Craig Davison
e49c838c0b Remove reference to deprecated privilege 2015-06-14 23:53:30 +02:00
est31
f9eb909eb2 Automated whitespace error fix for last commit 2015-06-14 23:15:20 +02:00
RealBadAngel
a111a5fbcf Improved parallax mapping. Generate heightmaps on the fly. 2015-06-14 21:13:36 +02:00
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
est31
7ba3664b45 Reposition irrlicht timestamp in makefile 2015-06-11 23:56:54 +02:00
HybridDog
ef6a3e794f More reliable serverlist behaviour
-> remember the previously loaded serverlist, and use if new one failed
-> show a "loading" serverlist
2015-06-09 16:44:43 +02:00
HybridDog
d4f46baafa Decrease minetest.after globalstep lag
* abort if theres no active timer
* only reduce the timer.time of all timers when its necessary
* move updating timers_to_add into a seperate function
2015-06-06 21:00:38 +02: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
51c32c262f Nicer time setting logging
Now logs

ACTION[ServerThread]: player sets time to 6:03

instead of

ACTION[ServerThread]: player sets time to 6:3
2015-06-02 06:49:05 +02:00
est31
d72ea1d30e Fix wrong replace from previous commit 2015-06-02 00:20:12 +02:00
est31
8afcbc6b7e Localize inside whole misc_helpers.lua 2015-06-01 18:18:18 +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