#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 ) //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 )