Stephan Richter
f7c895620a
bugfixes
2021-04-01 19:09:22 +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
483ebec39e
bugfixes
2021-03-18 23:35:22 +01:00
Stephan Richter
e90724b35e
Merge branch 'state-machine'
2021-03-18 18:57:57 +01:00
Stephan Richter
937e061892
Routenplaner scheint nun endlich sauber zu funktionieren.
...
Es müssen natürlich wieder einige Dinge nachimplementiert werden.
2021-03-18 18:56:38 +01:00
Stephan Richter
5e50259d24
Implementierung des neuen Routen-Algorithmus weitgehend abgeschlossen.
...
Was noch fehlt ist der Brems-Prozessor; außerdem muss der neue Code getestet werden.
2021-03-17 23:58:38 +01:00
Stephan Richter
3c53bd192f
bugfixes
2021-03-14 19:45:17 +01:00
Stephan Richter
9c86955d8d
- implemented load callback
...
- added waitTime field to context, wait time now determined in route.start
2021-03-14 19:12:17 +01:00
Stephan Richter
d86b6dcbcc
implemented handling of stuck trains during route search
2021-03-14 16:15:14 +01:00
Stephan Richter
c4e57d2b8a
re-implemented trace update code
2021-03-14 15:07:30 +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
9939d8d630
resetting route planner
2021-03-13 13:19:49 +01:00
Stephan Richter
181933674d
fixed import
2021-03-12 19:48:46 +01:00
Stephan Richter
6bf7882f3b
improved error messages
2021-03-12 16:04:08 +01:00
Stephan Richter
2556ea7cd9
implemented correct behaviour of Train.stopNow
2021-03-12 14:07:05 +01:00
Stephan Richter
c6aa5e45da
working on new autopilot code
2021-03-12 12:49:19 +01:00
Stephan Richter
830c1863ad
started re-implementing route reservation
2021-03-12 12:49:19 +01:00
Stephan Richter
966c5340ba
started reimplementation of route manager
2021-03-12 12:49:19 +01:00
Stephan Richter
4cade0a12e
removed route managing code: preparing to re-implement
2021-03-12 12:49:19 +01:00
Stephan Richter
c549f7364d
moved Thrads to separate package
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
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
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
80553efb29
fixed tracing bug and brake-time bug
2021-02-16 09:16:54 +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
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
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
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
00e5fc9058
implemented RouteEndBlock condition
2021-01-08 15:45:32 +01:00
Stephan Richter
d3c3051605
implemented small delay between setting signal to go and start of train. various GUI improvements
2021-01-02 13:56:17 +01:00
Stephan Richter
0b3ae425c0
bugfixes:
...
- now initializing signals before setting aspects
- fixed css for HL2
2021-01-01 18:18:37 +01:00
Stephan Richter
e50bc039cd
implemented signal functions
2020-12-31 19:07:24 +01:00
Stephan Richter
cfe1b90962
GUI improvements, bugfixes
2020-12-30 00:36:12 +01:00
Stephan Richter
0dda9f16e0
threads now pooled
2020-12-29 19:32:28 +01:00
Stephan Richter
817bcc9989
bugfix
2020-12-27 20:20:10 +01:00
Stephan Richter
1694eafc6c
GUI improvements
2020-12-25 19:20:24 +01:00