]> 4ch.mooo.com Git - 16.git/commitdiff
i now await joncampbell321 for the finishing of the sht format ^^
authorsparky4 <sparky4@cock.li>
Fri, 15 Apr 2016 16:34:43 +0000 (11:34 -0500)
committersparky4 <sparky4@cock.li>
Fri, 15 Apr 2016 16:34:43 +0000 (11:34 -0500)
data/spri/ptmp.sht [new file with mode: 0755]
data/spri/ptmp.vrs [new file with mode: 0755]
makefile
ptmp.h [new file with mode: 0755]
ptmps.h [new file with mode: 0755]
spri.sh

diff --git a/data/spri/ptmp.sht b/data/spri/ptmp.sht
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/data/spri/ptmp.vrs b/data/spri/ptmp.vrs
new file mode 100755 (executable)
index 0000000..aba7f89
Binary files /dev/null and b/data/spri/ptmp.vrs differ
index 8e6543239956a5c0e2c3eb7dfa9944567fcb8943..d8b5fd20b827b65f5ca462e2695741d1b8f2c12f 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -88,8 +88,7 @@ TESTEXEC = exmmtest.exe test.exe pcxtest.exe pcxtest2.exe test2.exe palettec.exe
 #testemm.exe testemm0.exe fonttes0.exe miditest.exe sega.exe sountest.exe
 EXEC = 16.exe bakapi.exe $(TESTEXEC) tesuto.exe
 
-all: $(EXEC) vrl2vrs.exe pcxsscut.exe
-#joytest.exe
+all: $(EXEC) joytest.exe vrs
 
 #$(16LIBOBJS) => 16.lib bug....
 #
diff --git a/ptmp.h b/ptmp.h
new file mode 100755 (executable)
index 0000000..440f377
--- /dev/null
+++ b/ptmp.h
@@ -0,0 +1,8 @@
+// header file for sprite sheet. AUTO GENERATED, do not edit
+// 
+// source PCX: data/ptmp.pcx
+// sheet script: data/spri/ptmp.sht
+// palette file: data/spri/ptmp.pal
+
+
+// end list
diff --git a/ptmps.h b/ptmps.h
new file mode 100755 (executable)
index 0000000..729ecd5
--- /dev/null
+++ b/ptmps.h
@@ -0,0 +1,8 @@
+// header file for sprite sheet. AUTO GENERATED, do not edit
+// 
+// sheet script: data/spri/ptmp.sht
+
+// sprite sheet (sprite IDs)
+// animation list (animation IDs)
+
+// end list
diff --git a/spri.sh b/spri.sh
index 1b2407fe0f883d3a79caa5497560e374ba6b21ce..4427c0248db6fa02f63a0138212ecd4bc1c1656a 100755 (executable)
--- a/spri.sh
+++ b/spri.sh
@@ -1,4 +1,5 @@
 #! /bin/bash
-
-./pcxsscut -s data/spri/"$*".sht -hc "$1".h -hp _"$1"_ -i data/"$1".pcx -p data/spri/"$1".pal -tc 0x0 -y
-./vrl2vrs -s data/spri/"$*".sht -hc "$1"s.h -hp _"$1"_ -o data/spri/"$1".vrs
+./pcxsscut     -s data/spri/"$1".sht -hc "$1".h -hp _"$1"_ -i data/"$1".pcx -p data/spri/"$1".pal -tc 0x"$2" -y
+./vrl2vrs      -s data/spri/"$1".sht -hc "$1"s.h -hp _"$1"_ -o data/spri/"$1".vrs
+# . ./pcxsscut "$pee"
+# . ./vrl2vrs "$pee"