Added hidden options to be able to define your own device delay before loading ART...
[open-ps2-loader.git] / include / textures.h
blobee7a45accd22df1d5c769ca2fd4f7b5faba6041a
1 #ifndef __TEXTURES_H
2 #define __TEXTURES_H
4 #define LOAD0_ICON 0
5 #define LOAD1_ICON 1
6 #define LOAD2_ICON 2
7 #define LOAD3_ICON 3
8 #define LOAD4_ICON 4
9 #define LOAD5_ICON 5
10 #define LOAD6_ICON 6
11 #define LOAD7_ICON 7
12 #define USB_ICON 8
13 #define HDD_ICON 9
14 #define ETH_ICON 10
15 #define APP_ICON 11
16 #define LEFT_ICON 12
17 #define RIGHT_ICON 13
18 #define UP_ICON 14
19 #define DOWN_ICON 15
20 #define CROSS_ICON 16
21 #define TRIANGLE_ICON 17
22 #define CIRCLE_ICON 18
23 #define SQUARE_ICON 19
24 #define SELECT_ICON 20
25 #define START_ICON 21
26 #define L1_ICON 22
27 #define L2_ICON 23
28 #define R1_ICON 24
29 #define R2_ICON 25
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);
47 #endif