jd

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LampAdvanceCrimeLevel           = "jd.LampAdvanceCrimeLevel"
	LampAirRaid                     = "jd.LampAirRaid"
	LampAwardBadImpersonator        = "jd.LampAwardBadImpersonator"
	LampAwardMeltdown               = "jd.LampAwardMeltdown"
	LampAwardSafeCracker            = "jd.LampAwardSafeCracker"
	LampAwardSniper                 = "jd.LampAwardSniper"
	LampAwardStakeout               = "jd.LampAwardStakeout"
	LampBadImpersonator             = "jd.LampBadImpersonator"
	LampBattleTank                  = "jd.LampBattleTank"
	LampBlackout                    = "jd.LampBlackout"
	LampBlackoutJackpot             = "jd.LampBlackoutJackpot"
	LampBuyInButton                 = "jd.LampBuyInButton"
	LampCenterTank                  = "jd.LampCenterTank"
	LampClassXFelony                = "jd.LampClassXFelony"
	LampDrainShield                 = "jd.LampDrainShield"
	LampDropTargetJ                 = "jd.LampDropTargetJ"
	LampDropTargetU                 = "jd.LampDropTargetU"
	LampDropTargetD                 = "jd.LampDropTargetD"
	LampDropTargetG                 = "jd.LampDropTargetG"
	LampDropTargetE                 = "jd.LampDropTargetE"
	LampExtraBall                   = "jd.LampExtraBall"
	LampFelony                      = "jd.LampFelony"
	LampInnerLoopCrimeSceneGreen    = "jd.LampInnerLoopCrimeSceneGreen"
	LampInnerLoopCrimeSceneRed      = "jd.LampInnerLoopCrimeSceneRed"
	LampInnerLoopCrimeSceneWhite    = "jd.LampInnerLoopCrimeSceneWhite"
	LampInnerLoopCrimeSceneYellow   = "jd.LampInnerLoopCrimeSceneYellow"
	LampJudgeAgain                  = "jd.LampJudgeAgain"
	LampLeftLoopCrimeSceneGreen     = "jd.LampLeftLoopCrimeSceneGreen"
	LampLeftLoopCrimeSceneRed       = "jd.LampLeftLoopCrimeSceneRed"
	LampLeftLoopCrimeSceneWhite     = "jd.LampLeftLoopCrimeSceneWhite"
	LampLeftLoopCrimeSceneYellow    = "jd.LampLeftLoopCrimeSceneYellow"
	LampLeftModeStart               = "jd.LampLeftModeStart"
	LampLeftTank                    = "jd.LampLeftTank"
	LampLock1                       = "jd.LampLock1"
	LampLock2                       = "jd.LampLock2"
	LampLock3                       = "jd.LampLock3"
	LampManhunt                     = "jd.LampManhunt"
	LampMeltdown                    = "jd.LampMeltdown"
	LampMisdemeanor                 = "jd.LampMisdemeanor"
	LampMultiballJackpot            = "jd.LampMultiballJackpot"
	LampMystery                     = "jd.LampMystery"
	LampPursuit                     = "jd.LampPursuit"
	LampRightLoopCrimeSceneGreen    = "jd.LampRightLoopCrimeSceneGreen"
	LampRightLoopCrimeSceneRed      = "jd.LampRightLoopCrimeSceneRed"
	LampRightLoopCrimeSceneWhite    = "jd.LampRightLoopCrimeSceneWhite"
	LampRightLoopCrimeSceneYellow   = "jd.LampRightLoopCrimeSceneYellow"
	LampRightModeStart              = "jd.LampRightModeStart"
	LampRightPopperCrimeSceneGreen  = "jd.LampRightPopperCrimeSceneGreen"
	LampRightPopperCrimeSceneRed    = "jd.LampRightPopperCrimeSceneRed"
	LampRightPopperCrimeSceneWhite  = "jd.LampRightPopperCrimeSceneWhite"
	LampRightPopperCrimeSceneYellow = "jd.LampRightPopperCrimeSceneYellow"
	LampRightRampCrimeSceneGreen    = "jd.LampRightRampCrimeSceneGreen"
	LampRightRampCrimeSceneRed      = "jd.LampRightRampCrimeSceneRed"
	LampRightRampCrimeSceneWhite    = "jd.LampRightRampCrimeSceneWhite"
	LampRightRampCrimeSceneYellow   = "jd.LampRightRampCrimeSceneYellow"
	LampRightTank                   = "jd.LampRightTank"
	LampSafeCracker                 = "jd.LampSafeCracker"
	LampSniper                      = "jd.LampSniper"
	LampStakeout                    = "jd.LampStakeout"
	LampStartButton                 = "jd.LampStartButton"
	LampSubwayCombo                 = "jd.LampSubwayCombo"
	LampSuperGameButton             = "jd.LampSuperGameButton"
	LampUltimateChallenge           = "jd.LampUltimateChallenge"
	LampWarning                     = "jd.LampWarning"
)
View Source
const (
	FlasherBlackout     = "jd.FlasherBlackout"
	FlasherCursedEarth  = "jd.FlasherCursedEarth"
	FlasherGlobe        = "jd.FlasherGlobe"
	FlasherInsert       = "jd.FlasherInsert"
	FlasherJudgeDeath   = "jd.FlasherJudgeDeath"
	FlasherJudgeFire    = "jd.FlasherJudgeFire"
	FlasherJudgeFear    = "jd.FlasherJudgeFear"
	FlasherJudgeMortis  = "jd.FlasherJudgeMortis"
	FlasherLeftPursuit  = "jd.FlasherLeftPursuit"
	FlasherRightPursuit = "jd.FlasherRightPursuit"
	FlasherRightRamp    = "jd.FlasherRightRamp"
	FlasherSubwayExit   = "jd.FlasherSubwayExit"
)
View Source
const (
	GI1 = "jd.GI1"
	GI2 = "jd.GI2"
	GI3 = "jd.GI3"
	GI4 = "jd.GI4"
	GI5 = "jd.GI5"
)
View Source
const (
	AutoSlingLeft              = "jd.AutoSlingLeft"
	AutoSlingRight             = "jd.AutoSlingRight"
	CoilDiverter               = "jd.CoilDiverter"
	CoilDropTargetReset        = "jd.CoilDropTargetReset"
	CoilDropTargetTrip         = "jd.CoilDropTargetTrip"
	CoilLeftPopper             = "jd.CoilLeftPopper"
	CoilLeftShooterLane        = "jd.CoilLeftShooterLane"
	CoilLeftSling              = "jd.CoilLeftSling"
	CoilKnocker                = "jd.CoilKnocker"
	CoilTrough                 = "jd.CoilTrough"
	CoilRightPopper            = "jd.CoilRightPopper"
	CoilRightShooterLane       = "jd.CoilRightShooterLane"
	CoilRightSling             = "jd.CoilRightSling"
	CoilFlipperLeftHold        = "jd.CoilFlipperLeftHold"
	CoilFlipperLeftPower       = "jd.CoilFlipperLeftPower"
	CoilFlipperRightHold       = "jd.CoilFlipperRightHold"
	CoilFlipperRightPower      = "jd.CoilFlipperRightPower"
	CoilFlipperUpperLeftHold   = "jd.CoilFlipperUpperLeftHold"
	CoilFlipperUpperLeftPower  = "jd.CoilFlipperUpperLeftPower"
	CoilFlipperUpperRightHold  = "jd.CoilFlipperUpperRightHold"
	CoilFlipperUpperRightPower = "jd.CoilFlipperUpperRightPower"
	FlipperLeft                = "jd.FlipperLeft"
	FlipperRight               = "jd.FlipperRight"
	FlipperUpperLeft           = "jd.FlipperUpperLeft"
	FlipperUpperRight          = "jd.FlipperUpperRight"
	MagnetGlobe                = "jd.MagnetGlobe"
	MotorGlobeArm              = "jd.MotorGlobeArm"
	MotorGlobe                 = "jd.MotorGlobe"
)
View Source
const (
	ScriptBallCollect                 = "jd.ScriptBallCollect"
	ScriptBallSearch                  = "jd.ScriptBallSearch"
	ScriptGIOn                        = "jd.ScriptGIOn"
	ScriptGIOff                       = "jd.ScriptGIOff"
	ScriptInactiveGlobe               = "jd.ScriptInactiveGlobe"
	ScriptLeftRampShot                = "jd.ScriptLeftRampShot"
	ScriptRaiseDropTargets            = "jd.ScriptRaiseDropTargets"
	ScriptRaiseDropTargetsWhenAllDown = "jd.ScriptRaiseDropTargetsWhenAllDown"
)
View Source
const (
	SwitchArmFarRight             = "jd.SwitchArmFarRight"
	SwitchBankTargets             = "jd.SwitchBankTargets"
	SwitchBuyInButton             = "jd.SwitchBuyInButton"
	SwitchCaptiveBall1            = "jd.SwitchCaptiveBall1"
	SwitchCaptiveBall2            = "jd.SwitchCaptiveBall2"
	SwitchCaptiveBall3            = "jd.SwitchCaptiveBall3"
	SwitchCenterCoinSlot          = "jd.SwitchCenterCoinSlot"
	SwitchCoinDoorOpen            = "jd.SwitchCoinDoorOpen"
	SwitchDropTargetJ             = "jd.SwitchDropTargetJ"
	SwitchDropTargetU             = "jd.SwitchDropTargetU"
	SwitchDropTargetD             = "jd.SwitchDropTargetD"
	SwitchDropTargetG             = "jd.SwitchDropTargetG"
	SwitchDropTargetE             = "jd.SwitchDropTargetE"
	SwitchEnterServiceButton      = "jd.SwitchEnterServiceButton"
	SwitchExitServiceButton       = "jd.SwitchExitServiceButton"
	SwitchGlobeExit               = "jd.SwitchGlobeExit"
	SwitchGlobePosition1          = "jd.SwitchGlobePosition1"
	SwitchGlobePosition2          = "jd.SwitchGlobePosition2"
	SwitchInnerLoop               = "jd.SwitchInnerLoop"
	SwitchInnerRightReturnLane    = "jd.SwitchInnerRightReturnLane"
	SwitchLeftCoinSlot            = "jd.SwitchLeftCoinSlot"
	SwitchLeftFireButton          = "jd.SwitchLeftFireButton"
	SwitchLeftFlipperButton       = "jd.SwitchLeftFlipperButton"
	SwitchLeftFlipperEOS          = "jd.SwitchLeftFlipperEOS"
	SwitchLeftOutlane             = "jd.SwitchLeftOutlane"
	SwitchLeftPopper              = "jd.SwitchLeftPopper"
	SwitchLeftPost                = "jd.SwitchLeftPost"
	SwitchLeftRampEnter           = "jd.SwitchLeftRampEnter"
	SwitchLeftRampExit            = "jd.SwitchLeftRampExit"
	SwitchLeftRampToLock          = "jd.SwitchLeftRampToLock"
	SwitchLeftReturnLane          = "jd.SwitchLeftReturnLane"
	SwitchLeftShooterLane         = "jd.SwitchLeftShooterLane"
	SwitchLeftSling               = "jd.SwitchLeftSling"
	SwitchMysteryTarget           = "jd.SwitchMysteryTarget"
	SwitchNextServiceButton       = "jd.SwitchNextServiceButton"
	SwitchOuterLoopLeft           = "jd.SwitchOuterLoopLeft"
	SwitchOuterLoopRight          = "jd.SwitchOuterLoopRight"
	SwitchOuterRightReturnLane    = "jd.SwitchOuterRightReturnLane"
	SwitchPreviousServiceButton   = "jd.SwitchPreviousServiceButton"
	SwitchRightCoinSlot           = "jd.SwitchRightCoinSlot"
	SwitchRightFireButton         = "jd.SwitchRightFireButton"
	SwitchRightFlipperButton      = "jd.SwitchRightFlipperButton"
	SwitchRightFlipperEOS         = "jd.SwitchRightFlipperEOS"
	SwitchRightOutlane            = "jd.SwitchRightOutlane"
	SwitchRightPopper             = "jd.SwitchRightPopper"
	SwitchRightPost               = "jd.SwitchRightPost"
	SwitchRightRampExit           = "jd.SwitchRightRampExit"
	SwitchRightShooterLane        = "jd.SwitchRightShooterLane"
	SwitchRightSling              = "jd.SwitchRightSling"
	SwitchSlamTilt                = "jd.SwitchSlamTilt"
	SwitchStartButton             = "jd.SwitchStartButton"
	SwitchSubwayEnter1            = "jd.SwitchSubwayEnter1"
	SwitchSubwayEnter2            = "jd.SwitchSubwayEnter2"
	SwitchSuperGameButton         = "jd.SwitchSuperGameButton"
	SwitchTilt                    = "jd.SwitchTilt"
	SwitchTopLeftRampExit         = "jd.SwitchTopLeftRampExit"
	SwitchTopRightRampExit        = "jd.SwitchTopRightRampExit"
	SwitchTrough1                 = "jd.SwitchTrough1"
	SwitchTrough2                 = "jd.SwitchTrough2"
	SwitchTrough3                 = "jd.SwitchTrough3"
	SwitchTrough4                 = "jd.SwitchTrough4"
	SwitchTrough5                 = "jd.SwitchTrough5"
	SwitchTrough6                 = "jd.SwitchTrough6"
	SwitchTroughJam               = "jd.SwitchTroughJam"
	SwitchUpperLeftFlipperButton  = "jd.SwitchUpperLeftFlipperButton"
	SwitchUpperLeftFlipperEOS     = "jd.SwitchUpperLeftFlipperEOS"
	SwitchUpperRightFlipperButton = "jd.SwitchUpperLeftFlipperButton"
	SwitchUpperRightFlipperEOS    = "jd.SwitchUpperRightFlipperEOS"
)
View Source
const (
	DropTargetJ = 1 << iota
	DropTargetU
	DropTargetD
	DropTargetG
	DropTargetE
)

Variables

View Source
var Config = spin.Config{
	CoilTrough: CoilTrough,

	SwitchEnterServiceButton:    SwitchEnterServiceButton,
	SwitchExitServiceButton:     SwitchExitServiceButton,
	SwitchLeftFlipperButton:     SwitchLeftFlipperButton,
	SwitchNextServiceButton:     SwitchNextServiceButton,
	SwitchPreviousServiceButton: SwitchPreviousServiceButton,
	SwitchRightFlipperButton:    SwitchRightFlipperButton,
	SwitchShooterLane:           SwitchRightShooterLane,
	SwitchStartButton:           SwitchStartButton,
	SwitchTroughJam:             SwitchTroughJam,
	SwitchDrain:                 SwitchTrough1,
	SwitchWillDrain:             []string{SwitchLeftOutlane, SwitchRightOutlane},

	LampStartButton: LampStartButton,

	GI: []string{
		GI1,
		GI2,
		GI3,
		GI4,
		GI5,
	},
	NumBalls: 6,
}
View Source
var (
	DropTargetIndexes = map[string]int{
		SwitchDropTargetJ: 0,
		SwitchDropTargetU: 1,
		SwitchDropTargetD: 2,
		SwitchDropTargetG: 3,
		SwitchDropTargetE: 4,
		LampDropTargetJ:   0,
		LampDropTargetU:   1,
		LampDropTargetD:   2,
		LampDropTargetG:   3,
		LampDropTargetE:   4,
	}
)

Functions

func Load

func Load(eng *spin.Engine)

func RegisterAuto added in v0.4.0

func RegisterAuto(eng *spin.Engine)

func RegisterCoils added in v0.3.0

func RegisterCoils(eng *spin.Engine)

func RegisterFlashers added in v0.3.0

func RegisterFlashers(eng *spin.Engine)

func RegisterKeys

func RegisterKeys(eng *spin.Engine)

func RegisterLamps added in v0.3.0

func RegisterLamps(eng *spin.Engine)

func RegisterMagnets added in v0.3.0

func RegisterMagnets(eng *spin.Engine)

func RegisterMotors added in v0.3.0

func RegisterMotors(eng *spin.Engine)

func RegisterScripts added in v0.4.0

func RegisterScripts(eng *spin.Engine)

func RegisterSwitches added in v0.3.0

func RegisterSwitches(eng *spin.Engine)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL