mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
[saco] Implement/match RpLightSetRadius(...)
This commit is contained in:
parent
16ddecf959
commit
8edb4abbcf
@ -315,6 +315,18 @@ void RpLightSetColor(RpLight *light, RwRGBAReal *color)
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
void RpLightSetRadius(RpLight *light, float radius)
|
||||
{
|
||||
DWORD dwFunc = 0x751A70;
|
||||
|
||||
_asm push radius
|
||||
_asm push light
|
||||
_asm mov edx, dwFunc
|
||||
_asm call edx
|
||||
_asm pop edx
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
void RwCameraSetProjection(RwCamera *camera, int projection)
|
||||
{
|
||||
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x7EE3E0 : 0x7EE3A0;
|
||||
|
@ -35,6 +35,7 @@ void RwCameraSetViewWindow(RwCamera *camera, VECTOR2D *viewWindow);
|
||||
RpLight* RpLightCreate(int type);
|
||||
void RpClumpAddLight(RpClump *clump, RpLight *light);
|
||||
void RpLightSetColor(RpLight *light, RwRGBAReal *color);
|
||||
void RpLightSetRadius(RpLight *light, float radius);
|
||||
void RwCameraSetProjection(RwCamera *camera, int projection);
|
||||
void RwFrameTranslate(RwFrame *frame, VECTOR *v, int combine);
|
||||
void RwFrameRotate(RwFrame* frame, int axis, float angle);
|
||||
|
Loading…
x
Reference in New Issue
Block a user