diff options
author | Aki <nthirtyone@gmail.com> | 2017-04-07 21:05:41 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-04-07 21:05:41 +0200 |
commit | 1c3040de93f9d5a164ccb06194eacc28eead0234 (patch) | |
tree | 3d953fb9b7813a810613cd102e444033a9ddbf1d /nautsicons.lua | |
parent | 612a14474c9d3c28b6512aef4845e52579d7d9c9 (diff) | |
download | roflnauts-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 'nautsicons.lua')
-rw-r--r-- | nautsicons.lua | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/nautsicons.lua b/nautsicons.lua deleted file mode 100644 index 6c09a8f..0000000 --- a/nautsicons.lua +++ /dev/null @@ -1,11 +0,0 @@ --- Spritesheet for character portraits -local nauts = require "nautslist" -local w, h = 1008, 27 -local icons = {} - -local i = 0 -for _,naut in pairs(nauts) do - icons[naut] = love.graphics.newQuad(i*28, 0, 28, 27, w, h) - i = i + 1 -end -return icons |