|
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 | gsBitMapFileHeader |
| struct | gsBitMapInfoHeader |
| struct | gsBitMapClut |
| struct | gsBitmap |
| struct | gsFont |
Macros | |
| #define | GSKIT_FTYPE_FNT 0x00 |
| #define | GSKIT_FTYPE_BMP_DAT 0x01 |
| #define | GSKIT_FTYPE_PNG_DAT 0x02 |
| #define | gsKit_font_print(gsGlobal, gsFont, X, Y, Z, color, String) |
Typedefs | |
| typedef struct gsBitMapFileHeader | GSBMFHDR |
| typedef struct gsBitMapInfoHeader | GSBMIHDR |
| typedef struct gsBitMapClut | GSBMCLUT |
| typedef struct gsBitmap | GSBITMAP |
| typedef struct gsFont | GSFONT |
Functions | |
| struct gsBitMapFileHeader | __attribute__ ((packed)) |
| int | gsKit_texture_bmp (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, char *Path) |
| int | gsKit_texture_png (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, char *Path) |
| int | gsKit_texture_jpeg_scale (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, char *Path, bool scale_down) |
| int | gsKit_texture_jpeg (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, char *Path) |
| int | gsKit_texture_tiff (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, char *Path) |
| int | gsKit_texture_tga (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, char *Path) |
| int | gsKit_texture_raw (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, char *Path) |
| GSFONT * | gsKit_init_font (u8 type, char *path) |
| Initialize Font Object (From Memory). | |
| GSFONT * | gsKit_init_font_raw (u8 type, u8 *data, int size) |
| int | gsKit_font_upload (GSGLOBAL *gsGlobal, GSFONT *gsFont) |
| int | gsKit_font_upload_raw (GSGLOBAL *gsGlobal, GSFONT *gsFont) |
| int | gsKit_texture_fnt_raw (GSGLOBAL *gsGlobal, GSFONT *gsFont) |
| void | gsKit_font_print_scaled (GSGLOBAL *gsGlobal, GSFONT *gsFont, float X, float Y, int Z, float scale, unsigned long color, const char *String) |
Variables | |
| u16 | Type |
| u32 | Size |
| u16 | Reserved1 |
| u16 | Reserved2 |
| u32 | Offset |
| u32 | Width |
| u32 | Height |
| u16 | Planes |
| u16 | BitCount |
| u32 | Compression |
| u32 | SizeImage |
| u32 | XPelsPerMeter |
| u32 | YPelsPerMeter |
| u32 | ColorUsed |
| u32 | ColorImportant |
| u8 | Blue |
| u8 | Green |
| u8 | Red |
| u8 | Alpha |
| struct gsBitmap | __attribute__ |
Definition at line 115 of file gsToolkit.h.
| #define GSKIT_FTYPE_BMP_DAT 0x01 |
Definition at line 67 of file gsToolkit.h.
| #define GSKIT_FTYPE_FNT 0x00 |
Definition at line 66 of file gsToolkit.h.
| #define GSKIT_FTYPE_PNG_DAT 0x02 |
Definition at line 68 of file gsToolkit.h.
| typedef struct gsBitmap GSBITMAP |
Definition at line 63 of file gsToolkit.h.
| typedef struct gsBitMapClut GSBMCLUT |
Definition at line 54 of file gsToolkit.h.
| typedef struct gsBitMapFileHeader GSBMFHDR |
Definition at line 29 of file gsToolkit.h.
| typedef struct gsBitMapInfoHeader GSBMIHDR |
Definition at line 45 of file gsToolkit.h.
| typedef struct gsFont GSFONT |
Definition at line 88 of file gsToolkit.h.
| void gsKit_font_print_scaled | ( | GSGLOBAL * | gsGlobal, |
| GSFONT * | gsFont, | ||
| float | X, | ||
| float | Y, | ||
| int | Z, | ||
| float | scale, | ||
| unsigned long | color, | ||
| const char * | String ) |
Definition at line 1125 of file gsToolkit.c.
| int gsKit_font_upload | ( | GSGLOBAL * | gsGlobal, |
| GSFONT * | gsFont ) |
Definition at line 1048 of file gsToolkit.c.
| int gsKit_font_upload_raw | ( | GSGLOBAL * | gsGlobal, |
| GSFONT * | gsFont ) |
Definition at line 1027 of file gsToolkit.c.
| GSFONT * gsKit_init_font | ( | u8 | type, |
| char * | path ) |
Initialize Font Object (From Memory).
Definition at line 968 of file gsToolkit.c.
| GSFONT * gsKit_init_font_raw | ( | u8 | type, |
| u8 * | data, | ||
| int | size ) |
Definition at line 1014 of file gsToolkit.c.
| int gsKit_texture_bmp | ( | GSGLOBAL * | gsGlobal, |
| GSTEXTURE * | Texture, | ||
| char * | Path ) |
Definition at line 343 of file gsToolkit.c.
| int gsKit_texture_fnt_raw | ( | GSGLOBAL * | gsGlobal, |
| GSFONT * | gsFont ) |
Definition at line 819 of file gsToolkit.c.
| int gsKit_texture_jpeg | ( | GSGLOBAL * | gsGlobal, |
| GSTEXTURE * | Texture, | ||
| char * | Path ) |
Definition at line 726 of file gsToolkit.c.
| int gsKit_texture_jpeg_scale | ( | GSGLOBAL * | gsGlobal, |
| GSTEXTURE * | Texture, | ||
| char * | Path, | ||
| bool | scale_down ) |
Definition at line 675 of file gsToolkit.c.
| int gsKit_texture_png | ( | GSGLOBAL * | gsGlobal, |
| GSTEXTURE * | Texture, | ||
| char * | Path ) |
Definition at line 80 of file gsToolkit.c.
| int gsKit_texture_raw | ( | GSGLOBAL * | gsGlobal, |
| GSTEXTURE * | Texture, | ||
| char * | Path ) |
Definition at line 783 of file gsToolkit.c.
| int gsKit_texture_tga | ( | GSGLOBAL * | gsGlobal, |
| GSTEXTURE * | Texture, | ||
| char * | Path ) |
Definition at line 813 of file gsToolkit.c.
| int gsKit_texture_tiff | ( | GSGLOBAL * | gsGlobal, |
| GSTEXTURE * | Texture, | ||
| char * | Path ) |
Definition at line 730 of file gsToolkit.c.
| u8 Alpha |
Definition at line 3 of file gsToolkit.h.
| u16 BitCount |
Definition at line 4 of file gsToolkit.h.
| u8 Blue |
Definition at line 0 of file gsToolkit.h.
| u32 ColorImportant |
Definition at line 10 of file gsToolkit.h.
| u32 ColorUsed |
Definition at line 9 of file gsToolkit.h.
| u32 Compression |
Definition at line 5 of file gsToolkit.h.
| u8 Green |
Definition at line 1 of file gsToolkit.h.
| u32 Height |
Definition at line 2 of file gsToolkit.h.
| u32 Offset |
Definition at line 4 of file gsToolkit.h.
| u16 Planes |
Definition at line 3 of file gsToolkit.h.
| u8 Red |
Definition at line 2 of file gsToolkit.h.
| u16 Reserved1 |
Definition at line 2 of file gsToolkit.h.
| u16 Reserved2 |
Definition at line 3 of file gsToolkit.h.
| u32 Size |
Definition at line 1 of file gsToolkit.h.
| u32 SizeImage |
Definition at line 6 of file gsToolkit.h.
| u16 Type |
Definition at line 0 of file gsToolkit.h.
| u32 Width |
Definition at line 1 of file gsToolkit.h.
| u32 XPelsPerMeter |
Definition at line 7 of file gsToolkit.h.
| u32 YPelsPerMeter |
Definition at line 8 of file gsToolkit.h.