sly1/include/wipe.h
2024-07-07 00:22:36 +00:00

52 lines
654 B
C

/**
* @file wipe.h
*/
#ifndef WIPE_H
#define WIPE_H
#include "common.h"
#include <transition.h>
/**
* @brief Wipe Kind
*/
enum WIPEK
{
WIPEK_Fade = 0,
WIPEK_Keyhole = 1,
WIPEK_WorldMap = 2,
WIPEK_Frozen = 3,
WIPEK_Max = 4
};
/**
* @brief Wipe State
*/
enum WIPES
{
WIPES_Idle = 0,
WIPES_WipingOut = 1,
WIPES_Black = 2,
WIPES_WipingIn = 3,
WIPES_Max = 4
};
/**
* @brief Screen wipe
*/
struct WIPE
{
undefined4 unk_0x0;
WIPES wipes;
float tWipes;
float uBlack;
TRANS transButton;
WIPEK wipek;
WIPEK wipekButton;
};
extern WIPE *g_pwipe;
extern WIPE g_wipe;
#endif // WIPE_H