mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-25 15:25:04 -04:00
Color_RGBAu32 (#253)
* Renamed deprecated RGB5A1 to RGBA16 * Cleanup shopkeeper structs with Color_RGBAu32 and Vec3f * Rename functions with RGB5A1 in them * BSS fix
This commit is contained in:
@@ -283,8 +283,8 @@ void PreRender_AntiAliasAlgorithm(PreRender* this, s32 x, s32 y) {
|
||||
s32 pxR2;
|
||||
s32 pxG2;
|
||||
s32 pxB2;
|
||||
Color_RGB5A1 pxIn;
|
||||
Color_RGB5A1 pxOut;
|
||||
Color_RGBA16 pxIn;
|
||||
Color_RGBA16 pxOut;
|
||||
u32 pxR3;
|
||||
u32 pxG3;
|
||||
u32 pxB3;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#include "global.h"
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/sys_initial_check/Check_WriteRGB5A1Pixel.s")
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/sys_initial_check/Check_WriteRGBA16Pixel.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/sys_initial_check/Check_WriteI4Pixel.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/sys_initial_check/Check_DrawI4Texture.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/sys_initial_check/Check_ClearRGB5A1.s")
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/sys_initial_check/Check_ClearRGBA16.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/sys_initial_check/Check_DrawExpansionPakErrorMessage.s")
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
#include "prevent_bss_reordering.h"
|
||||
#include "global.h"
|
||||
|
||||
static s32 sMatAnimStep;
|
||||
static u32 sMatAnimFlags;
|
||||
static f32 sMatAnimAlphaRatio;
|
||||
s32 sMatAnimStep;
|
||||
u32 sMatAnimFlags;
|
||||
f32 sMatAnimAlphaRatio;
|
||||
|
||||
// Default displaylist that sets a valid displaylist into all of the segments.
|
||||
static Gfx sSceneDrawDefaultDL[] = {
|
||||
|
||||
Reference in New Issue
Block a user