25 #define TRIANGLE_ICON 21
26 #define CIRCLE_ICON 22
27 #define SQUARE_ICON 23
28 #define SELECT_ICON 24
30 #define LOGO_PICTURE 26
32 #define TEXTURES_COUNT 27
34 #define ERR_BAD_FILE -1
35 #define ERR_READ_STRUCT -2
36 #define ERR_INFO_STRUCT -3
37 #define ERR_SET_JMP -4
38 #define ERR_BAD_DIMENSION -5
39 #define ERR_MISSING_ALPHA -6
40 #define ERR_BAD_DEPTH -7
42 int texPngLoad(GSTEXTURE
*texture
, char *path
, int texId
, short psm
);
43 int texJpgLoad(GSTEXTURE
* texture
, char* path
, int texId
, short psm
);
44 void texPrepare(GSTEXTURE
* texture
, short psm
);
45 int texDiscoverLoad(GSTEXTURE
* texture
, char* path
, int texId
, short psm
);