#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; extern char M3gResolutionSwitch; extern char opt_sound; extern uint32_t opt_ignore_private_data; extern char AKgDebug_DebugMaps; extern char BFgDebugFileEnable; extern char SSgSearchOnDisk; #endif