summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mapicons.lua2
-rw-r--r--selector.lua1
2 files changed, 2 insertions, 1 deletions
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)