Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Display game data on the screen using one of the available frontends (determined at compile time with cabal flags).
Synopsis
- targetDesc :: MonadClientUI m => Maybe Target -> m (Maybe Text, Maybe Text)
- targetDescXhair :: MonadClientUI m => m (Maybe Text, Maybe Text, Maybe Watchfulness)
- drawHudFrame :: MonadClientUI m => ColorMode -> LevelId -> m PreFrame
- checkWarningHP :: UIOptions -> ActorId -> Int64 -> State -> Bool
- checkWarningCalm :: UIOptions -> ActorId -> Int64 -> State -> Bool
- drawFrameTerrain :: forall m. MonadClientUI m => LevelId -> m (Vector Word32)
- drawFrameContent :: forall m. MonadClientUI m => LevelId -> m FrameForall
- drawFramePath :: forall m. MonadClientUI m => LevelId -> m (FrameForall, FrameForall)
- drawFrameActor :: forall m. MonadClientUI m => LevelId -> m FrameForall
- drawFrameExtra :: forall m. MonadClientUI m => ColorMode -> LevelId -> m FrameForall
- drawFrameStatus :: MonadClientUI m => LevelId -> m AttrString
- drawArenaStatus :: COps -> Level -> Int -> AttrString
- drawLeaderStatus :: MonadClientUI m => Int -> m AttrString
- drawLeaderDamage :: MonadClientUI m => Int -> ActorId -> m AttrString
- drawSelected :: MonadClientUI m => LevelId -> Int -> EnumSet ActorId -> m (Int, AttrString)
- checkWarnings :: UIOptions -> ActorId -> State -> (Bool, Bool)
Documentation
targetDesc :: MonadClientUI m => Maybe Target -> m (Maybe Text, Maybe Text) Source #
targetDescXhair :: MonadClientUI m => m (Maybe Text, Maybe Text, Maybe Watchfulness) Source #
drawHudFrame :: MonadClientUI m => ColorMode -> LevelId -> m PreFrame Source #
Draw the whole screen: level map and status area.
Internal operations
drawFrameTerrain :: forall m. MonadClientUI m => LevelId -> m (Vector Word32) Source #
drawFrameContent :: forall m. MonadClientUI m => LevelId -> m FrameForall Source #
drawFramePath :: forall m. MonadClientUI m => LevelId -> m (FrameForall, FrameForall) Source #
drawFrameActor :: forall m. MonadClientUI m => LevelId -> m FrameForall Source #
drawFrameExtra :: forall m. MonadClientUI m => ColorMode -> LevelId -> m FrameForall Source #
drawFrameStatus :: MonadClientUI m => LevelId -> m AttrString Source #
drawArenaStatus :: COps -> Level -> Int -> AttrString Source #
drawLeaderStatus :: MonadClientUI m => Int -> m AttrString Source #
drawLeaderDamage :: MonadClientUI m => Int -> ActorId -> m AttrString Source #
drawSelected :: MonadClientUI m => LevelId -> Int -> EnumSet ActorId -> m (Int, AttrString) Source #