Start implementing mapper item
This commit is contained in:
@@ -171,8 +171,10 @@ drawMapperInventory p z itid _ w = fold $ do
|
||||
itm <- w ^? pointerToItemID itid
|
||||
ls <- itm ^? itUse . useMapperLines
|
||||
let r = w ^. wCam . camRot
|
||||
return . scale z z . rotate r . uncurryV translate p
|
||||
$ foldMap (\(x,y) -> line [x,y]) ls
|
||||
return . color red
|
||||
$ foldMap (\(x,y) -> line [f x,f y]) ls
|
||||
where
|
||||
f = worldPosToScreen (w ^. wCam)
|
||||
|
||||
drawCombineInventory ::
|
||||
Configuration ->
|
||||
|
||||
Reference in New Issue
Block a user