294 lines
8.8 KiB
Plaintext
294 lines
8.8 KiB
Plaintext
/* Title texture fonts. */
|
|
|
|
extern Gfx RCP_tfont1[];
|
|
|
|
extern unsigned short bikuri_txt[] ;
|
|
extern unsigned short Wbikuri_txt[] ;
|
|
extern unsigned short question_txt[];
|
|
|
|
extern unsigned short a0n_txt[];
|
|
extern unsigned short a1n_txt[];
|
|
extern unsigned short a2n_txt[];
|
|
|
|
extern unsigned short A_txt[];
|
|
extern unsigned short B_txt[];
|
|
extern unsigned short C_txt[];
|
|
extern unsigned short D_txt[];
|
|
extern unsigned short E_txt[];
|
|
extern unsigned short F_txt[];
|
|
extern unsigned short G_txt[];
|
|
extern unsigned short H_txt[];
|
|
extern unsigned short I_txt[];
|
|
extern unsigned short J_txt[];
|
|
extern unsigned short K_txt[];
|
|
extern unsigned short L_txt[];
|
|
extern unsigned short M_txt[];
|
|
extern unsigned short N_txt[];
|
|
extern unsigned short O_txt[];
|
|
extern unsigned short P_txt[];
|
|
extern unsigned short Q_txt[];
|
|
extern unsigned short R_txt[];
|
|
extern unsigned short S_txt[];
|
|
extern unsigned short T_txt[];
|
|
extern unsigned short U_txt[];
|
|
extern unsigned short V_txt[];
|
|
extern unsigned short W_txt[];
|
|
extern unsigned short X_txt[];
|
|
extern unsigned short Y_txt[];
|
|
extern unsigned short Z_txt[];
|
|
|
|
static Material title_tfont_mat[]={
|
|
{255,255,255,255, 255,255,255,255, 255,255,255,255, 100,0,0,0},
|
|
};
|
|
|
|
static Vtx texture_font[] = {
|
|
{ -30, -30, 0, 0, 0, 0, 128, 128, 255, 0 },
|
|
{ 30, -30, 0, 0, 32, 0, 128, 128, 255, 0 },
|
|
{ 30, 30, 0, 0, 32, 32, 128, 128, 255, 0 },
|
|
{ -30, 30, 0, 0, 0, 32, 128, 128, 255, 0 },
|
|
};
|
|
|
|
/* ============================================================================================
|
|
: Static DL to texture font ON.
|
|
=============================================================================================== */
|
|
static Gfx RCP_tfont_ON[] = {
|
|
gsMaterial(title_tfont_mat),
|
|
gsLoadBlock(0, 0, 1, (16* 16), (1 << 11)/( 16* 16/64)),
|
|
gsSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, ( 16* 16/64), 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0),
|
|
gsSetTileSize(0, 0, 1, (16<< 2), (16<< 2)),
|
|
gsVertex(texture_font, 4, 0),
|
|
gs1Triangle( 0, 1, 2, 0),
|
|
gs1Triangle( 0, 2, 3, 0),
|
|
gsSetBlender(G_BL_PIXEL_CLR, 0 ,G_BL_0 , 0 ,G_BL_PIXEL_CLR, 0 , G_BL_1 , 0),
|
|
gsSetCombineLERP(MUX_SHADE, MUX_0, MUX_1),
|
|
gsTexture( 2048, 2048, 1, 0),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
/* ============================================================================================
|
|
: Each DL of texture font.
|
|
=============================================================================================== */
|
|
Gfx RCP_Title_bikuri[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, bikuri_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_Wbikuri[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, Wbikuri_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_question[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, question_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_0[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, a0n_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_1[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, a1n_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_2[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, a2n_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_A[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, A_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_B[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, B_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_C[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, C_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_D[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, D_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_E[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, E_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_F[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, F_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_G[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, G_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_H[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, H_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_I[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, I_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_J[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, J_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_K[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, K_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_L[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, L_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_M[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, M_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_N[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, N_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_O[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, O_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_P[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, P_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_Q[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, Q_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_R[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, R_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_S[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, S_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_T[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, T_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_U[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, U_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_V[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, V_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_W[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, W_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_X[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, X_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_Y[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, Y_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|
|
|
|
Gfx RCP_Title_Z[] = {
|
|
gsDisplayList(RCP_tfont1, G_MAX_DISPLAY_LIST),
|
|
gsSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, Z_txt),
|
|
gsDisplayList(RCP_tfont_ON, G_MAX_DISPLAY_LIST),
|
|
gsEndDisplayList()
|
|
};
|