source: Daodan/src/Oni.h@ 986

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

Daodan: TV code

File size: 1.2 KB
RevLine 
[273]1#ifndef ONI_H
2#define ONI_H
3
[326]4#include "Daodan.h"
[692]5#include "Oni_GL.h"
[452]6#include <windows.h>
[677]7#include "Oni_GameState.h"
[692]8
[473]9typedef unsigned char onibool;
10
[705]11#define WMcMessage_Quit 0x39 // WM_QUIT equivalent.
12
[692]13typedef struct {
[322]14 HINSTANCE Instance;
15 HWND Window;
16} ONtPlatformData;
[273]17
[983]18typedef struct {
19 int16_t left;
20 int16_t top;
21 int16_t right;
22 int16_t bottom;
23} UUtRect;
[452]24
[984]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
[476]57void ONICALL TMrInstance_GetDataPtr_List(
[677]58 char Tag[4], //as in 'ONWC'
59 int MaxCount, //# of elements in PointerList
[476]60 void** PointerList, //Where the found pointers go
61 int* FoundCount //Where the number of pointers found go.
[705]62);
[476]63
[705]64UUmType(WMtWindow);
65
[677]66#include "Oni_Symbols.h"
[323]67
[273]68#endif
Note: See TracBrowser for help on using the repository browser.