source: Daodan/src/Oni_Symbols.S@ 606

Last change on this file since 606 was 484, checked in by gumby, 15 years ago

ZOMG FLATLINE

File size: 4.1 KB
Line 
1#define symbol(name, value) .global name; .set name, 0x00400000 + value
2
3// MSVC6.0 stdlib
4symbol ( _oni_malloc , 0x0011fc24 )
5symbol ( _oni_free , 0x0011fbf5 )
6
7symbol ( _oni_fopen , 0x0011ea9f )
8symbol ( _oni_fflush , 0x0011eab2 )
9symbol ( _oni_fprintf , 0x0011ebbf )
10symbol ( _oni_vsprintf , 0x0011e860 )
11
12// Oni Engine
13symbol ( _ONiMain , 0x000d3280 )
14symbol ( @ONrPlatform_Initialize@4 , 0x0010f670 )
15symbol ( _ONrPlatform_WindowProc@16 , 0x0010f7a0 )
16symbol ( @ONrCheater@4 , 0x000f5c30 )
17
18symbol ( _g_Instance , 0x0021f9e4 )
19symbol ( _ONgPlatformData , 0x0023100c )
20symbol ( _ONgGameState , 0x001ece7c )
21symbol ( _ai2_deaf , 0x001ec0c1 )
22symbol ( _AKgDebug_DebugMaps , 0x002b2204 )
23symbol ( _BFgDebugFileEnable , 0x0015c8d0 )
24symbol ( _SSgSearchOnDisk , 0x001eb758 )
25
26symbol ( _opt_sound , 0x002370fc )
27symbol ( _opt_ignore_private_data , 0x002370f0 )
28
29// Oni Persistance
30symbol ( @ONrPersist_GetGamma@0 , 0x0010f450 )
31symbol ( @ONrPersist_GetWonGame@0 , 0x0010f660 )
32
33// BFW_Utility
34symbol ( _UUrStartupMessage , 0x00024860 )
35symbol ( @UUrMachineTime_High@0 , 0x00026480 )
36symbol ( @UUrMachineTime_High_Frequency@0 , 0x000264b0 )
37symbol ( @UUrMachineTime_Sixtieths@0 , 0x000263e0 )
38symbol ( @UUrPlatform_Initialize@0 , 0x00026010 )
39symbol ( @UUrPlatform_Terminate@0 , 0x00026310 )
40symbol ( _AUrMessageBox , 0x000378c0 )
41
42symbol ( _ONgFileStartup , 0x001711b8 )
43
44// Motoko
45
46symbol ( _M3gResolutionSwitch , 0x00131634 )
47
48// OpenGL
49symbol ( @gl_enumerate_valid_display_modes@4 , 0x000083a0 )
50symbol ( @gl_platform_set_pixel_format@4 , 0x00007b50 )
51symbol ( @gl_platform_initialize@0 , 0x00007da0 )
52
53symbol ( _gl , 0x00160600 )
54symbol ( _gl_api , 0x00160604 )
55symbol ( _gl_gamma_ramp , 0x0015fdfc )
56symbol ( _gl_gamma_ramp_valid , 0x001603fc )
57
58// Character
59symbol ( @ONrGameState_NewCharacter@16 , 0x000dac50 )
60symbol ( @ONrGameState_GetPlayerCharacter@0 , 0x000b63a7 )
61symbol ( @ONrGetActiveCharacter@4 , 0x000f1180 )
62
63// Console
64symbol ( @TSrContext_DrawText@20 , 0x0002DF00 )
65symbol ( @TSrContext_New@24 , 0x0002EA30 )
66symbol ( @TMrInstance_GetDataPtr@12 , 0x000232E0 )
67symbol ( @TMrInstance_GetInstanceName@4 , 0x00023D90 )
68symbol ( @COrTextArea_Print@28 , 0x00031340 )
69
70symbol ( _COgConsoleLines , 0x001cb468 )
71symbol ( _COgFadeTimeValue , 0x00133f68 )
72symbol ( _COgDefaultTextShade , 0x00133f70 )
73symbol ( _COgDefaultTextShadow , 0x00133f74 )
74
75symbol ( _TStColorFormattingCharacter , 0x00133DA0 )
76
77symbol ( @COrMessage_Print@12 , 0x000304B0 )
78symbol ( @COrMessage_Remove@4 , 0x00030640 )
79
80// ScriptingLanguage
81symbol ( @SLrScript_Command_Register_ReturnType@20 , 0x00077b20 )
82symbol ( @SLrScript_Command_Register_Void@16 , 0x00077b40 )
83symbol ( @SLrGlobalVariable_Register_Int32@12 , 0x00077e30 )
84symbol ( @SLrGlobalVariable_Register_Float@12 , 0x00077ec0 )
85symbol ( @SLrGlobalVariable_Register_String@12 , 0x00077fe0 )
86
87// Messages
88symbol ( @SSrMessage_Find@4 , 0x0007F550 )
89symbol ( @ONiGameState_FindAutoPromptMessage@8 , 0x000FDBE0 )
90
91// Data
92symbol ( @TMrInstance_GetDataPtr_List@16 , 0x00023540 )
Note: See TracBrowser for help on using the repository browser.