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 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
|
|
|
|
isWall ImgMiscBox1 = False
|
|
|
|
isWall ImgMiscTable1 = False
|
|
|
|
isWall ImgMiscTable2 = False
|
|
|
|
isWall ImgMiscTable3 = False
|
|
|
|
isWall ImgMiscTable4 = False
|
|
|
|
isWall ImgMiscTableCorner = False
|
2018-07-30 13:34:45 +00:00
|
|
|
isWall ImgMiscFlipchart = False
|
2018-06-04 03:29:20 +00:00
|
|
|
isWall _ = True
|