summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4137386)
raw | patch | inline | side by side (parent: 4137386)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Sun, 1 Sep 2019 00:01:00 +0000 (03:01 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Sun, 1 Sep 2019 00:01:00 +0000 (03:01 +0300) |
src/game/Doom2DF.lpr | patch | blob | history | |
src/lib/xmp/xmp.pas | patch | blob | history |
diff --git a/src/game/Doom2DF.lpr b/src/game/Doom2DF.lpr
index c3c7c3e5a88767a87bcab210667c58ade6299a22..639fbcc98597ab2ff3619d0e7f0d7355d5ae1a9d 100644 (file)
--- a/src/game/Doom2DF.lpr
+++ b/src/game/Doom2DF.lpr
{$ENDIF}
{$IFDEF USE_OPENAL}
AL in '../lib/openal/al.pas',
- XMP in '../lib/xmp/xmp.pas',
e_soundfile in '../engine/e_soundfile.pas',
e_soundfile_wav in '../engine/e_soundfile_wav.pas',
+{$IFDEF USE_MODPLUG}
+ modplug in '../lib/modplug/modplug.pas',
+ e_soundfile_modplug in '../engine/e_soundfile_modplug.pas',
+{$ELSE}
+ xmp in '../lib/xmp/xmp.pas',
e_soundfile_xmp in '../engine/e_soundfile_xmp.pas',
+{$ENDIF}
{$ENDIF}
ENet in '../lib/enet/enet.pp',
e_graphics in '../engine/e_graphics.pas',
diff --git a/src/lib/xmp/xmp.pas b/src/lib/xmp/xmp.pas
index 2f48d07482c2ef9141d4bfd73e7d632091b833c1..cd80954cff28152610ec753bfe59d54c4e47d0ee 100644 (file)
--- a/src/lib/xmp/xmp.pas
+++ b/src/lib/xmp/xmp.pas
{$IF DEFINED(XMP_DYNAMIC)}
const
{$IF DEFINED(WINDOWS)}
+ {$IF DEFINED(USE_XMP_FULL)}
+ xmplib = 'libxmp.dll';
+ {$ELSE}
xmplib = 'libxmp-lite.dll';
+ {$ENDIF}
{$ELSEIF DEFINED(UNIX)}
+ {$IF DEFINED(USE_XMP_FULL)}
+ xmplib = 'libxmp.so';
+ {$ELSE}
xmplib = 'libxmp-lite.so';
+ {$ENDIF}
{$ELSE}
{$MESSAGE ERROR 'XMP_DYNAMIC not supported'}
{$IFEND}
{$ELSE}
+ {$IF DEFINED(USE_XMP_FULL)}
+ {$LINKLIB xmp}
+ {$ELSE}
{$LINKLIB xmp-lite}
+ {$ENDIF}
{$ENDIF}
const
- XMP_VER_STRING = '4.5.0';
- XMP_VER_CODE = $040500;
+ XMP_VER_STRING = '4.4.1';
+ XMP_VER_CODE = $040401;
XMP_VER_MAJOR = 4;
- XMP_VER_MINOR = 5;
- XMP_VER_RELEASE = 0;
+ XMP_VER_MINOR = 4;
+ XMP_VER_RELEASE = 1;
const
XMP_NAME_SIZE = 64; (* Size of module name and type *)