Decompile wipe.c
This commit is contained in:
parent
72c850b0fb
commit
f383e26929
12 changed files with 390 additions and 31 deletions
42
include/game/wipe.h
Normal file
42
include/game/wipe.h
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
#ifndef _GAME_WIPE_H
|
||||
#define _GAME_WIPE_H
|
||||
|
||||
#include "dolphin.h"
|
||||
|
||||
#define WIPE_TYPE_NORMAL 0
|
||||
#define WIPE_TYPE_CROSS 1
|
||||
#define WIPE_TYPE_DUMMY 2
|
||||
#define WIPE_MODE_IN 1
|
||||
#define WIPE_MODE_OUT 2
|
||||
#define WIPE_MODE_BLANK 3
|
||||
|
||||
typedef struct wipe_state {
|
||||
u32 unk00;
|
||||
u32 unk04;
|
||||
void *copy_data;
|
||||
u32 unk0C;
|
||||
void *unk10[8];
|
||||
float time;
|
||||
float duration;
|
||||
u32 unk38;
|
||||
u16 w;
|
||||
u16 h;
|
||||
u16 x;
|
||||
u16 y;
|
||||
GXColor color;
|
||||
volatile u8 type;
|
||||
u8 mode;
|
||||
u8 stat;
|
||||
u8 keep_copy;
|
||||
} WipeState;
|
||||
|
||||
void WipeInit(GXRenderModeObj *rmode);
|
||||
void WipeExecAlways(void);
|
||||
void WipeCreate(s16 mode, s16 type, s16 duration);
|
||||
void WipeColorSet(u8 r, u8 g, u8 b);
|
||||
u8 WipeStatGet(void);
|
||||
|
||||
extern WipeState wipeData;
|
||||
extern BOOL wipeFadeInF;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue