mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 04:36:01 +08:00
[saco] Implement/match RpClumpClone(...)
This commit is contained in:
@ -365,6 +365,21 @@ void CVisibilityPlugins_SetRenderWareCamera(RwCamera *camera)
|
|||||||
_asm pop edx
|
_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)
|
void RwCameraSetProjection(RwCamera *camera, int projection)
|
||||||
{
|
{
|
||||||
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x7EE3E0 : 0x7EE3A0;
|
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x7EE3E0 : 0x7EE3A0;
|
||||||
|
@ -39,6 +39,7 @@ void RpLightSetRadius(RpLight *light, float radius);
|
|||||||
void RpWorldAddLight(RpLight *light);
|
void RpWorldAddLight(RpLight *light);
|
||||||
void RpWorldRemoveLight(RpLight *light);
|
void RpWorldRemoveLight(RpLight *light);
|
||||||
void CVisibilityPlugins_SetRenderWareCamera(RwCamera *camera);
|
void CVisibilityPlugins_SetRenderWareCamera(RwCamera *camera);
|
||||||
|
RpClump * RpClumpClone(RpClump *clump);
|
||||||
void RwCameraSetProjection(RwCamera *camera, int projection);
|
void RwCameraSetProjection(RwCamera *camera, int projection);
|
||||||
void RwFrameTranslate(RwFrame *frame, VECTOR *v, int combine);
|
void RwFrameTranslate(RwFrame *frame, VECTOR *v, int combine);
|
||||||
void RwFrameRotate(RwFrame* frame, int axis, float angle);
|
void RwFrameRotate(RwFrame* frame, int axis, float angle);
|
||||||
|
Reference in New Issue
Block a user