mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-23 14:29:52 +00:00
[saco] Implement/match RwCameraBeginUpdate(...)
This commit is contained in:
parent
919199284d
commit
c7a665d66b
@ -142,6 +142,16 @@ void RwCameraClear(RwCamera *camera, RwRGBA *color, int clearMode)
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
void RwCameraBeginUpdate(RwCamera *camera)
|
||||
{
|
||||
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x7EE1D0 : 0x7EE190;
|
||||
|
||||
_asm push camera
|
||||
_asm mov edx, dwFunc
|
||||
_asm call edx
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
void RwObjectHasFrameSetFrame(RwCamera *camera, RwFrame *frame)
|
||||
{
|
||||
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x804F30 : 0x804EF0l;
|
||||
|
@ -21,6 +21,7 @@ void RwRasterDestroy(RwRaster *raster);
|
||||
void CShadowCamera_Create(int iRasterSize);
|
||||
void RpWorldAddCamera(RwCamera *camera);
|
||||
void RwCameraClear(RwCamera *camera, RwRGBA *color, int clearMode);
|
||||
void RwCameraBeginUpdate(RwCamera *camera);
|
||||
void RwObjectHasFrameSetFrame(RwCamera *camera, RwFrame *frame);
|
||||
void SetCameraFrameAndZBuffer(RwCamera *camera, RwRaster *frameBuffer, RwRaster *zBuffer);
|
||||
void RwCameraSetClipPlane(RwCamera *camera, float farClip, float nearClip);
|
||||
|
Loading…
Reference in New Issue
Block a user