Last change
on this file since 677 was 677, checked in by alloc, 12 years ago |
Daodan: Updated src to work with MinGW
|
File size:
1010 bytes
|
Rev | Line | |
---|
[273] | 1 | #pragma once
|
---|
| 2 | #ifndef ONI_H
|
---|
| 3 | #define ONI_H
|
---|
| 4 |
|
---|
[326] | 5 | #include "Daodan.h"
|
---|
[677] | 6 | #include "oni_gl.h"
|
---|
| 7 | //#include <stdint.h>
|
---|
[452] | 8 | #include <windows.h>
|
---|
[677] | 9 | #include "Oni_GameState.h"
|
---|
[473] | 10 | typedef unsigned char onibool;
|
---|
| 11 |
|
---|
[322] | 12 | typedef struct
|
---|
| 13 | {
|
---|
| 14 | HINSTANCE Instance;
|
---|
| 15 | HWND Window;
|
---|
| 16 | } ONtPlatformData;
|
---|
[677] | 17 | /*
|
---|
[273] | 18 | void __cdecl ONiMain(int ArgCount, char *ArgList[]);
|
---|
[322] | 19 | short ONICALL ONrPlatform_Initialize(ONtPlatformData *PlatformData);
|
---|
[323] | 20 | LRESULT CALLBACK ONrPlatform_WindowProc(HWND Window, UINT Message, WPARAM WParam, LPARAM LParam);
|
---|
[677] | 21 | */
|
---|
| 22 | //uint8_t ONICALL ONrCheater(uint32_t cheat);
|
---|
[273] | 23 |
|
---|
[677] | 24 | //char* ONICALL SSrMessage_Find(char* message_key); //Returns a prompt message from a message key
|
---|
| 25 | //void ONICALL ONiGameState_FindAutoPromptMessage(char* Note, void* ptr);
|
---|
[452] | 26 |
|
---|
[476] | 27 | //
|
---|
| 28 | void ONICALL TMrInstance_GetDataPtr_List(
|
---|
[677] | 29 | char Tag[4], //as in 'ONWC'
|
---|
| 30 | int MaxCount, //# of elements in PointerList
|
---|
[476] | 31 | void** PointerList, //Where the found pointers go
|
---|
| 32 | int* FoundCount //Where the number of pointers found go.
|
---|
| 33 | );
|
---|
| 34 |
|
---|
[677] | 35 | #include "Oni_Symbols.h"
|
---|
[323] | 36 |
|
---|
[273] | 37 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.