migrate SWIRL effect to external file

This commit is contained in:
4am
2020-11-15 00:18:03 -05:00
parent 6fb322532a
commit 7c8b695829
3 changed files with 10 additions and 6729 deletions

View File

@@ -230,6 +230,7 @@ InitOnce
dec $ef dec $ef
bpl --- bpl ---
bmi +++ ; always branches bmi +++ ; always branches
aslmod4 jsr aslmod
aslmod3 jsr aslmod aslmod3 jsr aslmod
aslmod2 jsr aslmod aslmod2 jsr aslmod
aslmod cmp #$1A aslmod cmp #$1A

View File

@@ -1,17 +1,17 @@
;license:MIT ;license:MIT
;(c) 2019 by 4am ;(c) 2019-2020 by 4am/qkumba
; ;
!cpu 6502 !cpu 6502
!to "build/FX/SWIRL",plain !to "build/FX/SWIRL",plain
*=$6000 *=$6000
!source "src/fx/fx.hgr.precomputed.1bit.a" !source "src/fx/fx.hgr.precomputed.1bit.a"
!source "src/fx/fx.hgr.radial.common.a"
!if * and 1 { +FX_INITONCE_1BIT CoordinatesFile, Start
!byte 0 +FX_RIPPLE_1BIT aslmod4
} Start
Coordinates +FX_PRECOMPUTED_1BIT Coordinates1Bit
!source "src/fx/fx.hgr.swirl.data.a"
EndCoordinates CoordinatesFile
!byte $80 !byte 15
!text "FX/CORNER4.DATA"

File diff suppressed because it is too large Load Diff