Safe Haskell | None |
---|
Personal game configuration file type definitions.
- data Config = Config {
- configSelfString :: !String
- configCaves :: !(Map Text Caves)
- configFirstDeathEnds :: !Bool
- configFovMode :: !FovMode
- configSaveBkpClips :: !Int
- configAppDataDir :: !FilePath
- configScoresFile :: !FilePath
- configRulesCfgFile :: !FilePath
- configHeroNames :: ![(Int, Text)]
- configPlayers :: !(Map Text Players)
- configScenario :: !(Map Text Scenario)
- type Caves = EnumMap LevelId (Text, Bool)
- data Players = Players {
- playersHuman :: [Player]
- playersComputer :: [Player]
- playersEnemy :: [(Text, Text)]
- playersAlly :: [(Text, Text)]
- data Player = Player {
- playerName :: Text
- playerKind :: Text
- playerInitial :: Int
- playerEntry :: LevelId
- data Scenario = Scenario {}
Documentation
Fully typed contents of the rules config file. This config is a part of the game server.
Config | |
|
Players | |
|
Player | |
|