From: sparky4 Date: Thu, 16 Jun 2016 17:33:59 +0000 (-0500) Subject: optimize for XT i did ww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=2dca5b88958b3206d8706ead3e70b49f9875357f;p=16.git optimize for XT i did ww --- diff --git a/data/spri/PRSBACW0.VRL b/data/spri/PRSBACW0.VRL index 2c93df94..07bff330 100755 Binary files a/data/spri/PRSBACW0.VRL and b/data/spri/PRSBACW0.VRL differ diff --git a/data/spri/PRSBACW1.VRL b/data/spri/PRSBACW1.VRL index fb3c7cf2..ec041a11 100755 Binary files a/data/spri/PRSBACW1.VRL and b/data/spri/PRSBACW1.VRL differ diff --git a/data/spri/PRSBACW2.VRL b/data/spri/PRSBACW2.VRL index 65fc4bf6..1c33d5cc 100755 Binary files a/data/spri/PRSBACW2.VRL and b/data/spri/PRSBACW2.VRL differ diff --git a/data/spri/PRSBFCW0.VRL b/data/spri/PRSBFCW0.VRL index e2d1e1ff..f23ff45c 100755 Binary files a/data/spri/PRSBFCW0.VRL and b/data/spri/PRSBFCW0.VRL differ diff --git a/data/spri/PRSBFCW1.VRL b/data/spri/PRSBFCW1.VRL index 6473a169..bf450fb5 100755 Binary files a/data/spri/PRSBFCW1.VRL and b/data/spri/PRSBFCW1.VRL differ diff --git a/data/spri/PRSBFCW2.VRL b/data/spri/PRSBFCW2.VRL index 30f48d11..fa668cce 100755 Binary files a/data/spri/PRSBFCW2.VRL and b/data/spri/PRSBFCW2.VRL differ diff --git a/data/spri/PRSBLCW0.VRL b/data/spri/PRSBLCW0.VRL index 161753b4..d46727da 100755 Binary files a/data/spri/PRSBLCW0.VRL and b/data/spri/PRSBLCW0.VRL differ diff --git a/data/spri/PRSBLCW1.VRL b/data/spri/PRSBLCW1.VRL index fba1dc95..0d11d5e8 100755 Binary files a/data/spri/PRSBLCW1.VRL and b/data/spri/PRSBLCW1.VRL differ diff --git a/data/spri/PRSBLCW2.VRL b/data/spri/PRSBLCW2.VRL index 7872c41a..619cd6e2 100755 Binary files a/data/spri/PRSBLCW2.VRL and b/data/spri/PRSBLCW2.VRL differ diff --git a/data/spri/PRSBRCW0.VRL b/data/spri/PRSBRCW0.VRL index b0a21ae5..1bc66ed0 100755 Binary files a/data/spri/PRSBRCW0.VRL and b/data/spri/PRSBRCW0.VRL differ diff --git a/data/spri/PRSBRCW1.VRL b/data/spri/PRSBRCW1.VRL index 8c7267c5..4081c60c 100755 Binary files a/data/spri/PRSBRCW1.VRL and b/data/spri/PRSBRCW1.VRL differ diff --git a/data/spri/PRSBRCW2.VRL b/data/spri/PRSBRCW2.VRL index 354fd6eb..fb3be77e 100755 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 index 00000000..8d607f78 --- /dev/null +++ b/data/spri/chikyuu.h @@ -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 index 00000000..8761cd04 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 index 00000000..78d69eec --- /dev/null +++ b/data/spri/chikyuu.sht @@ -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 index 00000000..31352939 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 index 00000000..628a6586 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 index 00000000..9f06acec --- /dev/null +++ b/data/spri/chikyuus.h @@ -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 f3446340..aec65420 100755 --- 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 ../../