Safe Haskell | None |
---|---|
Language | Haskell2010 |
Where we define C-side types to handle in inline-c
- tcodContext :: Context
- data Color = Color {}
- newtype TCODHeightMap = TCODHeightMap {
- unTCODHeightMap :: Array F DIM2 CFloat
- data Dice = Dice {
- diceNbRolls :: !Int
- diceNbFaces :: !Int
- diceMultiplier :: !Double
- diceAddSub :: !Double
- data TCODMouse = TCODMouse {
- mouseX :: !Int
- mouseY :: !Int
- mouseDx :: !Int
- mouseDy :: !Int
- mouseCx :: !Int
- mouseCy :: !Int
- mouseDcx :: !Int
- mouseDcy :: !Int
- mouseLButton :: !Bool
- mouseRButton :: !Bool
- mouseMButton :: !Bool
- mouseLButtonPressed :: !Bool
- mouseRButtonPressed :: !Bool
- mouseMButtonPressed :: !Bool
- mouseWheelUp :: !Bool
- mouseWheelDown :: !Bool
- context :: Context -> DecsQ
- include :: String -> DecsQ
- verbatim :: String -> DecsQ
- exp :: QuasiQuoter
- block :: QuasiQuoter
- funCtx :: Context
Documentation
tcodContext :: Context Source #
Types
24 bit color
newtype TCODHeightMap Source #
TCOD heighmap object is represented via 2-dimensional array
TCODHeightMap | |
|
Dice roll
Dice | |
|
Mouse event data
TCODMouse | |
|
Reexports
exp :: QuasiQuoter #
block :: QuasiQuoter #