Mercurial > hg > demos > krapula
changeset 56:301e379894ab
Enable stdiofs when DM_DEBUG=yes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 17 Oct 2016 12:13:42 +0300 |
parents | 41df6868905c |
children | cdd817cb0e44 |
files | config.mak demo.c |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/config.mak Mon Oct 03 11:25:31 2016 +0300 +++ b/config.mak Mon Oct 17 12:13:42 2016 +0300 @@ -1,4 +1,6 @@ # Additional binaries (aka the demo) +#DM_DEBUG=yes + DEMO_BIN=krapula DEMO_OBJS=demo.o dmsimple.o @@ -28,7 +30,9 @@ DM_USE_TREMOR=no DM_USE_PACKFS=yes -DM_USE_STDIO=no +ifeq ($(DM_DEBUG),yes) +DM_USE_STDIO=yes +endif DM_USE_MEMIO=no DM_GFX_BM_TEXT=yes
--- a/demo.c Mon Oct 03 11:25:31 2016 +0300 +++ b/demo.c Mon Oct 17 12:13:42 2016 +0300 @@ -320,7 +320,11 @@ engine->optPackFilename = "orvellys.dat"; engine->optDataPath = NULL; - engine->optResFlags = DRF_USE_PACK | DRF_PRELOAD_RES; + engine->optResFlags = DRF_USE_PACK | DRF_PRELOAD_RES +#if defined(DM_DEBUG) + | DRF_USE_STDIO +#endif + ; engine->optAudioSetup = DM_ASETUP_JSS;