From a6a3aaeb0a9735f061a4176fcac3df592c4c821e Mon Sep 17 00:00:00 2001 From: nmlgc Date: Thu, 23 Mar 2023 22:32:11 +0100 Subject: [PATCH] [Reverse-engineering] [th02] Bombs: Particle sprites The circle point sprite is technically identical to the pellet sprite, but logically different. Part of P0237, funded by Yanga. --- Tupfile | 2 ++ Tupfile.bat | 1 + th02/sprites/bombpart.bmp | Bin 0 -> 126 bytes th02/sprites/bombpart.h | 10 ++++++++ th02_main.asm | 47 ++++---------------------------------- 5 files changed, 17 insertions(+), 43 deletions(-) create mode 100644 th02/sprites/bombpart.bmp create mode 100644 th02/sprites/bombpart.h diff --git a/Tupfile b/Tupfile index f8427d68..e8deb765 100644 --- a/Tupfile +++ b/Tupfile @@ -71,6 +71,7 @@ BMP2ARR = bin\\Pipeline\\bmp2arr.exe : th01/sprites/pillar.bmp |> !bmp2arr -sym sPILLAR -of cpp -sw 32 -sh 8 |> th01/sprites/pillar.csp : th01/sprites/shape8x8.bmp |> !bmp2arr -sym sSHAPE8X8 -of cpp -sw 8 -sh 8 |> th01/sprites/shape8x8.csp : th01/sprites/bonusbox.bmp |> !bmp2arr -sym sSTAGEBONUS_BOX -of cpp -sw 8 -sh 4 |> th01/sprites/bonusbox.csp +: th02/sprites/bombpart.bmp |> !bmp2arr -sym _sBOMB_PARTICLES -of asm -sw 8 -sh 8 |> th02/sprites/bombpart.asp : th02/sprites/pellet.bmp |> !bmp2arr -sym _sPELLET -of asm -sw 8 -sh 8 -pshf outer |> th02/sprites/pellet.asp : th02/sprites/sparks.bmp |> !bmp2arr -sym _sSPARKS -of asm -sw 8 -sh 8 -pshf outer |> th02/sprites/sparks.asp : th02/sprites/pointnum.bmp |> !bmp2arr -sym _sPOINTNUMS -of asm -sw 8 -sh 8 |> th02/sprites/pointnum.asp @@ -102,6 +103,7 @@ BMP2ARR = bin\\Pipeline\\bmp2arr.exe : th02_zuninit.asm |> !as |> bin\\th02\\zuninit.obj : th02_op.asm |> !as |> bin\\th02\\op.obj : th02_main.asm | \ + th02/sprites/bombpart.asp \ th02/sprites/pellet.asp \ th02/sprites/sparks.asp \ th02/sprites/pointnum.asp \ diff --git a/Tupfile.bat b/Tupfile.bat index 82ba1f30..0f382564 100644 --- a/Tupfile.bat +++ b/Tupfile.bat @@ -14,6 +14,7 @@ bin\\Pipeline\\bmp2arr.exe -q -i th01/sprites/pellet_c.bmp -o th01/sprites/pelle bin\\Pipeline\\bmp2arr.exe -q -i th01/sprites/pillar.bmp -o th01/sprites/pillar.csp -sym sPILLAR -of cpp -sw 32 -sh 8 bin\\Pipeline\\bmp2arr.exe -q -i th01/sprites/shape8x8.bmp -o th01/sprites/shape8x8.csp -sym sSHAPE8X8 -of cpp -sw 8 -sh 8 bin\\Pipeline\\bmp2arr.exe -q -i th01/sprites/bonusbox.bmp -o th01/sprites/bonusbox.csp -sym sSTAGEBONUS_BOX -of cpp -sw 8 -sh 4 +bin\\Pipeline\\bmp2arr.exe -q -i th02/sprites/bombpart.bmp -o th02/sprites/bombpart.asp -sym _sBOMB_PARTICLES -of asm -sw 8 -sh 8 bin\\Pipeline\\bmp2arr.exe -q -i th02/sprites/pellet.bmp -o th02/sprites/pellet.asp -sym _sPELLET -of asm -sw 8 -sh 8 -pshf outer bin\\Pipeline\\bmp2arr.exe -q -i th02/sprites/sparks.bmp -o th02/sprites/sparks.asp -sym _sSPARKS -of asm -sw 8 -sh 8 -pshf outer bin\\Pipeline\\bmp2arr.exe -q -i th02/sprites/pointnum.bmp -o th02/sprites/pointnum.asp -sym _sPOINTNUMS -of asm -sw 8 -sh 8 diff --git a/th02/sprites/bombpart.bmp b/th02/sprites/bombpart.bmp new file mode 100644 index 0000000000000000000000000000000000000000..dd0ae2528a35e1459486f5371b1dbfb9eb22d7e4 GIT binary patch literal 126 zcmZ?rtz&=yJ0PV2#T-DI5ePxR0f>dUAsEDmf&c&igPArE0Rf0P0s>%B0RamTEnrde P519`XfvRH=0O