Update credits with link to current repo

This commit is contained in:
Matt Penny 2024-08-20 19:59:36 -04:00
parent 0016834245
commit da028cd405
5 changed files with 36 additions and 63 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 802 B

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 929 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 929 B

View file

@ -100,19 +100,9 @@ materials:
b: 255
a: 255
patreon_qr:
github_qr:
gDPSetTile:
filename: "../images/patreon_qr.png"
siz: G_IM_SIZ_4b
fmt: G_IM_FMT_I
gDPSetCombineMode:
color: ["0", "0", "0", ENVIRONMENT]
alpha: [TEXEL0, "0", ENVIRONMENT, "0"]
gDPSetRenderMode: G_RM_XLU_SURF
youtube_qr:
gDPSetTile:
filename: "../images/youtube_qr.png"
filename: "../images/github_qr.png"
siz: G_IM_SIZ_4b
fmt: G_IM_FMT_I
gDPSetCombineMode:

View file

@ -55,82 +55,65 @@ void creditsRender(void* data, struct RenderState* renderState, struct GraphicsT
struct FontRenderer* renderer = stackMalloc(sizeof(struct FontRenderer));
fontRendererLayout(renderer, &gLiberationMonoFont, "THANK YOU FOR PARTICIPATING\nIN THIS\nENRICHMENT CENTER ACTIVITY!!\n\nIt is still in development.", SCREEN_WD);
renderState->dl = fontRendererBuildGfx(
renderer,
gLiberationMonoImages,
35,
36,
&color,
renderer,
gLiberationMonoImages,
35,
36,
&color,
renderState->dl
);
fontRendererLayout(renderer, &gLiberationMonoFont, "-----------------------------------------", SCREEN_WD);
renderState->dl = fontRendererBuildGfx(
renderer,
gLiberationMonoImages,
14,
12,
&color,
renderer,
gLiberationMonoImages,
14,
12,
&color,
renderState->dl
);
renderState->dl = fontRendererBuildGfx(
renderer,
gLiberationMonoImages,
14,
SCREEN_HT - 24,
&color,
renderer,
gLiberationMonoImages,
14,
SCREEN_HT - 24,
&color,
renderState->dl
);
fontRendererLayout(renderer, &gLiberationMonoFont, "|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|", SCREEN_WD);
renderState->dl = fontRendererBuildGfx(
renderer,
gLiberationMonoImages,
14,
24,
&color,
renderer,
gLiberationMonoImages,
14,
24,
&color,
renderState->dl
);
renderState->dl = fontRendererBuildGfx(
renderer,
gLiberationMonoImages,
294,
24,
&color,
renderer,
gLiberationMonoImages,
294,
24,
&color,
renderState->dl
);
fontRendererLayout(renderer, &gLiberationMonoFont, "Subscribe", SCREEN_WD);
fontRendererLayout(renderer, &gLiberationMonoFont, "GitHub", SCREEN_WD);
renderState->dl = fontRendererBuildGfx(
renderer,
gLiberationMonoImages,
70,
120,
&color,
renderer,
gLiberationMonoImages,
74,
120,
&color,
renderState->dl
);
fontRendererLayout(renderer, &gLiberationMonoFont, "Support", SCREEN_WD);
renderState->dl = fontRendererBuildGfx(
renderer,
gLiberationMonoImages,
182,
120,
&color,
renderState->dl
);
gSPDisplayList(renderState->dl++, ui_material_list[YOUTUBE_QR_INDEX]);
gSPTextureRectangle(renderState->dl++, 70 << 2, 138 << 2, (70 + 64) << 2, (138 + 64) << 2, G_TX_RENDERTILE, 0, 0, 1 << 9, 1 << 9);
gSPDisplayList(renderState->dl++, ui_material_list[PATREON_QR_INDEX]);
gSPTextureRectangle(renderState->dl++, 182 << 2, 138 << 2, (182 + 64) << 2, (138 + 64) << 2, G_TX_RENDERTILE, 0, 0, 1 << 9, 1 << 9);
gSPDisplayList(renderState->dl++, ui_material_list[GITHUB_QR_INDEX]);
gSPTextureRectangle(renderState->dl++, 74 << 2, 138 << 2, (74 + 64) << 2, (138 + 64) << 2, G_TX_RENDERTILE, 0, 0, 1 << 9, 1 << 9);
gSPDisplayList(renderState->dl++, ui_material_list[CREDITS_ICONS_INDEX]);
gSPTextureRectangle(renderState->dl++, 30 << 2, 130 << 2, (30 + 32) << 2, (130 + 32) << 2, G_TX_RENDERTILE, 0, 0, 1 << 10, 1 << 10);
gSPDisplayList(renderState->dl++, ui_material_list[CREDITS_ICONS_INDEX]);
gSPTextureRectangle(renderState->dl++, 148 << 2, 130 << 2, (148 + 32) << 2, (130 + 32) << 2, G_TX_RENDERTILE, 32 << 5, 0, 1 << 10, 1 << 10);
gSPTextureRectangle(renderState->dl++, 34 << 2, 134 << 2, (34 + 32) << 2, (134 + 32) << 2, G_TX_RENDERTILE, 0, 0, 1 << 10, 1 << 10);
stackMallocFree(renderer);
}