ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Oni/Oni.h
Revision: 1017
Committed: Mon Mar 23 23:29:19 2015 UTC (10 years, 6 months ago) by alloc
Content type: text/x-chdr
File size: 724 byte(s)
Log Message:
Daodan 4.0: Added Input module, cheats bindable to keys

File Contents

# Content
1 #ifndef ONI_H
2 #define ONI_H
3
4 #include "stdint.h"
5 #include <stdio.h>
6 #include <windows.h>
7 #include <GL/gl.h>
8
9 #define ONICALL __fastcall
10
11
12 #include "stdtypes.h"
13 #include "BFW_Motoko_Draw.h"
14 #include "BFW_ScriptLang.h"
15 #include "Character.h"
16 #include "GameState.h"
17 #include "GL.h"
18 #include "OBJt.h"
19
20 #define DDmAssert(expr) assert(expr);
21
22 #define WMcMessage_Quit 0x39 // WM_QUIT equivalent.
23
24 typedef struct {
25 HINSTANCE Instance;
26 HWND Window;
27 } ONtPlatformData;
28
29 typedef struct {
30 int16_t left;
31 int16_t top;
32 int16_t right;
33 int16_t bottom;
34 } UUtRect;
35
36 typedef struct {
37 uint32_t input;
38 float analog;
39 } LItDeviceInput;
40
41 #include "Symbols_Var.h"
42 #include "Symbols_Func.h"
43
44 #endif