diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-07-31 14:55:42 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-08-02 14:52:05 -0400 |
commit | b40cee540e6e4268dcae990c6a08ebba50b3cec9 (patch) | |
tree | 6d4cf78f6efdfbd8dc11131a9a989eae3a4992af /src/roulette_util.c | |
parent | 22b5b6b0741a5e0831cc78ffaef7c1f6407044f0 (diff) |
Continue documenting roulette
Diffstat (limited to 'src/roulette_util.c')
-rwxr-xr-x | src/roulette_util.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/roulette_util.c b/src/roulette_util.c index c51330f21..4e6977675 100755 --- a/src/roulette_util.c +++ b/src/roulette_util.c @@ -4,6 +4,10 @@ #include "roulette_util.h" #include "util.h" +// "Roulette Util" is perhaps more accurately a general flashing util +// e.g. it handles fading the palettes for the color selections on the Roulette wheel +// but it also handles the "pulse blend" effect of Mirage Tower + void sub_8151678(struct UnkStruct0 *r0) { r0->var00 = 0; @@ -429,7 +433,8 @@ void UpdatePulseBlend(struct PulseBlend *pulseBlend) } } -void ClearGridSelectionRect(u16 *dest, u16 src, u8 left, u8 top, u8 width, u8 height) +// Below used for the Roulette grid +void ClearTilemapRect(u16 *dest, u16 src, u8 left, u8 top, u8 width, u8 height) { u16 *_dest; u8 i; @@ -446,7 +451,7 @@ void ClearGridSelectionRect(u16 *dest, u16 src, u8 left, u8 top, u8 width, u8 he } } -void SetGridSelectionRect(u16 *dest, u16 *src, u8 left, u8 top, u8 width, u8 height) +void SetTilemapRect(u16 *dest, u16 *src, u8 left, u8 top, u8 width, u8 height) { u16 *_dest; u16 *_src = src; |