changeset 2536:f791c889f74c

We have never actually supported J2B (Jazz Jackrabbit 2) modules (the loader was a stub), so remove the references to it.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 28 Apr 2008 16:46:35 +0300
parents cdccb12b19a6
children d137e1c827ba
files src/modplug/Makefile src/modplug/archive/archive.cxx src/modplug/load_j2b.cxx src/modplug/modplugbmp.cxx src/modplug/plugin.cxx
diffstat 5 files changed, 1 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/src/modplug/Makefile	Mon Apr 28 16:31:52 2008 +0300
+++ b/src/modplug/Makefile	Mon Apr 28 16:46:35 2008 +0300
@@ -32,7 +32,6 @@
        load_ams.cxx		\
        load_amf.cxx		\
        load_669.cxx		\
-       load_j2b.cxx		\
        load_mt2.cxx		\
        load_psm.cxx		\
        archive/archive.cxx	\
--- a/src/modplug/archive/archive.cxx	Mon Apr 28 16:31:52 2008 +0300
+++ b/src/modplug/archive/archive.cxx	Mon Apr 28 16:46:35 2008 +0300
@@ -69,8 +69,6 @@
 		return true;
 	if (lExt == ".xm")
 		return true;
-	if (lExt == ".j2b")
-		return true;
 	if (lExt == ".mt2")
 		return true;
 	if (lExt == ".psm")
--- a/src/modplug/load_j2b.cxx	Mon Apr 28 16:31:52 2008 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-/*
- * This source code is public domain.
- *
- * Authors: Olivier Lapicque <olivierl@jps.net>
-*/
-
-
-///////////////////////////////////////////////////
-//
-// J2B module loader
-//
-///////////////////////////////////////////////////
-#include "stdafx.h"
-#include "sndfile.h"
-
--- a/src/modplug/modplugbmp.cxx	Mon Apr 28 16:31:52 2008 +0300
+++ b/src/modplug/modplugbmp.cxx	Mon Apr 28 16:46:35 2008 +0300
@@ -198,8 +198,6 @@
 		return true;
 	if (lExt == ".ult")
 		return true;
-	if (lExt == ".j2b")
-		return true;
 	if (lExt == ".mt2")
 		return true;
 
--- a/src/modplug/plugin.cxx	Mon Apr 28 16:31:52 2008 +0300
+++ b/src/modplug/plugin.cxx	Mon Apr 28 16:46:35 2008 +0300
@@ -81,7 +81,7 @@
 }
 
 const gchar *fmts[] =
-    { "amf", "ams", "dbm", "dbf", "dsm", "far", "mdl", "stm", "ult", "j2b", "mt2",
+    { "amf", "ams", "dbm", "dbf", "dsm", "far", "mdl", "stm", "ult", "mt2",
       "mdz", "mdr", "mdgz", "mdbz", "mod", "s3z", "s3r", "s3gz", "s3m", "xmz", "xmr", "xmgz",
       "itz", "itr", "itgz", "dmf", "umx", "it", "669", "xm", "mtm", "psm", "ft2",
       "zip", "gz", "bz2", "rar", "rb",