Changeset 995 for Daodan/src/Oni


Ignore:
Timestamp:
Apr 9, 2014, 2:10:18 AM (11 years ago)
Author:
alloc
Message:

Daodan: Revamped some code, added quite a few comments to patches, updated options/patches names and descriptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Oni/Symbols_Func.h

    r992 r995  
    1010
    1111// 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);
     12DefFunc(int64_t, UUrMachineTime_High, ONICALL, (), 0x00426480);
     13DefFunc(double, UUrMachineTime_High_Frequency, ONICALL, (), 0x004264b0);
     14DefFunc(int64_t, UUrMachineTime_Sixtieths, ONICALL, (), 0x004263e0);
    1515
    1616// 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);
     17DefFunc(void, UUrPlatform_Initialize, ONICALL, (), 0x00426010);
     18DefFunc(void, UUrPlatform_Terminate, ONICALL, (), 0x00426310);
    1919
    2020// Oni's file access methods
     
    3939// DD_GLrPlatform_Initialize/DD_GLrPlatform_Dispoose instead if daodangl is used.
    4040DefFunc(UUtBool, gl_platform_initialize, ONICALL, (void), 0x00407da0);
    41 DefFunc(void, gl_platform_dispose, ONICALL, (void), 0x408210);
     41DefFunc(void, gl_platform_dispose, ONICALL, (void), 0x00408210);
    4242
    4343// Retrieve gamma value from settings
     
    128128DefFunc(uint16_t, AI2iScript_Spawn, ONICALL, (sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret), 0x004B4780);
    129129DefFunc(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), );
    132130
    133131DefFunc(int, OBJrObjectType_EnumerateObjects, ONICALL, (int inObjectType, OBJtEnumCallback_Object inEnumCallback, int inUserData), 0x004D0080);
    134 //DefFunc(void, OBJrTriggerVolume_IntersectsCharacter, ONICALL, (), 0x004cc680);
    135132
    136133DefFunc(void, OBJrDoor_Open, ONICALL, (DoorObject *inObject, Character *inCharacter), 0x004C26C0);
     
    147144
    148145DefFunc(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 */
    163146
    164147// Make a dialog element (in)visible and change its position
Note: See TracChangeset for help on using the changeset viewer.