mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match RpAtomicDestroy(...)
This commit is contained in:
parent
87eda98351
commit
579045472a
@ -72,6 +72,16 @@ void RwFrameDestroy(RwFrame *frame)
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
void RpAtomicDestroy(RpAtomic *atomic)
|
||||
{
|
||||
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x749E10 : 0x749DC0;
|
||||
|
||||
_asm push atomic
|
||||
_asm mov edx, dwFunc
|
||||
_asm call edx
|
||||
_asm pop edx
|
||||
}
|
||||
|
||||
RwCamera* RwCameraCreate()
|
||||
{
|
||||
RwCamera* pCamera = NULL;
|
||||
|
@ -7,12 +7,14 @@ struct RwFrame { char _gap0; };
|
||||
struct RwCamera { char _gap0; };
|
||||
struct RpLight { char _gap0; };
|
||||
struct RwRGBAReal { float r, g, b, a; };
|
||||
struct RpAtomic { char _gap0; };
|
||||
|
||||
RwRaster* RwRasterCreate(int width, int height, int depth, int flags);
|
||||
RwTexture* RwTextureCreate(RwRaster *raster);
|
||||
void RwTextureDestroy(RwTexture *texture);
|
||||
RwFrame* RwFrameCreate();
|
||||
void RwFrameDestroy(RwFrame *frame);
|
||||
void RpAtomicDestroy(RpAtomic *atomic);
|
||||
RwCamera* RwCameraCreate();
|
||||
void RpWorldAddCamera(RwCamera *camera);
|
||||
void RwObjectHasFrameSetFrame(RwCamera *camera, RwFrame *frame);
|
||||
|
Loading…
Reference in New Issue
Block a user