source: Daodan/src/Oni.h@ 620

Last change on this file since 620 was 484, checked in by gumby, 15 years ago

ZOMG FLATLINE

File size: 1.2 KB
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
[476]24char* ONICALL SSrMessage_Find(char* message_key); //Returns a prompt message from a message key
25void ONICALL ONiGameState_FindAutoPromptMessage(char* Note, void* ptr);
26
27//
28void ONICALL TMrInstance_GetDataPtr_List(
29 char Tag[4], //as in 'ONWC'
30 int MaxCount, //# of elements in PointerList
31 void** PointerList, //Where the found pointers go
32 int* FoundCount //Where the number of pointers found go.
33 );
34
[323]35extern HINSTANCE g_Instance;
[326]36extern ONtPlatformData ONgPlatformData;
[323]37
[437]38extern void* ONgGameState;
[473]39extern onibool ai2_deaf;
[437]40
[466]41extern char M3gResolutionSwitch;
42
43extern char opt_sound;
44extern uint32_t opt_ignore_private_data;
45
46extern char AKgDebug_DebugMaps;
47extern char BFgDebugFileEnable;
48extern char SSgSearchOnDisk;
49
[476]50
[484]51
[273]52#endif
Note: See TracBrowser for help on using the repository browser.