summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-22 18:04:52 +0200
committerAki <nthirtyone@gmail.com>2017-09-22 18:04:52 +0200
commitb29adf54e26d16ec7f78e9dd865bc1ce807d3f14 (patch)
tree3a5f5f5bb8b7ecab1165e59c80ae3a9f70b4f579
parent70cd74d62d0f6d1c389a3a3ef333acb578713727 (diff)
downloadroflnauts-b29adf54e26d16ec7f78e9dd865bc1ce807d3f14.zip
roflnauts-b29adf54e26d16ec7f78e9dd865bc1ce807d3f14.tar.gz
roflnauts-b29adf54e26d16ec7f78e9dd865bc1ce807d3f14.tar.bz2
Removed obsolete attempts to load portraits atlas
-rw-r--r--config/menus/select.lua2
-rw-r--r--not/Hero.lua1
2 files changed, 0 insertions, 3 deletions
diff --git a/config/menus/select.lua b/config/menus/select.lua
index fb99780..a803295 100644
--- a/config/menus/select.lua
+++ b/config/menus/select.lua
@@ -17,7 +17,6 @@ end
-- TODO: Clean-up menus/select, menus/host and Hero after portraits split.
local group, get
do
- local atlas = love.graphics.newImage("assets/portraits.png")
local nauts, icons = {}, {}
local files = love.filesystem.getDirectoryItems("config/nauts")
for _,filename in pairs(files) do
@@ -58,7 +57,6 @@ do
for i,_ in pairs(Controller.getSets()) do
group:addChild(Selector(nauts, group, menu))
- :set("icons_atlas", atlas)
:set("icons", icons)
:set("attack", attack)
:set("getText", function (self)
diff --git a/not/Hero.lua b/not/Hero.lua
index 30092bc..fc5d840 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -57,7 +57,6 @@ end
-- TODO: This is temporarily called by constructor.
function Hero.load ()
if Hero.IMAGE_PORTRAITS == nil then
- Hero.IMAGE_PORTRAITS = love.graphics.newImage("assets/portraits.png")
Hero.IMAGE_FRAME = love.graphics.newImage("assets/menu.png")
end
end