| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
| |
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...
|
| |
|
|\ |
|
| |
| |
| |
| | |
See privilege_guide.txt for information
|
| | |
|
|\| |
|
| |
| |
| |
| | |
(also fix the output of /at_sync_ndb)
|
| |
| |
| | |
The check was missing at check_seat_group_access
|
| |
| |
| |
| | |
...even without the train_operator privilege
This still doesn't allow them to control switches, but whatever...
|
|/ |
|
| |
|
|
|
|
| |
It is not necessary to reload the save files, because there already is a function to invalidate train routes e.g. when turnouts are switched
|
|
|
|
|
| |
Discouple entity was falsely placed at the position of the wagon
instead of at its end
|
|
|
| |
IDK why this happens, but it's not important.
|
|
|
| |
My PR on this was merged months ago, but i've just noticed that i'm not using it yet
|
|
|
|
| |
The button wasn't visible on the screen anymore
|
|
|
|
| |
Fixes seat access properties not being saved
Reported by Och_Noe in Linuxworks Server
|
|
|
| |
Reported by @kostett, probably the cause of buggy nodedb saving
|
| |
|
|
|
|
|
|
|
|
| |
Features:
- couple/decouple trains from a driver stand
- new couple lock system (owner based, overridable by 'train_remove' privilege)
- all train operators can now change the inside/outside text, allows for multilines
Accessible via right-click menu or by pressing Sneak+Jump keys
|
|
|
|
|
| |
there's now a more strict check for the train_operator privilege
Also added custom reasons on getting on a train.
|
|
|
|
| |
(causes engine bugs with dangling sound handles)
|
| |
|
| |
|
|
|
|
|
| |
Caused problems on multiple detector rails in a row, because paths got cleared in-between a train step
Also optimize some code
|
| |
|
|
|
|
|
|
| |
off_track
The off-track warning has moved into the info text of wagons
|
|
|
|
|
|
|
|
|
| |
...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)
|
| |
|
| |
|
|
|
| |
Fixes crash on placing a new subway wagon
|
|
|
|
|
|
|
| |
- Level crossing bell
- Horns
- Subway train driving and door sounds
...to be continued...
|
|
|
|
| |
I will use this for sounds, and so it needs to be changed to a more general name
|
|
|
|
| |
... from update_trainpart_properties call
Prohibits flipping of all wagons when extent_h wasn't set
|
|
|
|
|
|
| |
... when placing tracks, such as slopes
Fixes slopes being replaced by curves.
Also, check the node below for connection (does not check rely, but that would be uneccessary)
|
|\ |
|
| |
| |
| | |
Contributed by @gpcf
|
|/ |
|
|
|
|
| |
This will be required for advcarts
|
|
|
|
|
|
|
| |
Bug was caused by the drives_on table of every train and advtrains.all_tracktypes
sharing the same reference, which caused advtrains.all_tracktypes to become the
intersection of all train drives_on's in the world.
However, this did become empty, causing nothing to work anymore.
|
|
|
|
| |
One step towards advcarts compatibility
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
For some reason, a sign text gets removed by a train when it drives by.
This should fix it.
|
|
|
| |
I think the issue is caused by the new animal damage code...
|
|
|
|
| |
Animals from mobs weren't damaged because they have the immortal group set.
Instead, we check for the existence of "fleshy".
|
|
|
|
|
|
| |
into a library mod
advtrains will keep its own node database code for reasons of crash recovery, with the handicap that improvements to nplib need to be manually backported.
|