From df13ab259f5859e170e6ae5818f739adf228aea3 Mon Sep 17 00:00:00 2001 From: kts Date: Sat, 21 Dec 2013 02:38:46 -0800 Subject: [PATCH] added pack_tiles.c, providing pack_tiles, a program that takes a directory as an argument and creates a new file (directory/directory.tsd) from cleaned files 'doors', 'floors', 'npcs', 'walls', 'equips', 'items', and 'players' in that directory. At the moment it can be used on the xibalba directory to create 'xibalba/xibalba.tsd', which can then be tested with test/t2d.c, providing the internal filename referenced is changed. At the moment the Data system does not properly deal with inventories so any inventory/equipment declaration is ignored. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 38bf272..f206e64 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,7 @@ all: $(BINARY) clean: rm -f $(OBJS) tiles.o $(CURSES_OBJS) $(SDL_OBJS) $(BINARY) rm -f pack_tiles + rm -f pack_data cd test && make clean pack_tiles: pack_tiles.c