Added my seq file with an animation for the lighthouse
[faros-demo] / src / main.cc
index cc6024f..b889a0f 100644 (file)
@@ -69,8 +69,8 @@ static bool show_help, show_ui = true;
 
 int main(int argc, char **argv)
 {
-       glutInit(&argc, argv);
        glutInitWindowSize(800, 600);
+       glutInit(&argc, argv);
        glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH | GLUT_MULTISAMPLE);
 
        glutCreateWindow("Faros (press F1 for controls help)");
@@ -321,7 +321,6 @@ static void help()
                "   RMB drag/wheel . zoom",
                "   c .............. toggle free/animated camera",
                "   v .............. print current view parameters",
-               "",
                "Animation control",
                "   <space> ........ pause time",
                "   <backspace> .... restart time",
@@ -337,6 +336,8 @@ static void help()
                "   P .............. toggle paper",
                "   <shift>-P ...... clear paper keyframes",
                "   ~ .............. dump all animation keyframes to seq_dump",
+               "Other",
+               "   F5 ............. toggle UI",
                0
        };
 
@@ -378,7 +379,7 @@ static void help()
                        glutBitmapCharacter(GLUT_BITMAP_9_BY_15, *s++);
                }
 
-               ypos += 25;
+               ypos += 22;
        }
 
        glPopMatrix();