Commit Graph

224 Commits

Author SHA1 Message Date
Stephan Richter
d383ae4dc8 bugfixes 2021-04-11 20:10:11 +02:00
Stephan Richter
cac97b01d3 ui improvements 2021-04-10 18:19:04 +02:00
Stephan Richter
77166acf91 - added else branch to conditional actions
- implemented history for any object extending BaseClass (i.e. almost any)
- added distance() calculation method to base class
- Button "edit JSON" in Action Lists now hidden by default, can be enabled in plan properties

- fixed bugs:
    - updating json of DisplayText was not working properly
    - log output in Tile.isFreeFor was broken
2021-04-09 18:55:20 +02:00
Stephan Richter
559e095e33 improved client-side message display 2021-04-07 09:12:12 +02:00
Stephan Richter
fa87201ef8 bugfixes 2021-04-04 18:53:53 +02:00
Stephan Richter
69d33e60c1 implemented maintenance tasks 2021-04-04 17:42:55 +02:00
Stephan Richter
6f529887f1 bugfixes 2021-04-04 12:56:37 +02:00
Stephan Richter
744fb3eb32 minor improvements 2021-04-01 22:05:37 +02:00
Stephan Richter
db9fed1642 overhauled route search algorithm:
now using breadth-first search instead of depth-first search
2021-04-01 13:10:45 +02:00
Stephan Richter
0dde9693d1 minor bugfixes + more debug logging 2021-03-29 20:09:15 +02:00
Stephan Richter
da2ad054ed bugfixes 2021-03-21 05:42:30 +01:00
Stephan Richter
9172b60329 simplified log config using new ThreadFilter 2021-03-18 23:33:04 +01:00
Stephan Richter
9b9c65542c bugfixes 2021-03-18 00:57:10 +01:00
Stephan Richter
de19b8594a logback aktualisiert 2021-03-18 00:00:02 +01:00
Stephan Richter
2647b4c43d Started clean re-implementation of
- reserving route
- preparing route
- locking route

New implementation now properly handles stop event from user.

Next things to implement:

- tracing train upon contact activation, taking care of:
    - causing contact
    - train's last position
    - route
    - plan.freeBehindTrain
- finish event, keeping brake processor in mind
2021-03-13 20:15:51 +01:00
Stephan Richter
5b2bf1ddc0 improved javascript 2021-03-13 13:12:37 +01:00
Stephan Richter
8a9aada83e tunin BrakeProcessor 2021-03-12 17:19:42 +01:00
Stephan Richter
6bf7882f3b improved error messages 2021-03-12 16:04:08 +01:00
Stephan Richter
830c1863ad started re-implementing route reservation 2021-03-12 12:49:19 +01:00
Stephan Richter
dc378b107b backported bugfixes from state-machine branch 2021-03-12 12:48:58 +01:00
Stephan Richter
103dd89168 improved gui 2021-02-28 13:59:54 +01:00
Stephan Richter
b951b948e5 updated thread handling:
- threads are no longer pooled (this makes naming threads difficult)
- threads are now named by their causing event, which improves logging

updated calls to thread.sleep: those are now provided by new class Delayed Execution
2021-02-28 13:03:21 +01:00
Stephan Richter
cabab80b5c added opßtion to simplify all route names in one step 2021-02-23 00:57:04 +01:00
Stephan Richter
a43c11d3bc now remembering last clicked tabs 2021-02-19 22:26:35 +01:00
Stephan Richter
54961c1f14 various minor improvements 2021-02-19 19:54:44 +01:00
Stephan Richter
c3242cddcb vroious improvements 2021-02-12 18:04:28 +01:00
Stephan Richter
853ae2a0c1 code optimization 2021-02-11 16:30:34 +01:00
Stephan Richter
b41ae2b314 new feature on clicking tiles: actions of tile now skipped, when shift is pressed during click 2021-02-10 18:59:31 +01:00
Stephan Richter
8ffbbf1109 added switch tile and corresponding condition 2021-02-10 13:22:56 +01:00
Stephan Richter
a55265c6db implemented loco programming 2021-01-26 00:53:13 +01:00
Stephan Richter
5375a7a007 improved cockpit: active functions now have colored buttons 2021-01-18 00:31:59 +01:00
Stephan Richter
8f52c79798 implemented manual coupling/decoupling of trains 2021-01-17 18:28:11 +01:00
Stephan Richter
e00e6f8124 added CoupleTrain action,
improved Destination functions,
fixed bug in AddRemoveTag,
improved CarOrientation functions
2021-01-16 19:33:59 +01:00
Stephan Richter
0e6069a5a1 implemented AddDestination action and evaluation of destination tags of trains. 2021-01-16 04:05:06 +01:00
Stephan Richter
bf234e19bb EngageDecoupler now using new assignment function 2021-01-16 01:24:45 +01:00
Stephan Richter
fc95444fd8 WaitForContact now using new assignment function 2021-01-16 01:20:19 +01:00
Stephan Richter
901577dec6 BlockFree now using new assignment function 2021-01-16 01:13:08 +01:00
Stephan Richter
4c973dd309 preparing more general assignment function 2021-01-16 00:49:06 +01:00
Stephan Richter
bac9892fd0 implemented splitting of trains and parking in blocks 2021-01-15 18:15:56 +01:00
Stephan Richter
22dfd0512a implemented shunting trains 2021-01-15 18:15:14 +01:00
Stephan Richter
246d6c4e9f altered train registry:
Until now, trains were registered on Trains.trains map.
From now on, trains are managed by BaseClass.
2021-01-15 15:21:50 +01:00
Stephan Richter
494eeddf59 improved translations 2021-01-15 14:23:49 +01:00
Stephan Richter
14b7a69d03 added new action DisableEnableBlock 2021-01-15 13:41:32 +01:00
Stephan Richter
c825268b5f added WaitForContact action 2021-01-15 10:50:44 +01:00
Stephan Richter
703820b38f bugfixes 2021-01-15 10:50:08 +01:00
Stephan Richter
0902017bba added decouple and EngageDecoupler action 2021-01-15 10:48:32 +01:00
Stephan Richter
f8a9c86a0e bugfix 2021-01-15 10:36:24 +01:00
Stephan Richter
3cd72cffb6 bugfixes + added new condition TrainWasInBlock 2021-01-12 00:53:30 +01:00
Stephan Richter
4213cc207f bugfixes 2021-01-08 16:21:26 +01:00
Stephan Richter
00e5fc9058 implemented RouteEndBlock condition 2021-01-08 15:45:32 +01:00