| Line | |
|---|
| 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 | typedef struct OBJtMethods
|
|---|
| 26 | {
|
|---|
| 27 | void* rNew;
|
|---|
| 28 | void* rSetDefaults;
|
|---|
| 29 | void* rDelete;
|
|---|
| 30 | void* rIsInvalid;
|
|---|
| 31 | void* rLevelBegin;
|
|---|
| 32 | void* rLevelEnd;
|
|---|
| 33 |
|
|---|
| 34 | void* rDraw;
|
|---|
| 35 | void* rEnumerate;
|
|---|
| 36 | void* rGetBoundingSphere;
|
|---|
| 37 | void* rOSDGetName;
|
|---|
| 38 | void* rOSDSetName;
|
|---|
| 39 | void* rIntersectsLine;
|
|---|
| 40 | void* rUpdatePosition;
|
|---|
| 41 |
|
|---|
| 42 | void* rGetOSD;
|
|---|
| 43 | void* rGetOSDWriteSize;
|
|---|
| 44 | void* rSetOSD;
|
|---|
| 45 |
|
|---|
| 46 | void* rWrite;
|
|---|
| 47 | void* rRead;
|
|---|
| 48 |
|
|---|
| 49 | void* rSearch;
|
|---|
| 50 |
|
|---|
| 51 | void* rGetClassVisible;
|
|---|
| 52 | void* rSetClassVisible;
|
|---|
| 53 |
|
|---|
| 54 | void* rGetUniqueOSD;
|
|---|
| 55 | } OBJtMethods;
|
|---|
| 56 |
|
|---|
| 57 | void ONICALL TMrInstance_GetDataPtr_List(
|
|---|
| 58 | char Tag[4], //as in 'ONWC'
|
|---|
| 59 | int MaxCount, //# of elements in PointerList
|
|---|
| 60 | void** PointerList, //Where the found pointers go
|
|---|
| 61 | int* FoundCount //Where the number of pointers found go.
|
|---|
| 62 | );
|
|---|
| 63 |
|
|---|
| 64 | UUmType(WMtWindow);
|
|---|
| 65 |
|
|---|
| 66 | #include "Oni_Symbols.h"
|
|---|
| 67 |
|
|---|
| 68 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.