ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Oni.h
Revision: 473
Committed: Fri Oct 30 07:41:39 2009 UTC (15 years, 11 months ago) by gumby
Content type: text/x-chdr
File size: 837 byte(s)
Log Message:
Added AI deafness for Shinobi mode
---
Turned on gl mod by default
--
Fixed gl mod
Fixed gamma ramp
---
Added typedef onibool
Added variable ai2_deaf

File Contents

# Content
1 #pragma once
2 #ifndef ONI_H
3 #define ONI_H
4
5 #include "Daodan.h"
6
7 #include <stdint.h>
8 #include <windows.h>
9
10 typedef unsigned char onibool;
11
12 typedef struct
13 {
14 HINSTANCE Instance;
15 HWND Window;
16 } ONtPlatformData;
17
18 void __cdecl ONiMain(int ArgCount, char *ArgList[]);
19 short ONICALL ONrPlatform_Initialize(ONtPlatformData *PlatformData);
20 LRESULT CALLBACK ONrPlatform_WindowProc(HWND Window, UINT Message, WPARAM WParam, LPARAM LParam);
21
22 uint8_t ONICALL ONrCheater(uint32_t cheat);
23
24 extern HINSTANCE g_Instance;
25 extern ONtPlatformData ONgPlatformData;
26
27 extern void* ONgGameState;
28 extern onibool ai2_deaf;
29
30 extern char M3gResolutionSwitch;
31
32 extern char opt_sound;
33 extern uint32_t opt_ignore_private_data;
34
35 extern char AKgDebug_DebugMaps;
36 extern char BFgDebugFileEnable;
37 extern char SSgSearchOnDisk;
38
39 #endif