DEADSOFTWARE

tools: fix build with sdl2
[d2df-sdl.git] / src / tools / wadcvt.dpr
index 452d549ccacc809cbc4c405b050ed69882c02d5c..b4827cb4d389fe1db2cef474d57b5b53662910a2 100644 (file)
@@ -1,9 +1,8 @@
-(* Copyright (C)  DooM 2D:Forever Developers
+(* Copyright (C)  Doom 2D: Forever Developers
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation, version 3 of the License ONLY.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -28,6 +27,14 @@ program __wadcvt__;
 uses
   SysUtils,
   Classes,
+  {$IFDEF USE_SDL}
+    SDL in '../lib/sdl/sdl.pas',
+  {$ENDIF}
+  {$IFDEF USE_SDL2}
+    SDL2 in '../lib/sdl2/sdl2.pas',
+  {$ENDIF}
+  {$I ../shared/vampimg.inc}
+  mempool in '../shared/mempool.pas',
   utils in '../shared/utils.pas',
   xstreams in '../shared/xstreams.pas',
   xparser in '../shared/xparser.pas',
@@ -38,12 +45,11 @@ uses
   sfsZipFS in '../sfs/sfsZipFS.pas',
   paszlib,
   wadreader in '../shared/wadreader.pas',
+  hashtable in '../shared/hashtable.pas',
   conbuf in '../shared/conbuf.pas',
-  BinEditor in '../shared/BinEditor.pas',
   MAPDEF in '../shared/MAPDEF.pas',
   CONFIG in '../shared/CONFIG.pas',
-  e_log in '../engine/e_log.pas',
-  ImagingTypes, Imaging, ImagingUtility;
+  e_log in '../engine/e_log.pas';
 
 
 {.$WARNINGS ON}