Commit Graph

4236 Commits (master)

Author SHA1 Message Date
Ciaran Gultnieks 09d86db9a3 Fix get_all_craft_recipes documentation error 2015-05-11 12:45:10 +01:00
Ciaran Gultnieks 7d8079885d Rework/cleanup of Selat's rewritten pathfinder 2015-01-21 15:41:38 +00:00
Ciaran Gultnieks 36d0152f6c Revert "Pathfinder rewrite - minetest PR #1151 squashed"
This reverts commit 0af0a711f410b436b893ac9573abced8d746bc89.
2015-01-21 15:40:40 +00:00
Ciaran Gultnieks 99f17c9047 Fix incorrect distant player positions when attached
When a player is attached to an object (e.g. riding a cart, animal,
vehicle) and that object goes out of range, the player's position
gets messed up. With this change, if a player is attached to an
object, that object always sends its position to clients (if unlimited
range for players is set).
2015-01-21 15:39:14 +00:00
Ciaran Gultnieks 538d575391 Disable unnecessary logging 2015-01-21 15:39:13 +00:00
Ciaran Gultnieks d01eaae9fc Ensure registered items have groups 2015-01-21 15:39:13 +00:00
Ciaran Gultnieks a09d9000f8 Fix collision detection bug
This is probably marginally faster, but the main point is that it
detected spurious collisions (e.g. colliding with a node completely
above the moving collision box, when moving along the X axis)
2015-01-21 15:39:07 +00:00
Ciaran Gultnieks 68545f6672 Add from_speed_yaw to vector helpers 2015-01-21 15:38:45 +00:00
Ciaran Gultnieks 638028dea3 Add to_yaw to vector helpers 2015-01-21 15:37:50 +00:00
Ciaran Gultnieks 8ed79cbb5e Add on_deactivate callback for lua entities 2015-01-21 15:32:31 +00:00
Ciaran Gultnieks 4ad0f13370 Document source of strange player model offsetting 2015-01-21 15:30:23 +00:00
Ciaran Gultnieks 5e41e91f93 Profile time spent in ABMs per node type 2015-01-21 15:30:23 +00:00
Ciaran Gultnieks 59135e2b13 Some extra profiling 2015-01-21 15:30:23 +00:00
Selat b0abdfe01a Pathfinder rewrite - minetest PR #1151 squashed
Remove lots of annoying code and comments.

Write algorithm + some optimization.

Add some files.

Fix some bugs. Remove debug info.

Conflicts since original:
	builtin/chatcommands.lua
	src/script/lua_api/l_env.h
2015-01-21 15:30:12 +00:00
Ciaran Gultnieks 4a7b6cc2f0 Add an interpolate function to the vector helpers
Conflicts since original:
	builtin/common/vector.lua
2015-01-21 15:28:09 +00:00
Ciaran Gultnieks b3078d3b23 Allow lua entities access to collision results 2015-01-21 15:26:44 +00:00
Ciaran Gultnieks ab4ec081de Make form dropdown notify server on change
Conflicts since original:
	src/guiFormSpecMenu.cpp
2015-01-21 15:25:11 +00:00
Ciaran Gultnieks 58460726b5 Add support for autonomous lua entities
Autonomous entities remain active at all times, keeping a radius of
blocks around them active in the same way a player does (although with a
different and configurable radius to that used for players).

A lua entity can set itself into autonomous mode via the api, and should
switch it off again when it no longer needs it.

Autonomous capability is completely disabled by default and can only be
enabled by a setting in minetest.conf.

Conflicts since original:
	minetest.conf.example
	src/defaultsettings.cpp
2015-01-21 15:25:11 +00:00
Craig Robbins a28055f8fd Allow filter and mipmap drop down menues to be translated 2015-01-21 22:33:19 +10:00
Markus Koschany a6dd619938 Improve desktop file 2015-01-20 20:49:05 +01:00
est31 5bcfe7ea6a Update german translation 2015-01-21 00:50:50 +10:00
TriBlade9 db481e7232 Added ratio argument to colorize, removed the weird alpha-based ratio. 2015-01-20 22:56:20 +10:00
Markus Koschany 60d745126f Fix hyphen used as minus sign 2015-01-20 22:47:45 +10:00
ngosang d4786d8d5d Update Spanish language
I am a native speaker. I have corrected all the mistakes I've found.

Update Spanish language
2015-01-20 22:41:46 +10:00
paramat 9b89f7aad7 Mapgen V5: Various improvements
Caves check for biome nodes, only excavate stone under water level
Unease caves noises, use MT0.3 parameters
Blobgen after cavegen
Biomegen: remove 'is replaceable content' bool
2015-01-18 23:38:15 -05:00
kwolekr 38bd9e93a2 Fix all warnings and remove -Wno-unused-but-set cflag 2015-01-18 23:29:19 -05:00
kwolekr e36681101e Add SemiDebug (-O1 with debug symbols) build mode and do not optimize Debug at all
Add -Wall to Debug modes for all compilers and -Wabi for non-MSVC
Use /Ox for MSVC Release mode (potentially higher optimization than /O2)
2015-01-18 22:30:11 -05:00
kwolekr 976d0b2caa Reorganize supported video driver query mechanisms 2015-01-18 13:24:25 -05:00
kwolekr 44e4f5ab6e Revert "Fix style on settings tab"
This reverts commit 7b17b9059e.
2015-01-18 13:19:40 -05:00
kwolekr 6e9f287844 Revert "Fix bug in debug build"
This reverts commit 839c4a99cd.
2015-01-18 13:19:28 -05:00
Craig Robbins 839c4a99cd Fix bug in debug build
-O1 results in executables that are completely useless for actuall debugging
2015-01-19 00:26:59 +10:00
jeanpatrick.guerrero@gmail.com 7b17b9059e Fix style on settings tab 2015-01-18 23:40:18 +10:00
Kahrl e80a044818 Fix use of uninit data in Sky and (potentially) GUIChatConsole constructors
Clean up nearby code a bit

As a small side effect, it is now possible to add a background texture
to the chat console by simply providing background_chat.jpg, it is no
longer necessary to also add "console_color =" to minetest.conf.
2015-01-18 13:16:01 +01:00
Craig Robbins 29514918f8 Fix particles causing unitialised data being used due to use of incorrect union member 2015-01-18 20:30:57 +10:00
gregorycu db3466dbe8 Water fixes
Change must_reflow to a deque
Add overload for MapBlock::raiseModified that takes a const char*. This is a speed improvement.
Comment out unused variable
Optimisations to block offset calculations
2015-01-18 20:30:33 +10:00
Craig Robbins 805c8e51e5 Create empty default constructor for MapNode 2015-01-18 13:39:50 +10:00
paramat 2f0a8f1c3e Mgv7: Replace small pseudorandom caves with 3D noise tunnels. Fewer large caves 2015-01-17 21:57:48 -05:00
sapier a39c136e69 Fix NodeMetadataList loosing memory on deserialize due to invalid clear map call instead of clear 2015-01-17 19:14:36 +01:00
gregorycu 2959d6b3da Fix entitiy WieldMeshSceneNode not freed due to additional grab 2015-01-17 19:13:08 +01:00
Craig Robbins 5481e38d0b Make minor style change(unescape_string()) 2015-01-16 21:05:44 +10:00
Loic Blot e5b636712c Fix missing return in Database_Dummy::deleteBlock 2015-01-16 21:00:11 +10:00
Loic Blot 46821f1156 Optimize bumpmapping mathematics
OpenGL_vertex:
* bufferize a duplicate calcul
* Factorize vertexes
2015-01-16 20:54:04 +10:00
Craig Robbins 5e58a95491 Fix potential out-of-bounds array index 2015-01-16 14:35:57 +10:00
kwolekr 5aeeb219e3 Simplify deleteblocks chat command argument parsing
Add optional core.pos_to_string decimal place rounding
Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
2015-01-15 18:05:13 -05:00
kwolekr 9736548720 Add ability to delete MapBlocks from map
Also add a Lua API and chatcommand for this
2015-01-15 16:48:56 -05:00
kwolekr 0330cec7ec Initialize noise ptr on creation (fixes crash if OreVein deleted before use) 2015-01-15 16:23:04 -05:00
ShadowNinja 77e20a0c21 Fix unescape_string removing all backslashes 2015-01-15 16:16:41 -05:00
Diego Martínez c9669e90bb Fix typo in `serialize.lua`. 2015-01-15 16:16:41 -05:00
sapier 9f52149a11 Android, build: Update curl to 7.40.00 2015-01-15 21:51:54 +01:00
kilbith eb6b6ff333 Add missing return value for filter/mipmap dropdown in mainmenu 2015-01-15 20:26:05 +01:00