#pragma once #ifndef ONI_H #define ONI_H #include "Daodan.h" 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); extern HINSTANCE g_Instance; extern ONtPlatformData ONgPlatformData; extern void* ONgGameState; #endif