changeset 94:4bbfc0274b29

Change some function names, etc.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Oct 2012 18:14:44 +0300
parents 15fdd5573344
children 0430f484641b
files dmsimple.c dmsimple.h
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dmsimple.c	Tue Oct 02 18:13:05 2012 +0300
+++ b/dmsimple.c	Tue Oct 02 18:14:44 2012 +0300
@@ -321,7 +321,7 @@
     }
 
     // Final initializations
-    if ((err = demoGlobalInit()) != DMERR_OK)
+    if ((err = demoInit()) != DMERR_OK)
         goto error_exit;
 
 #ifdef DM_DEBUG
@@ -451,10 +451,12 @@
 
     dmres_close();    
 
+    demoShutdown();
+
     if (initSDL)
         SDL_Quit();
 
-    demoFinish();
+    demoQuit();
     
     return 0;
 }
--- a/dmsimple.h	Tue Oct 02 18:13:05 2012 +0300
+++ b/dmsimple.h	Tue Oct 02 18:14:44 2012 +0300
@@ -65,9 +65,10 @@
 int    engineGetTick();
 float  engineGetTimeDT();
 
-int    demoGlobalInit();
+int    demoInit();
 int    demoPreInit();
 int    demoMainTick();
-void   demoFinish();
+void   demoShutdown();
+void   demoQuit();
 
 #endif // DMSIMPLE_H