This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BGScrollSize_GHZ: | |
dc.w $20 ; cloud 1 | |
dc.w $10 ; cloud 2 | |
dc.w $10 ; cloud 3 | |
dc.w $30 ; distant mountains | |
dc.w $28 ; hills with waterfall | |
dc.w $8068 ; water (pixelwise) | |
BGScrollSize_MZ: | |
dc.w $200 ; unused 2 chunks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Background Scroll Deformation - ported from S3&K | |
; Input: a4 - block size specification | |
; a5 - block position buffer | |
; Block Size Format: Each word is Size, if bit 15 set - then force 1px scroll | |
ProcessBGScroll: | |
move.w #224-1,d1 ; 224px | |
ProcessBGScroll_ParamSize: ; for custom screen heights | |
lea (v_hscrolltablebuffer).w,a1 |