LambdaHack-0.4.99.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone

Game.LambdaHack.Client.UI.Config

Description

Personal game configuration file type definitions.

Synopsis

Documentation

data Config Source

Fully typed contents of the UI config file. This config is a part of a game client.

Constructors

Config 

Fields

configCommands :: ![(KM, ([CmdCategory], HumanCmd))]
 
configHeroNames :: ![(Int, (Text, Text))]
 
configVi :: !Bool

the option for Vi keys takes precendence

configLaptop :: !Bool

because the laptop keys are the default

configFont :: !String
 
configHistoryMax :: !Int
 
configMaxFps :: !Int
 
configNoAnim :: !Bool
 
configRunStopMsgs :: !Bool
 

Instances

mkConfig :: COps -> IO ConfigSource

Read and parse UI config file.