ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Oni.h
Revision: 437
Committed: Fri Jul 17 05:04:02 2009 UTC (16 years, 2 months ago) by rossy
Content type: text/x-chdr
File size: 483 byte(s)
Log Message:
Daodan_Console

File Contents

# Content
1 #pragma once
2 #ifndef ONI_H
3 #define ONI_H
4
5 #include "Daodan.h"
6
7 typedef struct
8 {
9 HINSTANCE Instance;
10 HWND Window;
11 } ONtPlatformData;
12
13 void __cdecl ONiMain(int ArgCount, char *ArgList[]);
14 short ONICALL ONrPlatform_Initialize(ONtPlatformData *PlatformData);
15 LRESULT CALLBACK ONrPlatform_WindowProc(HWND Window, UINT Message, WPARAM WParam, LPARAM LParam);
16
17 extern HINSTANCE g_Instance;
18 extern ONtPlatformData ONgPlatformData;
19
20 extern void* ONgGameState;
21
22 #endif