uniba-swt / swtbahn-cli

A client-server command line interface for the SWTbahn.
GNU General Public License v3.0
7 stars 3 forks source link

Add sectional interlocker source file for use in Game on SWTbahn-full #83

Closed BLuedtke closed 1 year ago

BLuedtke commented 1 year ago

Adds the source file for a sectional interlocker in server/src/interlockers called "sectional-swtbahn-full.bahn".

This sectional interlocker is a refactored version of an already tested (on swtbahn-full) interlocker implementing sectional route release. After refactoring, I tested that it still compiles as expected, but have not re-tested it with the model railway. If requested, I can do so before we merge this PR.

It works only for swtbahn-full, as it requires information that is currently not available via the platform config files. It is intended primarily for use in the "game", at least for now - but is not limited to it.

eyip002 commented 1 year ago

Rename to simple_sectional.bahn