This commit is contained in:
2025-07-13 21:13:31 +01:00
parent f1d4f530d9
commit d861be8acf
5 changed files with 270 additions and 355 deletions
+5 -1
View File
@@ -1,7 +1,9 @@
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE StrictData #-}
module Dodge.Data.ComposedItem where
import Control.Lens
import Dodge.Data.AmmoType
import Dodge.Data.Item
import Linear
@@ -19,7 +21,7 @@ data ItemSF -- Structural Function
| IntroScanSF
| TriggerSF
| ARHUDSF
| AmmoMagSF Int AmmoType
| AmmoMagSF {_amsfLink :: Int , _amsfType :: AmmoType}
| RemoteScreenSF
| JoystickSF
| RemoteDetonatorSF
@@ -41,3 +43,5 @@ data ItemSF -- Structural Function
type CItem = (Item, ItemSF)
type OItem = (Item, ItemSF, (V3 Float,Q.Quaternion Float))
makeLenses ''ItemSF