From 49df68a4cab9435d2bb6ca53625eb861e28c393f Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 31 Jan 2003 16:01:33 +0000 Subject: adding ToD lzss and removing some stuff... --- Makefile | 9 +++------ includes/lzss.h | 1 + lib/lzss.cpp | 1 + 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 2bd7f57..0582435 100755 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ #!/usr/bin/make -f CPPFLAGS=-Wall -g -O3 -mcpu=i686 -Werror -Iincludes `sdl-config --cflags` -DHAVE_ZLIB -LDFLAGS=-lz `sdl-config --libs` -lGL -lGLU -L/usr/X11/lib +LDFLAGS=-lz `sdl-config --libs` CXX=g++ -SUBDIRS = psxdev generic lib Xenogears VP MegamanX5 mogltk ToD -TARGET = lzss dlzss cd-tool str-player crypto-search bgrep dte-tool tile-convert gltest +SUBDIRS = psxdev generic lib Xenogears VP MegamanX5 ToD +TARGET = lzss dlzss cd-tool str-player crypto-search bgrep dte-tool tile-convert all: subdirs ${TARGET} @@ -39,9 +39,6 @@ bgrep: bgrep.o includes/generic.h generic/generic.a Makefile tile-convert: tile-convert.o generic/generic.a Makefile ${CXX} tile-convert.o generic/generic.a -o tile-convert ${LDFLAGS} -gltest: gltest.o mogltk/mogltk.a generic/generic.a Makefile - ${CXX} gltest.o mogltk/mogltk.a generic/generic.a -o gltest ${LDFLAGS} - clean: for d in ${SUBDIRS} ; do make -C $$d clean || exit -1 ; done rm -f *.o ${TARGET} compil.c diff --git a/includes/lzss.h b/includes/lzss.h index 17f4806..37d3ed6 100644 --- a/includes/lzss.h +++ b/includes/lzss.h @@ -51,6 +51,7 @@ class lzss : public Base { FF6, VP_1, VP_2, + TOD, END }; diff --git a/lib/lzss.cpp b/lib/lzss.cpp index d74c33e..cc80778 100644 --- a/lib/lzss.cpp +++ b/lib/lzss.cpp @@ -52,6 +52,7 @@ const lzss::scheme_t lzss::schemes[] = { {"FF6 PSX", 0, 0, 0, 1, 1, 1, 0, 0, 0, 0x1f, 1, 0x00, 0, 0xe0, -4, 0xff, 4, 0x00, 0, 0x00, 0, 0x00, 0, 0x00, 0}, {"Valkyrie-1", 0, 0, 0, 1, 1, 0, 0, 0, 0, 0x00, 0, 0xf0, -4, 0xff, 0, 0x0f, 8, 0x00, 0, 0x00, 0, 0x00, 0, 0x00, 0}, {"Valkyrie-2", 0, 0, 0, 1, 1, 0, 0, 2, 0, 0x00, 0, 0xf0, -4, 0xff, 0, 0x0f, 8, 0x00, 0, 0x0f, 0, 0xff, 0, 0x00, 0}, + {"ToD", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00, 0, 0x0f, 0, 0xff, 0, 0xf0, 4, 0x00, 0, 0x00, 0, 0x00, 0, 0x00, 0}, {0 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00, 0, 0x00, 0, 0x00, 0, 0x00, 0} }; -- cgit v1.2.3