mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-23 06:57:31 +08:00
[saco] Implement/match RpWorldAddClump(...)
This commit is contained in:
parent
c3bedd9458
commit
5082033f0c
@ -195,6 +195,19 @@ void RpClumpRender(RpClump *clump)
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
void RpWorldAddClump(RpClump *clump)
|
||||
{
|
||||
DWORD dwWorld = *(DWORD*)0xC17038;
|
||||
if (!dwWorld) return;
|
||||
|
||||
_asm push clump
|
||||
_asm push dwWorld
|
||||
_asm mov edx, 0x751300
|
||||
_asm call edx
|
||||
_asm pop edx
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
void RwCameraSetClipPlane(RwCamera *camera, float farClip, float nearClip)
|
||||
{
|
||||
DWORD dwRwCameraSetFarClipPlane;
|
||||
|
@ -27,6 +27,7 @@ void RwCameraEndUpdate(RwCamera *camera);
|
||||
void RwObjectHasFrameSetFrame(RwCamera *camera, RwFrame *frame);
|
||||
void SetCameraFrameAndZBuffer(RwCamera *camera, RwRaster *frameBuffer, RwRaster *zBuffer);
|
||||
void RpClumpRender(RpClump *clump);
|
||||
void RpWorldAddClump(RpClump *clump);
|
||||
void RwCameraSetClipPlane(RwCamera *camera, float farClip, float nearClip);
|
||||
void RwCameraSetViewWindow(RwCamera *camera, VECTOR2D *viewWindow);
|
||||
RpLight* RpLightCreate(int type);
|
||||
|
Loading…
Reference in New Issue
Block a user