mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-12 02:08:14 +08:00
[saco] Implement/match RpClumpRender(...)
This commit is contained in:
1 parent
ba17263eeb
commit
c3bedd9458
2 files changed
+12
No files matched your search
@@ -185,6 +185,16 @@ void SetCameraFrameAndZBuffer(RwCamera *camera, RwRaster *frameBuffer, RwRaster
|
||||
_asm mov [ebx+0x64], edx
|
||||
}
|
||||
|
||||
void RpClumpRender(RpClump *clump)
|
||||
{
|
||||
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x749B70 : 0x749B20;
|
||||
|
||||
_asm push clump
|
||||
_asm mov edx, dwFunc
|
||||
_asm call edx
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
void RwCameraSetClipPlane(RwCamera *camera, float farClip, float nearClip)
|
||||
{
|
||||
DWORD dwRwCameraSetFarClipPlane;
|
||||
|
||||
Reference in new issue
Block a user