Safe Haskell | None |
---|---|
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, 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
- drawFrameActor :: forall m. MonadClientUI m => LevelId -> m FrameForall
- drawFrameExtra :: forall m. MonadClientUI m => ColorMode -> LevelId -> m FrameForall
- drawFrameStatus :: MonadClientUI m => LevelId -> m AttrLine
- drawArenaStatus :: COps -> Level -> Int -> AttrLine
- drawLeaderStatus :: MonadClientUI m => Int -> m AttrLine
- drawLeaderDamage :: MonadClientUI m => Int -> ActorId -> m AttrLine
- drawSelected :: MonadClientUI m => LevelId -> Int -> EnumSet ActorId -> m (Int, AttrLine)
- 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, 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 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 AttrLine Source #
drawLeaderStatus :: MonadClientUI m => Int -> m AttrLine Source #
drawLeaderDamage :: MonadClientUI m => Int -> ActorId -> m AttrLine Source #
drawSelected :: MonadClientUI m => LevelId -> Int -> EnumSet ActorId -> m (Int, AttrLine) Source #