DEADSOFTWARE

Android: added timidity.cfg to game files, so midi music can playing now
[d2df-sdl.git] / src / game / Doom2DF.lpr
index 91fd3a6276cf4a7778f5322d5616a1107ea3124a..c86d7441e795240e6d4ec170060d2f34cc45f406 100644 (file)
@@ -42,12 +42,9 @@ uses
   conbuf in '../shared/conbuf.pas',
   geom in '../shared/geom.pas',
   math,
-{$IFDEF USE_NANOGL}
-  nanoGL in '../lib/nanogl/nanoGL.pas',
-{$ELSE}
-  GL,
-  GLExt,
-{$ENDIF}
+
+{$INCLUDE ../nogl/noGLuses.inc}
+
 {$IFDEF USE_MINIUPNPC}
   miniupnpc in '../lib/miniupnpc/miniupnpc.pas',
 {$ENDIF}
@@ -162,6 +159,7 @@ begin
       exit;
     end;
   end;
+  SetEnvVar('TIMIDITY_CFG', 'timidity.cfg');
 {$ENDIF ANDROID}
 
   for f := 1 to ParamCount do