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