Safe Haskell | None |
---|---|
Language | Haskell2010 |
Semantics of HumanCmd
client commands that do not return
server commands. None of such commands takes game time.
- macroHuman :: MonadClientUI m => [String] -> m ()
- clearHuman :: MonadClientUI m => m ()
- sortSlotsHuman :: MonadClientUI m => m ()
- chooseItemHuman :: MonadClientUI m => ItemDialogMode -> m MError
- chooseItemDialogMode :: MonadClientUI m => ItemDialogMode -> m (FailOrCmd ItemDialogMode)
- chooseItemProjectHuman :: forall m. MonadClientUI m => [Trigger] -> m MError
- chooseItemApplyHuman :: forall m. MonadClientUI m => [Trigger] -> m MError
- psuitReq :: MonadClientUI m => [Trigger] -> m (Either Text (ItemFull -> Either ReqFailure (Point, Bool)))
- triggerSymbols :: [Trigger] -> [Char]
- permittedApplyClient :: MonadClientUI m => [Char] -> m (ItemFull -> Either ReqFailure Bool)
- pickLeaderHuman :: MonadClientUI m => Int -> m MError
- pickLeaderWithPointerHuman :: MonadClientUI m => m MError
- memberCycleHuman :: MonadClientUI m => m MError
- memberBackHuman :: MonadClientUI m => m MError
- selectActorHuman :: MonadClientUI m => m ()
- selectNoneHuman :: MonadClientUI m => m ()
- selectWithPointerHuman :: MonadClientUI m => m MError
- repeatHuman :: MonadClientUI m => Int -> m ()
- recordHuman :: MonadClientUI m => m ()
- historyHuman :: forall m. MonadClientUI m => m ()
- markVisionHuman :: MonadClientUI m => m ()
- markSmellHuman :: MonadClientUI m => m ()
- markSuspectHuman :: MonadClientUI m => m ()
- cancelHuman :: MonadClientUI m => m ()
- acceptHuman :: MonadClientUI m => m ()
- tgtClearHuman :: MonadClientUI m => m ()
- itemClearHuman :: MonadClientUI m => m ()
- moveXhairHuman :: MonadClientUI m => Vector -> Int -> m MError
- aimTgtHuman :: MonadClientUI m => m MError
- aimFloorHuman :: MonadClientUI m => m ()
- aimEnemyHuman :: MonadClientUI m => m ()
- aimItemHuman :: MonadClientUI m => m ()
- aimAscendHuman :: MonadClientUI m => Int -> m MError
- epsIncrHuman :: MonadClientUI m => Bool -> m ()
- xhairUnknownHuman :: MonadClientUI m => m MError
- xhairItemHuman :: MonadClientUI m => m MError
- xhairStairHuman :: MonadClientUI m => Bool -> m MError
- xhairPointerFloorHuman :: MonadClientUI m => m ()
- xhairPointerEnemyHuman :: MonadClientUI m => m ()
- aimPointerFloorHuman :: MonadClientUI m => m ()
- aimPointerEnemyHuman :: MonadClientUI m => m ()
Meta commands
macroHuman :: MonadClientUI m => [String] -> m () Source #
Local commands
clearHuman :: MonadClientUI m => m () Source #
Clear current messages, cycle key hints mode.
sortSlotsHuman :: MonadClientUI m => m () Source #
chooseItemHuman :: MonadClientUI m => ItemDialogMode -> m MError Source #
Display items from a given container store and possibly let the user chose one.
chooseItemDialogMode :: MonadClientUI m => ItemDialogMode -> m (FailOrCmd ItemDialogMode) Source #
chooseItemProjectHuman :: forall m. MonadClientUI m => [Trigger] -> m MError Source #
chooseItemApplyHuman :: forall m. MonadClientUI m => [Trigger] -> m MError Source #
psuitReq :: MonadClientUI m => [Trigger] -> m (Either Text (ItemFull -> Either ReqFailure (Point, Bool))) Source #
triggerSymbols :: [Trigger] -> [Char] Source #
permittedApplyClient :: MonadClientUI m => [Char] -> m (ItemFull -> Either ReqFailure Bool) Source #
pickLeaderHuman :: MonadClientUI m => Int -> m MError Source #
pickLeaderWithPointerHuman :: MonadClientUI m => m MError Source #
memberCycleHuman :: MonadClientUI m => m MError Source #
Switches current member to the next on the viewed level, if any, wrapping.
memberBackHuman :: MonadClientUI m => m MError Source #
Switches current member to the previous in the whole dungeon, wrapping.
selectActorHuman :: MonadClientUI m => m () Source #
selectNoneHuman :: MonadClientUI m => m () Source #
selectWithPointerHuman :: MonadClientUI m => m MError Source #
repeatHuman :: MonadClientUI m => Int -> m () Source #
recordHuman :: MonadClientUI m => m () Source #
historyHuman :: forall m. MonadClientUI m => m () Source #
markVisionHuman :: MonadClientUI m => m () Source #
markSmellHuman :: MonadClientUI m => m () Source #
markSuspectHuman :: MonadClientUI m => m () Source #
Commands specific to aiming
cancelHuman :: MonadClientUI m => m () Source #
End aiming mode, rejecting the current position.
acceptHuman :: MonadClientUI m => m () Source #
Accept the current x-hair position as target, ending aiming mode, if active.
tgtClearHuman :: MonadClientUI m => m () Source #
itemClearHuman :: MonadClientUI m => m () Source #
moveXhairHuman :: MonadClientUI m => Vector -> Int -> m MError Source #
Move the xhair. Assumes aiming mode.
aimTgtHuman :: MonadClientUI m => m MError Source #
Start aiming.
aimFloorHuman :: MonadClientUI m => m () Source #
Cycle aiming mode. Do not change position of the xhair, switch among things at that position.
aimEnemyHuman :: MonadClientUI m => m () Source #
aimItemHuman :: MonadClientUI m => m () Source #
aimAscendHuman :: MonadClientUI m => Int -> m MError Source #
Change the displayed level in aiming mode to (at most) k levels shallower. Enters aiming mode, if not already in one.
epsIncrHuman :: MonadClientUI m => Bool -> m () Source #
Tweak the eps
parameter of the aiming digital line.
xhairUnknownHuman :: MonadClientUI m => m MError Source #
xhairItemHuman :: MonadClientUI m => m MError Source #
xhairStairHuman :: MonadClientUI m => Bool -> m MError Source #
xhairPointerFloorHuman :: MonadClientUI m => m () Source #
xhairPointerEnemyHuman :: MonadClientUI m => m () Source #
aimPointerFloorHuman :: MonadClientUI m => m () Source #
aimPointerEnemyHuman :: MonadClientUI m => m () Source #