diff dmsimple.h @ 127:ab4086db7dad

Various improvements in modularity.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 04 Oct 2012 06:23:13 +0300
parents 34ccf783ecca
children e2f286781180
line wrap: on
line diff
--- a/dmsimple.h	Thu Oct 04 06:04:43 2012 +0300
+++ b/dmsimple.h	Thu Oct 04 06:23:13 2012 +0300
@@ -45,6 +45,14 @@
     int audioSamples;
     int demoDuration;
 #endif
+
+    int    (*demoInit)();
+    int    (*demoInitPreVideo)();
+    int    (*demoInitPostVideo)();
+    int    (*demoRender)();
+    void   (*demoShutdown)();
+    void   (*demoQuit)();
+
 } DMEngineData;
 
 
@@ -77,10 +85,6 @@
 int    engineGetTick();
 float  engineGetTimeDT();
 
-int    demoInit();
 int    demoPreInit();
-int    demoMainTick();
-void   demoShutdown();
-void   demoQuit();
 
 #endif // DMSIMPLE_H