mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-23 14:29:52 +00:00
[saco] Implement/match RwFrameDestroy(...)
This commit is contained in:
parent
a378f20823
commit
87eda98351
@ -62,6 +62,16 @@ RwFrame* RwFrameCreate()
|
||||
return pFrame;
|
||||
}
|
||||
|
||||
void RwFrameDestroy(RwFrame *frame)
|
||||
{
|
||||
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x7F05E0 : 0x7F05A0;
|
||||
|
||||
_asm push frame
|
||||
_asm mov edx, dwFunc
|
||||
_asm call edx
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
RwCamera* RwCameraCreate()
|
||||
{
|
||||
RwCamera* pCamera = NULL;
|
||||
|
@ -12,6 +12,7 @@ RwRaster* RwRasterCreate(int width, int height, int depth, int flags);
|
||||
RwTexture* RwTextureCreate(RwRaster *raster);
|
||||
void RwTextureDestroy(RwTexture *texture);
|
||||
RwFrame* RwFrameCreate();
|
||||
void RwFrameDestroy(RwFrame *frame);
|
||||
RwCamera* RwCameraCreate();
|
||||
void RpWorldAddCamera(RwCamera *camera);
|
||||
void RwObjectHasFrameSetFrame(RwCamera *camera, RwFrame *frame);
|
||||
|
Loading…
Reference in New Issue
Block a user