kwolekr
6a384737fd
Noise: Make buffer size parameters unsigned
2015-05-15 16:20:30 -04:00
kwolekr
e8eaf0bb90
Schematics: Fix probability values for .mts version 1
2015-05-15 16:20:30 -04:00
Brandon
aeaeed77e7
Add minetest.register_on_punchplayer
2015-05-15 11:09:55 +02:00
TeTpaAka
888e2f9b45
Add get and set functions for the nametag color
2015-05-15 11:03:27 +02:00
Craig Robbins
aa8b173c04
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
2015-05-15 13:22:07 +10:00
est31
24ab05ab83
Fix compiler warning about sign comparison
2015-05-13 00:04:30 +02:00
SmallJoker
269335b72a
Build and link gmp correctly on MSVC
...
Also optimize json's library
2015-05-12 21:07:46 +02:00
est31
de86d6dabf
is_player() is no player-only function
2015-05-12 05:52:49 +02:00
paramat
dd3bc9f1e2
Mapgen v5/6/7: Cleanup node resolver and aliases
2015-05-12 04:40:53 +01:00
est31
4769d4fe1d
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.
2015-05-11 18:40:27 +02:00
est31
17ba159bbf
Add LibGMP
...
Uses system provided libgmp if found, if not it falls back to mini-gmp.
2015-05-11 17:48:33 +02:00
Craig Robbins
852f8de612
Change lower limit of display_gamma to 1.0 (linear light)
...
Now matches function comment
2015-05-11 02:03:09 +10:00
kwolekr
4a54c965a5
Schematics: Add per-node force placement option
2015-05-09 18:44:00 -04:00
kwolekr
efe4d5f000
Fix typo in WieldMesh::setItem()
2015-05-08 23:30:56 -04:00
kwolekr
191bfd9ba5
Ensure that Map::findNodesWithMetadata() reports nodes strictly within the node-granular area
2015-05-08 13:31:03 -04:00
kwolekr
176f0aa9ca
Replace Wieldmesh::setItem assertion that could be triggered by the server with an error
2015-05-08 13:26:31 -04:00
est31
b8137a890d
Fix release build warning
2015-05-08 07:23:41 +02:00
kwolekr
c54722d5db
Fix compilation for non-client builds, and fix signed comparison warning
2015-05-08 01:21:34 -04:00
kwolekr
9f679f6b11
Tests: Add schematic unittests
...
Improve schematic file-saving interface
Add ability to create temporary test files
2015-05-08 00:55:42 -04:00
est31
c4763b2d29
Gracefully handle PacketErrors
2015-05-08 06:51:03 +02:00
kwolekr
72b9d3aed4
Fix missing Y component assignment in check_v3f
2015-05-08 00:03:41 -04:00
Kevin Ott
c62bbe8a6b
Remove duplicate lua_getfield() in c_converter.cpp
...
Fixes #2678
2015-05-07 09:57:34 +02:00
kwolekr
097b9ead50
Schematics: Add indent-with-space option for schematic Lua table serialization
2015-05-07 02:54:35 -04:00
kwolekr
e8fb94705c
NodeResolver: Remove NodeResolveMethod
...
This simplifies NodeResolver logic and makes some interfaces cleaner.
2015-05-07 02:36:01 -04:00
ShadowNinja
30d8d57095
Fix connection speed unit names
2015-05-06 15:41:37 -04:00
ShadowNinja
51ad4fca2f
Fix error messages for type-checking Lua reading functions
2015-05-06 15:33:36 -04:00
ShadowNinja
29a0b49c1f
Improve Redis error messages
2015-05-06 15:28:22 -04:00
kwolekr
722a7c5671
Fix build on Debian broken by b45df9d (missing include, somehow?)
2015-05-05 20:40:18 -04:00
kwolekr
2766bcbb51
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
2015-05-05 16:52:06 -04:00
kwolekr
cba840d188
Add core.find_nodes_with_meta() script API
2015-05-05 16:21:59 -04:00
kwolekr
127b35ba69
Tests: Add NodeResolver unittests
...
Minor misc. NodeResolver cleanups
Prefix faux content type constants for testing with t_ to avoid
confusion or name collisions
2015-05-05 12:00:36 -04:00
ShadowNinja
c86bb37674
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.
2015-05-05 17:13:05 +02:00
ShadowNinja
8b61fc9b6f
Fix GCC compiler warning
2015-05-04 20:01:10 -04:00
Jay Arndt
eb940ea303
Stop NetworkPacket methods from producing bloated packets
2015-05-05 01:47:41 +02:00
est31
1534226230
Cache enable_3d_clouds flag
...
Small improvement on clouds rendering performance
2015-05-04 22:50:04 +02:00
paramat
18a0509055
Clouds: Make cloud area radius settable in .conf
2015-05-04 22:41:13 +02:00
Kevin Ott
fd1fd8cddf
Add a check for animation when getting an extruded mesh
...
Fixes issue #2667
2015-05-04 02:11:36 -04:00
obneq
4f5c3cd2f2
Fix pathfinder to produce more useful paths
...
- Fix unintended negation of condition
- Remove line_of_sight 'optimization'
2015-05-03 22:36:11 -04:00
kwolekr
41e897f279
Tests: Add ObjDef unittests
2015-05-03 22:19:35 -04:00
kwolekr
75cfe8651e
ObjDefManager: Set replacement object's handle info after calling set()
...
Make gamedef optional when constructing an ObjDefManager
Add note about object ownership
2015-05-03 22:19:35 -04:00
paramat
d2feb7e920
RotateAlongYAxis: For facedir case, return if param2 >= 4
2015-05-03 03:43:51 +01:00
SmallJoker
61988ce2c9
Fix several MSVC issues numeric.h
...
-> Round negative numbers correctly CMakeLists.txt
-> Link Json with the static run-time library
2015-05-01 07:34:51 +02:00
kwolekr
2eca582d90
Fix MSVC compatibility
...
Make sure to include random unittests in android builds, too
Use SWAP() macro
Ensure that negative ranges are tested as well in random unittests
2015-04-29 13:20:01 -04:00
kwolekr
4d8ba60e42
Tests: Add random unittests
2015-04-29 04:08:04 -04:00
sfan5
023fd295d5
Revert the upper-case PROJECT_NAME nonsense that was part of #2402
2015-04-27 16:24:49 +02:00
sfan5
43707c0f66
Revert "Only lowercase project name at compile time"
...
This reverts commit 3be9787e64362b8a5020746220c65abbe31f8097.
2015-04-27 16:24:49 +02:00
kwolekr
879c24f939
Noise: Fix PcgRandom::randNormalDist() when range contains negative numbers
...
This fixes an issue with erroneous float-to-int rounding that resulted in
truncation toward 0, causing a biased distribution.
2015-04-27 04:05:25 -04:00
kwolekr
eade25a4b6
Replace PRNG assertions with PrngException
2015-04-27 01:24:37 -04:00
est31
bad2dd4ab5
Remove craftdef serialisation
...
It isn't needed anymore, sending ICraftDefManager over the network has been obsoleted
by protocol version 7.
2015-04-26 21:30:52 +02:00
est31
0769bd28a6
Craftdef refactor
...
Fix style, refactor assert, use '"' instead of "\"",
replace code duplicating craftGetItemName, rename iterators.
2015-04-26 21:28:40 +02:00