changeset 49:333d9075f5ea

Add some comments.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 01 Mar 2015 18:52:04 +0200
parents da89ff617886
children 8c65e57cc81a
files krapula.c
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/krapula.c	Sun Mar 01 18:49:13 2015 +0200
+++ b/krapula.c	Sun Mar 01 18:52:04 2015 +0200
@@ -419,6 +419,9 @@
 
     if (t < 5)
     {
+        //
+        // Anciat prodz logo
+        //
         int dt = engineGetTime(engine, 0);
         static SDL_Surface *anciat;
         static DMLerpContext lerpX, lerpY, lerpD;
@@ -446,6 +449,9 @@
     else
     if (t < 10)
     {
+        //
+        // Demo "logo" texts
+        //
         int dt = engineGetTime(engine, 5);
         static SDL_Surface *logobg, *logolayer1, *logolayer2;
         static DMScaledBlitFunc nblit, kblit;
@@ -480,6 +486,9 @@
     else
     if (t < 20)
     {
+        //
+        // "Gaytracing"
+        //
         int dt = engineGetTime(engine, 10);
         static SDL_Surface *gay, *logobg;
         static DMLerpContext lerpX, lerpY, lerpD;
@@ -519,6 +528,9 @@
     else
     if (t < 45)
     {
+        //
+        // Nosfe video/animation + credits
+        //
         static SDL_Surface *ruutu;
         static int currState, currCredit, creditStartTime;
         static DMLerpContext lerpX, lerpY, lerpZ;
@@ -621,6 +633,9 @@
     else
     if (t < 60)
     {
+        //
+        // Greetings
+        //
         int dt = engineGetTime(engine, 45);
         static SDL_Surface *logobg, *greets;
         static DMScaledBlitFunc nblit, kblit;
@@ -650,6 +665,9 @@
         engine->exitFlag = TRUE;
 
 
+    //
+    // Flash/fade thingy
+    //
     {
         static SDL_Surface *feidi;
         static int fadeStartTime;