source: Daodan/src/Oni_Symbols.S@ 458

Last change on this file since 458 was 452, checked in by rossy, 15 years ago

DDrCheater

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