From 4b7797ab2a0f2b30d0840f9924b66668f4b4fdf4 Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 24 Sep 2016 11:32:33 +0100 Subject: [PATCH] Updated comments in main.c --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index b55c7a6..bae4f8f 100644 --- a/src/main.c +++ b/src/main.c @@ -64,7 +64,7 @@ int main(void) { "if love.load then love.load() end\n" "love.timer.step()\n" "while true do\n" - /* Update mouse and handle mouse events */ + /* Handle mouse events */ "for _, e in ipairs(love.mouse.poll()) do\n" "if e.type == 'motion' then\n" "if love.mousemoved then love.mousemoved(e.x, e.y, e.dx, e.dy) end\n" @@ -74,7 +74,7 @@ int main(void) { "if love.mousereleased then love.mousereleased(e.x, e.y, e.button) end\n" "end\n" "end\n" - /* Keyboard Events */ + /* Keyboard events */ "for _, e in ipairs(love.keyboard.poll()) do\n" "if e.type == 'down' then\n" "if love.keypressed then love.keypressed(e.code) end\n" @@ -104,7 +104,7 @@ int main(void) { /* Init error state */ "love.graphics.reset()\n" "pcall(love.graphics.setBackgroundColor, 89, 157, 220)\n" - /* Do error loop */ + /* Do error main loop */ "while true do\n" "for _, e in ipairs(love.keyboard.getEvents()) do\n" "if e.type == 'down' and e.code == 1 then\n"