mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-11 21:21:59 -04:00
implement fbdemo_triforce
This commit is contained in:
@@ -16,6 +16,13 @@ extern u8 FONT_nes_tex_cursor[];
|
||||
extern u8 FONT_nes_tex_next[];
|
||||
extern u8 FONT_nes_tex_choice[];
|
||||
|
||||
|
||||
extern u8 ef_wipe1_modelT[];
|
||||
extern u8 ef_wipe2_modelT[];
|
||||
extern u8 ef_wipe3_modelT[];
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -21,6 +21,6 @@ extern void fbdemo_fade_move(TransitionFade*, int);
|
||||
extern void fbdemo_fade_startup(TransitionFade*);
|
||||
extern void fbdemo_fade_settype(TransitionFade*, int);
|
||||
extern void fbdemo_fade_setcolor_rgba8888(TransitionFade*, u32);
|
||||
extern void fbdemo_fade_is_finish(TransitionFade*);
|
||||
extern u8 fbdemo_fade_is_finish(TransitionFade*);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,30 @@
|
||||
#ifndef M_FBDEMO_TRIFORCE_H
|
||||
#define M_FBDEMO_TRIFORCE_H
|
||||
|
||||
#include "types.h"
|
||||
#include "PR/mbi.h"
|
||||
#include "libu64/u64types.h"
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ int txt;
|
||||
/* 0x04 */ int frame;
|
||||
/* 0x08 */ u8 direction;
|
||||
/* 0x09 */ u8 textureno;
|
||||
/* 0x0A */ s8 finished;
|
||||
/* 0x0B */ u8 tmp;
|
||||
/* 0x0C */ u16 normal;
|
||||
/* 0x0E*/ u8 temp2[2];
|
||||
/* 0x10 */ Mtx perspmtx;
|
||||
/* 0x50 */ Mtx lookatmtx;
|
||||
} TransitionTriforce; // size = 0x90;
|
||||
|
||||
extern void fbdemo_triforce_startup(TransitionTriforce*);
|
||||
extern TransitionTriforce* fbdemo_triforce_init(TransitionTriforce*);
|
||||
extern void fbdemo_triforce_move(TransitionTriforce*, int);
|
||||
extern void fbdemo_triforce_draw(TransitionTriforce*, Gfx**);
|
||||
extern s8 fbdemo_triforce_is_finish(TransitionTriforce*);
|
||||
extern void fbdemo_triforce_settype(TransitionTriforce*, int);
|
||||
extern void fbdemo_fade_setcolor_rgba8888(void);
|
||||
|
||||
|
||||
#endif
|
||||
@@ -21,9 +21,9 @@ typedef struct {
|
||||
|
||||
extern TransitionWipe* fbdemo_wipe1_init(TransitionWipe*);
|
||||
extern void fbdemo_wipe1_move(TransitionWipe*, int);
|
||||
extern void fbdemo_wipe1_draw(TransitionWipe* Gfx**);
|
||||
extern void fbdemo_wipe1_draw(TransitionWipe*, Gfx**);
|
||||
extern void fbdemo_wipe1_startup(TransitionWipe*);
|
||||
extern void fbdemo_wipe1_settype(TransitionWipe*, int);
|
||||
extern void fbdemo_wipe1_setcolor_rgba8888(TransitionWipe*, u32);
|
||||
extern void fbdemo_wipe1_is_finish(TransitionWipe*);
|
||||
extern u8 fbdemo_wipe1_is_finish(TransitionWipe*);
|
||||
#endif
|
||||
+1
-2
@@ -11,8 +11,7 @@ extern "C" {
|
||||
extern Gfx* gfx_gSPTextureRectangle1(Gfx* gfx, u32 ulx, u32 uly, u32 lrx, u32 lry, int tile, int s, int t, int dsdx, int dtdy);
|
||||
extern Gfx* gfx_gDPFillRectangle1(Gfx* gfx, u32 ulx, u32 uly, u32 lrx, u32 lry);
|
||||
extern Gfx* gfx_gDPFillRectangleF(Gfx* gfx, u32 ulx, u32 uly, u32 lrx, u32 lry);
|
||||
extern Gfx* gfx_tex_scroll2(Gfx** gfxpp, u32 x, u32 y, s32 width, s32 height);
|
||||
|
||||
extern Gfx* gfx_tex_scroll2(Gfx** gfxpp, u32 x, u32 y, int width, int height);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user