Safe Haskell | None |
---|---|
Language | Haskell2010 |
Game.LambdaHack.Client.UI.HandleHumanLocalClient
Description
Semantics of HumanCmd
client commands that do not return
server commands. None of such commands takes game time.
TODO: document
- gameDifficultyCycle :: MonadClientUI m => m ()
- pickLeaderHuman :: MonadClientUI m => Int -> m Slideshow
- memberCycleHuman :: MonadClientUI m => m Slideshow
- memberBackHuman :: MonadClientUI m => m Slideshow
- selectActorHuman :: MonadClientUI m => m ()
- selectNoneHuman :: (MonadClientUI m, MonadClient m) => m ()
- clearHuman :: Monad m => m ()
- stopIfTgtModeHuman :: MonadClientUI m => m ()
- selectWithPointer :: MonadClientUI m => m ()
- repeatHuman :: MonadClient m => Int -> m ()
- recordHuman :: MonadClientUI m => m Slideshow
- historyHuman :: MonadClientUI m => m Slideshow
- markVisionHuman :: MonadClientUI m => m ()
- markSmellHuman :: MonadClientUI m => m ()
- markSuspectHuman :: MonadClientUI m => m ()
- helpHuman :: MonadClientUI m => m Slideshow
- mainMenuHuman :: MonadClientUI m => m Slideshow
- macroHuman :: MonadClient m => [String] -> m ()
- moveCursorHuman :: MonadClientUI m => Vector -> Int -> m Slideshow
- tgtFloorHuman :: MonadClientUI m => m Slideshow
- tgtEnemyHuman :: MonadClientUI m => m Slideshow
- tgtAscendHuman :: MonadClientUI m => Int -> m Slideshow
- epsIncrHuman :: MonadClientUI m => Bool -> m Slideshow
- tgtClearHuman :: MonadClientUI m => m Slideshow
- cursorUnknownHuman :: MonadClientUI m => m Slideshow
- cursorItemHuman :: MonadClientUI m => m Slideshow
- cursorStairHuman :: MonadClientUI m => Bool -> m Slideshow
- cancelHuman :: MonadClientUI m => m Slideshow -> m Slideshow
- acceptHuman :: MonadClientUI m => m Slideshow -> m Slideshow
- cursorPointerFloorHuman :: MonadClientUI m => m ()
- cursorPointerEnemyHuman :: MonadClientUI m => m ()
- tgtPointerFloorHuman :: MonadClientUI m => m Slideshow
- tgtPointerEnemyHuman :: MonadClientUI m => m Slideshow
Assorted commands
gameDifficultyCycle :: MonadClientUI m => m () Source
pickLeaderHuman :: MonadClientUI m => Int -> m Slideshow Source
memberCycleHuman :: MonadClientUI m => m Slideshow Source
Switches current member to the next on the level, if any, wrapping.
memberBackHuman :: MonadClientUI m => m Slideshow Source
Switches current member to the previous in the whole dungeon, wrapping.
selectActorHuman :: MonadClientUI m => m () Source
selectNoneHuman :: (MonadClientUI m, MonadClient m) => m () Source
clearHuman :: Monad m => m () Source
Clear current messages, show the next screen if any.
stopIfTgtModeHuman :: MonadClientUI m => m () Source
selectWithPointer :: MonadClientUI m => m () Source
repeatHuman :: MonadClient m => Int -> m () Source
recordHuman :: MonadClientUI m => m Slideshow Source
historyHuman :: MonadClientUI m => m Slideshow Source
markVisionHuman :: MonadClientUI m => m () Source
markSmellHuman :: MonadClientUI m => m () Source
markSuspectHuman :: MonadClientUI m => m () Source
helpHuman :: MonadClientUI m => m Slideshow Source
Display command help.
mainMenuHuman :: MonadClientUI m => m Slideshow Source
Display the main menu.
macroHuman :: MonadClient m => [String] -> m () Source
Commands specific to targeting
moveCursorHuman :: MonadClientUI m => Vector -> Int -> m Slideshow Source
Move the cursor. Assumes targeting mode.
tgtFloorHuman :: MonadClientUI m => m Slideshow Source
Cycle targeting mode. Do not change position of the cursor, switch among things at that position.
tgtEnemyHuman :: MonadClientUI m => m Slideshow Source
tgtAscendHuman :: MonadClientUI m => Int -> m Slideshow Source
Change the displayed level in targeting mode to (at most) k levels shallower. Enters targeting mode, if not already in one.
epsIncrHuman :: MonadClientUI m => Bool -> m Slideshow Source
Tweak the eps
parameter of the targeting digital line.
tgtClearHuman :: MonadClientUI m => m Slideshow Source
cursorUnknownHuman :: MonadClientUI m => m Slideshow Source
cursorItemHuman :: MonadClientUI m => m Slideshow Source
cursorStairHuman :: MonadClientUI m => Bool -> m Slideshow Source
cancelHuman :: MonadClientUI m => m Slideshow -> m Slideshow Source
Cancel something, e.g., targeting mode, resetting the cursor to the position of the leader. Chosen target is not invalidated.
acceptHuman :: MonadClientUI m => m Slideshow -> m Slideshow Source
Accept something, e.g., targeting mode, keeping cursor where it was. Or perform the default action, if nothing needs accepting.
cursorPointerFloorHuman :: MonadClientUI m => m () Source
cursorPointerEnemyHuman :: MonadClientUI m => m () Source
tgtPointerFloorHuman :: MonadClientUI m => m Slideshow Source
tgtPointerEnemyHuman :: MonadClientUI m => m Slideshow Source