Go to the documentation of this file.
74 int GsSetVideoModeEx(
int width,
int height,
int video_mode,
int rgb24,
int inter,
int reverse);
96 void GsSetListEx(
unsigned int *listptr,
unsigned int listpos);
373 unsigned char r, g, b;
418 unsigned char r, g, b;
503 #define NORMAL_LUMINANCE 128
504 #define NORMAL_LUMINOSITY NORMAL_LUMINANCE
509 #define COLORMODE(x) x&3
540 #define TRANS_MODE(x) ((x&3)<<2)
544 #define ENABLE_TRANS (1<<4)
548 #define H_FLIP (1<<5)
552 #define V_FLIP (1<<6)
774 void MoveImage(
int src_x,
int src_y,
int dst_x,
int dst_y,
int w,
int h);
785 void LoadImage(
void *img,
int x,
int y,
int w,
int h);
799 void DrawFBRect(
int x,
int y,
int w,
int h,
int r,
int g,
int b);
820 #define MASK_IGNORE 2
840 void gpu_ctrl(
unsigned int command,
unsigned int param);
842 void gpu_data_ctrl(
unsigned int command,
unsigned int param);
899 void GsLoadFont(
int fb_x,
int fb_y,
int cx,
int cy);
909 unsigned int GsPrintFont(
int x,
int y,
const char *fmt, ...);
922 unsigned int GsVPrintFont(
int x,
int y,
const char *fmt, va_list ap);
928 void GsSetFont(
int fb_x,
int fb_y,
int cx,
int cy);
998 #define SCALE_ONE 4096
1002 #define ROTATE_ONE 4096
1006 #define PRFONT_WRAP 1
1007 #define PRFONT_CENTER 2
1008 #define PRFONT_RIGHT 4
1009 #define PRFONT_SCALE 8
1010 #define PRFONT_UNIXLF 16
1011 #define PRFONT_COLOR 32
1017 unsigned int PRFONT_RL(
unsigned char f);
1018 unsigned int PRFONT_GL(
unsigned char f);
1019 unsigned int PRFONT_BL(
unsigned char f);
1024 #define prfont_get_fx(i) ((short)(i & 0xffff))
1025 #define prfont_get_fy(i) ((short)((i >> 16) & 0xffff))
1061 #define gs_get_tpage_num(x,y) ((x/64)+((y/256)*16))
1068 #define gs_get_tpage_u(x) (x&0x3f)
1075 #define gs_get_tpage_v(y) (y&0xff)
1084 #define gs_rgb_to_psx(r, g, b) ((r>>3)|((g>>3)<<5)|((b>>3)<<10))
1096 #define gs_rgba_to_psx(r, g, b, a) ((r>>3)|((g>>3)<<5)|((b>>3)<<10)|(a==0?0:1))
1112 void GsRotateVector(
int x_a,
int y_a,
int z_a,
double *v,
double *n);