changeset 39:57d67886153e

Update to latest engine changes.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 16 Oct 2012 03:24:47 +0300
parents ea2d19de8932
children 9cbb03e85597
files config.mak krapula.c
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/config.mak	Sat Oct 13 16:58:29 2012 +0300
+++ b/config.mak	Tue Oct 16 03:24:47 2012 +0300
@@ -1,5 +1,7 @@
 # Additional binaries (aka the demo)
-BINARIES=krapula
+DEMO_BIN=krapula
+DEMO_OBJS=dmsimple.o
+BINARIES=$(DEMO_BIN)
 
 # Build engine tests and tools? (Please notice that what
 # actually gets built it also affected by other options)
--- a/krapula.c	Sat Oct 13 16:58:29 2012 +0300
+++ b/krapula.c	Tue Oct 16 03:24:47 2012 +0300
@@ -1,4 +1,4 @@
-#include "dmsimple.h"
+#include "dmengine.h"
 #include "dmvecmat.h"
 #include <math.h>
 
@@ -342,9 +342,7 @@
     engine.optScrHeight = 480;
     engine.optBitDepth  = 32;
     engine.optVFlags    = SDL_SWSURFACE | SDL_HWPALETTE;
-#ifdef DM_DEBUG
-    engine.demoDuration = 150;
-#endif
+
 
     engine.demoInit = demoInit;
     engine.demoRender = demoRender;