View Single Post
Old 19-09-19, 21:20   #5
Krystian
Archaeologist
 
Join Date: May 2010
Posts: 1,175
Default

I don't have much but here are mine so far:

Function prototypes:
Code:
typedef int (__cdecl *TYPE_TestLaraSlide) (StrItemTr4 *pLara, StrCollisionLara *pCollision);
typedef void (__cdecl *TYPE_LaraSlideSlope) (StrItemTr4 *pLara, StrCollisionLara *pCollision);
typedef void (__cdecl *TYPE_GetLaraCollisionInfo) (StrItemTr4 *pLara, StrCollisionLara *pCollision);
typedef int (__cdecl *TYPE_LaraHitCeiling) (StrItemTr4 *pLara, StrCollisionLara *pCollision);
typedef int (__cdecl *TYPE_LaraDeflectEdge) (StrItemTr4 *pLara, StrCollisionLara *pCollision);
typedef int (__cdecl *TYPE_TestLaraVault) (StrItemTr4 *pLara, StrCollisionLara *pCollision);
typedef int (__cdecl *TYPE_TestWall) (StrItemTr4 *pItem, int Front, int Right, int Down);
typedef void (__cdecl *TYPE_LaraCollideStop) (StrItemTr4 *pLara, StrCollisionLara *pCollision);
typedef int (__cdecl *TYPE_LaraFallen) (StrItemTr4 *pLara, StrCollisionLara *pCollision);

//non-lara specific
typedef void (__cdecl *TYPE_GetCollisionInfo) (StrCollisionLara *pCollision, DWORD CordX, int CordY, DWORD CordZ, short room_number, int obj_height);
typedef void (__cdecl *TYPE_ShiftItem) (StrItemTr4 *pItem, StrCollisionLara *pCollision);
typedef int (__cdecl *TYPE_GetChange) (StrItemTr4 *pItem, StrAnimationTr4 *pAnim);
typedef void (__cdecl *TYPE_TranslateItem) (StrItemTr4 *pItem, int OffsetX, int OffsetY, int OffsetZ);
Addresses:
Code:
TYPE_TestLaraSlide TestLaraSlide = (TYPE_TestLaraSlide) 0x420CD0; 
TYPE_LaraSlideSlope LaraSlideSlope = (TYPE_LaraSlideSlope) 0x428150; 
TYPE_GetLaraCollisionInfo GetLaraCollisionInfo = (TYPE_GetLaraCollisionInfo) 0x422180;
TYPE_LaraHitCeiling LaraHitCeiling = (TYPE_LaraDeflectEdge) 0x4221C0;
TYPE_LaraDeflectEdge LaraDeflectEdge = (TYPE_LaraDeflectEdge) 0x422230;
TYPE_TestLaraVault TestLaraVault = (TYPE_TestLaraVault) 0x4222B0;
TYPE_TestWall TestWall = (TYPE_TestWall) 0x4226F0;
TYPE_LaraCollideStop LaraCollideStop = (TYPE_LaraCollideStop) 0x4227F0;
TYPE_LaraFallen LaraFallen = (TYPE_LaraFallen) 0x420E10;

//non-lara specific
TYPE_GetCollisionInfo GetCollisionInfo = (TYPE_GetCollisionInfo) 0x445920;
TYPE_ShiftItem ShiftItem = (TYPE_ShiftItem) 0x446700;
TYPE_GetChange GetChange = (TYPE_GetChange) 0x4496B0;
TYPE_TranslateItem TranslateItem = (TYPE_TranslateItem) 0x449750;
Hopefully more will come soon.

Last edited by Krystian; 20-09-19 at 19:26.
Krystian is offline   Reply With Quote