2018-06-04 03:29:20 +00:00
|
|
|
module Types.ImgId where
|
|
|
|
|
2018-10-08 21:36:52 +00:00
|
|
|
data IconId
|
|
|
|
= IconContrBlue
|
|
|
|
| IconContrGreen
|
2018-10-12 12:26:06 +00:00
|
|
|
| IconArrow
|
2018-10-08 21:36:52 +00:00
|
|
|
deriving (Show, Eq, Ord, Enum)
|
|
|
|
|
2018-06-04 03:29:20 +00:00
|
|
|
data ImgId
|
2018-07-21 18:37:01 +00:00
|
|
|
= ImgEmpty -- TODO: Find better solution than empty image.
|
|
|
|
| ImgEmptyNoWalk
|
2018-06-04 03:29:20 +00:00
|
|
|
| ImgWallAsc
|
|
|
|
| ImgWallDesc
|
|
|
|
| ImgWallCornerN
|
|
|
|
| ImgWallCornerE
|
|
|
|
| ImgWallCornerS
|
|
|
|
| ImgWallCornerW
|
|
|
|
| ImgWallTNE
|
|
|
|
| ImgWallTSE
|
|
|
|
| ImgWallTSW
|
|
|
|
| ImgWallTNW
|
|
|
|
| ImgWallCross
|
|
|
|
| ImgMiscBox1
|
2018-11-13 03:16:02 +00:00
|
|
|
| ImgTableSW
|
|
|
|
| ImgTableNW
|
|
|
|
| ImgTableNE
|
|
|
|
| ImgTableSE
|
2018-07-31 11:30:17 +00:00
|
|
|
| ImgTableCorner
|
|
|
|
| ImgTableC1
|
|
|
|
| ImgTableC2
|
|
|
|
| ImgTableC3
|
|
|
|
| ImgTableC4
|
2018-07-30 13:34:45 +00:00
|
|
|
| ImgMiscFlipchart
|
2018-07-31 11:30:17 +00:00
|
|
|
| ImgMiscPlant1
|
2018-07-31 20:59:25 +00:00
|
|
|
| ImgMiscPlant2
|
2018-08-07 12:04:49 +00:00
|
|
|
| ImgMiscWatercooler
|
2019-01-10 17:31:36 +00:00
|
|
|
| ImgMiscVending
|
2018-06-04 03:29:20 +00:00
|
|
|
-- | ImgIntrNE
|
|
|
|
-- | ImgIntrE
|
|
|
|
-- | ImgIntrSE
|
|
|
|
-- | ImgIntrS
|
|
|
|
-- | ImgIntrSW
|
|
|
|
-- | ImgIntrW
|
|
|
|
-- | ImgIntrNW
|
|
|
|
-- | ImgIntrN
|
2018-07-21 18:37:01 +00:00
|
|
|
deriving (Show, Eq, Ord, Enum)
|
2018-06-04 03:29:20 +00:00
|
|
|
|
|
|
|
isWall :: ImgId -> Bool
|
2018-07-30 19:10:42 +00:00
|
|
|
isWall ImgWallAsc = True
|
|
|
|
isWall ImgWallDesc = True
|
|
|
|
isWall ImgWallCornerN = True
|
|
|
|
isWall ImgWallCornerE = True
|
|
|
|
isWall ImgWallCornerS = True
|
|
|
|
isWall ImgWallCornerW = True
|
|
|
|
isWall ImgWallTNE = True
|
|
|
|
isWall ImgWallTSE = True
|
|
|
|
isWall ImgWallTSW = True
|
|
|
|
isWall ImgWallTNW = True
|
|
|
|
isWall ImgWallCross = True
|
|
|
|
isWall _ = False
|