diff options
author | Aki <nthirtyone@gmail.com> | 2017-04-06 19:29:33 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-04-06 19:29:33 +0200 |
commit | 8190d59e7bbac7835e9cecf5229247900b21f84a (patch) | |
tree | 236528271a23576c6003220da31be265d2b9df44 | |
parent | 93d3257ff23331c308fb32940557911a29ca608b (diff) | |
download | roflnauts-8190d59e7bbac7835e9cecf5229247900b21f84a.zip roflnauts-8190d59e7bbac7835e9cecf5229247900b21f84a.tar.gz roflnauts-8190d59e7bbac7835e9cecf5229247900b21f84a.tar.bz2 |
Added todos from Discord
-rw-r--r-- | mapicons.lua | 2 | ||||
-rw-r--r-- | selector.lua | 1 |
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) |