Crush run-past room
This commit is contained in:
@@ -37,7 +37,7 @@ worldSPic cfig u =
|
||||
(lw ^. items)
|
||||
(filtOn _flItPos _floorItems)
|
||||
)
|
||||
<> foldup btSPic (filtOn _btPos _buttons)
|
||||
<> foldup (btSPic (w ^. cWorld . lWorld)) (filtOn _btPos _buttons)
|
||||
<> foldup (mcSPic (w ^. cWorld)) (filtOn _mcPos _machines)
|
||||
-- <> foldMap' drawChasm (w ^. cWorld . chasms)
|
||||
<> foldMap' (Prelude.uncurry drawCliff) (w ^. cWorld . cliffs)
|
||||
@@ -166,8 +166,8 @@ floorItemSPic itm flit =
|
||||
(_flItRot flit)
|
||||
(itemSPic itm)
|
||||
|
||||
btSPic :: Button -> SPic
|
||||
btSPic bt = uncurryV translateSPxy (_btPos bt) $ rotateSP (_btRot bt) (drawButton bt)
|
||||
btSPic :: LWorld -> Button -> SPic
|
||||
btSPic lw bt = uncurryV translateSPxy (_btPos bt) $ rotateSP (_btRot bt) (drawButton lw bt)
|
||||
|
||||
mcSPic :: CWorld -> Machine -> SPic
|
||||
mcSPic cw mc = uncurryV translateSPxy (_mcPos mc) $ rotateSP (_mcDir mc) (drawMachine cw mc)
|
||||
|
||||
Reference in New Issue
Block a user