1 |
#ifndef ONI_H |
2 |
#define ONI_H |
3 |
|
4 |
#include "Daodan.h" |
5 |
#include "Oni_GL.h" |
6 |
#include <windows.h> |
7 |
#include "Oni_GameState.h" |
8 |
|
9 |
typedef unsigned char onibool; |
10 |
|
11 |
#define WMcMessage_Quit 0x39 // WM_QUIT equivalent. |
12 |
|
13 |
typedef struct { |
14 |
HINSTANCE Instance; |
15 |
HWND Window; |
16 |
} ONtPlatformData; |
17 |
|
18 |
typedef struct { |
19 |
int16_t left; |
20 |
int16_t top; |
21 |
int16_t right; |
22 |
int16_t bottom; |
23 |
} UUtRect; |
24 |
|
25 |
void ONICALL TMrInstance_GetDataPtr_List( |
26 |
char Tag[4], //as in 'ONWC' |
27 |
int MaxCount, //# of elements in PointerList |
28 |
void** PointerList, //Where the found pointers go |
29 |
int* FoundCount //Where the number of pointers found go. |
30 |
); |
31 |
|
32 |
UUmType(WMtWindow); |
33 |
|
34 |
#include "Oni_Symbols.h" |
35 |
|
36 |
#endif |