mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match RpClumpDestroy(...)
This commit is contained in:
parent
1f1a6046ab
commit
caed517670
@ -380,6 +380,20 @@ RpClump * RpClumpClone(RpClump *clump)
|
||||
return pResult;
|
||||
}
|
||||
|
||||
int RpClumpDestroy(RpClump *clump)
|
||||
{
|
||||
int bResult = 0;
|
||||
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x74A360 : 0x74A310;
|
||||
|
||||
_asm push clump
|
||||
_asm mov eax, dwFunc
|
||||
_asm call eax
|
||||
_asm mov bResult, eax
|
||||
_asm pop eax
|
||||
|
||||
return bResult;
|
||||
}
|
||||
|
||||
void RwCameraSetProjection(RwCamera *camera, int projection)
|
||||
{
|
||||
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x7EE3E0 : 0x7EE3A0;
|
||||
|
@ -40,6 +40,7 @@ void RpWorldAddLight(RpLight *light);
|
||||
void RpWorldRemoveLight(RpLight *light);
|
||||
void CVisibilityPlugins_SetRenderWareCamera(RwCamera *camera);
|
||||
RpClump * RpClumpClone(RpClump *clump);
|
||||
int RpClumpDestroy(RpClump *clump);
|
||||
void RwCameraSetProjection(RwCamera *camera, int projection);
|
||||
void RwFrameTranslate(RwFrame *frame, VECTOR *v, int combine);
|
||||
void RwFrameRotate(RwFrame* frame, int axis, float angle);
|
||||
|
Loading…
Reference in New Issue
Block a user