]> 4ch.mooo.com Git - 16.git/commitdiff
optimize for XT i did ww
authorsparky4 <sparky4@cock.li>
Thu, 16 Jun 2016 17:33:59 +0000 (12:33 -0500)
committersparky4 <sparky4@cock.li>
Thu, 16 Jun 2016 17:33:59 +0000 (12:33 -0500)
19 files changed:
data/spri/PRSBACW0.VRL
data/spri/PRSBACW1.VRL
data/spri/PRSBACW2.VRL
data/spri/PRSBFCW0.VRL
data/spri/PRSBFCW1.VRL
data/spri/PRSBFCW2.VRL
data/spri/PRSBLCW0.VRL
data/spri/PRSBLCW1.VRL
data/spri/PRSBLCW2.VRL
data/spri/PRSBRCW0.VRL
data/spri/PRSBRCW1.VRL
data/spri/PRSBRCW2.VRL
data/spri/chikyuu.h [new file with mode: 0755]
data/spri/chikyuu.pal [new file with mode: 0755]
data/spri/chikyuu.sht [new file with mode: 0755]
data/spri/chikyuu.vrl [new file with mode: 0755]
data/spri/chikyuu.vrs [new file with mode: 0755]
data/spri/chikyuus.h [new file with mode: 0755]
spri.sh

index 2c93df941710e8159e19f574925b3229bbe647a6..07bff3306fd7995c5c399750133b92423d78a4db 100755 (executable)
Binary files a/data/spri/PRSBACW0.VRL and b/data/spri/PRSBACW0.VRL differ
index fb3c7cf277534bd9b782e44c646081e0b483c634..ec041a114faa3e0b77f40381fcf13d6fdf17154e 100755 (executable)
Binary files a/data/spri/PRSBACW1.VRL and b/data/spri/PRSBACW1.VRL differ
index 65fc4bf6043d003123de1daeea056a4447c34e15..1c33d5cc20eff57135165d7c224e33bd95eefde5 100755 (executable)
Binary files a/data/spri/PRSBACW2.VRL and b/data/spri/PRSBACW2.VRL differ
index e2d1e1ffa12e2050f2b9295897295fcf7e78b430..f23ff45c8392b8ec2a1d2522938871893ac7fb48 100755 (executable)
Binary files a/data/spri/PRSBFCW0.VRL and b/data/spri/PRSBFCW0.VRL differ
index 6473a1693700db775c10c0c415747934be47caa2..bf450fb5f5246e929ea07d85a7bdf91b54c3ba4c 100755 (executable)
Binary files a/data/spri/PRSBFCW1.VRL and b/data/spri/PRSBFCW1.VRL differ
index 30f48d11c7310211afefac5027b45d135affdd22..fa668ccedb65637f3b4ff8b4add9196cde28ede4 100755 (executable)
Binary files a/data/spri/PRSBFCW2.VRL and b/data/spri/PRSBFCW2.VRL differ
index 161753b422cfe0bd24bf715faf2e780ee746e63d..d46727da0272fa4329382c53268e2137d6a6fa0f 100755 (executable)
Binary files a/data/spri/PRSBLCW0.VRL and b/data/spri/PRSBLCW0.VRL differ
index fba1dc95c5d39faaaab0ff0ae47024c7a6df4b73..0d11d5e862f892395f827e13ca80983bfcaa6930 100755 (executable)
Binary files a/data/spri/PRSBLCW1.VRL and b/data/spri/PRSBLCW1.VRL differ
index 7872c41acf8413fc09b12af3f079487eeed5058a..619cd6e2ea9e32aaf103bfffab9877ae432f5540 100755 (executable)
Binary files a/data/spri/PRSBLCW2.VRL and b/data/spri/PRSBLCW2.VRL differ
index b0a21ae5600fafb752b324000d8bb2fdacf417d3..1bc66ed0a667bdae67ec63b3e0b54698c611d34e 100755 (executable)
Binary files a/data/spri/PRSBRCW0.VRL and b/data/spri/PRSBRCW0.VRL differ
index 8c7267c5d355c9cc6010719d6e827d6c87045751..4081c60cc202253e80676d1c628bc297c02e9681 100755 (executable)
Binary files a/data/spri/PRSBRCW1.VRL and b/data/spri/PRSBRCW1.VRL differ
index 354fd6eb2bc3725e0d35aba6f8d84f565ab85d6e..fb3be77e97429768a19d156fc9e705d88feb0df8 100755 (executable)
Binary files a/data/spri/PRSBRCW2.VRL and b/data/spri/PRSBRCW2.VRL differ
diff --git a/data/spri/chikyuu.h b/data/spri/chikyuu.h
new file mode 100755 (executable)
index 0000000..8d607f7
--- /dev/null
@@ -0,0 +1,20 @@
+// header file for sprite sheet. AUTO GENERATED, do not edit
+// 
+// source PCX: ../chikyuu.pcx
+// sheet script: chikyuu.sht
+// palette file: chikyuu.pal
+
+#define _chikyuu_PRSBFCW0 10U
+#define _chikyuu_PRSBFCW1 11U
+#define _chikyuu_PRSBFCW2 12U
+#define _chikyuu_PRSBLCW0 20U
+#define _chikyuu_PRSBLCW1 21U
+#define _chikyuu_PRSBLCW2 22U
+#define _chikyuu_PRSBRCW0 30U
+#define _chikyuu_PRSBRCW1 31U
+#define _chikyuu_PRSBRCW2 32U
+#define _chikyuu_PRSBACW0 40U
+#define _chikyuu_PRSBACW1 41U
+#define _chikyuu_PRSBACW2 42U
+
+// end list
diff --git a/data/spri/chikyuu.pal b/data/spri/chikyuu.pal
new file mode 100755 (executable)
index 0000000..8761cd0
Binary files /dev/null and b/data/spri/chikyuu.pal differ
diff --git a/data/spri/chikyuu.sht b/data/spri/chikyuu.sht
new file mode 100755 (executable)
index 0000000..78d69ee
--- /dev/null
@@ -0,0 +1,73 @@
+# player.PCX demo sprite sheet compiler script
+# (C) 2016 Jonathan Campbell
+
+# *spritesheet declares the section used by the sprite sheet cutting tool
+#
+# Sprites are declared by name (which becomes the .VRL file) at the + in the form:
+# +NAME@ID
+#
+# Sprite names are meant for temporary use when compiling the sprite sheet into VRLs.
+# At some point a longer name might be provided for use in your code.
+# This will fill the CURRENT WORKING DIRECTORY with .VRL files as directed when you
+# run PCXSSCUT, make sure your makefile does this in a temporary directory when
+# you integrate into your build and that your cleanup commands delete these files,
+# and that your .gitignore does not attempt to commit these files.
+
+# this format is a bit crap, but we'll improve it as needed. be patient.
+
+# begin spritesheet section
+*spritesheet
+
+# ---------------- player, walking, blue shirt with white cross. Frame 2/3 could be used for standing still
+
+# player, forward, frame 1/3
++PRSBFCW0@10
+xy=0,0
+wh=16,32
+# player, forward, frame 2/3
++PRSBFCW1@11
+xy=16,0
+wh=16,32
+# player, forward, frame 3/3
++PRSBFCW2@12
+xy=32,0
+wh=16,32
+
+# player, left, frame 1/3
++PRSBLCW0@20
+xy=0,32
+wh=16,32
+# player, left, frame 2/3
++PRSBLCW1@21
+xy=16,32
+wh=16,32
+# player, left, frame 3/3
++PRSBLCW2@22
+xy=32,32
+wh=16,32
+
+# player, right, frame 1/3
++PRSBRCW0@30
+xy=0,64
+wh=16,32
+# player, right, frame 2/3
++PRSBRCW1@31
+xy=16,64
+wh=16,32
+# player, right, frame 3/3
++PRSBRCW2@32
+xy=32,64
+wh=16,32
+
+# player, away, frame 1/3
++PRSBACW0@40
+xy=0,96
+wh=16,32
+# player, away, frame 2/3
++PRSBACW1@41
+xy=16,96
+wh=16,32
+# player, away, frame 3/3
++PRSBACW2@42
+xy=32,96
+wh=16,32
diff --git a/data/spri/chikyuu.vrl b/data/spri/chikyuu.vrl
new file mode 100755 (executable)
index 0000000..3135293
Binary files /dev/null and b/data/spri/chikyuu.vrl differ
diff --git a/data/spri/chikyuu.vrs b/data/spri/chikyuu.vrs
new file mode 100755 (executable)
index 0000000..628a658
Binary files /dev/null and b/data/spri/chikyuu.vrs differ
diff --git a/data/spri/chikyuus.h b/data/spri/chikyuus.h
new file mode 100755 (executable)
index 0000000..9f06ace
--- /dev/null
@@ -0,0 +1,20 @@
+// header file for sprite sheet. AUTO GENERATED, do not edit
+// 
+// sheet script: chikyuu.sht
+
+// sprite sheet (sprite IDs)
+#define _chikyuu_PRSBFCW0_sprite 10U
+#define _chikyuu_PRSBFCW1_sprite 11U
+#define _chikyuu_PRSBFCW2_sprite 12U
+#define _chikyuu_PRSBLCW0_sprite 20U
+#define _chikyuu_PRSBLCW1_sprite 21U
+#define _chikyuu_PRSBLCW2_sprite 22U
+#define _chikyuu_PRSBRCW0_sprite 30U
+#define _chikyuu_PRSBRCW1_sprite 31U
+#define _chikyuu_PRSBRCW2_sprite 32U
+#define _chikyuu_PRSBACW0_sprite 40U
+#define _chikyuu_PRSBACW1_sprite 41U
+#define _chikyuu_PRSBACW2_sprite 42U
+// animation list (animation IDs)
+
+// end list
diff --git a/spri.sh b/spri.sh
index f34463404cb3f89b3e5b280989e4f00978b9db1e..aec65420fd596826fe365c3910c094f0e8e97ea9 100755 (executable)
--- a/spri.sh
+++ b/spri.sh
@@ -1,5 +1,6 @@
 #! /bin/bash
 cd data/spri
+#../../pcx2vrl -i ../"$1".pcx -o "$1".vrl -p "$1".pal -tc 0x"$2"
 ../../pcxsscut -s "$1".sht -hc "$1".h -hp _"$1"_ -i ../"$1".pcx -p "$1".pal -tc 0x"$2" -y
 ../../vrl2vrs -s "$1".sht -hc "$1"s.h -hp _"$1"_ -o "$1".vrs
 cd ../../