teknomunk
|
b410c6e658
|
Remove debug minetest.log()
|
2024-11-13 20:48:58 -06:00 |
teknomunk
|
9a55986c8f
|
Increase off-rail friction, make off-rail carts shake, remove debug print
|
2024-11-12 06:22:23 -06:00 |
teknomunk
|
1ec732d646
|
Address review comments
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
eda99be60e
|
Change cart punching to impulse on velocity instead of acceleration, make punch impulse larger
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
a94a9e9bc2
|
Fix syntax error from rebase, fix cart tilt, change cart speed to 4 blocks/second and make into a setting, make minecart settings compatibily with upcoming dynamic rules PR (#4662)
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
9c8db2b995
|
Fix crash when train cars leave track
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
db1f504f2e
|
Add in working curved variants of special rails
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
80699b405c
|
Make powered rails always accelerate moving carts
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
66936c7f07
|
Fix detector rail strangeness, prevent crash
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
2295b88e12
|
Use correct vectors for look directions east/west
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
99500513c5
|
Remove debug code
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
937884083f
|
Fix minecart entity rotation
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
bd07311f08
|
Fix crash
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
5fc28cb614
|
Make straight rails with a free end bend towards newly placed rail and form corners
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
73eee3e344
|
Finish restricting 45 degree movement code to horizontal plane
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
5b1b75b0fc
|
Fix vertical movement that was hitting 45 degree curve code, reset pitch on minecarts
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
1f83937de9
|
Fix friction on slopes, fix cart reversal when timestep is very small or zero
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
c394864546
|
Allow functions for _rail_acceleration, make powered rail only accelerate carts when one side of the rail is a solid block or stairs
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
3ede8b4b7c
|
Remove instance of debug logging, change movement.lua function export
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
b5892419c5
|
Fix crash with minecart on activator rail
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
6cdd72c485
|
Fix cart pitch when detached
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
8622ee771f
|
Fix right-clicking nodes while holding rail
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
29a619555d
|
Add back shift+punch to immediately drop minecart
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
2abb7b8f35
|
Fix another crash, fix rail tee on texture
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
57bce03a33
|
Calculate acceleration of trains based on average of acceleration for all carts in the train, make velocity not change on slopes and 45 degree track
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
53e94e1c38
|
Prevent trains from slowing on 45 degree track
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
a9e1c5ad19
|
Silence debug prints and logging
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
8780c8fca6
|
Prevent removal of old minecarts
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
11ce4ad18f
|
Add legacy node conversion to vl_legacy and update rails.lua to use it
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
f9136730ad
|
Make activated tnt minecarts glow in the dark, fix crash with lit tnt minecarts
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
89a0bd6e39
|
Fix a couple of crashes (TNT minecart trying to update orientation after exploding, trying to punch/push a minecart not on track)
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
6142c89dd2
|
Add profiling code to force_get_node()
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
78ab49e971
|
Address additional review comments
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
7b8705acad
|
Update API documentation to always use , add compatibility shim to mcl_minecarts.is_rail() and mcl_minecarts.ge_rail_direction()
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
2f4cbfca2d
|
Correct documentation per review
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
cf4d6257ae
|
Switch over to using vl_legacy for item conversion in player inventories
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
246d681880
|
Register rail conversions
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
4303697e51
|
Fix crashes
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
7d0345b785
|
Make old rails have a drawtype, make update lbm always run
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
1cec9d6436
|
Move the various rails to their own files, code cleanup
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
68bda2840a
|
Remove undefined global for optional environmental physics
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
4056f5b0e2
|
Remove Emerge-0 warning that occurs when placing mineshafts
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
d2ac38dba7
|
Restore 45 degree cart movement, remove warning about unknown global
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
be3bcbb426
|
Complete rework of curve/tee rail direction functions
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
d12896c162
|
Rework rail_dir_curve to significantly reduce code size
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
bb0f0747ae
|
Convert curved rails direction code to use fourdir
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
644393c856
|
Change verticle offset for testing reattaching to rail to 0.55, which is a bit more than the stair step height
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
0f364016ee
|
Fix cart detaching without unregistering from everything
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
407133bdd3
|
Fix typo, set use_texture_alpha = clip for all rail
|
2024-11-12 00:59:50 +01:00 |
teknomunk
|
133184c329
|
Fix several undefined global warnings, fix cart movement when over maximum speed, fix cart reattachment to sloped track
|
2024-11-12 00:59:50 +01:00 |