#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 ( _g_Instance , 0x0021f9e4 ) symbol ( _ONgPlatformData , 0x0023100c ) symbol ( _ONgGameState , 0x001ece7c ) //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 ( _ONgFileStartup , 0x001711b8 ) symbol ( @UUrPlatform_Initialize@0 , 0x00026010 ) symbol ( @UUrPlatform_Terminate@0 , 0x00026310 ) symbol ( _AUrMessageBox , 0x000378c0 ) // 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 ( @COrTextArea_Print@28 , 0x00031340 ) symbol ( _COgConsoleLines , 0x001cb468 ) symbol ( _COgFadeTimeValue , 0x00133f68 ) symbol ( _COgDefaultTextShade , 0x00133f70 ) symbol ( _COgDefaultTextShadow , 0x00133f74 ) // ScriptingLanguage symbol ( @SLrScript_Command_Register_ReturnType@20 , 0x00077b20 )