Move towards external targeting items

This commit is contained in:
2024-09-28 23:01:50 +01:00
parent d1690ed3ac
commit 241191ee1b
11 changed files with 38 additions and 27 deletions
+1 -1
View File
@@ -98,8 +98,8 @@ data AttachType
= ZOOMSCOPE
| TARGETATTACH {_ibtAttachTarget :: TargetType}
| BULLETSYNTHESIZER
| ROCKETHOMER
| REMOTESCREEN
| HOMINGMODULE
-- | BULPAYLOADATTACH
-- | BULTRAJECTORYATTACH
deriving (Eq, Ord, Show, Read)
+5
View File
@@ -73,6 +73,11 @@ data ItemUse
{ -- | a camera offset
_scopeScope :: Scope
}
| TargetingUse
{ _tgPos :: Maybe Point2
, _tgID :: Maybe Int
, _tgActive :: Bool
}
deriving (Eq, Show, Read) --Generic, Flat)
data TriggerType