2018-06-04 03:29:20 +00:00
|
|
|
module Types.ImgId where
|
|
|
|
|
|
|
|
import Types.Map
|
|
|
|
|
|
|
|
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
|
|
|
|
| ImgMiscTable1
|
|
|
|
| ImgMiscTable2
|
|
|
|
| ImgMiscTable3
|
|
|
|
| ImgMiscTable4
|
|
|
|
| ImgMiscTableCorner
|
2018-07-30 19:10:42 +00:00
|
|
|
| ImgMiscTableC1
|
|
|
|
| ImgMiscTableC2
|
|
|
|
| ImgMiscTableC3
|
|
|
|
| ImgMiscTableC4
|
2018-07-30 13:34:45 +00:00
|
|
|
| ImgMiscFlipchart
|
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
|