source: Daodan/src/Oni.h@ 468

Last change on this file since 468 was 466, checked in by rossy, 15 years ago

command line arguments (btw Oni's AUrBuildArgumentList doesn't follow C standards, this confused me for ages)

File size: 777 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
[322]10typedef struct
11{
12 HINSTANCE Instance;
13 HWND Window;
14} ONtPlatformData;
15
[273]16void __cdecl ONiMain(int ArgCount, char *ArgList[]);
[322]17short ONICALL ONrPlatform_Initialize(ONtPlatformData *PlatformData);
[323]18LRESULT CALLBACK ONrPlatform_WindowProc(HWND Window, UINT Message, WPARAM WParam, LPARAM LParam);
[273]19
[452]20uint8_t ONICALL ONrCheater(uint32_t cheat);
21
[323]22extern HINSTANCE g_Instance;
[326]23extern ONtPlatformData ONgPlatformData;
[323]24
[437]25extern void* ONgGameState;
26
[466]27extern char M3gResolutionSwitch;
28
29extern char opt_sound;
30extern uint32_t opt_ignore_private_data;
31
32extern char AKgDebug_DebugMaps;
33extern char BFgDebugFileEnable;
34extern char SSgSearchOnDisk;
35
[273]36#endif
Note: See TracBrowser for help on using the repository browser.