marioparty4/include/dolphin/demo/DEMOStats.h
2025-04-01 05:14:15 +02:00

38 lines
818 B
C

#ifndef _DOLPHIN_DEMOSTATS
#define _DOLPHIN_DEMOSTATS
typedef enum DEMO_STAT_TYPE {
DEMO_STAT_GP0 = 0,
DEMO_STAT_GP1 = 1,
DEMO_STAT_MEM = 2,
DEMO_STAT_PIX = 3,
DEMO_STAT_VC = 4,
DEMO_STAT_FR = 5,
DEMO_STAT_TBW = 6,
DEMO_STAT_TBP = 7,
DEMO_STAT_MYC = 8,
DEMO_STAT_MYR = 9
} DEMO_STAT_TYPE;
typedef struct DemoStatData {
char text[50];
DEMO_STAT_TYPE stat_type;
unsigned long stat;
unsigned long count;
} DemoStatData;
typedef enum {
DEMO_STAT_TL = 0,
DEMO_STAT_BL = 1,
DEMO_STAT_TLD = 2,
DEMO_STAT_BLD = 3,
DEMO_STAT_IO = 4
} DEMO_STAT_DISP;
extern unsigned char DemoStatEnable;
void DEMOSetStats(DemoStatData * stat, unsigned long nstats, DEMO_STAT_DISP disp);
void DEMOUpdateStats(unsigned char inc);
void DEMOPrintStats(void);
#endif