10#include "renderinfo.hpp"
81void MGSetBGColor(
float red,
float green,
float blue,
float alpha);
94extern s32 VSyncField__2;
96extern s32 mgClearBackFlag;
99extern sceVu0FVECTOR mgBackColor;
111extern int mgZBufferAdr;
118void MGClearScreen(u_char r, u_char g, u_char b, u_char a);
119void MGClearZBuffer(
int mode);
286void MGFillBox(
const CRect_i_ &rect,
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char a);
296void MGSetFogParm(
float near_z,
float far_z,
unsigned char r,
unsigned char g,
unsigned char b,
float far_fog,
float near_fog);
401void MGAdjustScreen(
int x,
int y);
483void LensFlare(
CTexture *texture,
float *position,
unsigned char red,
unsigned char green,
unsigned char blue);
void MGStretchMoveImage(sceGsTex0 *src, const CRect_i_ &src_rect, sceGsTex0 *dst, const CRect_i_ &dst_rect)
void MGDrawShadowFast2(CFrame *frame, float *position, float *normal)
void MGInitVSyncCallBack(int(*callback)(int))
void MGDrawShadowFast(CFrame *frame, float *position, float *normal)
int MGClipVertex(float *position)
void MGEndDrawShadow(unsigned char alpha)
int MGRotTransPers(int *screen, float *position, int fog)
void MGSetBGColor(float *color)
void MGGetPLight(float(*direction)[4], float(*color)[4])
void MGInitVif1Packet(u_long128 *buffer0, u_long128 *buffer1)
void MGGetAmbient(float *ambient)
void MGDrawShade(CFrame *frame)
void MGSetGsTEXA(sceGsTexa *texa)
void MGDrawShadow(CFrame *frame, float *position, float *normal)
void MGCalcColor(float *color, float *normal)
void MGSetProjection(float scale)
void MGSetPLight(float(*direction)[4], float(*color)[4])
void MGGetFBuffBackTex(sceGsTex0 *tex0)
int MGRotTransPers3DSprite(int *top_left, int *bottom_right, float *position, float width, float height, int fog)
void MGSetGsALPHA(sceGsAlpha *alpha)
void MGGetBGColor(float *color)
void MGSetGsZBUF(sceGsZbuf *zbuf)
void MGBeginDrawShadow(sceGsTex0 tex0)
void LensFlare(CTexture *texture, float *position, unsigned char red, unsigned char green, unsigned char blue)
void MGMoveImage(sceGsTex0 *src, const CRect_i_ &rect, sceGsTex0 *dst, int dst_x, int dst_y, int direction)
int MGRotTransPers2D(int *screen, float *position, int fog)
int MGClipBox(class CBoxVu0 *box)
void MGSetViewMatrix(float(*view)[4], float *position)
void MGGetFBuffTex(sceGsTex0 *tex0)
void MGFlipWaitVSync(int wait)
void MGSetFogParm(float near_z, float far_z, unsigned char r, unsigned char g, unsigned char b, float far_fog, float near_fog)
void MGFillBox(const CRect_i_ &rect, unsigned char r, unsigned char g, unsigned char b, unsigned char a)
void MGScisioringForce(int force)
void MGMoveFrameBuffImage(sceGsTex0 *dst, int x, int y, int direction)
void MGDraw(CFrame *frame)
sceVu0FMATRIX mgZeroMatrix
void MGSetRenderInfo(float scale, float near_z, float far_z)
void MGSetGsTEST(sceGsTest *test)
void MGSetAmbient(float *ambient)