source: Daodan/src/Oni.h@ 989

Last change on this file since 989 was 984, checked in by alloc, 11 years ago

Daodan: TV code

File size: 1.2 KB
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
9typedef unsigned char onibool;
10
11#define WMcMessage_Quit 0x39 // WM_QUIT equivalent.
12
13typedef struct {
14 HINSTANCE Instance;
15 HWND Window;
16} ONtPlatformData;
17
18typedef struct {
19 int16_t left;
20 int16_t top;
21 int16_t right;
22 int16_t bottom;
23} UUtRect;
24
25typedef 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
57void 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
64UUmType(WMtWindow);
65
66#include "Oni_Symbols.h"
67
68#endif
Note: See TracBrowser for help on using the repository browser.