Cleanup
This commit is contained in:
@@ -11,7 +11,7 @@ module Dodge.Render.HUD.Carte (
|
||||
--import qualified IntMapHelp as IM
|
||||
--import Picture
|
||||
--
|
||||
----drawCarte :: Configuration -> World -> Picture
|
||||
----drawCarte :: Config -> World -> Picture
|
||||
----drawCarte cfig w =
|
||||
---- fold $
|
||||
---- toTopLeft cfig (renderListAt 0 0 locs) :
|
||||
@@ -38,7 +38,7 @@ module Dodge.Render.HUD.Carte (
|
||||
-- (x, y) = _wlLine wl
|
||||
-- c = _wlColor wl
|
||||
--
|
||||
----mapWall :: Configuration -> HUD -> Wall -> Maybe Picture
|
||||
----mapWall :: Config -> HUD -> Wall -> Maybe Picture
|
||||
----mapWall cfig thehud wl
|
||||
---- | _wlSeen wl = Just . color c . polygon $ map (cartePosToScreen cfig thehud) [x, x +.+ n2, y +.+ n2, y]
|
||||
---- | otherwise = Nothing
|
||||
@@ -48,7 +48,7 @@ module Dodge.Render.HUD.Carte (
|
||||
---- (x, y) = _wlLine wl
|
||||
---- c = _wlColor wl
|
||||
--
|
||||
--mainListCursor :: Color -> Int -> Configuration -> Picture
|
||||
--mainListCursor :: Color -> Int -> Config -> Picture
|
||||
--mainListCursor c = openCursorAt 120 c 5 0
|
||||
--
|
||||
--openCursorAt ::
|
||||
@@ -61,7 +61,7 @@ module Dodge.Render.HUD.Carte (
|
||||
-- Float ->
|
||||
-- -- | y offset (discrete)
|
||||
-- Int ->
|
||||
-- Configuration ->
|
||||
-- Config ->
|
||||
-- Picture
|
||||
--openCursorAt wth col xoff yoff yint w =
|
||||
-- translate (xoff - halfWidth w) (halfHeight w - (20 * fromIntegral yint + yoff) - 20) $
|
||||
|
||||
Reference in New Issue
Block a user