[saco] Implement/match CVisibilityPlugins_SetRenderWareCamera(...)

This commit is contained in:
RD42 2024-08-04 22:36:45 +08:00
parent 6484d84fe5
commit 896515e38f
2 changed files with 9 additions and 0 deletions

View File

@ -357,6 +357,14 @@ void RpWorldRemoveLight(RpLight *light)
_asm pop edx
}
void CVisibilityPlugins_SetRenderWareCamera(RwCamera *camera)
{
_asm push camera
_asm mov edx, 0x7328C0
_asm call edx
_asm pop edx
}
void RwCameraSetProjection(RwCamera *camera, int projection)
{
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x7EE3E0 : 0x7EE3A0;

View File

@ -38,6 +38,7 @@ void RpLightSetColor(RpLight *light, RwRGBAReal *color);
void RpLightSetRadius(RpLight *light, float radius);
void RpWorldAddLight(RpLight *light);
void RpWorldRemoveLight(RpLight *light);
void CVisibilityPlugins_SetRenderWareCamera(RwCamera *camera);
void RwCameraSetProjection(RwCamera *camera, int projection);
void RwFrameTranslate(RwFrame *frame, VECTOR *v, int combine);
void RwFrameRotate(RwFrame* frame, int axis, float angle);