summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-03-19 03:29:32 +0100
committerAki <nthirtyone@gmail.com>2017-03-19 03:29:32 +0100
commit2e352657813b37d17c2215b85189f18a50c099f9 (patch)
tree8ecbf2a0be065a14e0f679b10987e8b278afb882 /main.lua
parent19e6728c339cb029ab9a6b7762d60abe790b772a (diff)
downloadroflnauts-2e352657813b37d17c2215b85189f18a50c099f9.zip
roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.tar.gz
roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.tar.bz2
Comments, todos, pretty useless
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 9180ebf..b985648 100644
--- a/main.lua
+++ b/main.lua
@@ -1,8 +1,11 @@
-- "NOTNAUTS"
-- WHOLE CODE HAS FLAG OF "need a cleanup"
+-- TODO: Any lua source file in root directory that is not `main` (this file), `conf` should be moved to a proper directory. Its name should be changed to show what it contains.
+
-- Pretend you didn't see this
-- This is work for scene manager
+-- TODO: Create SceneManager or similar class.
Scene = nil
function changeScene(scene)
if Scene ~= nil then
@@ -12,6 +15,7 @@ function changeScene(scene)
end
-- Should be moved to scene/camera
+-- TODO: move following functions to `Camera`.
function getScale()
return math.max(1, math.floor(math.max(love.graphics.getWidth() / 320, love.graphics.getHeight() / 180)))
end