tcod-haskell-0.1.0.0: Bindings to libtcod roguelike engine

Safe HaskellNone
LanguageHaskell2010

Game.TCOD.ConsoleTypes

Synopsis

Documentation

newtype TCODConsole Source #

Tag to track pointer to TCOD_console_t

Constructors

TCODConsole 

Fields

data TCODKeyCode Source #

Names for keyboard keys

Instances

Bounded TCODKeyCode Source # 
Enum TCODKeyCode Source # 
Eq TCODKeyCode Source # 
Ord TCODKeyCode Source # 
Read TCODKeyCode Source # 
Show TCODKeyCode Source # 
Generic TCODKeyCode Source # 

Associated Types

type Rep TCODKeyCode :: * -> * #

type Rep TCODKeyCode Source # 
type Rep TCODKeyCode = D1 (MetaData "TCODKeyCode" "Game.TCOD.ConsoleTypes" "tcod-haskell-0.1.0.0-9JdFGODCf32GFoGmrQ4wdi" False) ((:+:) ((:+:) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "KeyNone" PrefixI False) U1) (C1 (MetaCons "KeyEscape" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyBackspace" PrefixI False) U1) (C1 (MetaCons "KeyTab" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "KeyEnter" PrefixI False) U1) (C1 (MetaCons "KeyShift" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyControl" PrefixI False) U1) (C1 (MetaCons "KeyAlt" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "KeyPause" PrefixI False) U1) (C1 (MetaCons "KeyCapslock" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyPageUp" PrefixI False) U1) (C1 (MetaCons "KeyPageDown" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "KeyEnd" PrefixI False) U1) (C1 (MetaCons "KeyHome" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyUp" PrefixI False) U1) (C1 (MetaCons "KeyLeft" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "KeyRight" PrefixI False) U1) (C1 (MetaCons "KeyDown" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyPrintScreen" PrefixI False) U1) (C1 (MetaCons "KeyInsert" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "KeyDelete" PrefixI False) U1) (C1 (MetaCons "KeyLWin" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyRWin" PrefixI False) U1) (C1 (MetaCons "KeyApps" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Key0" PrefixI False) U1) (C1 (MetaCons "Key1" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Key2" PrefixI False) U1) (C1 (MetaCons "Key3" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Key4" PrefixI False) U1) (C1 (MetaCons "Key5" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Key6" PrefixI False) U1) ((:+:) (C1 (MetaCons "Key7" PrefixI False) U1) (C1 (MetaCons "Key8" PrefixI False) U1))))))) ((:+:) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Key9" PrefixI False) U1) (C1 (MetaCons "KeyKp0" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyKp1" PrefixI False) U1) (C1 (MetaCons "KeyKp2" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "KeyKp3" PrefixI False) U1) (C1 (MetaCons "KeyKp4" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyKp5" PrefixI False) U1) (C1 (MetaCons "KeyKp6" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "KeyKp7" PrefixI False) U1) (C1 (MetaCons "KeyKp8" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyKp9" PrefixI False) U1) (C1 (MetaCons "KeyKpAdd" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "KeyKpSub" PrefixI False) U1) (C1 (MetaCons "KeyKpDiv" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyKpMul" PrefixI False) U1) ((:+:) (C1 (MetaCons "KeyKpDec" PrefixI False) U1) (C1 (MetaCons "KeyKpEnter" PrefixI False) U1)))))) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "KeyF1" PrefixI False) U1) (C1 (MetaCons "KeyF2" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyF3" PrefixI False) U1) (C1 (MetaCons "KeyF4" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "KeyF5" PrefixI False) U1) (C1 (MetaCons "KeyF6" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyF7" PrefixI False) U1) (C1 (MetaCons "KeyF8" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "KeyF9" PrefixI False) U1) (C1 (MetaCons "KeyF10" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeyF11" PrefixI False) U1) (C1 (MetaCons "KeyF12" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "KeyNumLock" PrefixI False) U1) (C1 (MetaCons "KeyScrollLock" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KeySpace" PrefixI False) U1) ((:+:) (C1 (MetaCons "KeyChar" PrefixI False) U1) (C1 (MetaCons "KeyText" PrefixI False) U1))))))))

data TCODKey Source #

Key data: special code or character or text

Constructors

TCODKey 

Fields

Instances

Eq TCODKey Source # 

Methods

(==) :: TCODKey -> TCODKey -> Bool #

(/=) :: TCODKey -> TCODKey -> Bool #

Show TCODKey Source # 
Generic TCODKey Source # 

Associated Types

type Rep TCODKey :: * -> * #

Methods

from :: TCODKey -> Rep TCODKey x #

to :: Rep TCODKey x -> TCODKey #

Storable TCODKey Source # 
type Rep TCODKey Source # 

defaultTCODKey :: TCODKey Source #

Get TCODKey with default values

data TCODChar Source #

Special characters

Instances

Enum TCODChar Source # 
Eq TCODChar Source # 
Ord TCODChar Source # 
Read TCODChar Source # 
Show TCODChar Source # 
Generic TCODChar Source # 

Associated Types

type Rep TCODChar :: * -> * #

Methods

from :: TCODChar -> Rep TCODChar x #

to :: Rep TCODChar x -> TCODChar #

type Rep TCODChar Source # 
type Rep TCODChar = D1 (MetaData "TCODChar" "Game.TCOD.ConsoleTypes" "tcod-haskell-0.1.0.0-9JdFGODCf32GFoGmrQ4wdi" False) ((:+:) ((:+:) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CharHline" PrefixI False) U1) (C1 (MetaCons "CharVline" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharNe" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharNw" PrefixI False) U1) (C1 (MetaCons "CharSe" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "CharSw" PrefixI False) U1) (C1 (MetaCons "CharTeew" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharTeee" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharTeen" PrefixI False) U1) (C1 (MetaCons "CharTees" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CharCross" PrefixI False) U1) (C1 (MetaCons "CharDhline" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharDvline" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharDne" PrefixI False) U1) (C1 (MetaCons "CharDnw" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "CharDse" PrefixI False) U1) (C1 (MetaCons "CharDsw" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharDteew" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharDteee" PrefixI False) U1) (C1 (MetaCons "CharDteen" PrefixI False) U1)))))) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CharDtees" PrefixI False) U1) (C1 (MetaCons "CharDcross" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharBlock1" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharBlock2" PrefixI False) U1) (C1 (MetaCons "CharBlock3" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "CharArrowN" PrefixI False) U1) (C1 (MetaCons "CharArrowS" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharArrowE" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharArrowW" PrefixI False) U1) (C1 (MetaCons "CharArrow2N" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CharArrow2S" PrefixI False) U1) (C1 (MetaCons "CharArrow2E" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharArrow2W" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharDarrowH" PrefixI False) U1) (C1 (MetaCons "CharDarrowV" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "CharCheckboxUnset" PrefixI False) U1) (C1 (MetaCons "CharCheckboxSet" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharRadioUnset" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharRadioSet" PrefixI False) U1) (C1 (MetaCons "CharSubpNw" PrefixI False) U1))))))) ((:+:) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CharSubpNe" PrefixI False) U1) (C1 (MetaCons "CharSubpN" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharSubpSe" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharSubpDiag" PrefixI False) U1) (C1 (MetaCons "CharSubpE" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "CharSubpSw" PrefixI False) U1) (C1 (MetaCons "CharSmilie" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharSmilieInv" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharHeart" PrefixI False) U1) (C1 (MetaCons "CharDiamond" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CharClub" PrefixI False) U1) (C1 (MetaCons "CharSpade" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharBullet" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharBulletInv" PrefixI False) U1) (C1 (MetaCons "CharMale" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "CharFemale" PrefixI False) U1) (C1 (MetaCons "CharNote" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharNoteDouble" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharLight" PrefixI False) U1) (C1 (MetaCons "CharExclamDouble" PrefixI False) U1)))))) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CharPilcrow" PrefixI False) U1) (C1 (MetaCons "CharSection" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharPound" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharMultiplication" PrefixI False) U1) (C1 (MetaCons "CharFunction" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "CharReserved" PrefixI False) U1) (C1 (MetaCons "CharHalf" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharOneQuarter" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharCopyright" PrefixI False) U1) (C1 (MetaCons "CharCent" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CharYen" PrefixI False) U1) (C1 (MetaCons "CharCurrency" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharThreeQuarters" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharDivision" PrefixI False) U1) (C1 (MetaCons "CharGrade" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "CharUmlaut" PrefixI False) U1) (C1 (MetaCons "CharPow1" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CharPow3" PrefixI False) U1) ((:+:) (C1 (MetaCons "CharPow2" PrefixI False) U1) (C1 (MetaCons "CharBulletSquare" PrefixI False) U1))))))))

data TCODColorControl Source #

Color control flags for console

Instances

Enum TCODColorControl Source # 
Eq TCODColorControl Source # 
Ord TCODColorControl Source # 
Read TCODColorControl Source # 
Show TCODColorControl Source # 
Generic TCODColorControl Source # 
type Rep TCODColorControl Source # 
type Rep TCODColorControl = D1 (MetaData "TCODColorControl" "Game.TCOD.ConsoleTypes" "tcod-haskell-0.1.0.0-9JdFGODCf32GFoGmrQ4wdi" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Ctrl_1" PrefixI False) U1) (C1 (MetaCons "Ctrl_2" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ctrl_3" PrefixI False) U1) (C1 (MetaCons "Ctrl_4" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Ctrl_5" PrefixI False) U1) (C1 (MetaCons "CtrlForeRgb" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CtrlBackRgb" PrefixI False) U1) (C1 (MetaCons "CtrlStop" PrefixI False) U1))))

data TCODBackgroundFlag Source #

Background flag

Instances

Bounded TCODBackgroundFlag Source # 
Enum TCODBackgroundFlag Source # 
Eq TCODBackgroundFlag Source # 
Ord TCODBackgroundFlag Source # 
Read TCODBackgroundFlag Source # 
Show TCODBackgroundFlag Source # 
Generic TCODBackgroundFlag Source # 
type Rep TCODBackgroundFlag Source # 
type Rep TCODBackgroundFlag = D1 (MetaData "TCODBackgroundFlag" "Game.TCOD.ConsoleTypes" "tcod-haskell-0.1.0.0-9JdFGODCf32GFoGmrQ4wdi" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "BackgroundNone" PrefixI False) U1) ((:+:) (C1 (MetaCons "BackgroundSet" PrefixI False) U1) (C1 (MetaCons "BackgroundMultiply" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "BackgroundLighten" PrefixI False) U1) (C1 (MetaCons "BackgroundDarken" PrefixI False) U1)) ((:+:) (C1 (MetaCons "BackgroundScreen" PrefixI False) U1) (C1 (MetaCons "BackgroundColorDodge" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "BackgroundColorBurn" PrefixI False) U1) ((:+:) (C1 (MetaCons "BackgroundAdd" PrefixI False) U1) (C1 (MetaCons "BackgroundAdda" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "BackgroundBurn" PrefixI False) U1) (C1 (MetaCons "BackgroundOverlay" PrefixI False) U1)) ((:+:) (C1 (MetaCons "BackgroundAlph" PrefixI False) U1) (C1 (MetaCons "BackgroundDefault" PrefixI False) U1)))))

data TCODKeyStatus Source #

Key status

Constructors

KeyPressed 
KeyReleased 

Instances

Bounded TCODKeyStatus Source # 
Enum TCODKeyStatus Source # 
Eq TCODKeyStatus Source # 
Ord TCODKeyStatus Source # 
Read TCODKeyStatus Source # 
Show TCODKeyStatus Source # 
Generic TCODKeyStatus Source # 

Associated Types

type Rep TCODKeyStatus :: * -> * #

type Rep TCODKeyStatus Source # 
type Rep TCODKeyStatus = D1 (MetaData "TCODKeyStatus" "Game.TCOD.ConsoleTypes" "tcod-haskell-0.1.0.0-9JdFGODCf32GFoGmrQ4wdi" False) ((:+:) (C1 (MetaCons "KeyPressed" PrefixI False) U1) (C1 (MetaCons "KeyReleased" PrefixI False) U1))

data TCODFontFlag Source #

Custom font flag

Instances

Bounded TCODFontFlag Source # 
Enum TCODFontFlag Source # 
Eq TCODFontFlag Source # 
Ord TCODFontFlag Source # 
Read TCODFontFlag Source # 
Show TCODFontFlag Source # 
Generic TCODFontFlag Source # 

Associated Types

type Rep TCODFontFlag :: * -> * #

type Rep TCODFontFlag Source # 
type Rep TCODFontFlag = D1 (MetaData "TCODFontFlag" "Game.TCOD.ConsoleTypes" "tcod-haskell-0.1.0.0-9JdFGODCf32GFoGmrQ4wdi" False) ((:+:) ((:+:) (C1 (MetaCons "FontLayoutAsciiInCol" PrefixI False) U1) (C1 (MetaCons "FontLayoutAsciiInRow" PrefixI False) U1)) ((:+:) (C1 (MetaCons "FontTypeGreyScale" PrefixI False) U1) (C1 (MetaCons "FontLayoutTcod" PrefixI False) U1)))

combineFontFlags :: Foldable f => f TCODFontFlag -> Int Source #

Assemble flags into int field

data TCODRenderer Source #

Availiable renderers

Instances

Bounded TCODRenderer Source # 
Enum TCODRenderer Source # 
Eq TCODRenderer Source # 
Ord TCODRenderer Source # 
Read TCODRenderer Source # 
Show TCODRenderer Source # 
Generic TCODRenderer Source # 

Associated Types

type Rep TCODRenderer :: * -> * #

type Rep TCODRenderer Source # 
type Rep TCODRenderer = D1 (MetaData "TCODRenderer" "Game.TCOD.ConsoleTypes" "tcod-haskell-0.1.0.0-9JdFGODCf32GFoGmrQ4wdi" False) ((:+:) (C1 (MetaCons "RendererGLSL" PrefixI False) U1) ((:+:) (C1 (MetaCons "RendererOpenGL" PrefixI False) U1) (C1 (MetaCons "RendererSDL" PrefixI False) U1)))

data TCODAlignment Source #

Different text/element alignments

Instances

Bounded TCODAlignment Source # 
Enum TCODAlignment Source # 
Eq TCODAlignment Source # 
Ord TCODAlignment Source # 
Read TCODAlignment Source # 
Show TCODAlignment Source # 
Generic TCODAlignment Source # 

Associated Types

type Rep TCODAlignment :: * -> * #

type Rep TCODAlignment Source # 
type Rep TCODAlignment = D1 (MetaData "TCODAlignment" "Game.TCOD.ConsoleTypes" "tcod-haskell-0.1.0.0-9JdFGODCf32GFoGmrQ4wdi" False) ((:+:) (C1 (MetaCons "AlignLeft" PrefixI False) U1) ((:+:) (C1 (MetaCons "AlignRight" PrefixI False) U1) (C1 (MetaCons "AlignCenter" PrefixI False) U1)))