mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match RpClumpClone(...)
This commit is contained in:
parent
896515e38f
commit
1f1a6046ab
@ -365,6 +365,21 @@ void CVisibilityPlugins_SetRenderWareCamera(RwCamera *camera)
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
RpClump * RpClumpClone(RpClump *clump)
|
||||
{
|
||||
RpClump *pResult = NULL;
|
||||
|
||||
if(!clump) return NULL;
|
||||
|
||||
_asm push clump
|
||||
_asm mov edx, 0x749F70
|
||||
_asm call edx
|
||||
_asm pop edx
|
||||
_asm mov pResult, eax
|
||||
|
||||
return pResult;
|
||||
}
|
||||
|
||||
void RwCameraSetProjection(RwCamera *camera, int projection)
|
||||
{
|
||||
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x7EE3E0 : 0x7EE3A0;
|
||||
|
@ -39,6 +39,7 @@ void RpLightSetRadius(RpLight *light, float radius);
|
||||
void RpWorldAddLight(RpLight *light);
|
||||
void RpWorldRemoveLight(RpLight *light);
|
||||
void CVisibilityPlugins_SetRenderWareCamera(RwCamera *camera);
|
||||
RpClump * RpClumpClone(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