From 8190d59e7bbac7835e9cecf5229247900b21f84a Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 6 Apr 2017 19:29:33 +0200 Subject: Added todos from Discord --- mapicons.lua | 2 +- selector.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mapicons.lua b/mapicons.lua index 4893da7..8729a56 100644 --- a/mapicons.lua +++ b/mapicons.lua @@ -1,5 +1,5 @@ -- 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. +-- 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 = {} diff --git a/selector.lua b/selector.lua index 61401e7..03be918 100644 --- a/selector.lua +++ b/selector.lua @@ -275,6 +275,7 @@ function Selector:update(dt) end -- Controller callbacks +-- TODO: Add action to perform when key is pressed and selector is locked in e.g. to move into character selection from map selection. function Selector:controlpressed(set, action, key) if set and self.focused then local n = self:checkNumber(set) -- cgit v1.1