Move towards fixing remote launcher

This commit is contained in:
2022-08-01 22:30:29 +01:00
parent 82db86f55f
commit 237cd3e020
5 changed files with 43 additions and 43 deletions
@@ -27,6 +27,9 @@ data ProjectileUpdate
| PJRemoteDirection {_pjuStart :: Int, _pjuEnd :: Int, _pjuCID :: Int, _pjuITID :: Int}
| PJSetScope {_pjuITID :: Int}
| PJRetireRemote {_pjuITID :: Int, _pjuTimer :: Int, _pjuPJID :: Int}
| PJDecTimMvVel
| PJShellCollisionCheck
| PJRemoteShellCollisionCheck
deriving (Show, Read, Eq, Ord)
data AmmoType
+1 -10
View File
@@ -10,16 +10,7 @@ import Dodge.Data.Item.Use.Consumption.Ammo
import Geometry.Data
data Proj
= RemoteShell
{ _prjPos :: Point2
, _prjStartPos :: Point2
, _prjVel :: Point2
, _prjDraw :: ProjectileDraw
, _prjID :: Int
, _prjPayload :: Payload
, _prjMITID :: Maybe Int
}
| Shell
= Shell
{ _prjPos :: Point2
, _prjStartPos :: Point2
, _prjVel :: Point2