source: Daodan/src/Oni_Symbols.S@ 450

Last change on this file since 450 was 444, checked in by rossy, 15 years ago
File size: 3.2 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 )
16
17symbol ( _g_Instance , 0x0021f9e4 )
18symbol ( _ONgPlatformData , 0x0023100c )
19symbol ( _ONgGameState , 0x001ece7c )
20
21//Oni Persistance
22symbol ( @ONrPersist_GetGamma@0 , 0x0010f450 )
23symbol ( @ONrPersist_GetWonGame@0 , 0x0010f660 )
24
25// BFW_Utility
26symbol ( _UUrStartupMessage , 0x00024860 )
27symbol ( @UUrMachineTime_High@0 , 0x00026480 )
28symbol ( @UUrMachineTime_High_Frequency@0 , 0x000264b0 )
29symbol ( @UUrMachineTime_Sixtieths@0 , 0x000263e0 )
30symbol ( _ONgFileStartup , 0x001711b8 )
31
32symbol ( @UUrPlatform_Initialize@0 , 0x00026010 )
33symbol ( @UUrPlatform_Terminate@0 , 0x00026310 )
34
35symbol ( _AUrMessageBox , 0x000378c0 )
36
37// Motoko
38
39symbol ( _M3gResolutionSwitch , 0x00131634 )
40
41// OpenGL
42symbol ( @gl_enumerate_valid_display_modes@4 , 0x000083a0 )
43symbol ( @gl_platform_set_pixel_format@4 , 0x00007b50 )
44symbol ( @gl_platform_initialize@0 , 0x00007da0 )
45
46symbol ( _gl , 0x00160600 )
47symbol ( _gl_api , 0x00160604 )
48symbol ( _gl_gamma_ramp , 0x0015fdfc )
49symbol ( _gl_gamma_ramp_valid , 0x001603fc )
50
51// Character
52symbol ( @ONrGameState_NewCharacter@16 , 0x000dac50 )
53symbol ( @ONrGameState_GetPlayerCharacter@0 , 0x000b63a7 )
54symbol ( @ONrGetActiveCharacter@4 , 0x000f1180 )
55
56// Console
57symbol ( @TSrContext_DrawText@20 , 0x0002DF00 )
58symbol ( @TSrContext_New@24 , 0x0002EA30 )
59symbol ( @TMrInstance_GetDataPtr@12 , 0x000232E0 )
60
61symbol ( @COrTextArea_Print@28 , 0x00031340 )
62
63symbol ( _COgConsoleLines , 0x001cb468 )
64symbol ( _COgFadeTimeValue , 0x00133f68 )
65symbol ( _COgDefaultTextShade , 0x00133f70 )
66symbol ( _COgDefaultTextShadow , 0x00133f74 )
67
68// ScriptingLanguage
69symbol ( @SLrScript_Command_Register_ReturnType@20 , 0x00077b20 )
70symbol ( @SLrScript_Command_Register_Void@16 , 0x00077b40 )
71symbol ( @SLrGlobalVariable_Register_Int32@12 , 0x00077e30 )
72symbol ( @SLrGlobalVariable_Register_Float@12 , 0x00077ec0 )
73
Note: See TracBrowser for help on using the repository browser.