View Single Post
Lt.RAT
Member
Join Date: Sep 2008
Location: Russia Yekaterinburg
Old 05-09-2010 , 11:52   Re: Orpheu: Engine PM Functions
Reply With Quote #13

Wrote signatures for some functions.

Hook of PM_Init, PM_CreateStuckTable and PM_InitTextureTypes not possible coz Orpheu loads after their work.

Tested signatures with several libraries.
For
Code:
PM_WaterMove
PM_ClipVelocity
PM_FlyMove
there is no way to create universal signatures (from start of functions)

All checks passed:
Code:
PM_CatagorizeTextureType
PM_CheckFalling
PM_CheckParamters
PM_CheckStuck
PM_CheckVelocity
PM_CheckWater
PM_CheckWaterJump
PM_ClipVelocity
PM_CreateStuckTable
PM_Duck
PM_FindTextureType
PM_Init
PM_InitTextureTypes
PM_Jump
PM_Ladder
PM_LadderMove
PM_Move
PM_Physics_Toss
PM_PlayerMove
PM_PlayStepSound
PM_ReduceTimers
PM_WalkMove
Good only for latest server build (maybe better to use offsets instead of them in this case)
Code:
PM_AirAccelerate
PM_AirMove
PM_CatagorizePosition
PM_FlyMove
PM_Friction
PM_SpectatorMove
PM_UpdateStepSound
PM_WaterMove
Attached Files
File Type: zip Orpheu_pm_shared.zip (10.8 KB, 1201 views)

Last edited by Lt.RAT; 05-09-2010 at 12:01.
Lt.RAT is offline
Send a message via ICQ to Lt.RAT