Safe Haskell | None |
---|---|
Language | Haskell2010 |
Abstract syntax of human player commands.
Synopsis
- data CmdCategory
- categoryDescription :: CmdCategory -> Text
- data CmdArea
- areaDescription :: CmdArea -> Text
- type CmdTriple = ([CmdCategory], Text, HumanCmd)
- data AimModeCmd = AimModeCmd {}
- data HumanCmd
- = Macro [String]
- | ByArea [(CmdArea, HumanCmd)]
- | ByAimMode AimModeCmd
- | ComposeIfLocal HumanCmd HumanCmd
- | ComposeUnlessError HumanCmd HumanCmd
- | Compose2ndLocal HumanCmd HumanCmd
- | LoopOnNothing HumanCmd
- | ExecuteIfClear HumanCmd
- | Wait
- | Wait10
- | Yell
- | MoveDir Vector
- | RunDir Vector
- | RunOnceAhead
- | MoveOnceToXhair
- | RunOnceToXhair
- | ContinueToXhair
- | MoveItem [CStore] CStore (Maybe Text) Bool
- | Project
- | Apply
- | AlterDir
- | AlterWithPointer
- | CloseDir
- | Help
- | Hint
- | ItemMenu
- | MainMenu
- | MainMenuAutoOn
- | MainMenuAutoOff
- | Dashboard
- | GameTutorialToggle
- | GameDifficultyIncr
- | GameFishToggle
- | GameGoodsToggle
- | GameWolfToggle
- | GameKeeperToggle
- | GameScenarioIncr
- | GameRestart
- | GameQuit
- | GameDrop
- | GameExit
- | GameSave
- | Doctrine
- | Automate
- | AutomateToggle
- | AutomateBack
- | ChooseItem ItemDialogMode
- | ChooseItemMenu ItemDialogMode
- | ChooseItemProject [TriggerItem]
- | ChooseItemApply [TriggerItem]
- | PickLeader Int
- | PickLeaderWithPointer
- | MemberCycle Direction
- | MemberCycleLevel Direction
- | SelectActor
- | SelectNone
- | SelectWithPointer
- | Repeat Int
- | RepeatLast Int
- | Record
- | AllHistory
- | LastHistory
- | MarkVision
- | MarkSmell
- | MarkSuspect
- | MarkAnim
- | OverrideTut
- | SettingsMenu
- | ChallengeMenu
- | PrintScreen
- | Cancel
- | Accept
- | DetailCycle
- | ClearTargetIfItemClear
- | ItemClear
- | MoveXhair Vector Int
- | AimTgt
- | AimFloor
- | AimEnemy
- | AimItem
- | AimAscend Int
- | EpsIncr Direction
- | XhairUnknown
- | XhairItem
- | XhairStair Bool
- | XhairPointerFloor
- | XhairPointerMute
- | XhairPointerEnemy
- | AimPointerFloor
- | AimPointerEnemy
- data TriggerItem = TriggerItem {}
Documentation
data CmdCategory Source #
CmdMainMenu | |
CmdDashboard | |
CmdItemMenu | |
CmdMove | |
CmdItem | |
CmdAim | |
CmdMeta | |
CmdMouse | |
CmdInternal | |
CmdDebug | |
CmdMinimal |
Instances
Symbolic representation of areas of the screen used to define the meaning of mouse button presses relative to where the mouse points to.
CaMessage | |
CaMapLeader | |
CaMapParty | |
CaMap | |
CaLevelNumber | |
CaArenaName | |
CaPercentSeen | |
CaXhairDesc | |
CaSelected | |
CaCalmGauge | |
CaCalmValue | |
CaHPGauge | |
CaHPValue | |
CaLeaderDesc |
Instances
areaDescription :: CmdArea -> Text Source #
type CmdTriple = ([CmdCategory], Text, HumanCmd) Source #
This triple of command categories, description and the command term itself defines the meaning of a human command as entered via a keypress, mouse click or chosen from a menu.
data AimModeCmd Source #
Instances
Abstract syntax of human player commands.
Instances
data TriggerItem Source #
Description of how item manipulation is triggered and communicated to the player.