texture.c
8.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/*
* unzipped texture area starts @TEX_SEGMENT_ADDR
*/
#include "gfx.h"
#include "texture.h"
unsigned char texBg[SCREEN_WD*TEX_BG_H2*2] __attribute__ ((aligned(16)));
unsigned char texNewyear[SCREEN_WD*TEX_BG_H2*2] __attribute__ ((aligned(16)));
unsigned char texWelcome[TEX_WELCOME_W*TEX_WELCOME_H+512] __attribute__ ((aligned(16)));
unsigned char texB1[TOP_BUTTON_W*TOP_BUTTON_H*2] __attribute__ ((aligned(16)));
unsigned char texB3[TOP_BUTTON_W*TOP_BUTTON_H*2] __attribute__ ((aligned(16)));
unsigned char texB4[TOP_BUTTON_W2*TOP_BUTTON_H2*2] __attribute__ ((aligned(16)));
unsigned char texB5[TOP_BUTTON_W2*TOP_BUTTON_H2*2] __attribute__ ((aligned(16)));
unsigned char texB6[TOP_BUTTON_W2*TOP_BUTTON_H2*2] __attribute__ ((aligned(16)));
unsigned char texHB1[TOP_BUTTON_W*TOP_BUTTON_H*2] __attribute__ ((aligned(16)));
unsigned char texHB3[TOP_BUTTON_W*TOP_BUTTON_H*2] __attribute__ ((aligned(16)));
unsigned char texHB4[TOP_BUTTON_W2*TOP_BUTTON_H2*2] __attribute__ ((aligned(16)));
unsigned char texHB5[TOP_BUTTON_W2*TOP_BUTTON_H2*2] __attribute__ ((aligned(16)));
unsigned char texHB6[TOP_BUTTON_W2*TOP_BUTTON_H2*2] __attribute__ ((aligned(16)));
unsigned char texTopBar[SCREEN_WD*TOP_BAR_H+512] __attribute__ ((aligned(16)));
unsigned char texSpaceBar[SPACE_BAR_W*SPACE_BAR_H*2] __attribute__ ((aligned(16)));
unsigned char texSpaceBar1[SPACE_BAR1_W*SPACE_BAR_H*2] __attribute__ ((aligned(16)));
unsigned char texSpaceBar2[SPACE_BAR2_W*SPACE_BAR_H*2] __attribute__ ((aligned(16)));
unsigned char texBottomBar[SCREEN_WD*BOTTOM_BAR_H+512] __attribute__ ((aligned(16)));
unsigned char texA[BUTTON_A_W*BUTTON_A_H*2] __attribute__ ((aligned(16)));
unsigned char texB[BUTTON_A_W*BUTTON_A_H*2] __attribute__ ((aligned(16)));
unsigned char texZ[BUTTON_Z_W*BUTTON_A_H*2] __attribute__ ((aligned(16)));
unsigned char texSnum[16*16*11*2] __attribute__ ((aligned(16)));
unsigned char texGameRow[SCREEN_WD*TEX_GAME_ROW_H*2] __attribute__ ((aligned(16)));
unsigned char texGameRowH[SCREEN_WD*TEX_GAME_ROW_H*2] __attribute__ ((aligned(16)));
unsigned char texCard[TEX_GAME_LOC_W*TEX_GAME_LOC_H*2] __attribute__ ((aligned(16)));
unsigned char texDepot[TEX_GAME_LOC_W*TEX_GAME_LOC_H*2] __attribute__ ((aligned(16)));
unsigned char texRed[TEX_GAME_SIZE_W*TEX_GAME_SIZE_H*2] __attribute__ ((aligned(16)));
unsigned char texYellow[TEX_GAME_SIZE_W*TEX_GAME_SIZE_H*2] __attribute__ ((aligned(16)));
unsigned char texLoad[TEX_LAUNCH_W*TEX_LAUNCH_H*2] __attribute__ ((aligned(16)));
unsigned char texRecrypt[TEX_LAUNCH_W*TEX_LAUNCH_H*2] __attribute__ ((aligned(16)));
unsigned char texLaunch[TEX_LAUNCH_W*TEX_LAUNCH_H*2] __attribute__ ((aligned(16)));
unsigned char texAtext[TEX_A_TEXT_W*TEX_A_TEXT_H*2] __attribute__ ((aligned(16)));
unsigned char texBtext[TEX_B_TEXT_W*TEX_B_TEXT_H*2] __attribute__ ((aligned(16)));
unsigned char texZtext[TEX_Z_TEXT_W*TEX_Z_TEXT_H*2] __attribute__ ((aligned(16)));
unsigned char texCopy[TEX_A_TEXT_W*TEX_A_TEXT_H*2] __attribute__ ((aligned(16)));
unsigned char texDelete[TEX_B_TEXT_W*TEX_B_TEXT_H*2] __attribute__ ((aligned(16)));
unsigned char texBnum[TEX_BNUM_W*TEX_BNUM_H*20] __attribute__ ((aligned(16)));
unsigned char texCpak[TEX_CPAK_W*TEX_CPAK_H*13*2] __attribute__ ((aligned(16)));
unsigned char texPlayer[TEX_PLAYER_W*TEX_PLAYER_H*2] __attribute__ ((aligned(16)));
unsigned char texSave[TEX_SAVE_W*TEX_SAVE_H*2] __attribute__ ((aligned(16)));
unsigned char texBind[TEX_BIND_W*TEX_BIND_H*2] __attribute__ ((aligned(16)));
unsigned char texUnbind[TEX_UNBIND_W*TEX_UNBIND_H*2] __attribute__ ((aligned(16)));
unsigned char texCpakrow[TEX_PAKROW_W*TEX_PAKROW_H*2] __attribute__ ((aligned(16)));
unsigned char texCpakrowh[TEX_PAKROW_W*TEX_PAKROW_H*2] __attribute__ ((aligned(16)));
unsigned char texControw[TEX_CONTROW_W*TEX_CONTROW_H*2] __attribute__ ((aligned(16)));
unsigned char texControwh[TEX_CONTROW_W*TEX_CONTROW_H*2] __attribute__ ((aligned(16)));
unsigned char texTlimit[TEX_LIMIT_W*TEX_LIMIT_H*2] __attribute__ ((aligned(16)));
unsigned char texPlimit[TEX_LIMIT_W*TEX_LIMIT_H*2] __attribute__ ((aligned(16)));
unsigned char texRemain[TEX_LIMIT_W*TEX_LIMIT_H*2] __attribute__ ((aligned(16)));
unsigned char texExpire[TEX_EXPIRE_W*TEX_EXPIRE_H*2] __attribute__ ((aligned(16)));
unsigned char texGamebg[TEX_GAMEBG_W*TEX_GAMEBG_H*2] __attribute__ ((aligned(16)));
unsigned char texZhglyph[TEX_ZH_GLYPH_W*TEX_ZH_GLYPH_H*ZH_GLYPH_COUNT*2] __attribute__ ((aligned(16)));
unsigned char texGamebg2[SCREEN_WD*TEX_GAMEBG_H*2] __attribute__ ((aligned(16)));
unsigned char texLoadIcon[TEX_LOAD_ICON_W*TEX_LOAD_ICON_H*2] __attribute__ ((aligned(16)));
unsigned char texLoadMeter[TEX_LOAD_METER_W*TEX_LOAD_METER_H*2] __attribute__ ((aligned(16)));
unsigned char texLoadMeterb[TEX_LOAD_METER_B_W*TEX_LOAD_METER_B_H*2] __attribute__ ((aligned(16)));
unsigned char texAdvice[TEX_ADVICE_W*TEX_ADVICE_H*2] __attribute__ ((aligned(16)));
unsigned char texCpakbg[SCREEN_WD*TEX_CPAKBG_H*2] __attribute__ ((aligned(16)));
unsigned char texBoard[TEX_BOARD_W*TEX_BOARD_H+512] __attribute__ ((aligned(16)));
unsigned char texConfirm[TEX_CONFIRM_W*TEX_CONFIRM_H*2] __attribute__ ((aligned(16)));
unsigned char texConfirmYes[TEX_CYES_W*TEX_CYES_H*2] __attribute__ ((aligned(16)));
unsigned char texConfirmYesH[TEX_CYES_W*TEX_CYES_H*2] __attribute__ ((aligned(16)));
unsigned char texConfirmNo[TEX_CNO_W*TEX_CNO_H*2] __attribute__ ((aligned(16)));
unsigned char texConfirmNoH[TEX_CNO_W*TEX_CNO_H*2] __attribute__ ((aligned(16)));
unsigned char texCancel[TEX_CANCEL_W*TEX_CANCEL_H*2] __attribute__ ((aligned(16)));
unsigned char texCancelH[TEX_CANCEL_W*TEX_CANCEL_H*2] __attribute__ ((aligned(16)));
unsigned char texChar1[TEX_CHAR1_W*TEX_CHAR1_H+512] __attribute__ ((aligned(16)));
unsigned char texChar2[TEX_CHAR2_W*TEX_CHAR2_H+512] __attribute__ ((aligned(16)));
unsigned char texChar3[TEX_CHAR3_W*TEX_CHAR3_H+512] __attribute__ ((aligned(16)));
unsigned char texChar4[TEX_CHAR4_W*TEX_CHAR4_H+512] __attribute__ ((aligned(16)));
unsigned char texLogo[TEX_LOGO_W*TEX_LOGO_H + 1024] __attribute__ ((aligned(16)));
unsigned char texIQueHomeLogo[TEX_IQUEHOMELOGO_W*TEX_IQUEHOMELOGO_H * 2] __attribute__ ((aligned(16)));
unsigned char texHealthad4[HEALTHAD_SIZE] __attribute__ ((aligned(16)));
unsigned char texPcPwd[TEX_PC_SET_W*TEX_PC_SET_H*2] __attribute__ ((aligned(16)));
unsigned char texPcClock[TEX_PC_SET_W*TEX_PC_SET_H*2] __attribute__ ((aligned(16)));
unsigned char texPcLimit[TEX_PC_SET_W*TEX_PC_SET_H*2] __attribute__ ((aligned(16)));
unsigned char texPcExp[TEX_PC_SET_W*TEX_PC_SET_H*2] __attribute__ ((aligned(16)));
unsigned char texPcBar[TEX_PC_BAR_W*TEX_PC_BAR_H*2] __attribute__ ((aligned(16)));
unsigned char texPcBarH[TEX_PC_BAR_W*TEX_PC_BAR_H*2] __attribute__ ((aligned(16)));
unsigned char texPcAdmin[TEX_PC_ADMIN_W*TEX_PC_ADMIN_H*2] __attribute__ ((aligned(16)));
unsigned char texPcPwdIn[TEX_PC_PWDIN_W*TEX_PC_PWDIN_H*2] __attribute__ ((aligned(16)));
unsigned char texPcConfirm[TEX_PC_CONFIRM_W*TEX_PC_CONFIRM_H*2] __attribute__ ((aligned(16)));
unsigned char texPcRemain[TEX_PC_REMAIN_W*TEX_PC_REMAIN_H*2] __attribute__ ((aligned(16)));
unsigned char texUpArrow[TEX_ARROW_W*TEX_ARROW_H*2] __attribute__ ((aligned(16)));
unsigned char texDownArrow[TEX_ARROW_W*TEX_ARROW_H*2] __attribute__ ((aligned(16)));
unsigned char texIsbnGlyph[TEX_ISBN_GLYPH_W*TEX_ISBN_GLYPH_H*2] __attribute__ ((aligned(16)));
unsigned char texPublisher[TEX_PUBLISHER_W*TEX_PUBLISHER_H*2] __attribute__ ((aligned(16)));
unsigned char texProducer[TEX_PRODUCER_W*TEX_PRODUCER_H*2] __attribute__ ((aligned(16)));
unsigned char texPubInfo1[TEX_PUBINFO1_W*TEX_PUBINFO_H*2] __attribute__ ((aligned(16)));
unsigned char texPubInfo2[TEX_PUBINFO2_W*TEX_PUBINFO_H*2] __attribute__ ((aligned(16)));
unsigned char texPubInfo3[TEX_PUBINFO3_W*TEX_PUBINFO_H*2] __attribute__ ((aligned(16)));
#ifdef PAK_COPY
unsigned char texGpakTitle[TEX_GPAK_TITLE_W*TEX_GPAK_TITLE_H*2] __attribute__ ((aligned(16)));
unsigned char texCpakTitle[TEX_CPAK_TITLE_W*TEX_CPAK_TITLE_H*2] __attribute__ ((aligned(16)));
unsigned char texScard[TEX_SCARD_W*TEX_SCARD_H*2] __attribute__ ((aligned(16)));
unsigned char texDcard[TEX_DCARD_W*TEX_DCARD_H*2] __attribute__ ((aligned(16)));
#endif
unsigned char texDstar[16*16*2] __attribute__ ((aligned(16)));