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.

master
kts 2013-12-21 02:38:46 -08:00
parent c7f3ac15d3
commit df13ab259f
1 changed files with 1 additions and 0 deletions

View File

@ -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