#define symbol(name, value) .global name; .set name, 0x00400000 + value // MSVC6.0 stdlib symbol ( _oni_malloc , 0x0011fc24 ) symbol ( _oni_free , 0x0011fbf5 ) symbol ( _oni_fopen , 0x0011ea9f ) symbol ( _oni_fflush , 0x0011eab2 ) symbol ( _oni_fprintf , 0x0011ebbf ) symbol ( _oni_vsprintf , 0x0011e860 ) // Oni Engine symbol ( _ONiMain , 0x000d3280 ) symbol ( @ONrPlatform_Initialize@4 , 0x0010f670 ) symbol ( _ONrPlatform_WindowProc@16 , 0x0010f7a0 ) symbol ( @ONrCheater@4 , 0x000f5c30 ) symbol ( _g_Instance , 0x0021f9e4 ) symbol ( _ONgPlatformData , 0x0023100c ) symbol ( _ONgGameState , 0x001ece7c ) symbol ( _ai2_deaf , 0x001ec0c1 ) symbol ( _AKgDebug_DebugMaps , 0x002b2204 ) symbol ( _BFgDebugFileEnable , 0x0015c8d0 ) symbol ( _SSgSearchOnDisk , 0x001eb758 ) symbol ( _opt_sound , 0x002370fc ) symbol ( _opt_ignore_private_data , 0x002370f0 ) // Oni Persistance symbol ( @ONrPersist_GetGamma@0 , 0x0010f450 ) symbol ( @ONrPersist_GetWonGame@0 , 0x0010f660 ) // BFW_Utility symbol ( _UUrStartupMessage , 0x00024860 ) symbol ( @UUrMachineTime_High@0 , 0x00026480 ) symbol ( @UUrMachineTime_High_Frequency@0 , 0x000264b0 ) symbol ( @UUrMachineTime_Sixtieths@0 , 0x000263e0 ) symbol ( @UUrPlatform_Initialize@0 , 0x00026010 ) symbol ( @UUrPlatform_Terminate@0 , 0x00026310 ) symbol ( _AUrMessageBox , 0x000378c0 ) symbol ( _ONgFileStartup , 0x001711b8 ) // Motoko symbol ( _M3gResolutionSwitch , 0x00131634 ) // OpenGL symbol ( @gl_enumerate_valid_display_modes@4 , 0x000083a0 ) symbol ( @gl_platform_set_pixel_format@4 , 0x00007b50 ) symbol ( @gl_platform_initialize@0 , 0x00007da0 ) symbol ( _gl , 0x00160600 ) symbol ( _gl_api , 0x00160604 ) symbol ( _gl_gamma_ramp , 0x0015fdfc ) symbol ( _gl_gamma_ramp_valid , 0x001603fc ) // Character symbol ( @ONrGameState_NewCharacter@16 , 0x000dac50 ) symbol ( @ONrGameState_GetPlayerCharacter@0 , 0x000b63a7 ) symbol ( @ONrGetActiveCharacter@4 , 0x000f1180 ) // Console symbol ( @TSrContext_DrawText@20 , 0x0002DF00 ) symbol ( @TSrContext_New@24 , 0x0002EA30 ) symbol ( @TMrInstance_GetDataPtr@12 , 0x000232E0 ) symbol ( @TMrInstance_GetInstanceName@4 , 0x00023D90 ) symbol ( @COrTextArea_Print@28 , 0x00031340 ) symbol ( _COgConsoleLines , 0x001cb468 ) symbol ( _COgFadeTimeValue , 0x00133f68 ) symbol ( _COgDefaultTextShade , 0x00133f70 ) symbol ( _COgDefaultTextShadow , 0x00133f74 ) symbol ( _TStColorFormattingCharacter , 0x00133DA0 ) symbol ( @COrMessage_Print@12 , 0x000304B0 ) symbol ( @COrMessage_Remove@4 , 0x00030640 ) // ScriptingLanguage symbol ( @SLrScript_Command_Register_ReturnType@20 , 0x00077b20 ) symbol ( @SLrScript_Command_Register_Void@16 , 0x00077b40 ) symbol ( @SLrGlobalVariable_Register_Int32@12 , 0x00077e30 ) symbol ( @SLrGlobalVariable_Register_Float@12 , 0x00077ec0 ) symbol ( @SLrGlobalVariable_Register_String@12 , 0x00077fe0 ) // Messages symbol ( @SSrMessage_Find@4 , 0x0007F550 ) symbol ( @ONiGameState_FindAutoPromptMessage@8 , 0x000FDBE0 ) // Data symbol ( @TMrInstance_GetDataPtr_List@16 , 0x00023540 )