| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
distance-based approach or minetest.is_block_active() if available
See also https://github.com/minetest/minetest/pull/10897
|
| |
|
|
|
|
|
|
|
| |
I chose to make three-way turnouts have 5 conns (last one is not used) so
that they can be distinguished from crossings easily without refactoring the
code. Three-ways should have their last entry with {["3"]=0} instead as a sort
of internal mark.
|
| |
|
| |
|
|
|
|
| |
For signal, need to think of a callback system for signals and moving atlatc queue to core?
|
|
|
|
|
| |
This shall replace all "pos_to_string" hashes in the long term. Performs a bit better than pos_to_string (but still worse than the "nested tables" layout the nodedb uses
(an unmatched open parenthesis leaves a tension that will stay all day... 2 do even more
|
|
|
|
| |
Now, only the signal aspect setting is still missing
|
|
|
|
| |
Does not get saved yet.
|
| |
|
|
|
|
| |
lookup functions
|
|
|
|
| |
system
|
|
|
|
|
|
|
|
| |
wagons
The occupation system as it is now will change. For each position, I will save the index in the train's path,
and implement a callback system. I need this because the occupation window system will not be enough to cover all use cases
(e.g. to make a train stop with it's center or back at a certain position, I need 3 different brake distances, which doesn't fit into the scheme)
|
|
|
|
| |
There's something wrong with the new paths, next time build a path validity checker to trace the issue
|
|
|
|
| |
Still outstanding: trains
|
|
|
|
| |
The changes to the path system have not yet been integrated...
|
| |
|
|
|
|
|
|
|
|
|
| |
...to support an arbitrary number of connections for rails, which leads to these new features:
- switches now get recognized by the trackworker correctly
- ability to add real rail crosses
During this, I also rewrote the rail registering system and the conway function (important part of path prediction)
Note, developers: the track preset format changed, you might need to rewrite them according to the presets in tracks.lua if you wrote your own
(possibly breaks advcarts)
|
|
|
|
|
|
|
| |
nnpref
This finally fixes the need to rotate atc rails and bumpers.
Also prefers rotation that is closer to the player's look dir (placed bumpers will face the player)
|
|
|
|
| |
those) by custom atround() function
|
|\ |
|
|/ |
|
| |
|
|
|
|
| |
wagons
|
|
|