mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-23 13:42:25 -04:00
eed14acdc6
The hope of auto-importing data via lld MinGW + pseudo_reloc is now dead thanks to ARM64, so I just wrote a script to go annotate every exported data symbol in the game instead.
18 lines
425 B
C
18 lines
425 B
C
#ifndef C_API_H
|
|
#define C_API_H
|
|
|
|
typedef void (*cAPIGph_Mthd)(void);
|
|
|
|
struct cAPI_Interface {
|
|
/* 0x00 */ cAPIGph_Mthd createMtd;
|
|
/* 0x04 */ cAPIGph_Mthd beforeOfDrawMtd;
|
|
/* 0x08 */ cAPIGph_Mthd afterOfDrawMtd;
|
|
/* 0x0C */ cAPIGph_Mthd painterMtd;
|
|
/* 0x10 */ cAPIGph_Mthd blankingOnMtd;
|
|
/* 0x14 */ cAPIGph_Mthd blankingOffMtd;
|
|
};
|
|
|
|
DUSK_GAME_EXTERN cAPI_Interface g_cAPI_Interface;
|
|
|
|
#endif /* C_API_H */
|