Cleanup enough to make haddock work
This commit is contained in:
+1
-1
@@ -1587,7 +1587,7 @@ basicShooterAI w (f,g) cr =
|
|||||||
-> ( (f , g)
|
-> ( (f , g)
|
||||||
, Just $ turnCloseSlow ypos cr
|
, Just $ turnCloseSlow ypos cr
|
||||||
) -- no longer chase if see you when reloading
|
) -- no longer chase if see you when reloading
|
||||||
-- $ replaceAction [] w
|
-- -$ replaceAction [] w
|
||||||
| otherwise -> ( (f , g) , Just cr)
|
| otherwise -> ( (f , g) , Just cr)
|
||||||
(Search i:gls) | i == 0 -> ( (f , g) , replaceAction [] cr)
|
(Search i:gls) | i == 0 -> ( (f , g) , replaceAction [] cr)
|
||||||
| otherwise
|
| otherwise
|
||||||
|
|||||||
@@ -929,7 +929,7 @@ reflect a b = a + 2*(a-b)
|
|||||||
moveGrenade :: Int -> Float -> Int -> World -> World
|
moveGrenade :: Int -> Float -> Int -> World -> World
|
||||||
moveGrenade 0 dir pID w = over projectiles (IM.delete pID)
|
moveGrenade 0 dir pID w = over projectiles (IM.delete pID)
|
||||||
$ explosion (_pjPos (_projectiles w IM.! pID))
|
$ explosion (_pjPos (_projectiles w IM.! pID))
|
||||||
-- $ set (pointToItem (_itemPositions w IM.! wpID) . itEquipPict)
|
-- set (pointToItem (_itemPositions w IM.! wpID) . itEquipPict)
|
||||||
-- (drawWeapon $ grenadePic 50)
|
-- (drawWeapon $ grenadePic 50)
|
||||||
w
|
w
|
||||||
where
|
where
|
||||||
@@ -1493,7 +1493,7 @@ explodeRemoteBomb itid pjid n w
|
|||||||
$ resetPict
|
$ resetPict
|
||||||
-- $ resetScope
|
-- $ resetScope
|
||||||
$ makeExplosionAt (_pjPos (_projectiles w IM.! pjid)) w
|
$ makeExplosionAt (_pjPos (_projectiles w IM.! pjid)) w
|
||||||
-- $ makeShrapnelBombAt (_pjPos (_projectiles w IM.! pjid)) w
|
-- - $ makeShrapnelBombAt (_pjPos (_projectiles w IM.! pjid)) w
|
||||||
where
|
where
|
||||||
resetName = set (creatures . ix n . crInv . ix j . itName) "REMOTEBOMB"
|
resetName = set (creatures . ix n . crInv . ix j . itName) "REMOTEBOMB"
|
||||||
resetPict = set (creatures . ix n . crInv . ix j . itEquipPict )
|
resetPict = set (creatures . ix n . crInv . ix j . itEquipPict )
|
||||||
|
|||||||
+1
-1
@@ -67,7 +67,7 @@ wallsFromTree t =
|
|||||||
-- createInnerWalls
|
-- createInnerWalls
|
||||||
divideWalls
|
divideWalls
|
||||||
. assignKeys
|
. assignKeys
|
||||||
. foldr cutWalls [] -- $ map (map (g . roundPoint2))
|
. foldr cutWalls [] -- map (map (g . roundPoint2))
|
||||||
-- . map (map roundPoint2)
|
-- . map (map roundPoint2)
|
||||||
$ (concatMap _rmPolys $ flatten t)
|
$ (concatMap _rmPolys $ flatten t)
|
||||||
where
|
where
|
||||||
|
|||||||
Reference in New Issue
Block a user