1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-15 04:14:34 +00:00

Remove functions.h (#2501)

* split most of functions.h

* osdriverominit

* forgot include

* fix

* remove functions.h

* temporary fix for fix_bss

* fix bss

* revert fix_bss.py change
This commit is contained in:
fig02 2025-04-05 19:16:52 -04:00 committed by GitHub
parent 1beeff9658
commit 5133db15a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
50 changed files with 326 additions and 194 deletions

24
include/transition_fade.h Normal file
View file

@ -0,0 +1,24 @@
#ifndef TRANSITION_FADE_H
#define TRANSITION_FADE_H
#include "ultra64.h"
#include "color.h"
typedef struct TransitionFade {
/* 0x000 */ u8 type;
/* 0x001 */ u8 isDone;
/* 0x002 */ u8 direction;
/* 0x004 */ Color_RGBA8_u32 color;
/* 0x008 */ u16 timer;
} TransitionFade; // size = 0xC
void TransitionFade_Start(void* thisx);
void* TransitionFade_Init(void* thisx);
void TransitionFade_Destroy(void* thisx);
void TransitionFade_Update(void* thisx, s32 updateRate);
void TransitionFade_Draw(void* thisx, Gfx** gfxP);
s32 TransitionFade_IsDone(void* thisx);
void TransitionFade_SetColor(void* thisx, u32 color);
void TransitionFade_SetType(void* thisx, s32 type);
#endif