/--------------------\
|     ATS-SN         |
| Plugin for openBVE |
\--------------------/

The plugin is free to redistribute or modify. You can find the source code in the 'source' folder.

Please note that newer versions might change in backward-incompatible ways, so save a copy of the source code if you like any particular version.



Beacons
=======

	Type		Data
	----		----

	0		SwitchSystem
	S-type transponder. Place about 600m before a signal.
	SwitchSystem is 0 to switch between ATS-SN and ATS-P, or -1 to not.

	1		SwitchSystem
	SN-type transponder. Place about 20m before a signal.
	SwitchSystem is 0 to switch between ATS-SN and ATS-P, or -1 to not.

	2		Cars
	Accidental departure transponder.
	Cars is 0 for all cars, or any other number for that amount of cars.



Readouts for atsI and pluginState[i]
====================================

	Index		Meaning			Values
	-----		-------			------
	0		lamp: SN power		0 - 1
	1		lamp: SN			0 - 1
	2		lamp: SN run		0 - 1
	..
	30		lamp: brake			0 - 1
	31		lamp: power			0 - 1
	..
	99		true				1



Sounds
======

	Index		Meaning		Type
	-----		-------		----
	0		ATS-SN chime	looping
	1		ATS-SN alarm	looping
	..
	3		EB beep		looping