Commit Graph

4743 Commits

Author SHA1 Message Date
kwolekr cd1d625ab2 Replace PRNG assertions with PrngException 2015-04-27 01:24:37 -04:00
Tomas Brod 732eb72a0c 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 068d561a3c Update .gitignore 2015-04-26 15:40:19 -04:00
est31 27e3a353d8 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 4f851faa91 Craftdef refactor
Fix style, refactor assert, use '"' instead of "\"",
replace code duplicating craftGetItemName, rename iterators.
2015-04-26 21:28:40 +02:00
kwolekr 7220ca906d 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
Maksim Gamarnik 24d943bfa9 Merge pull request #2 from MultiCraftProject/multicraft-dev
Multicraft dev
2015-04-26 20:52:52 +03:00
fishyWET 45a77c8bf1 Update chinese translation
fixed some mistakes and added in some new translations
2015-04-27 01:17:10 +10:00
OttoLidenbrock 8cf938c928 Change project name and version (not android yet)
Update package Vendor and Email and version number
Change version to 1.0.1

Partially change project name

Changed android version code to 1
2015-04-27 00:54:48 +10:00
Aaron Suen 1fb3d1156c Fix fast leaves with texture_clean_transparent enabled. 2015-04-26 23:39:40 +10:00
Kevin Ott 400c6087b6 Fix player pitch and yaw not being set properly 2015-04-26 23:36:05 +10:00
Muhammad Rifqi Priyo Susanto 1c7c349264 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
OttoLidenbrock 8cca19f6e1 Added lua function to get project name
Usage: minetest.get_project_name()
E.g. if (minetest.get_project_name() == "Minetest") then
2015-04-26 16:46:08 +10:00
OttoLidenbrock 600ad94abe Added left click to place block on android 2015-04-26 16:46:08 +10:00
OttoLidenbrock 1cd0fe8546 Fix non-android build 2015-04-26 16:46:08 +10:00
OttoLidenbrock 90a3a06974 Move android movement controls to left hand side and make space for 4 more 2015-04-26 16:46:08 +10:00
OttoLidenbrock 603715c987 Remove help info and debug info from pause menu 2015-04-26 16:46:08 +10:00
OttoLidenbrock e54da61f40 Fix noclip button (touchscreen) removal patch 2015-04-26 16:46:08 +10:00
Craig Robbins 443dbd8413 Fix extern decl. of touchgui_button_imagenames 2015-04-26 16:46:08 +10:00
Craig Robbins 6f1c5d20db Disable noclip button for Android 2015-04-26 16:46:08 +10:00
est31 00579d6305 German translation: shorter setting name 2015-04-26 16:46:08 +10:00
nerzhul 387a196626 Remove unused variable Client::m_active_blocks 2015-04-26 16:46:08 +10:00
paramat d78f995868 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-26 16:46:07 +10:00
est31 271677f7af 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-26 16:46:07 +10:00
nerzhul b6a8fdb965 Re-apply 972d17baea81ffe6d508b291ef97207a4822e1da...
but not rename the container. Approved-By est31
2015-04-26 16:46:07 +10:00
est31 e3764410d3 German translation: shorter setting name 2015-04-24 20:25:33 +02:00
nerzhul ab04b7fe94 Remove unused variable Client::m_active_blocks 2015-04-24 15:41:45 +02:00
4aiman abca1d9c91 'New' menu 2015-04-23 22:55:42 +03:00
paramat ac6efa2539 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 ccc09abc2d 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 eec01bc2fa Re-apply 972d17baea81ffe6d508b291ef97207a4822e1da...
but not rename the container. Approved-By est31
2015-04-22 11:47:22 +02:00
SmallJoker 17a173f474 Fix crash on startup (Windows) 2015-04-22 13:48:10 +10:00
ShadowNinja 3be9787e64 Only lowercase project name at compile time 2015-04-21 20:51:16 -04:00
kwolekr e0eec201a1 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 972d17baea.
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 972d17baea 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 436cb468e9 Add minetest.global_exists() 2015-04-21 22:58:37 +02:00
kwolekr 943c6e523e 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 c197e03922 Fix sign-compare compiler warnings in mg_ore.cpp 2015-04-20 22:57:30 -04:00
ShadowNinja d36067fda5 Fix mod store rating 2015-04-20 22:48:14 -04:00
kwolekr 46a2c1f167 Ore: Add biomes parameter 2015-04-20 20:25:33 -04:00
kwolekr a443a13a9d Fix build on OS X (Thanks neoascetic) 2015-04-20 01:35:41 -04:00
kwolekr 3d4244cc75 Add 'persistence' alias for Lua noiseparams and validate more vector parameters 2015-04-19 21:42:40 -04:00
kwolekr 687d969c9c Noise: Correct noise objects created with invalid dimensions 2015-04-19 21:39:10 -04:00
kwolekr 386d695330 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 f1a41e4f77 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 a615da6b12 Biome API: Add biome-specific river water 2015-04-19 06:09:57 +01:00
obneq 0c792db05c fix infinite spawners 2015-04-18 20:14:34 +02:00
kwolekr e0889c6c03 Schematics: Fix core.schematic_create() 2015-04-17 18:39:37 -04:00
SmallJoker 5f0b36b8b7 10s timeout when connecting to server 2015-04-17 10:40:48 +02:00
est31 d4d561fbcd Fix build since: "Remove referenced schematics from Decorations on clear"
Fixes build, which has been broken for all platforms (except BSD?) since
grandparent 406d9ba87b.
Thanks to @SmallJoker for pointing out a solution.
2015-04-17 10:30:59 +02:00