source: Daodan/src/Oni.h@ 475

Last change on this file since 475 was 473, checked in by gumby, 15 years ago

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 size: 837 bytes
RevLine 
[273]1#pragma once
2#ifndef ONI_H
3#define ONI_H
4
[326]5#include "Daodan.h"
6
[452]7#include <stdint.h>
8#include <windows.h>
9
[473]10typedef unsigned char onibool;
11
[322]12typedef struct
13{
14 HINSTANCE Instance;
15 HWND Window;
16} ONtPlatformData;
17
[273]18void __cdecl ONiMain(int ArgCount, char *ArgList[]);
[322]19short ONICALL ONrPlatform_Initialize(ONtPlatformData *PlatformData);
[323]20LRESULT CALLBACK ONrPlatform_WindowProc(HWND Window, UINT Message, WPARAM WParam, LPARAM LParam);
[273]21
[452]22uint8_t ONICALL ONrCheater(uint32_t cheat);
23
[323]24extern HINSTANCE g_Instance;
[326]25extern ONtPlatformData ONgPlatformData;
[323]26
[437]27extern void* ONgGameState;
[473]28extern onibool ai2_deaf;
[437]29
[466]30extern char M3gResolutionSwitch;
31
32extern char opt_sound;
33extern uint32_t opt_ignore_private_data;
34
35extern char AKgDebug_DebugMaps;
36extern char BFgDebugFileEnable;
37extern char SSgSearchOnDisk;
38
[273]39#endif
Note: See TracBrowser for help on using the repository browser.