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).
paramat [Sun, 24 May 2015 00:37:50 +0000 (01:37 +0100)]
Biome API, mgv7: Increase heat/humidity spreads. Improve mgv7 noise parameters
paramat [Thu, 21 May 2015 02:20:41 +0000 (03:20 +0100)]
Mgv5/v7: Fix generateBiomes biome recalculation logic Biomegen down to y = -192 for mgv5 deep oceans. Improve code
SmallJoker [Fri, 22 May 2015 16:26:18 +0000 (18:26 +0200)]
Fix Windows build, clean up included headers
Also fix a startup error caused by s_security.cpp
est31 [Fri, 22 May 2015 18:22:55 +0000 (20:22 +0200)]
Deny empty username early in the protocol
Thanks to @UltimateNate for pointing this out :)
est31 [Thu, 21 May 2015 16:58:39 +0000 (18:58 +0200)]
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.
est31 [Wed, 20 May 2015 17:58:27 +0000 (19:58 +0200)]
Fix documentation for texture override face selector behaviour
kwolekr [Tue, 19 May 2015 06:24:14 +0000 (02:24 -0400)]
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
rubenwardy [Mon, 30 Mar 2015 10:55:29 +0000 (11:55 +0100)]
Add texture overriding
kwolekr [Tue, 19 May 2015 06:38:48 +0000 (02:38 -0400)]
Fix build with libstdc++
libstdc++ doesn't include <cstring> inside of <string>, unlike libc++.
kwolekr [Tue, 19 May 2015 02:30:25 +0000 (22:30 -0400)]
Split ObjDef/ObjDefManager out to objdef.cpp
est31 [Mon, 18 May 2015 22:55:58 +0000 (00:55 +0200)]
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.
est31 [Mon, 18 May 2015 20:41:22 +0000 (22:41 +0200)]
Enforce hiding nametag
Work around irrlicht bug and hide nametag if its alpha is set to 0.
Thanks @TeTpaAka for pointing out workaround.
est31 [Mon, 18 May 2015 19:24:57 +0000 (21:24 +0200)]
Add more swp files to gitignore
Specifically, the added rule matches .kate-swp files.
est31 [Mon, 18 May 2015 19:01:57 +0000 (21:01 +0200)]
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).
kwolekr [Mon, 18 May 2015 02:32:35 +0000 (22:32 -0400)]
Fix null dereference when loading schematic from definition without a NodeDefManager
kwolekr [Mon, 18 May 2015 02:14:26 +0000 (22:14 -0400)]
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.
kwolekr [Sun, 17 May 2015 07:38:39 +0000 (03:38 -0400)]
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.
paramat [Tue, 12 May 2015 23:33:41 +0000 (00:33 +0100)]
Mapgen v5/v7: Detect sandstone, enable sandstone brick dungeons
kwolekr [Sun, 17 May 2015 04:07:45 +0000 (00:07 -0400)]
Add optional buffer param for bulk data array writes in Lua
kwolekr [Sun, 17 May 2015 04:04:51 +0000 (00:04 -0400)]
Noise: Fix interpolation at negative coordinates
ShadowNinja [Sat, 16 May 2015 23:09:53 +0000 (19:09 -0400)]
Fix current mod name change missed during rebase
kwolekr [Sat, 16 May 2015 23:59:53 +0000 (19:59 -0400)]
Add -Wsign-compare for Clang builds and fix some signed/unsigned compiler warnings
kwolekr [Sat, 16 May 2015 16:26:57 +0000 (12:26 -0400)]
SAPI: Accept either ARGB8 table or ColorString to specify colors
ShadowNinja [Mon, 4 May 2015 18:59:13 +0000 (14:59 -0400)]
Add core.get_dir_list
ShadowNinja [Wed, 10 Sep 2014 01:52:07 +0000 (21:52 -0400)]
Add core.request_insecure_environment()
ShadowNinja [Tue, 9 Sep 2014 19:17:01 +0000 (15:17 -0400)]
Add core.mkdir
ShadowNinja [Sat, 6 Sep 2014 00:08:51 +0000 (20:08 -0400)]
Add mod security
Due to compatibility concerns, this is temporarily disabled.
LeMagnesium [Sat, 16 May 2015 12:54:53 +0000 (14:54 +0200)]
Added hour:minute format to time command
* The time command now accepts parameters in the form <hour>:<minute>,
and if invoked with no parameters returns the current time in said format.
est31 [Sat, 16 May 2015 20:14:15 +0000 (22:14 +0200)]
Fix build since last commit
Also rename method to better match what it does.
est31 [Fri, 15 May 2015 23:19:43 +0000 (01:19 +0200)]
Finalize init packets and enable protocol v25
This enables srp.
TeTpaAka [Fri, 15 May 2015 20:16:39 +0000 (22:16 +0200)]
Add push_ARGB8 to script/common/c_converter
TeTpaAka [Fri, 15 May 2015 19:46:56 +0000 (21:46 +0200)]
Generalize core.get/set_nametag_color into core.get/set_nametag_attributes
kwolekr [Fri, 15 May 2015 17:21:23 +0000 (13:21 -0400)]
Noise: Make buffer size parameters unsigned
kwolekr [Fri, 15 May 2015 17:20:12 +0000 (13:20 -0400)]
Schematics: Fix probability values for .mts version 1
Brandon [Sat, 17 May 2014 04:47:12 +0000 (23:47 -0500)]
Add minetest.register_on_punchplayer
TeTpaAka [Thu, 14 May 2015 13:54:54 +0000 (15:54 +0200)]
Add get and set functions for the nametag color
Craig Robbins [Fri, 15 May 2015 03:20:53 +0000 (13:20 +1000)]
ANDROID: Do not limit situations where fast is enabled
Before this commit autofast for Android was ignored if the user was sneaking, digging or building. There is no reason for this and it impedes movement control
est31 [Fri, 15 May 2015 03:02:19 +0000 (05:02 +0200)]
Fix libgmp for Android
Android terminated immediately after start since commit
181f7baa453c58d4070de7196fd74663110946a8
because library wasn't loaded, and libminetest.so required
libgmp.so.10 instead of libgmp.so.
The second issue has been solved by the linker flags.
tenplus1 [Thu, 14 May 2015 10:35:24 +0000 (11:35 +0100)]
Don't crash if an item gets dropped into unloaded space
Items dropped into unloaded map space will crash game so here's a fix...
est31 [Thu, 14 May 2015 22:03:19 +0000 (00:03 +0200)]
Item entity merging refactor
Don't ident too much, and add a comment.
est31 [Tue, 12 May 2015 22:04:30 +0000 (00:04 +0200)]
Fix compiler warning about sign comparison
SmallJoker [Tue, 12 May 2015 18:38:56 +0000 (20:38 +0200)]
Build and link gmp correctly on MSVC
Also optimize json's library
Novatux [Tue, 12 May 2015 09:19:52 +0000 (11:19 +0200)]
Add code to support raillike group names
est31 [Tue, 12 May 2015 03:49:14 +0000 (05:49 +0200)]
is_player() is no player-only function
paramat [Tue, 12 May 2015 01:20:18 +0000 (02:20 +0100)]
Mapgen v5/6/7: Cleanup node resolver and aliases
est31 [Sun, 12 Apr 2015 02:49:13 +0000 (04:49 +0200)]
Make early protocol auth mechanism generic, and add SRP
Adds everything needed for SRP (and everything works too),
but still deactivated, as protocol v25 init packets aren't final yet.
Can be activated by changing the LATEST_PROTOCOL_VERSION header to 25
inside networkprotocol.h.
est31 [Sun, 12 Apr 2015 04:18:48 +0000 (06:18 +0200)]
Add LibGMP
Uses system provided libgmp if found, if not it falls back to mini-gmp.
Megaf [Sat, 2 May 2015 21:06:54 +0000 (22:06 +0100)]
Replaced libjpeg dependency on apt-get, it should be libjpeg-dev instead of libjpeg8-dev.
On Debian 8...
```
Package libjpeg8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libjpeg62-turbo-dev
```
Using libjpeg-dev should make the OS select the most appropriate lib to be installed.
These are the packages available on Debian 8.
```
libjpeg-dev - Development files for the JPEG library [dummy package]
libjpeg-turbo-progs - Programs for manipulating JPEG files
libjpeg-turbo-progs-dbg - Programs for manipulating JPEG files (debugging symbols)
libjpeg62-turbo - libjpeg-turbo JPEG runtime library
libjpeg62-turbo-dbg - Debugging symbols for the libjpeg-turbo JPEG library
libjpeg62-turbo-dev - Development files for the libjpeg-turbo JPEG library
libturbojpeg1 - TurboJPEG runtime library - SIMD optimized
libturbojpeg1-dbg - TurboJPEG runtime library - SIMD optimized (debugging symbols)
libturbojpeg1-dev - Development files for the TurboJPEG library
```
This seems to work on all current Debian versions, Wheezy, Jessie and Sid.
https://packages.debian.org/wheezy/libjpeg-dev
https://packages.debian.org/jessie/libjpeg-dev
https://packages.debian.org/stretch/libjpeg-dev
Im not sure if Ubuntu has this dummy package.
http://packages.ubuntu.com/search?keywords=libjpeg-dev
Perhaps this should be further discussed.
libjpeg8-dev -> libjpeg-dev
Craig Robbins [Sun, 10 May 2015 16:03:09 +0000 (02:03 +1000)]
Change lower limit of display_gamma to 1.0 (linear light)
Now matches function comment
kwolekr [Sat, 9 May 2015 05:38:20 +0000 (01:38 -0400)]
Schematics: Add per-node force placement option
kwolekr [Sat, 9 May 2015 03:30:56 +0000 (23:30 -0400)]
Fix typo in WieldMesh::setItem()
kwolekr [Fri, 8 May 2015 17:31:03 +0000 (13:31 -0400)]
Ensure that Map::findNodesWithMetadata() reports nodes strictly within the node-granular area
kwolekr [Fri, 8 May 2015 17:26:01 +0000 (13:26 -0400)]
Replace Wieldmesh::setItem assertion that could be triggered by the server with an error
est31 [Fri, 8 May 2015 05:23:06 +0000 (07:23 +0200)]
Fix release build warning
kwolekr [Fri, 8 May 2015 05:21:23 +0000 (01:21 -0400)]
Fix compilation for non-client builds, and fix signed comparison warning
kwolekr [Fri, 8 May 2015 04:05:08 +0000 (00:05 -0400)]
Tests: Add schematic unittests
Improve schematic file-saving interface
Add ability to create temporary test files
est31 [Fri, 8 May 2015 04:51:03 +0000 (06:51 +0200)]
Gracefully handle PacketErrors
kwolekr [Fri, 8 May 2015 04:03:41 +0000 (00:03 -0400)]
Fix missing Y component assignment in check_v3f
paramat [Thu, 7 May 2015 23:53:12 +0000 (00:53 +0100)]
Conf.example: Update recommended maximum cloud radius to 26
Kevin Ott [Thu, 7 May 2015 06:50:22 +0000 (02:50 -0400)]
Remove duplicate lua_getfield() in c_converter.cpp
Fixes #2678
kwolekr [Thu, 7 May 2015 06:54:30 +0000 (02:54 -0400)]
Schematics: Add indent-with-space option for schematic Lua table serialization
kwolekr [Thu, 7 May 2015 06:34:15 +0000 (02:34 -0400)]
NodeResolver: Remove NodeResolveMethod
This simplifies NodeResolver logic and makes some interfaces cleaner.
ShadowNinja [Wed, 6 May 2015 19:41:37 +0000 (15:41 -0400)]
Fix connection speed unit names
ShadowNinja [Wed, 6 May 2015 19:33:36 +0000 (15:33 -0400)]
Fix error messages for type-checking Lua reading functions
ShadowNinja [Wed, 6 May 2015 19:04:14 +0000 (15:04 -0400)]
Improve Redis error messages
kwolekr [Wed, 6 May 2015 00:40:18 +0000 (20:40 -0400)]
Fix build on Debian broken by
b45df9d (missing include, somehow?)
kwolekr [Tue, 5 May 2015 20:52:06 +0000 (16:52 -0400)]
NodeDefManager: Improve const-correctness of interfaces
- Add ability to explicitly reset NodeResolve state (useful for unittesting)
- Remove non-essential NodeResolve methods modifying state from INodeDefManager
- Add const qualifier to NodeDefManager and ContentFeatures serialize
kwolekr [Tue, 5 May 2015 18:30:46 +0000 (14:30 -0400)]
Add core.find_nodes_with_meta() script API
kwolekr [Tue, 5 May 2015 15:36:40 +0000 (11:36 -0400)]
Tests: Add NodeResolver unittests
Minor misc. NodeResolver cleanups
Prefix faux content type constants for testing with t_ to avoid
confusion or name collisions
ShadowNinja [Mon, 4 May 2015 22:46:49 +0000 (18:46 -0400)]
Make Git version detection use VERSION_STRING instead of tags
This fixes the problem where 0.4.12-dev versions were erroneously shown as
0.4.11-dev because the tag was added on a separate branch. It also fixes a
similar issue when builders didn't fetch new tags when updating.
This also removes the number-of-commits-since-tag field, since it's
incompatible with this. Said field doesn't seem to be useful anyway if you
have the commit hash.
ShadowNinja [Mon, 4 May 2015 23:59:36 +0000 (19:59 -0400)]
Fix GCC compiler warning
Jay Arndt [Mon, 4 May 2015 09:53:41 +0000 (04:53 -0500)]
Stop NetworkPacket methods from producing bloated packets
Mahmut Elmas [Sun, 22 Mar 2015 22:20:05 +0000 (00:20 +0200)]
Update Turkish Language
Added some new translations
Fixed some overlenght lines
est31 [Mon, 4 May 2015 20:50:04 +0000 (22:50 +0200)]
Cache enable_3d_clouds flag
Small improvement on clouds rendering performance
paramat [Mon, 4 May 2015 17:53:58 +0000 (18:53 +0100)]
Clouds: Make cloud area radius settable in .conf
Kevin Ott [Mon, 4 May 2015 02:32:29 +0000 (22:32 -0400)]
Add a check for animation when getting an extruded mesh
Fixes issue #2667