mirror of
https://github.com/zeldaret/af.git
synced 2026-09-29 23:14:42 -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
33 lines
808 B
C
33 lines
808 B
C
#ifndef M_FBDEMO_H
|
|
#define M_FBDEMO_H
|
|
|
|
#include "ultra64.h"
|
|
#include "z64math.h"
|
|
|
|
typedef struct fbDemo {
|
|
/* 0x00 */ s32 cols;
|
|
/* 0x04 */ s32 rows;
|
|
/* 0x08 */ s32 frame;
|
|
/* 0x0C */ xy_t* vtxData;
|
|
/* 0x10 */ Vtx* vtxFrame1;
|
|
/* 0x14 */ Vtx* vtxFrame2;
|
|
/* 0x18 */ Mtx projection;
|
|
/* 0x58 */ Mtx modelView1;
|
|
/* 0x98 */ Mtx modelView2;
|
|
/* 0xD8 */ Gfx* gfxtbl;
|
|
/* 0xDC */ u16* zBuffer;
|
|
} fbDemo; // size = 0xE0
|
|
|
|
void fbdemo_init_gfx(fbDemo* this);
|
|
void fbdemo_init_data(fbDemo* this);
|
|
void fbdemo_cleanup(fbDemo* this);
|
|
fbDemo* fbdemo_init(fbDemo* this, s32 cols, s32 rows);
|
|
void fbdemo_update(fbDemo* this);
|
|
void fbdemo_draw(fbDemo* this, Gfx** gfxP);
|
|
void fbdemo_move_type_A(fbDemo* this);
|
|
void fbdemo_move(fbDemo* this);
|
|
s32 fbdemo_is_finish(fbDemo* this);
|
|
|
|
|
|
#endif
|