ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Oni/Symbols_Func.h
(Generate patch)

Comparing Daodan/src/Oni/Symbols_Func.h (file contents):
Revision 994 by alloc, Sat Apr 5 10:19:11 2014 UTC vs.
Revision 995 by alloc, Wed Apr 9 00:10:18 2014 UTC

# Line 9 | Line 9
9   #define DefFunc( type, name, callingconvention, args, address) typedef type ( callingconvention * _##name ) args; static const _##name name = (_##name)address
10  
11   // Orig timing functions, replaced by DDrMachineTime_* if option "usegettickcount" is enabled
12 < DefFunc(int64_t, UUrMachineTime_High, ONICALL, (), 0x04026480);
13 < DefFunc(double, UUrMachineTime_High_Frequency, ONICALL, (), 0x040264b0);
14 < DefFunc(int64_t, UUrMachineTime_Sixtieths, ONICALL, (), 0x040263e0);
12 > DefFunc(int64_t, UUrMachineTime_High, ONICALL, (), 0x00426480);
13 > DefFunc(double, UUrMachineTime_High_Frequency, ONICALL, (), 0x004264b0);
14 > DefFunc(int64_t, UUrMachineTime_Sixtieths, ONICALL, (), 0x004263e0);
15  
16   // Code to initialize platform stuff (like disabling system key combination Alt+Tab)
17 < DefFunc(void, UUrPlatform_Initialize, ONICALL, (), 0x04026010);
18 < DefFunc(void, UUrPlatform_Terminate, ONICALL, (), 0x04026310);
17 > DefFunc(void, UUrPlatform_Initialize, ONICALL, (), 0x00426010);
18 > DefFunc(void, UUrPlatform_Terminate, ONICALL, (), 0x00426310);
19  
20   // Oni's file access methods
21   DefFunc(FILE*, oni_fopen, __cdecl, (const char*, const char*), 0x0051ea9f);
# Line 38 | Line 38 | DefFunc(int, gl_platform_set_pixel_forma
38   // Original graphics initialization/cleanup functions patched to use
39   // DD_GLrPlatform_Initialize/DD_GLrPlatform_Dispoose instead if daodangl is used.
40   DefFunc(UUtBool, gl_platform_initialize, ONICALL, (void), 0x00407da0);
41 < DefFunc(void, gl_platform_dispose, ONICALL, (void), 0x408210);
41 > DefFunc(void, gl_platform_dispose, ONICALL, (void), 0x00408210);
42  
43   // Retrieve gamma value from settings
44   DefFunc(float, ONrPersist_GetGamma, ONICALL, (), 0x0050f450);
# Line 127 | Line 127 | DefFunc(uint16_t, TRrAnimation_GetFrom,
127   DefFunc(uint16_t, iSetCharacterClass, ONICALL, (sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret), 0x004D99D0);
128   DefFunc(uint16_t, AI2iScript_Spawn, ONICALL, (sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret), 0x004B4780);
129   DefFunc(void, AI2rSmite, ONICALL, (Character *inCharacter, UUtBool inSpareCharacter), 0x0048BDA0);
130 //NOT USED: DefFunc(void*, OBJrObjectType_GetObject_ByNumber, ONICALL, (int inObjectType, int inIndex), );
131 //NOT USED: DefFunc(int, OBJiObjectGroup_GetNumObjects, ONICALL, (void *inObjectGroup), );
130  
131   DefFunc(int, OBJrObjectType_EnumerateObjects, ONICALL, (int inObjectType, OBJtEnumCallback_Object inEnumCallback, int inUserData), 0x004D0080);
134 //DefFunc(void, OBJrTriggerVolume_IntersectsCharacter, ONICALL, (), 0x004cc680);
132  
133   DefFunc(void, OBJrDoor_Open, ONICALL, (DoorObject *inObject, Character *inCharacter), 0x004C26C0);
134   DefFunc(void, OBJrDoor_ForceOpen, ONICALL, (short id), 0x004C1EE0);
# Line 146 | Line 143 | DefFunc(void, M3rDraw_BigBitmap, ONICALL
143   DefFunc(void, M3rDraw_Bitmap, ONICALL, (void* inBitmap, const M3tPointScreen* inDestPoint, UUtUns16 inWidth, UUtUns16 inHeight, UUtUns32 inShade, UUtUns16 inAlpha), 0x0041f4a0);
144  
145   DefFunc(void, M3rGeom_Line_Light, ONICALL, (const M3tPoint3D *point1, const M3tPoint3D *point2, uint32_t shade), 0x0041f440);
149 /*
150 DefFunc(void, M3rGeom_Line_Light, ONICALL, (), 0x0041f440);
151 DefFunc(void, M3rMatrixStack_Push, ONICALL, (), 0x0041baa0);
152 DefFunc(void, M3rMatrixStack_Get, ONICALL, (), 0x0041bb20);
153 DefFunc(void, M3rMatrixStack_Pop, ONICALL, (), 0x0041bb30);
154 DefFunc(void, M3rMatrixStack_Identity, ONICALL, (), 0x0041bba0);
155 DefFunc(void, M3rMatrixStack_Rotate, ONICALL, (), 0x0041bbe0);
156 DefFunc(void, M3rMatrixStack_UniformScale, ONICALL, (), 0x0041bc20);
157 DefFunc(void, M3rMatrixStack_Translate, ONICALL, (), 0x0041bc40);
158 DefFunc(void, M3rMatrixStack_Multiply, ONICALL, (), 0x0041bc70);
159 DefFunc(void, M3rGeom_State_Commit, ONICALL, (), 0x0041e870);
160
161 DefFunc(void, MUrPoint_Distance, ONICALL, (), 0x00433270);
162 */
146  
147   // Make a dialog element (in)visible and change its position
148   DefFunc(void, WMrWindow_SetVisible, ONICALL, (void* window, int visibility), 0x00475a10);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)