Remove 2018-game-specific field/plc/led code.

This commit is contained in:
Patrick Fairbank
2019-07-20 21:57:29 -07:00
parent 336d64c5fd
commit 016fcc907b
19 changed files with 393 additions and 893 deletions

View File

@@ -4,9 +4,29 @@ package plc
import "strconv"
const _input_name = "fieldEstopredEstop1redEstop2redEstop3blueEstop1blueEstop2blueEstop3redConnected1redConnected2redConnected3blueConnected1blueConnected2blueConnected3scaleNearscaleFarredSwitchNearredSwitchFarblueSwitchNearblueSwitchFarredForceActivateredLevitateActivateredBoostActivateblueForceActivateblueLevitateActivateblueBoostActivateinputCount"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[fieldEstop-0]
_ = x[redEstop1-1]
_ = x[redEstop2-2]
_ = x[redEstop3-3]
_ = x[blueEstop1-4]
_ = x[blueEstop2-5]
_ = x[blueEstop3-6]
_ = x[redConnected1-7]
_ = x[redConnected2-8]
_ = x[redConnected3-9]
_ = x[blueConnected1-10]
_ = x[blueConnected2-11]
_ = x[blueConnected3-12]
_ = x[inputCount-13]
}
var _input_index = [...]uint16{0, 10, 19, 28, 37, 47, 57, 67, 80, 93, 106, 120, 134, 148, 157, 165, 178, 190, 204, 217, 233, 252, 268, 285, 305, 322, 332}
const _input_name = "fieldEstopredEstop1redEstop2redEstop3blueEstop1blueEstop2blueEstop3redConnected1redConnected2redConnected3blueConnected1blueConnected2blueConnected3inputCount"
var _input_index = [...]uint8{0, 10, 19, 28, 37, 47, 57, 67, 80, 93, 106, 120, 134, 148, 158}
func (i input) String() string {
if i < 0 || i >= input(len(_input_index)-1) {