LambdaHack-0.8.1.2: A game engine library for tactical squad ASCII roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.HumanCmd

Description

Abstract syntax of human player commands.

Synopsis

Documentation

data CmdCategory Source #

Instances
Eq CmdCategory Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Read CmdCategory Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Show CmdCategory Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Generic CmdCategory Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Associated Types

type Rep CmdCategory :: * -> * #

Binary CmdCategory Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

NFData CmdCategory Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

rnf :: CmdCategory -> () #

type Rep CmdCategory Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep CmdCategory = D1 (MetaData "CmdCategory" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.8.1.2-9Fmfvbfsr9xEInnejydwaW" False) (((C1 (MetaCons "CmdMainMenu" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CmdDashboard" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CmdItemMenu" PrefixI False) (U1 :: * -> *))) :+: (C1 (MetaCons "CmdMove" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CmdItem" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CmdAim" PrefixI False) (U1 :: * -> *)))) :+: ((C1 (MetaCons "CmdMeta" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CmdMouse" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CmdInternal" PrefixI False) (U1 :: * -> *))) :+: (C1 (MetaCons "CmdNoHelp" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CmdDebug" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CmdMinimal" PrefixI False) (U1 :: * -> *)))))

data CmdArea Source #

Symbolic representation of areas of the screen used to define the meaning of mouse button presses relative to where the mouse points to.

Instances
Eq CmdArea Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

(==) :: CmdArea -> CmdArea -> Bool #

(/=) :: CmdArea -> CmdArea -> Bool #

Ord CmdArea Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Read CmdArea Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Show CmdArea Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Generic CmdArea Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Associated Types

type Rep CmdArea :: * -> * #

Methods

from :: CmdArea -> Rep CmdArea x #

to :: Rep CmdArea x -> CmdArea #

Binary CmdArea Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

put :: CmdArea -> Put #

get :: Get CmdArea #

putList :: [CmdArea] -> Put #

NFData CmdArea Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

rnf :: CmdArea -> () #

type Rep CmdArea Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep CmdArea = D1 (MetaData "CmdArea" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.8.1.2-9Fmfvbfsr9xEInnejydwaW" False) (((C1 (MetaCons "CaMessage" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CaMapLeader" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CaMapParty" PrefixI False) (U1 :: * -> *))) :+: (C1 (MetaCons "CaMap" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CaLevelNumber" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CaArenaName" PrefixI False) (U1 :: * -> *)))) :+: ((C1 (MetaCons "CaPercentSeen" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CaXhairDesc" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CaSelected" PrefixI False) (U1 :: * -> *))) :+: (C1 (MetaCons "CaCalmGauge" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "CaHPGauge" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "CaTargetDesc" PrefixI False) (U1 :: * -> *)))))

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 HumanCmd Source #

Abstract syntax of human player commands.

Instances
Eq HumanCmd Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Ord HumanCmd Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Read HumanCmd Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Show HumanCmd Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Generic HumanCmd Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Associated Types

type Rep HumanCmd :: * -> * #

Methods

from :: HumanCmd -> Rep HumanCmd x #

to :: Rep HumanCmd x -> HumanCmd #

Binary HumanCmd Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

put :: HumanCmd -> Put #

get :: Get HumanCmd #

putList :: [HumanCmd] -> Put #

NFData HumanCmd Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

rnf :: HumanCmd -> () #

type Rep HumanCmd Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep HumanCmd = D1 (MetaData "HumanCmd" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.8.1.2-9Fmfvbfsr9xEInnejydwaW" False) ((((((C1 (MetaCons "Macro" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [String])) :+: C1 (MetaCons "ByArea" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [(CmdArea, HumanCmd)]))) :+: (C1 (MetaCons "ByAimMode" PrefixI True) (S1 (MetaSel (Just "exploration") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 HumanCmd) :*: S1 (MetaSel (Just "aiming") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 HumanCmd)) :+: C1 (MetaCons "ComposeIfLocal" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 HumanCmd) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 HumanCmd)))) :+: ((C1 (MetaCons "ComposeUnlessError" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 HumanCmd) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 HumanCmd)) :+: C1 (MetaCons "Compose2ndLocal" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 HumanCmd) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 HumanCmd))) :+: (C1 (MetaCons "LoopOnNothing" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 HumanCmd)) :+: (C1 (MetaCons "ExecuteIfClear" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 HumanCmd)) :+: C1 (MetaCons "Wait" PrefixI False) (U1 :: * -> *))))) :+: (((C1 (MetaCons "Wait10" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "MoveDir" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Vector))) :+: (C1 (MetaCons "RunDir" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Vector)) :+: C1 (MetaCons "RunOnceAhead" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "MoveOnceToXhair" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "RunOnceToXhair" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "ContinueToXhair" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "MoveItem" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [CStore]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 CStore)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Part)) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool))) :+: C1 (MetaCons "Project" PrefixI False) (U1 :: * -> *)))))) :+: ((((C1 (MetaCons "Apply" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "AlterDir" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [TriggerTile]))) :+: (C1 (MetaCons "AlterWithPointer" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [TriggerTile])) :+: C1 (MetaCons "Help" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "Hint" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "ItemMenu" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "MainMenu" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Dashboard" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "GameDifficultyIncr" PrefixI False) (U1 :: * -> *))))) :+: (((C1 (MetaCons "GameWolfToggle" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "GameFishToggle" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "GameScenarioIncr" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "GameRestart" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "GameExit" PrefixI False) (U1 :: * -> *)))) :+: ((C1 (MetaCons "GameSave" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Tactic" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Automate" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "SortSlots" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "ChooseItem" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 ItemDialogMode)))))))) :+: (((((C1 (MetaCons "ChooseItemMenu" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 ItemDialogMode)) :+: C1 (MetaCons "ChooseItemProject" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [TriggerItem]))) :+: (C1 (MetaCons "ChooseItemApply" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [TriggerItem])) :+: C1 (MetaCons "PickLeader" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int)))) :+: ((C1 (MetaCons "PickLeaderWithPointer" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "MemberCycle" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "MemberBack" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "SelectActor" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "SelectNone" PrefixI False) (U1 :: * -> *))))) :+: (((C1 (MetaCons "SelectWithPointer" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Repeat" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int))) :+: (C1 (MetaCons "Record" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "History" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "MarkVision" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "MarkSmell" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "MarkSuspect" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "SettingsMenu" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "ChallengesMenu" PrefixI False) (U1 :: * -> *)))))) :+: ((((C1 (MetaCons "PrintScreen" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Cancel" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Accept" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "TgtClear" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "ItemClear" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "MoveXhair" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Vector) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int))) :+: (C1 (MetaCons "AimTgt" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "AimFloor" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "AimEnemy" PrefixI False) (U1 :: * -> *))))) :+: (((C1 (MetaCons "AimItem" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "AimAscend" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Int))) :+: (C1 (MetaCons "EpsIncr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool)) :+: (C1 (MetaCons "XhairUnknown" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "XhairItem" PrefixI False) (U1 :: * -> *)))) :+: ((C1 (MetaCons "XhairStair" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool)) :+: C1 (MetaCons "XhairPointerFloor" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "XhairPointerEnemy" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "AimPointerFloor" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "AimPointerEnemy" PrefixI False) (U1 :: * -> *))))))))

data TriggerItem Source #

Description of how item manipulation is triggered and communicated to the player.

Constructors

TriggerItem 

Fields

Instances
Eq TriggerItem Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Ord TriggerItem Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Read TriggerItem Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Show TriggerItem Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Generic TriggerItem Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Associated Types

type Rep TriggerItem :: * -> * #

Binary TriggerItem Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

NFData TriggerItem Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

rnf :: TriggerItem -> () #

type Rep TriggerItem Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep TriggerItem = D1 (MetaData "TriggerItem" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.8.1.2-9Fmfvbfsr9xEInnejydwaW" False) (C1 (MetaCons "TriggerItem" PrefixI True) (S1 (MetaSel (Just "tiverb") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Part) :*: (S1 (MetaSel (Just "tiobject") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Part) :*: S1 (MetaSel (Just "tisymbols") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 [Char]))))

data TriggerTile Source #

Description of how tile altering is triggered and communicated to the player.

Constructors

TriggerTile 
Instances
Eq TriggerTile Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Ord TriggerTile Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Read TriggerTile Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Show TriggerTile Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Generic TriggerTile Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Associated Types

type Rep TriggerTile :: * -> * #

Binary TriggerTile Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

NFData TriggerTile Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

Methods

rnf :: TriggerTile -> () #

type Rep TriggerTile Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.HumanCmd

type Rep TriggerTile = D1 (MetaData "TriggerTile" "Game.LambdaHack.Client.UI.HumanCmd" "LambdaHack-0.8.1.2-9Fmfvbfsr9xEInnejydwaW" False) (C1 (MetaCons "TriggerTile" PrefixI True) (S1 (MetaSel (Just "ttverb") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Part) :*: (S1 (MetaSel (Just "ttobject") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Part) :*: S1 (MetaSel (Just "ttfeature") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Feature))))