mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
48 lines
1019 B
C
48 lines
1019 B
C
|
|
||
|
#pragma once
|
||
|
|
||
|
struct RwRaster
|
||
|
{
|
||
|
char _gap0;
|
||
|
};
|
||
|
|
||
|
struct RwTexture
|
||
|
{
|
||
|
char _gap0;
|
||
|
};
|
||
|
|
||
|
struct RwFrame
|
||
|
{
|
||
|
char _gap0;
|
||
|
};
|
||
|
|
||
|
struct RwCamera
|
||
|
{
|
||
|
char _gap0;
|
||
|
};
|
||
|
|
||
|
struct RpLight
|
||
|
{
|
||
|
char _gap0;
|
||
|
};
|
||
|
|
||
|
struct RwRGBAReal
|
||
|
{
|
||
|
float r, g, b, a;
|
||
|
};
|
||
|
|
||
|
RwRaster* RwRasterCreate(int width, int height, int depth, int flags);
|
||
|
RwTexture* RwTextureCreate(RwRaster *raster);
|
||
|
RwFrame* RwFrameCreate();
|
||
|
RwCamera* RwCameraCreate();
|
||
|
void RpWorldAddCamera(RwCamera *camera);
|
||
|
void RwObjectHasFrameSetFrame(RwCamera *camera, RwFrame *frame);
|
||
|
void SetCameraFrameAndZBuffer(RwCamera *camera, RwRaster *frameBuffer, RwRaster *zBuffer);
|
||
|
void RwCameraSetClipPlane(RwCamera *camera, float farClip, float nearClip);
|
||
|
void RwCameraSetViewWindow(RwCamera *camera, VECTOR2D *viewWindow);
|
||
|
RpLight* RpLightCreate(int type);
|
||
|
void RpLightSetColor(RpLight *light, RwRGBAReal *color);
|
||
|
void RwCameraSetProjection(RwCamera *camera, int projection);
|
||
|
void RwFrameTranslate(RwFrame *frame, VECTOR *v, int combine);
|
||
|
void RwFrameRotate(RwFrame* frame, int axis, float angle);
|