Skip to content

Commit

Permalink
Fixed config. Release candidate.
Browse files Browse the repository at this point in the history
  • Loading branch information
dynamite1981 committed Apr 9, 2007
1 parent 787cf06 commit e240959
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 15 deletions.
18 changes: 17 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,23 @@ ZIP = zip
ZIPFLAGS = -j
ZIPFILE = $(PACKAGE)-$(VERSION).zip

binarydist:
MAKEPIMP = wine makepimp

bindistprep:
make
$(STRIP) src/.libs/in_adlib.dll

zipdist: bindistprep
$(ZIP) -l $(ZIPFLAGS) $(ZIPFILE) $(BINARYDIST)
$(ZIP) $(ZIPFLAGS) $(ZIPFILE) $(BINARYBINS)

pimpdist: bindistprep
make
# MakePimp is unable to read from src/.libs, since .libs is an invalid
# path for a Windows program. Thus, we temporarily copy the file to a
# saner path.
cp src/.libs/in_adlib.dll .
$(MAKEPIMP) in_adlib.psc
rm in_adlib.dll

binarydist: zipdist pimpdist
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Changes for version 1.8 (2007-04-09)
- Fixed default for ignored filetypes.
- New default playback is in stereo.

Changes for version 1.7 (2006-05-13)
- Now using the GNU build-system and compiled with MinGW by default. This
fixes a lot of bugs.
Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AdPlug Winamp plugin v1.7
AdPlug Winamp plugin v1.8

Copyright (c) 1999 - 2006 Simon Peter <[email protected]>
Copyright (c) 1999 - 2007 Simon Peter <[email protected]>
Copyright (c) 2002 Nikita V. Kalaganov <[email protected]>

Website: http://adplug.sourceforge.net
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tell autoconf we're compiling a C++ DLL, using automake & libtool
AC_INIT(in_adlib,1.7)
AC_INIT(in_adlib,1.8)
AC_CONFIG_SRCDIR(src/plugin.cpp)
AC_CONFIG_FILES([Makefile src/Makefile in_adlib.psc])
AM_INIT_AUTOMAKE
Expand Down
4 changes: 2 additions & 2 deletions in_adlib.psc.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ OutFile @PACKAGE@-@[email protected]
; --------------------

SetOutPath $DSPDIR
AddFile @srcdir@/src/.libs/in_adlib.dll
AddFile @srcdir@/README
AddFile in_adlib.dll
AddFile @srcdir@\README
;AddFile ..\..\adplug.db

; Post-install execute section
Expand Down
6 changes: 3 additions & 3 deletions src/config.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 1999 - 2006 Simon Peter <[email protected]>
Copyright (c) 1999 - 2007 Simon Peter <[email protected]>
Copyright (c) 2002 Nikita V. Kalaganov <[email protected]>
This library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -34,7 +34,7 @@
#define DFL_EMU emuts
#define DFL_REPLAYFREQ 44100
#define DFL_USE16BIT true
#define DFL_STEREO false
#define DFL_STEREO true
#define DFL_USEOUTPUT DFL_EMU
#define DFL_ADLIBPORT 0x388
#define DFL_TESTOPL2 true
Expand All @@ -43,7 +43,7 @@
#define DFL_PRIORITY 4
#define DFL_STDTIMER true
#define DFL_DISKDIR "C:\\"
#define DFL_IGNORED "17;"
#define DFL_IGNORED "19;"
#define DFL_DBFILE "adplug.db"
#define DFL_USEDB true
#define DFL_S3M_WORKAROUND true
Expand Down
4 changes: 2 additions & 2 deletions src/in_adlib.rc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode: C -*-
*
* Copyright (c) 1999 - 2006 Simon Peter <[email protected]>
* Copyright (c) 1999 - 2007 Simon Peter <[email protected]>
* Copyright (c) 2002 Nikita V. Kalaganov <[email protected]>
*
* This library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -119,7 +119,7 @@ BEGIN
SS_REALSIZEIMAGE,5,41,267,71
CTEXT "",IDC_PLUGIN_VER,6,0,273,8,NOT WS_GROUP
LTEXT "url_sp",IDC_URL_SP,175,14,50,8,NOT WS_GROUP
RTEXT "Copyright (c) 1999 - 2006 Simon Peter <",IDC_STATIC,49,
RTEXT "Copyright (c) 1999 - 2007 Simon Peter <",IDC_STATIC,49,
14,126,8,NOT WS_GROUP
LTEXT ">",IDC_STATIC,226,14,8,8,NOT WS_GROUP
LTEXT "url_nk",IDC_URL_NK,181,23,38,8,NOT WS_GROUP
Expand Down
9 changes: 5 additions & 4 deletions src/plugin.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 1999 - 2006 Simon Peter <[email protected]>
Copyright (c) 1999 - 2007 Simon Peter <[email protected]>
Copyright (c) 2002 Nikita V. Kalaganov <[email protected]>
This library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -228,10 +228,11 @@ extern "C" __declspec(dllexport) In_Module *winampGetInModule2()
mod.UsesOutputPlug = config.useoutputplug;

filetypes.add("a2m", "Adlib Tracker 2 Modules (*.A2M)");
filetypes.add("adl", "Westwood ADL Files (*.ADL)");
filetypes.add("amd", "AMUSIC Modules (*.AMD)");
filetypes.add("bam", "Bob's Adlib Music Files (*.BAM)");
filetypes.add("cmf", "Creative Adlib Music Files (*.CMF)");
filetypes.add("cff", "BoomTracker 4 Modules (*.CFF)");
filetypes.add("cmf", "Creative Adlib Music Files (*.CMF)");
filetypes.add("d00", "Packed EdLib Modules (*.D00)");
filetypes.add("dfm", "Digital-FM Modules (*.DFM)");
filetypes.add("dmo", "TwinTeam Modules (*.DMO)");
Expand All @@ -255,14 +256,14 @@ extern "C" __declspec(dllexport) In_Module *winampGetInModule2()
filetypes.add("rol", "Adlib Visual Composer Modules (*.ROL)");
if(!cfg.s3m_workaround)
filetypes.add("s3m", "Scream Tracker 3 Modules (*.S3M)");
filetypes.add("sat", "Surprise! Adlib Tracker Modules (*.SAT)");
filetypes.add("sa2", "Surprise! Adlib Tracker 2 Modules (*.SA2)");
filetypes.add("sat", "Surprise! Adlib Tracker Modules (*.SAT)");
filetypes.add("sci", "Sierra Adlib Audio Files (*.SCI)");
filetypes.add("sng", "Adlib Tracker Modules (*.SNG)");
filetypes.add("sng", "Faust Music Creator Modules (*.SNG)");
filetypes.add("sng", "SNGPlay Files (*.SNG)");
filetypes.add("xms", "XMS-Tracker Modules (*.XMS)");
filetypes.add("xad", "Exotic Adlib Files (*.XAD)");
filetypes.add("xms", "XMS-Tracker Modules (*.XMS)");
filetypes.add("xsm", "eXtra Simple Music Files (*.XSM)");

filetypes.set_ignore_list(config.get_ignored());
Expand Down

0 comments on commit e240959

Please sign in to comment.