1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-18 07:40:22 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
Bartosz
dd71dcbcf6 boats: Improve physics by implementing drag and friction forces
Implement drag force according to the equation:
drag_force = drag_coefficient * speed ^2
Also add a small constant force to implement friction force.
2019-10-24 03:47:28 +01:00
sfan5
49cc4c7c63 Add loot to dungeons (#1921) 2017-10-27 13:34:41 +02:00
Ekdohibs
e2b3ab768a Fix .luacheckrc (missing Settings class) 2017-04-11 16:53:38 +02:00
Auke Kok
0850314d74 luacheck 0.19.0 complains about unpack(). 2017-03-11 18:38:56 -08:00
Diego Martínez
496521f4a1 Fix some warnings.
Also fixes the failing travis checks.
2017-03-05 09:27:53 +00:00
paramat
09a229b412 Update 'nodeupdate()' to 'check_for_falling()' API 2016-11-22 05:55:36 +00:00
tenplus1
6fdfd2554c Tnt: Various optimisations
Pass nodename to tnt.burn function where possible to reduce
use of 'get_node'.
Change 'ipairs' to 'pairs'.
Use 'nodeupdate_single(pos)' instead of 'nodeupdate(pos)' to
avoid every node triggering recursion, the loop itself takes
the place of recursion and works upwards through horizontal
planes as required.
2016-10-10 03:16:41 +01:00
Tim
b408e9cce6 Let Travis-CI automatically run luacheck on the game 2016-08-09 03:47:11 +01:00