summaryrefslogtreecommitdiffhomepage
path: root/mapicons.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-04-07 21:05:41 +0200
committerAki <nthirtyone@gmail.com>2017-04-07 21:05:41 +0200
commit1c3040de93f9d5a164ccb06194eacc28eead0234 (patch)
tree3d953fb9b7813a810613cd102e444033a9ddbf1d /mapicons.lua
parent612a14474c9d3c28b6512aef4845e52579d7d9c9 (diff)
downloadroflnauts-1c3040de93f9d5a164ccb06194eacc28eead0234.zip
roflnauts-1c3040de93f9d5a164ccb06194eacc28eead0234.tar.gz
roflnauts-1c3040de93f9d5a164ccb06194eacc28eead0234.tar.bz2
Maps and nauts list moved to config
Implemented functions to create icons list for them Changed so game uses these functions now
Diffstat (limited to 'mapicons.lua')
-rw-r--r--mapicons.lua12
1 files changed, 0 insertions, 12 deletions
diff --git a/mapicons.lua b/mapicons.lua
deleted file mode 100644
index 8729a56..0000000
--- a/mapicons.lua
+++ /dev/null
@@ -1,12 +0,0 @@
--- Maps icons list generation file
--- TODO: it is so similar to `nautsicons.lua` they could be merged together into one function that returns icon quad sequences (`createIconList(image, width, number, mask...) --[[ body ]] return image, icons, list end` or similar). On the other hand extended lists with maps/nauts in config would be enough.
-local maps = require "maplist"
-local w, h = 532, 37
-local icons = {}
-
-local i = 0
-for _,map in pairs(maps) do
- icons[map] = love.graphics.newQuad(i*76, 0, 76, 37, w, h)
- i = i + 1
-end
-return icons