Use C23 #embed for textures

This commit is contained in:
a
2025-06-23 23:31:21 -04:00
parent 2d642b9d24
commit 640633651e
175 changed files with 3980 additions and 3980 deletions

View File

@@ -228,7 +228,7 @@ UNUSED static Gfx gd_texture1_dummy_aligner1[] = { // @ 801A8728
};
ALIGNED8 static Texture gd_texture_hand_open[] = {
#include "textures/intro_raw/hand_open.rgba16.inc.c"
#embed "textures/intro_raw/hand_open.rgba16.bin"
};
UNUSED static Gfx gd_texture2_dummy_aligner1[] = {
@@ -236,71 +236,71 @@ UNUSED static Gfx gd_texture2_dummy_aligner1[] = {
};
ALIGNED8 static Texture gd_texture_hand_closed[] = {
#include "textures/intro_raw/hand_closed.rgba16.inc.c"
#embed "textures/intro_raw/hand_closed.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_red_star_0[] = {
#include "textures/intro_raw/red_star_0.rgba16.inc.c"
#embed "textures/intro_raw/red_star_0.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_red_star_1[] = {
#include "textures/intro_raw/red_star_1.rgba16.inc.c"
#embed "textures/intro_raw/red_star_1.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_red_star_2[] = {
#include "textures/intro_raw/red_star_2.rgba16.inc.c"
#embed "textures/intro_raw/red_star_2.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_red_star_3[] = {
#include "textures/intro_raw/red_star_3.rgba16.inc.c"
#embed "textures/intro_raw/red_star_3.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_red_star_4[] = {
#include "textures/intro_raw/red_star_4.rgba16.inc.c"
#embed "textures/intro_raw/red_star_4.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_red_star_5[] = {
#include "textures/intro_raw/red_star_5.rgba16.inc.c"
#embed "textures/intro_raw/red_star_5.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_red_star_6[] = {
#include "textures/intro_raw/red_star_6.rgba16.inc.c"
#embed "textures/intro_raw/red_star_6.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_red_star_7[] = {
#include "textures/intro_raw/red_star_7.rgba16.inc.c"
#embed "textures/intro_raw/red_star_7.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_white_star_0[] = {
#include "textures/intro_raw/white_star_0.rgba16.inc.c"
#embed "textures/intro_raw/white_star_0.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_white_star_1[] = {
#include "textures/intro_raw/white_star_1.rgba16.inc.c"
#embed "textures/intro_raw/white_star_1.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_white_star_2[] = {
#include "textures/intro_raw/white_star_2.rgba16.inc.c"
#embed "textures/intro_raw/white_star_2.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_white_star_3[] = {
#include "textures/intro_raw/white_star_3.rgba16.inc.c"
#embed "textures/intro_raw/white_star_3.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_white_star_4[] = {
#include "textures/intro_raw/white_star_4.rgba16.inc.c"
#embed "textures/intro_raw/white_star_4.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_white_star_5[] = {
#include "textures/intro_raw/white_star_5.rgba16.inc.c"
#embed "textures/intro_raw/white_star_5.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_white_star_6[] = {
#include "textures/intro_raw/white_star_6.rgba16.inc.c"
#embed "textures/intro_raw/white_star_6.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_white_star_7[] = {
#include "textures/intro_raw/white_star_7.rgba16.inc.c"
#embed "textures/intro_raw/white_star_7.rgba16.bin"
};
static Vtx_t gd_vertex_star[] = {
@@ -471,29 +471,29 @@ static Gfx *gd_silver_star_dl_array[] = {
};
ALIGNED8 static Texture gd_texture_sparkle_0[] = {
#include "textures/intro_raw/sparkle_0.rgba16.inc.c"
#embed "textures/intro_raw/sparkle_0.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_sparkle_1[] = {
#include "textures/intro_raw/sparkle_1.rgba16.inc.c"
#embed "textures/intro_raw/sparkle_1.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_sparkle_2[] = {
#include "textures/intro_raw/sparkle_2.rgba16.inc.c"
#embed "textures/intro_raw/sparkle_2.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_sparkle_3[] = {
#include "textures/intro_raw/sparkle_3.rgba16.inc.c"
#embed "textures/intro_raw/sparkle_3.rgba16.bin"
};
ALIGNED8 static Texture gd_texture_sparkle_4[] = {
#include "textures/intro_raw/sparkle_4.rgba16.inc.c"
#embed "textures/intro_raw/sparkle_4.rgba16.bin"
};
//! No reference to this texture. Two DL's uses the same previous texture
// instead of using this texture.
UNUSED ALIGNED8 static Texture gd_texture_sparkle_5[] = {
#include "textures/intro_raw/sparkle_5.rgba16.inc.c"
#embed "textures/intro_raw/sparkle_5.rgba16.bin"
};
static Vtx_t gd_vertex_sparkle[] = {
@@ -652,7 +652,7 @@ UNUSED static Gfx gd_texture3_dummy_aligner1[] = {
};
ALIGNED8 static Texture gd_texture_mario_face_shine[] = {
#include "textures/intro_raw/mario_face_shine.ia8.inc.c"
#embed "textures/intro_raw/mario_face_shine.ia8.bin"
};
static Gfx gd_dl_mario_face_shine[] = {

View File

@@ -18,7 +18,7 @@ u8 gCrashScreenCharToGlyph[128] = {
// A height of seven pixels for each Character * nine rows of characters + one row unused.
u32 gCrashScreenFont[7 * 9 + 1] = {
#include "textures/crash_screen/crash_screen_font.ia1.inc.c"
#embed "textures/crash_screen/crash_screen_font.ia1.bin"
};