Refactor section sizing

This commit is contained in:
2024-11-24 09:42:46 +00:00
parent 1e4fd1690f
commit 896b452539
5 changed files with 214 additions and 110 deletions
+31
View File
@@ -1,3 +1,34 @@
/home/justin/Haskell/loop/src/Dodge/DisplayInventory.hs:116:1-20: warning: [GHC-38417] [-Wmissing-signatures]
Top-level binding with no type signature:
displaySectionsSizes :: (Eq a1, Num a1, Num a2) => a1 -> a2
|
116 | displaySectionsSizes 0 = 10
| ^^^^^^^^^^^^^^^^^^^^
/home/justin/Haskell/loop/src/Dodge/DisplayInventory.hs:260:27: warning: [-Wunused-matches]
Defined but not used: f
|
260 | updateSectionsPositioning f mselpos allavailablelines lsss sss =
| ^
/home/justin/Haskell/loop/src/Dodge/DisplayInventory.hs:270:5: warning: [-Wunused-local-binds]
Defined but not used: g
|
270 | g k x z = x
| ^
/home/justin/Haskell/loop/src/Dodge/DisplayInventory.hs:270:7: warning: [-Wunused-matches]
Defined but not used: k
|
270 | g k x z = x
| ^
/home/justin/Haskell/loop/src/Dodge/DisplayInventory.hs:270:11: warning: [-Wunused-matches]
Defined but not used: z
|
270 | g k x z = x
| ^
/home/justin/Haskell/loop/src/Dodge/DisplayInventory.hs:282:1-26: warning: [-Wunused-top-binds]
Defined but not used: updateSectionsPositioning'
|
282 | updateSectionsPositioning' f mselpos allavailablelines lsss sss = fromMaybe mempty $ do
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/justin/Haskell/loop/src/Dodge/Update/Input/InGame.hs:128:9-18: warning: [-Wunused-local-binds]
Defined but not used: nfreeslots
|