Changeset 677 for Daodan/src/Oni.h


Ignore:
Timestamp:
Mar 3, 2013, 12:46:33 AM (13 years ago)
Author:
alloc
Message:

Daodan: Updated src to work with MinGW

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Oni.h

    r484 r677  
    44
    55#include "Daodan.h"
    6 
    7 #include <stdint.h>
     6#include "oni_gl.h"
     7//#include <stdint.h>
    88#include <windows.h>
    9 
     9#include "Oni_GameState.h"
    1010typedef unsigned char onibool;
    1111
     
    1515        HWND Window;
    1616} ONtPlatformData;
    17 
     17/*
    1818void __cdecl ONiMain(int ArgCount, char *ArgList[]);
    1919short ONICALL ONrPlatform_Initialize(ONtPlatformData *PlatformData);
    2020LRESULT CALLBACK ONrPlatform_WindowProc(HWND Window, UINT Message, WPARAM WParam, LPARAM LParam);
     21*/
     22//uint8_t ONICALL ONrCheater(uint32_t cheat);
    2123
    22 uint8_t ONICALL ONrCheater(uint32_t cheat);
    23 
    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);
     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);
    2626
    2727//
    2828void ONICALL TMrInstance_GetDataPtr_List(
    29         char Tag[4], //as in 'ONWC'
    30         int MaxCount, //# of elements in PointerList
     29        char Tag[4],            //as in 'ONWC'
     30        int MaxCount,           //# of elements in PointerList
    3131        void** PointerList, //Where the found pointers go
    3232        int* FoundCount         //Where the number of pointers found go.
    3333        );
    3434
    35 extern HINSTANCE g_Instance;
    36 extern ONtPlatformData ONgPlatformData;
    37 
    38 extern void* ONgGameState;
    39 extern onibool ai2_deaf;
    40 
    41 extern char M3gResolutionSwitch;
    42 
    43 extern char opt_sound;
    44 extern uint32_t opt_ignore_private_data;
    45 
    46 extern char AKgDebug_DebugMaps;
    47 extern char BFgDebugFileEnable;
    48 extern char SSgSearchOnDisk;
    49 
    50 
     35#include "Oni_Symbols.h"
    5136
    5237#endif
Note: See TracChangeset for help on using the changeset viewer.