Files
CraftyBoss dce2a9346f init commit
2026-01-10 19:54:05 -08:00

26 lines
657 B
C

#ifndef C_API_H
#define C_API_H
typedef void (*cAPIGph_Mthd)(void);
typedef int (*cAPIGph_MthdRet)(void);
struct cAPI_Interface {
/* 0x00 */ cAPIGph_MthdRet createMtd;
/* 0x04 */ cAPIGph_MthdRet beforeOfDrawMtd;
/* 0x08 */ cAPIGph_MthdRet afterOfDrawMtd;
/* 0x0C */ cAPIGph_MthdRet painterMtd;
/* 0x10 */ cAPIGph_Mthd blankingOnMtd;
/* 0x14 */ cAPIGph_Mthd blankingOffMtd;
};
extern void mDoGph_BlankingON();
extern void mDoGph_BlankingOFF();
extern int mDoGph_BeforeOfDraw();
extern int mDoGph_AfterOfDraw();
extern int mDoGph_Painter();
extern int mDoGph_Create();
extern cAPI_Interface g_cAPI_Interface;
#endif /* C_API_H */