Level mods

This commit is contained in:
Rob Pearce 2009-05-17 23:22:55 +00:00
parent 956331c271
commit 670433bcf6
5 changed files with 37 additions and 11 deletions

View File

@ -1,8 +1,20 @@
LIBS = libs/libSDL-1.2.0.dylib libs/libSDL_image-1.2.0.dylib libs/libSDL_mixer-1.2.0.dylib libs/libSDL_ttf-2.0.0.dylib libs/libjpeg.62.dylib libs/libpng.3.dylib libs/libvorbisfile.3.dylib libs/libogg.0.dylib libs/libsmpeg-0.4.0.dylib libs/libmikmod.2.dylib libs/libvorbis.0.dylib libs/libSDL_gfx.dylib
all: rc edit all: rc edit
rc: rc.c rc.h shared.c shared.h defs.h rc: rc.c shared.c rc.h shared.h globals.h defs.h
gcc -Wall -DREV=`./getsvnrev.sh` -orc -g rc.c shared.c `sdl-config --cflags --libs` -I/usr/local/include -L/usr/local/lib -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lSDL_mixer gcc -Wall -DREV=`./getsvnrev.sh` -o rc -g rc.c shared.c `sdl-config --cflags --libs` -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lSDL_Mixer
edit: edit.c edit.h shared.c shared.h defs.h edit: edit.c shared.c edit.h shared.h globals.h defs.h
gcc -D__EDITOR -Wall -DREV=`./getsvnrev.sh` -oedit -g edit.c shared.c `sdl-config --cflags --libs` -I/usr/local/include -L/usr/local/lib -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lSDL_mixer gcc -DREV=`./getsvnrev.sh` -D__EDITOR -Wall -o edit -g edit.c shared.c `sdl-config --cflags --libs` -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf
app: rc
if [ `uname -s` != "Darwin" ]; then echo "Mac .app bundle generation is only available under OSX."; exit 1; fi;
if [ -d RatCatcher.app ]; then rm -fr RatCatcher.app ; fi
# create staging area without svn files
rsync -rC data/ staging/data
platypus -a rc -t shell -o TextWindow -R -u "Rob Pearce" -f staging/data -f rc scripts/run.sh RatCatcher.app
seticon -d icon.icns RatCatcher.app
dylibbundler -od -b -x ./RatCatcher.app/Contents/Resources/rc -d ./RatCatcher.app/Contents/libs/ -p @executable_path/../libs/
zip -r RatCatcher.zip RatCatcher.app

View File

@ -3,10 +3,10 @@ LIBS = libs/libSDL-1.2.0.dylib libs/libSDL_image-1.2.0.dylib libs/libSDL_mixer-1
all: rc edit all: rc edit
rc: rc.c shared.c rc.h shared.h globals.h defs.h rc: rc.c shared.c rc.h shared.h globals.h defs.h
gcc -Wall -o rc -g rc.c shared.c `sdl-config --cflags --libs` -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lSDL_Mixer gcc -Wall -DREV=`./getsvnrev.sh` -o rc -g rc.c shared.c `sdl-config --cflags --libs` -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lSDL_Mixer
edit: edit.c shared.c edit.h shared.h globals.h defs.h edit: edit.c shared.c edit.h shared.h globals.h defs.h
gcc -D__EDITOR -Wall -o edit -g edit.c shared.c `sdl-config --cflags --libs` -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf gcc -DREV=`./getsvnrev.sh` -D__EDITOR -Wall -o edit -g edit.c shared.c `sdl-config --cflags --libs` -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf
app: rc app: rc
if [ `uname -s` != "Darwin" ]; then echo "Mac .app bundle generation is only available under OSX."; exit 1; fi; if [ `uname -s` != "Darwin" ]; then echo "Mac .app bundle generation is only available under OSX."; exit 1; fi;

View File

@ -4,8 +4,22 @@ hurryup 30
help help
endhelp endhelp
monsters monsters
0 0 0 0 3 28
134 0 0 134 33 26
172 9 3
172 32 6
132 37 25 600 416 600 39 603 39 603 39 603 39 603 39
132 2 2 40 48 40 406 41 406 41 406 41 406 41 406 41 406 41 406
171 22 10
171 8 18
171 24 17
12 14 22
12 34 18
49 17 27
49 28 22
6 15 13
6 29 11
23 23 17
endmonsters endmonsters
exitdir 1 exitdir 1
74,98,98,98,98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,98,98,98,98,74, 74,98,98,98,98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,98,98,98,98,74,

View File

@ -8,7 +8,7 @@ monsters
134 38 22 134 38 22
23 18 10 23 18 10
172 20 3 172 20 3
132 34 16 552 272 552 272 552 272 552 272 552 460 132 34 16 552 272 552 272 552 272 552 272 552 272 552 460
49 24 17 49 24 17
49 27 23 49 27 23
157 8 27 157 8 27

View File

@ -17,7 +17,7 @@ monsters
6 2 17 6 2 17
49 19 2 49 19 2
endmonsters endmonsters
exitdir 1 exitdir -2
74,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,74,74,74,74,74,74,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,74, 74,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,74,74,74,74,74,74,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,74,
74,98,98,98,98,98,98,98,97,75,97,98,98,98,98,98,98,74,98,98,98,98,74,98,98,98,98,98,98,97,75,97,98,98,98,98,98,98,98,74, 74,98,98,98,98,98,98,98,97,75,97,98,98,98,98,98,98,74,98,98,98,98,74,98,98,98,98,98,98,97,75,97,98,98,98,98,98,98,98,74,
74,98,98,98,98,98,98,97,75,99,75,97,98,98,98,98,98,74,98,98,98,98,74,98,98,98,98,98,97,75,99,75,97,98,98,98,98,98,98,74, 74,98,98,98,98,98,98,97,75,99,75,97,98,98,98,98,98,74,98,98,98,98,74,98,98,98,98,98,97,75,99,75,97,98,98,98,98,98,98,74,