DEADSOFTWARE

render: remove g_gfx dependency on e_graphics
[d2df-sdl.git] / src / game / Doom2DF.lpr
index 53d54fc0e4d7c0d44b635c216e71c333eb779e45..adbf20556266cf7651dc6d74d098e89e863269b3 100644 (file)
@@ -41,9 +41,9 @@ uses
 {$ENDIF}
 
 {$IFDEF USE_SDL}
-  SDL,
+  SDL in '../lib/sdl/sdl.pas',
   {$IFDEF USE_SDLMIXER}
-    SDL_mixer,
+    SDL_mixer in '../lib/sdl/sdl_mixer.pas',
   {$ENDIF}
 {$ENDIF}
 {$IFDEF USE_SDL2}
@@ -153,6 +153,10 @@ uses
   g_touch in 'sdl2/g_touch.pas',
 {$ENDIF}
 
+  r_console in 'opengl/r_console.pas',
+  r_game in 'opengl/r_game.pas',
+  r_gfx in 'opengl/r_gfx.pas',
+
 {$IFDEF USE_FMOD}
   fmod in '../lib/FMOD/fmod.pas',
   fmoderrors in '../lib/FMOD/fmoderrors.pas',
@@ -204,6 +208,11 @@ var
 {$ENDIF}
   //tfo: Text;
 begin
+{$IFDEF ANDROID}
+  System.argc := argc;
+  System.argv := argv;
+{$ENDIF}
+
   SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]); //k8: fuck off, that's why
 
   f := 1;