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 HumanCmd
- = Macro [String]
- | ByArea [(CmdArea, HumanCmd)]
- | ByAimMode { }
- | ComposeIfLocal HumanCmd HumanCmd
- | ComposeUnlessError HumanCmd HumanCmd
- | Compose2ndLocal HumanCmd HumanCmd
- | LoopOnNothing HumanCmd
- | ExecuteIfClear HumanCmd
- | Wait
- | Wait10
- | MoveDir Vector
- | RunDir Vector
- | RunOnceAhead
- | MoveOnceToXhair
- | RunOnceToXhair
- | ContinueToXhair
- | MoveItem [CStore] CStore (Maybe Part) Bool
- | Project
- | Apply
- | AlterDir [TriggerTile]
- | AlterWithPointer [TriggerTile]
- | Help
- | Hint
- | ItemMenu
- | MainMenu
- | Dashboard
- | GameDifficultyIncr
- | GameWolfToggle
- | GameFishToggle
- | GameScenarioIncr
- | GameRestart
- | GameExit
- | GameSave
- | Tactic
- | Automate
- | SortSlots
- | ChooseItem ItemDialogMode
- | ChooseItemMenu ItemDialogMode
- | ChooseItemProject [TriggerItem]
- | ChooseItemApply [TriggerItem]
- | PickLeader Int
- | PickLeaderWithPointer
- | MemberCycle
- | MemberBack
- | SelectActor
- | SelectNone
- | SelectWithPointer
- | Repeat Int
- | Record
- | History
- | MarkVision
- | MarkSmell
- | MarkSuspect
- | SettingsMenu
- | ChallengesMenu
- | PrintScreen
- | Cancel
- | Accept
- | TgtClear
- | ItemClear
- | MoveXhair Vector Int
- | AimTgt
- | AimFloor
- | AimEnemy
- | AimItem
- | AimAscend Int
- | EpsIncr Bool
- | XhairUnknown
- | XhairItem
- | XhairStair Bool
- | XhairPointerFloor
- | XhairPointerEnemy
- | AimPointerFloor
- | AimPointerEnemy
- data TriggerItem = TriggerItem {}
- data TriggerTile = TriggerTile {}
Documentation
data CmdCategory Source #
CmdMainMenu | |
CmdDashboard | |
CmdItemMenu | |
CmdMove | |
CmdItem | |
CmdAim | |
CmdMeta | |
CmdMouse | |
CmdInternal | |
CmdNoHelp | |
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 | |
CaHPGauge | |
CaTargetDesc |
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.
Abstract syntax of human player commands.
Instances
data TriggerItem Source #
Description of how item manipulation is triggered and communicated to the player.
Instances
data TriggerTile Source #
Description of how tile altering is triggered and communicated to the player.