|
sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
|
#include "gsKit.h"Go to the source code of this file.
Classes | |
| struct | gsKit_fontm_unpack |
| struct | gsKit_fontm_header |
| struct | gsFontM |
Macros | |
| #define | GSKIT_FONTM_MAXLINES 255 |
| #define | GSKIT_FALIGN_LEFT 0x00 |
| #define | GSKIT_FALIGN_CENTER 0x01 |
| #define | GSKIT_FALIGN_RIGHT 0x02 |
| #define | ALPHA_SRC 0 |
| #define | ALPHA_DST 1 |
| #define | ALPHA_ZERO 2 |
| #define | ALPHA_FIX 2 |
| #define | ALPHA(A, B, C, D, FIX) |
| #define | ALPHA_BLEND_NORMAL (ALPHA(ALPHA_SRC,ALPHA_DST,ALPHA_SRC,ALPHA_DST,0x00)) |
| #define | ALPHA_BLEND_ADD_NOALPHA (ALPHA(ALPHA_SRC,ALPHA_ZERO,ALPHA_FIX,ALPHA_DST,0x80)) |
| #define | ALPHA_BLEND_ADD (ALPHA(ALPHA_SRC,ALPHA_ZERO,ALPHA_SRC,ALPHA_DST,0x00)) |
| #define | GS_FONTM_PAGE_COUNT 8 |
| #define | gsKit_fontm_print(gsGlobal, gsFontM, X, Y, Z, color, String) |
Typedefs | |
| typedef struct gsKit_fontm_header | GSFONTMHDR |
| typedef struct gsFontM | GSFONTM |
Functions | |
| GSFONTM * | gsKit_init_fontm () |
| Create Font Object. | |
| void | gsKit_free_fontm (GSGLOBAL *gsGlobal, GSFONTM *gsFontM) |
| Free Font Object. | |
| int | gsKit_fontm_upload (GSGLOBAL *gsGlobal, GSFONTM *gsFontM) |
| int | gsKit_fontm_unpack (GSFONTM *gsFontM) |
| void | gsKit_fontm_unpack_raw (u8 *base, struct gsKit_fontm_unpack *oke) |
| void | gsKit_fontm_unpack_raw_1 (struct gsKit_fontm_unpack *oke) |
| void | gsKit_fontm_print_scaled (GSGLOBAL *gsGlobal, GSFONTM *gsFontM, float X, float Y, int Z, float scale, unsigned long color, const char *String) |
| #define ALPHA | ( | A, | |
| B, | |||
| C, | |||
| D, | |||
| FIX ) |
| #define ALPHA_BLEND_ADD (ALPHA(ALPHA_SRC,ALPHA_ZERO,ALPHA_SRC,ALPHA_DST,0x00)) |
| #define ALPHA_BLEND_ADD_NOALPHA (ALPHA(ALPHA_SRC,ALPHA_ZERO,ALPHA_FIX,ALPHA_DST,0x80)) |
| #define ALPHA_BLEND_NORMAL (ALPHA(ALPHA_SRC,ALPHA_DST,ALPHA_SRC,ALPHA_DST,0x00)) |
| typedef struct gsKit_fontm_header GSFONTMHDR |
| void gsKit_fontm_print_scaled | ( | GSGLOBAL * | gsGlobal, |
| GSFONTM * | gsFontM, | ||
| float | X, | ||
| float | Y, | ||
| int | Z, | ||
| float | scale, | ||
| unsigned long | color, | ||
| const char * | String ) |
| void gsKit_fontm_unpack_raw | ( | u8 * | base, |
| struct gsKit_fontm_unpack * | oke ) |
| void gsKit_fontm_unpack_raw_1 | ( | struct gsKit_fontm_unpack * | oke | ) |
| int gsKit_fontm_upload | ( | GSGLOBAL * | gsGlobal, |
| GSFONTM * | gsFontM ) |
| void gsKit_free_fontm | ( | GSGLOBAL * | gsGlobal, |
| GSFONTM * | gsFontM ) |