summaryrefslogtreecommitdiffhomepage
path: root/mapicons.lua
blob: 6827840a3d42c65c20dd4488dbab2e2e4986aaad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- Maps icons list generation file
-- REWORK NEEDED, it is so similar to `nautsicons.lua` they could be merged together into one function that returns icon quad sequences.
local maps = require "maplist"
local w, h = 456, 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