mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-15 12:39:06 -04:00
Fog
This commit is contained in:
+4
-4
@@ -1606,7 +1606,7 @@ LightNode* Lights_FindBufSlot();
|
||||
void Lights_FreeNode(LightNode* light);
|
||||
void LightContext_Init(PlayState* play, LightContext* lightCtx);
|
||||
void LightContext_SetAmbientColor(LightContext* lightCtx, u8 r, u8 g, u8 b);
|
||||
void func_80102544(LightContext* lightCtx, u8 a1, u8 a2, u8 a3, s16 numLights, s16 sp16);
|
||||
void LightContext_SetFogProperties(LightContext* lightCtx, u8 r, u8 g, u8 b, s16 near, s16 far);
|
||||
Lights* LightContext_NewLights(LightContext* lightCtx, GraphicsContext* gfxCtx);
|
||||
void LightContext_InitList(PlayState* play, LightContext* lightCtx);
|
||||
void LightContext_DestroyList(PlayState* play, LightContext* lightCtx);
|
||||
@@ -2444,8 +2444,8 @@ void func_80165438(UNK_PTR param_1);
|
||||
// void Play_DrawMotionBlur(void);
|
||||
// void Play_InitMotionBlur(void);
|
||||
// void Play_DestroyMotionBlur(void);
|
||||
void Play_SetMotionBlurAlpha(u32 motionBlurAlpha);
|
||||
void Play_EnableMotionBlur(u32 motionBlurAlpha);
|
||||
void Play_SetMotionBlurAlpha(u32 alpha);
|
||||
void Play_EnableMotionBlur(u32 alpha);
|
||||
void Play_DisableMotionBlur(void);
|
||||
// void func_801656A4(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6, UNK_TYPE4 param_7, UNK_TYPE4 param_8);
|
||||
// void Play_EnableMotionBlurPriority(void);
|
||||
@@ -2454,7 +2454,7 @@ void Play_DisableMotionBlur(void);
|
||||
// void Play_ChooseDynamicTransition(void);
|
||||
// void Play_SetupTransition(void);
|
||||
// void Play_ClearTransition(void);
|
||||
Gfx* func_801660B8(PlayState* this, Gfx* gfx);
|
||||
Gfx* Play_SetFog(PlayState* this, Gfx* gfx);
|
||||
void Play_Destroy(GameState* thisx);
|
||||
// void func_801663C4(void);
|
||||
// void func_80166644(void);
|
||||
|
||||
+3
-5
@@ -74,11 +74,9 @@ typedef struct LightsBuffer {
|
||||
typedef struct LightContext {
|
||||
/* 0x0 */ LightNode* listHead;
|
||||
/* 0x4 */ Color_RGB8 ambient;
|
||||
/* 0x7 */ u8 unk7;
|
||||
/* 0x8 */ u8 unk8;
|
||||
/* 0x9 */ u8 unk9;
|
||||
/* 0xA */ s16 unkA;
|
||||
/* 0xC */ s16 unkC;
|
||||
/* 0x7 */ Color_RGB8 fogColor;
|
||||
/* 0xA */ s16 fogNear;
|
||||
/* 0xC */ s16 fogFar;
|
||||
} LightContext; // size = 0x10
|
||||
|
||||
typedef enum LightType {
|
||||
|
||||
Reference in New Issue
Block a user