mirror of
https://github.com/a2-4am/4cade.git
synced 2025-08-07 03:26:10 +00:00
migrate SWIRL effect to external file
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
Reference in New Issue
Block a user