#pragma once #ifndef ONI_H #define ONI_H #include "Daodan.h" #include #include typedef struct { HINSTANCE Instance; HWND Window; } ONtPlatformData; void __cdecl ONiMain(int ArgCount, char *ArgList[]); short ONICALL ONrPlatform_Initialize(ONtPlatformData *PlatformData); LRESULT CALLBACK ONrPlatform_WindowProc(HWND Window, UINT Message, WPARAM WParam, LPARAM LParam); uint8_t ONICALL ONrCheater(uint32_t cheat); extern HINSTANCE g_Instance; extern ONtPlatformData ONgPlatformData; extern void* ONgGameState; #endif