paramat [Wed, 8 Jul 2015 19:01:29 +0000 (20:01 +0100)]
Biome API decorations: 'spawnby' searches a 3D neighbourhood
The neighbours checked are the 8 nodes horizontally surrounding the decoration base
and the 8 nodes horizontally surrounding the ground node below the decoration
RealBadAngel [Wed, 8 Jul 2015 09:20:07 +0000 (11:20 +0200)]
Add new leaves style - simple (glasslike drawtype)
est31 [Tue, 7 Jul 2015 03:55:07 +0000 (05:55 +0200)]
Use UTF-8 instead of narrow
Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places.
Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit.
kwolekr [Wed, 8 Jul 2015 04:45:24 +0000 (00:45 -0400)]
Clean-up Minimap code
- Fixed race conditions
- Fixed null dereference
- Fixed out-of-bounds array access
- MinimapMapblock is now allocated and added to update queue only when enabled
- Removed dependency on LocalPlayer
- Fixed code style
- Simplified expressions and program logic
- Cleaned minimap object interfaces
paramat [Sat, 4 Jul 2015 23:56:31 +0000 (00:56 +0100)]
Mgv7: Auto-set lowest mountain generation level
Lowest level of base terrain determines mountain generation in mapchunk
Change some positional function arguments from int to s16
est31 [Sun, 5 Jul 2015 19:05:07 +0000 (21:05 +0200)]
Client: better m_proto_ver initialisation
Previously, m_proto_ver was set to the serialisation version
inside the legacy init packet.
Now, if the server doesn't send a protocol version (protocols < 25),
we set m_proto_ver to some value < 25 and > 0.
ShadowNinja [Sat, 4 Jul 2015 22:53:38 +0000 (00:53 +0200)]
Use minetest logging facilities for irrlicht log output
paramat [Fri, 3 Jul 2015 21:47:31 +0000 (22:47 +0100)]
Mgv7: Lower base of mountain generation to -112 and define constant
est31 [Sat, 4 Jul 2015 17:43:46 +0000 (19:43 +0200)]
Fix endless loop since grandparent commit
jeanpatrick.guerrero@gmail.com [Sat, 4 Jul 2015 13:08:32 +0000 (15:08 +0200)]
Fix attempt to start a world when no world is selected/created
est31 [Sat, 4 Jul 2015 14:21:37 +0000 (16:21 +0200)]
Craftdef: Use numbers instead of iterators
Use numbers instead of iterators to traverse various vectors.
TeTpaAka [Sat, 4 Jul 2015 09:28:09 +0000 (11:28 +0200)]
Fix missing check for 0 in craft replacements
kwolekr [Fri, 3 Jul 2015 03:14:30 +0000 (23:14 -0400)]
Fix code style from recent commits and add misc. optimizations
Sokomine [Thu, 2 Jul 2015 14:26:09 +0000 (16:26 +0200)]
Set server_announce to world.mt and respect modes when changing subgame
RealBadAngel [Thu, 2 Jul 2015 19:36:45 +0000 (21:36 +0200)]
Shaders fixes and cleanup relief mapping code.
Sokomine [Wed, 1 Jul 2015 16:56:27 +0000 (18:56 +0200)]
Fix world.mt not written when selecting mode
est31 [Wed, 1 Jul 2015 15:03:02 +0000 (17:03 +0200)]
Inventory manager style cleanup and further checks
est31 [Wed, 1 Jul 2015 11:49:48 +0000 (13:49 +0200)]
Disable mesh cache by default
paramat [Tue, 30 Jun 2015 13:31:54 +0000 (14:31 +0100)]
Cavegen: Cleanup code. Define constant for MGV7_LAVA_DEPTH
est31 [Wed, 1 Jul 2015 02:12:55 +0000 (04:12 +0200)]
Add android tools environment to gitignore
Previously, if you did `make envpaths` (as described in README.android), the new file got listed by git as new file.
est31 [Tue, 30 Jun 2015 19:34:23 +0000 (21:34 +0200)]
Make m_blocks_cache private
@RealBadAngel has removed all outside access of the cache.
est31 [Tue, 30 Jun 2015 19:14:28 +0000 (21:14 +0200)]
Defer minimap update when shape changed
est31 [Tue, 30 Jun 2015 19:04:06 +0000 (21:04 +0200)]
Close keybind settings menu with esc
est31 [Tue, 30 Jun 2015 17:58:06 +0000 (19:58 +0200)]
Fix single click world select
jeanpatrick.guerrero@gmail.com [Mon, 29 Jun 2015 13:41:05 +0000 (15:41 +0200)]
Fix bugs in mainmenu
paramat [Tue, 30 Jun 2015 05:32:52 +0000 (06:32 +0100)]
Biome API: Increase heat and humidity noise spreads to 1000
est31 [Mon, 29 Jun 2015 09:06:03 +0000 (11:06 +0200)]
Add UpdateThread and use it for minimap and mesh threads
kwolekr [Mon, 29 Jun 2015 06:39:22 +0000 (02:39 -0400)]
Fix *BSD build with GNU iconv
rubenwardy [Mon, 2 Mar 2015 18:26:20 +0000 (18:26 +0000)]
Add Lua errors to error dialog
RealBadAngel [Sun, 28 Jun 2015 19:11:54 +0000 (21:11 +0200)]
Bugfix: variable type mismatch
RealBadAngel [Sun, 28 Jun 2015 12:45:47 +0000 (14:45 +0200)]
Bugfix: minimap was updated only with loading new blocks, allow forced updates with changing player pos
RealBadAngel [Sun, 28 Jun 2015 10:17:36 +0000 (12:17 +0200)]
Minimap update
est31 [Sat, 27 Jun 2015 16:11:24 +0000 (18:11 +0200)]
Remove busy polling inside minimap thread
paramat [Thu, 25 Jun 2015 22:55:01 +0000 (23:55 +0100)]
Mgv5/mgv7 caves: Remove sand found in underground tunnels
Add missing check for max_stone_y to mgv5 cavegen
Tunnels now carve through sand below water_level
RealBadAngel [Mon, 22 Jun 2015 02:34:56 +0000 (04:34 +0200)]
Add minimap feature
est31 [Thu, 25 Jun 2015 13:50:31 +0000 (15:50 +0200)]
Remove compile warning
Thanks @TeTpaAka for pointing this out.
est31 [Wed, 24 Jun 2015 20:45:52 +0000 (22:45 +0200)]
Return to ignore
rubenwardy [Sun, 30 Nov 2014 12:52:20 +0000 (12:52 +0000)]
Use frame instead of words 'no screenshot available'
Loic Blot [Tue, 23 Jun 2015 21:17:47 +0000 (23:17 +0200)]
Typo fix on previous @est31 commit
est31 [Tue, 23 Jun 2015 19:14:48 +0000 (21:14 +0200)]
Small TOCLIENT_HELLO logging fix
Fix grammar error and missing number conversion for version.
Also add deployed protocol to log line.
est31 [Sat, 20 Jun 2015 10:55:48 +0000 (12:55 +0200)]
Add MoveSomewhere inventory action
Improve shift+click experience
Craig Davison [Tue, 23 Jun 2015 14:46:35 +0000 (15:46 +0100)]
Use actionstream instead of errorstream when failing to emerge player
est31 [Tue, 23 Jun 2015 13:04:14 +0000 (15:04 +0200)]
Fix string conversion error message
TeTpaAka [Tue, 2 Jun 2015 18:30:04 +0000 (20:30 +0200)]
Fix bug when craft input isn't replaced
Zheyu Shen [Sat, 20 Jun 2015 12:02:38 +0000 (20:02 +0800)]
Update Chinese translation
MirceaKitsune [Sat, 21 Feb 2015 21:38:53 +0000 (23:38 +0200)]
Fix some issues with animations, and allow non-looped animations to be defined
paramat [Mon, 15 Jun 2015 04:30:44 +0000 (05:30 +0100)]
Mgv7: Edit noise parameters. Fewer octaves, larger spreads.
RealBadAngel [Sat, 20 Jun 2015 22:11:09 +0000 (00:11 +0200)]
Remove textures vertical offset. Fix for area enabling parallax.
est31 [Sat, 20 Jun 2015 05:39:28 +0000 (07:39 +0200)]
Android: use loop inside makefile to spare repetition
est31 [Sat, 20 Jun 2015 04:58:07 +0000 (06:58 +0200)]
Small CAO improvements
-> remove the old parent as @kahrl suggested
-> use indices no iterator as @kwolekr suggested
paramat [Thu, 18 Jun 2015 23:17:03 +0000 (00:17 +0100)]
Mapgen objects: Enable heatmap and humidmap for all biome api mapgens
figec [Fri, 19 Jun 2015 16:04:11 +0000 (19:04 +0300)]
More correct wrap_rows implementation
est31 [Sat, 20 Jun 2015 01:20:06 +0000 (03:20 +0200)]
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
est31 [Fri, 19 Jun 2015 22:30:38 +0000 (00:30 +0200)]
Make attached objects visible in 3rd person view
figec [Thu, 18 Jun 2015 18:34:17 +0000 (21:34 +0300)]
Fix wrap_rows at inner byte of multibyte sequence
Also fix UTF-8 inner byte bounds and make unittest for case this fixes.
paramat [Wed, 3 Jun 2015 07:59:07 +0000 (08:59 +0100)]
Biome API: Add noise defined biome blend
paramat [Thu, 18 Jun 2015 01:55:52 +0000 (02:55 +0100)]
Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain
est31 [Thu, 18 Jun 2015 02:25:11 +0000 (04:25 +0200)]
Don't print an error for valid listring[] formspec
est31 [Wed, 17 Jun 2015 20:10:22 +0000 (22:10 +0200)]
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.
est31 [Wed, 17 Jun 2015 17:00:31 +0000 (19:00 +0200)]
Fail iconv call gracefully
No freezing when inbuf_size doesn't decrease over time.
ShadowNinja [Tue, 16 Jun 2015 19:00:19 +0000 (21:00 +0200)]
Simpler patch for saplings trying to grow on unknown nodes
est31 [Tue, 16 Jun 2015 18:33:07 +0000 (20:33 +0200)]
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
est31 [Tue, 16 Jun 2015 05:32:01 +0000 (07:32 +0200)]
Update credits tab
est31 [Tue, 16 Jun 2015 08:48:54 +0000 (10:48 +0200)]
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.
Nathaniel Olsen [Tue, 16 Jun 2015 02:10:06 +0000 (21:10 -0500)]
Remove unneccessary space for tab completion
Wuzzy [Sun, 14 Jun 2015 23:26:02 +0000 (01:26 +0200)]
Don't highlight entries in credits
y.st [Mon, 15 Jun 2015 05:51:40 +0000 (22:51 -0700)]
Don't crash when saplings try to grow on unknown nodes
paramat [Sat, 13 Jun 2015 00:26:56 +0000 (01:26 +0100)]
Biome API: Enable biome generation to lower world limit
Decorations: Remove lower limit of water level for placement
SmallJoker [Wed, 11 Mar 2015 19:52:47 +0000 (20:52 +0100)]
Ignore punches with no damage in the actionstream
Craig Davison [Sun, 14 Jun 2015 20:28:51 +0000 (21:28 +0100)]
Remove reference to deprecated privilege
est31 [Sun, 14 Jun 2015 21:09:20 +0000 (23:09 +0200)]
Automated whitespace error fix for last commit
RealBadAngel [Sun, 14 Jun 2015 19:13:36 +0000 (21:13 +0200)]
Improved parallax mapping. Generate heightmaps on the fly.
est31 [Sun, 14 Jun 2015 10:00:06 +0000 (12:00 +0200)]
Add UTF and other utility unit tests
est31 [Sun, 14 Jun 2015 04:38:02 +0000 (06:38 +0200)]
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.
Ilya Zhuravlev [Tue, 9 Jun 2015 23:54:33 +0000 (01:54 +0200)]
Use utf-8 in formspecs
est31 [Tue, 9 Jun 2015 22:35:21 +0000 (00:35 +0200)]
Add utf-8 conversion utilities and re-add intlGUIEditBox
TeTpaAka [Sat, 30 May 2015 14:56:42 +0000 (16:56 +0200)]
Add minetest.register_on_player_hpchange
TeTpaAka [Sat, 30 May 2015 18:53:21 +0000 (20:53 +0200)]
Add return list of individual counts to find_node_in_area
est31 [Fri, 12 Jun 2015 18:00:50 +0000 (20:00 +0200)]
dofile error reporting for syntax errors
According to doc, dofile() raises an error when parsing failed due to syntax errors.
Fixes #2775
paramat [Fri, 12 Jun 2015 04:07:44 +0000 (05:07 +0100)]
Minimal: Add snow biome and jungleleaves nodes. Add mapgen aliases
Treegen: Remove alias checks from jungletree generation for speed
est31 [Thu, 11 Jun 2015 21:56:54 +0000 (23:56 +0200)]
Reposition irrlicht timestamp in makefile
HybridDog [Sat, 30 May 2015 14:18:09 +0000 (16:18 +0200)]
More reliable serverlist behaviour
-> remember the previously loaded serverlist, and use if new one failed
-> show a "loading" serverlist
paramat [Sun, 7 Jun 2015 04:36:40 +0000 (05:36 +0100)]
Minimal: Edit mapgen aliases. Use blob ore for clay, update other ores. Update simple biomes. Cleanup code
HybridDog [Wed, 3 Jun 2015 13:58:38 +0000 (15:58 +0200)]
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
paramat [Tue, 2 Jun 2015 07:38:14 +0000 (08:38 +0100)]
Mgv5/mgv7: Trigger biome recalculation at underwater surfaces
est31 [Tue, 2 Jun 2015 11:55:02 +0000 (13:55 +0200)]
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.
est31 [Tue, 2 Jun 2015 04:45:21 +0000 (06:45 +0200)]
Nicer time setting logging
Now logs
ACTION[ServerThread]: player sets time to 6:03
instead of
ACTION[ServerThread]: player sets time to 6:3
est31 [Mon, 1 Jun 2015 22:20:12 +0000 (00:20 +0200)]
Fix wrong replace from previous commit
est31 [Mon, 1 Jun 2015 16:16:07 +0000 (18:16 +0200)]
Localize inside whole misc_helpers.lua
est31 [Mon, 1 Jun 2015 14:58:57 +0000 (16:58 +0200)]
Make split method static
est31 [Sun, 31 May 2015 04:23:10 +0000 (06:23 +0200)]
Mapblock: nodecount refactor
Spare direct multoplication, use constant MapBlock::nodecount instead of
local nodecount variables.
Also use strides at one place instead of multiplications.
SmallJoker [Sat, 30 May 2015 20:24:49 +0000 (22:24 +0200)]
Only retrieve always_fly_fast setting once
Craig Robbins [Fri, 29 May 2015 12:32:13 +0000 (22:32 +1000)]
(Android) Only simulate holding down fast key if fast_move is toggled to true
kwolekr [Fri, 29 May 2015 00:04:40 +0000 (20:04 -0400)]
Make get_biome_list() error message more helpful
Kahrl [Thu, 28 May 2015 18:47:15 +0000 (20:47 +0200)]
Fix typo in variable name
TeTpaAka [Tue, 26 May 2015 12:10:08 +0000 (14:10 +0200)]
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
est31 [Wed, 27 May 2015 11:23:09 +0000 (13:23 +0200)]
Consistent const string params
Parent commit broke behaviour.
Thanks @TeTpaAka for testing the fix.
est31 [Wed, 27 May 2015 09:45:40 +0000 (11:45 +0200)]
Spare some string copies
paramat [Mon, 25 May 2015 01:12:44 +0000 (02:12 +0100)]
Mgv6: Enable snowbiomes by default. Double biome noise spread. 3 octaves, 0.5 persistence for humidity
est31 [Sun, 24 May 2015 14:33:22 +0000 (16:33 +0200)]
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).