mirror of
https://github.com/zeldaret/af.git
synced 2026-10-08 01:33:54 -04:00
943287ddfa
* m_fbdemo OK * m_fbdemo_wipe1 OK * fix play * m_fbdemo_triforce OK * link triforce * m_fbdemo_fade OK * typo * newline * format
27 lines
717 B
C
27 lines
717 B
C
#ifndef M_FBDEMO_FADE_H
|
|
#define M_FBDEMO_FADE_H
|
|
|
|
#include "ultra64.h"
|
|
#include "color.h"
|
|
|
|
typedef struct fbDemoFade {
|
|
/* 0x000 */ u8 type;
|
|
/* 0x001 */ u8 isDone;
|
|
/* 0x002 */ u8 direction;
|
|
/* 0x004 */ Color_RGBA8_u32 color;
|
|
/* 0x008 */ s16 frame;
|
|
/* 0x00A */ u16 unkA;
|
|
/* 0x00C */ u16 timer;
|
|
} fbDemoFade; // size = 0x10
|
|
|
|
fbDemoFade* fbdemo_fade_init(fbDemoFade* this);
|
|
void fbdemo_fade_move(fbDemoFade* this, s32 rate);
|
|
void fbdemo_fade_draw(fbDemoFade* this, Gfx** gfxP);
|
|
void fbdemo_fade_startup(fbDemoFade* this);
|
|
void fbdemo_fade_settype(fbDemoFade* this, int type);
|
|
void fbdemo_fade_setcolor_rgba8888(fbDemoFade* this, u32 color);
|
|
u8 fbdemo_fade_is_finish(fbDemoFade* this);
|
|
|
|
|
|
#endif
|