Last change
on this file since 1052 was 1017, checked in by alloc, 10 years ago |
Daodan 4.0: Added Input module, cheats bindable to keys
|
File size:
724 bytes
|
Rev | Line | |
---|
[992] | 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 |
|
---|
[1017] | 36 | typedef struct {
|
---|
| 37 | uint32_t input;
|
---|
| 38 | float analog;
|
---|
| 39 | } LItDeviceInput;
|
---|
| 40 |
|
---|
[992] | 41 | #include "Symbols_Var.h"
|
---|
| 42 | #include "Symbols_Func.h"
|
---|
| 43 |
|
---|
| 44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.