summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/main.c b/main.c
index bc99a45..c1bc2e0 100644
--- a/main.c
+++ b/main.c
@@ -40,12 +40,14 @@ void error_sdl( char* reason )
int main(int argc, char *argv[])
{
- /// Initialisation
+ // Initialisation
- /* First we need to tell SDL to create a window. A 'surface' is created called surf_screen,
- * 'surfaces' are simply images of what we see on-screen.
+ /* First we need to tell SDL to create a window. A 'surface'
+ * is created called surf_screen, 'surfaces' are simply images
+ * of what we see on-screen.
*
- * To make things appear on the screen, I copy ('blit') images onto this surface at different locations
+ * To make things appear on the screen, I copy ('blit') images
+ * onto this surface at different locations
*/
// Initialise SDL
@@ -96,11 +98,12 @@ int main(int argc, char *argv[])
}
}
- /* Technically the computer will never reach this point, because the while statement
- * above will run forever until the user quits the game.
- *
- * The 'return' statement is still written here so the compiler does not complain
- */
+ /* Technically the computer will never reach this point,
+ * because the while statement above will run forever until the
+ * user quits the game.
+ *
+ * The 'return' statement is still written here so the compiler
+ * does not complain */
return 0;
}