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
est31
f3ed0c91af
Better version detection for shallow clones
2015-05-03 16:47:22 +02:00
paramat
d2feb7e920
RotateAlongYAxis: For facedir case, return if param2 >= 4
2015-05-03 03:43:51 +01:00
est31
7e3ec0c363
Add .patch files to gitignore
2015-05-01 07:42:08 +02: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
mich1
d301bbf16e
Add Russian comment translation to minetest.desktop
2015-04-27 18:14:58 +02: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
Tomas Brod
94f3a87a67
Fix minetest.clear_* creating new LOCAL table instead of clearing the existing one.
...
On calling clear_redistered_biomes the registered_biomes table is cleared
by creating a new empty table, but the pointer is not updated to point to
the new one. So after calling more register_biome, the registered_biome
table always contains 0 items, which is an error. Instead, the table is
cleared by removing all its items so the pointer (minetest.registered_*)
remains valid.
2015-04-26 15:45:58 -04:00
kwolekr
2bf4902870
Update .gitignore
2015-04-26 15:40:19 -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
kwolekr
25edaf443c
Tests: Modularize unit testing
...
Split unit tests into separate files under src/unittest/
Give better unittest diagnostics
Clean up some code
2015-04-26 15:08:54 -04:00
fishyWET
8efd5bd8f2
Update chinese translation
...
fixed some mistakes and added in some new translations
2015-04-27 01:17:10 +10:00
Aaron Suen
778cf1600a
Fix fast leaves with texture_clean_transparent enabled.
2015-04-26 23:39:40 +10:00
Kevin Ott
8597346304
Fix player pitch and yaw not being set properly
2015-04-26 23:36:05 +10:00
Muhammad Rifqi Priyo Susanto
d42badb200
Remove fly mode in simple main menu
...
As the fly mode option is avaiable in-game, this is not used anymore.
2015-04-26 23:35:32 +10:00
est31
f5313f8813
German translation: shorter setting name
2015-04-24 20:25:33 +02:00
nerzhul
2cc13d78ea
Remove unused variable Client::m_active_blocks
2015-04-24 15:41:45 +02:00
paramat
44c2cf5884
DecoSchematic: Fix missing trees in rough terrain
...
Move place_on check to before place_center_x/y/z displacement of p
Reduce displacement of p by place_center_x/y/z flags
to correctly position schematics
2015-04-23 02:44:25 +01:00
est31
7f35f8d1bf
Protocol 25: wstring -> string for custom access denial reasons
...
Also fix std::logic_error when server::DenyAccess() is used with only two arguments.
2015-04-22 14:10:39 +02:00
nerzhul
a653a59a83
Re-apply 972d17baea81ffe6d508b291ef97207a4822e1da...
...
but not rename the container. Approved-By est31
2015-04-22 11:47:22 +02:00
SmallJoker
f9558ec5c1
Fix crash on startup (Windows)
2015-04-22 13:48:10 +10:00
ShadowNinja
9813e565ca
Only lowercase project name at compile time
2015-04-21 20:51:16 -04:00
kwolekr
4cc9722bb3
Revert "m_active_object_messages is used like a queue. Use std::queue instead of std::list. Also rename to m_active_object_messages_queue"
...
This reverts commit 972d17baea81ffe6d508b291ef97207a4822e1da.
The commit being reverted was unauthorized. There had been no discussion,
review, or sign-off prior to submittal to upstream.
2015-04-21 18:12:01 -04:00
Loic Blot
e614c53869
m_active_object_messages is used like a queue. Use std::queue instead of std::list. Also rename to m_active_object_messages_queue
2015-04-21 23:28:13 +02:00
ShadowNinja
126ded5c24
Add minetest.global_exists()
2015-04-21 22:58:37 +02:00
kwolekr
7f0c03b011
Noise: Add noise unittests
...
Fix buffer size calculation for lacunarity < 1.0
Add guard against absurd noise parameters
2015-04-21 13:05:14 -04:00
ShadowNinja
5846e7d0c6
Fix sign-compare compiler warnings in mg_ore.cpp
2015-04-20 22:57:30 -04:00
ShadowNinja
2552a9f7d1
Fix mod store rating
2015-04-20 22:48:14 -04:00
kwolekr
6495b9b57b
Ore: Add biomes parameter
2015-04-20 20:25:33 -04:00
kwolekr
fcecacf363
Fix build on OS X (Thanks neoascetic)
2015-04-20 01:35:41 -04:00
kwolekr
144d1ce2a0
Add 'persistence' alias for Lua noiseparams and validate more vector parameters
2015-04-19 21:42:40 -04:00
kwolekr
fd6b4536bc
Noise: Correct noise objects created with invalid dimensions
2015-04-19 21:39:10 -04:00
kwolekr
4a976d8b3a
Porting: Refactor initalizePaths()
...
Add support for Solaris and HP-UX
Search additional potential procfs locations for current executable
2015-04-19 16:52:58 -04:00
est31
1c98ad5520
Disable connection timeout for singleplayer and server tabs
...
In worlds with many mods we can easily reach timeout, waiting for the server to start.
2015-04-19 19:58:21 +02:00
paramat
11013edeb8
Biome API: Add biome-specific river water
2015-04-19 06:09:57 +01:00
obneq
805e6244dc
fix infinite spawners
2015-04-18 20:14:34 +02:00
kwolekr
9c2f472c09
Schematics: Fix core.schematic_create()
2015-04-17 18:39:37 -04:00
SmallJoker
893399d557
10s timeout when connecting to server
2015-04-17 10:40:48 +02:00
est31
ab6a6cc1bb
Fix build since: "Remove referenced schematics from Decorations on clear"
...
Fixes build, which has been broken for all platforms (except BSD?) since
grandparent 406d9ba87b9f6e57b86c6282bf157e3341aa195c.
Thanks to @SmallJoker for pointing out a solution.
2015-04-17 10:30:59 +02:00
kwolekr
04dcd9ff2b
Switch to check_v3s16 in l_mapgen.cpp and l_vmanip.cpp for type safety
2015-04-17 01:03:13 -04:00
kwolekr
b89d87e3cb
Schematics: Remove referenced schematics from Decorations on clear
2015-04-17 00:53:05 -04:00