diff --git a/actors/impact_smoke/model.inc.c b/actors/impact_smoke/model.inc.c index ebee5a98..c2811f90 100644 --- a/actors/impact_smoke/model.inc.c +++ b/actors/impact_smoke/model.inc.c @@ -3,22 +3,22 @@ // TODO: These 64x64 textures are referenced as two different texture addresses in the DLs // 0x0605AA28 -ALIGNED8 static const u8 impact_smoke_seg6_texture_0605AA28[] = { +ALIGNED8 const Texture impact_smoke_seg6_texture_0605AA28[] = { #include "actors/impact_smoke/impact_smoke_0.ia16.inc.c" }; // 0x0605CA28 -ALIGNED8 static const u8 impact_smoke_seg6_texture_0605CA28[] = { +ALIGNED8 const Texture impact_smoke_seg6_texture_0605CA28[] = { #include "actors/impact_smoke/impact_smoke_1.ia16.inc.c" }; // 0x0605EA28 -ALIGNED8 static const u8 impact_smoke_seg6_texture_0605EA28[] = { +ALIGNED8 const Texture impact_smoke_seg6_texture_0605EA28[] = { #include "actors/impact_smoke/impact_smoke_2.ia16.inc.c" }; // 0x06060A28 -ALIGNED8 static const u8 impact_smoke_seg6_texture_06060A28[] = { +ALIGNED8 const Texture impact_smoke_seg6_texture_06060A28[] = { #include "actors/impact_smoke/impact_smoke_3.ia16.inc.c" }; diff --git a/actors/luigi/model.inc.c b/actors/luigi/model.inc.c index d6977b3c..79ecfcee 100644 --- a/actors/luigi/model.inc.c +++ b/actors/luigi/model.inc.c @@ -28,74 +28,43 @@ static const Lights1 luigi_brown2_lights_group = gdSPDefLights1( 0x73, 0x06, 0x00, 0x28, 0x28, 0x28 ); -ALIGNED8 static const u8 luigi_texture_metal[] = { -#include "actors/mario/mario_metal.rgba16.inc.c" -}; +#include "actors/mario/mario_externs.h" +#define luigi_texture_metal mario_texture_metal +#define luigi_texture_yellow_button mario_texture_yellow_button +#define luigi_texture_eyes_left mario_texture_eyes_left +#define luigi_texture_eyes_right mario_texture_eyes_right +#define luigi_texture_eyes_up mario_texture_eyes_up +#define luigi_texture_eyes_down mario_texture_eyes_down +#define luigi_texture_eyes_dead mario_texture_eyes_dead +#define luigi_texture_wings_half_1 mario_texture_wings_half_1 +#define luigi_texture_wings_half_2 mario_texture_wings_half_2 +#define luigi_texture_metal_wings_half_1 mario_texture_metal_wings_half_1 +#define luigi_texture_metal_wings_half_2 mario_texture_metal_wings_half_2 -ALIGNED8 static const u8 luigi_texture_yellow_button[] = { -#include "actors/mario/mario_overalls_button.rgba16.inc.c" -}; - -ALIGNED8 static const u8 luigi_texture_l_logo[] = { +ALIGNED8 const Texture luigi_texture_l_logo[] = { #include "actors/luigi/custom_luigi_logo.rgba16.inc.c" }; -ALIGNED8 static const u8 luigi_texture_hair_sideburn[] = { +ALIGNED8 const Texture luigi_texture_hair_sideburn[] = { #include "actors/luigi/custom_luigi_sideburn.rgba16.inc.c" }; -ALIGNED8 static const u8 luigi_texture_mustache[] = { +ALIGNED8 const Texture luigi_texture_mustache[] = { #include "actors/luigi/custom_luigi_mustache.rgba16.inc.c" }; -ALIGNED8 static const u8 luigi_texture_eyes_front[] = { +ALIGNED8 const Texture luigi_texture_eyes_front[] = { #include "actors/luigi/custom_luigi_eyes_center.rgba16.inc.c" }; -ALIGNED8 static const u8 luigi_texture_eyes_half_closed[] = { +ALIGNED8 const Texture luigi_texture_eyes_half_closed[] = { #include "actors/luigi/custom_luigi_eyes_half_closed.rgba16.inc.c" }; -ALIGNED8 static const u8 luigi_texture_eyes_closed[] = { +ALIGNED8 const Texture luigi_texture_eyes_closed[] = { #include "actors/luigi/custom_luigi_eyes_closed.rgba16.inc.c" }; -ALIGNED8 static const u8 luigi_texture_eyes_right[] = { -#include "actors/mario/mario_eyes_left_unused.rgba16.inc.c" -}; - -ALIGNED8 static const u8 luigi_texture_eyes_left[] = { -#include "actors/mario/mario_eyes_right_unused.rgba16.inc.c" -}; - -ALIGNED8 static const u8 luigi_texture_eyes_up[] = { -#include "actors/mario/mario_eyes_up_unused.rgba16.inc.c" -}; - -ALIGNED8 static const u8 luigi_texture_eyes_down[] = { -#include "actors/mario/mario_eyes_down_unused.rgba16.inc.c" -}; - -ALIGNED8 static const u8 luigi_texture_eyes_dead[] = { -#include "actors/mario/mario_eyes_dead.rgba16.inc.c" -}; - -ALIGNED8 static const u8 luigi_texture_wings_half_1[] = { -#include "actors/mario/mario_wing.rgba16.inc.c" -}; - -ALIGNED8 static const u8 luigi_texture_wings_half_2[] = { -#include "actors/mario/mario_wing_tip.rgba16.inc.c" -}; - -ALIGNED8 static const u8 luigi_texture_metal_wings_half_1[] = { -#include "actors/mario/mario_metal_wing_unused.rgba16.inc.c" -}; - -ALIGNED8 static const u8 luigi_texture_metal_wings_half_2[] = { -#include "actors/mario/mario_metal_wing_tip_unused.rgba16.inc.c" -}; - static const Vtx luigi_butt_dl_vertex[76] = { {{{-7, -65, 43},0, {0, 0},{0xDA, 0x94, 0x38, 0xFF}}}, {{{-13, -71, 0},0, {0, 0},{0xD4, 0x89, 0x0, 0xFF}}}, diff --git a/actors/luigi_cap/model.inc.c b/actors/luigi_cap/model.inc.c index 9ceb00e3..61aa4d28 100644 --- a/actors/luigi_cap/model.inc.c +++ b/actors/luigi_cap/model.inc.c @@ -23,37 +23,18 @@ static const Lights1 luigi_cap_seg3_lights_white = gdSPDefLights1( 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); - -// 0x0301CF50 -ALIGNED8 static const u8 luigi_cap_seg3_texture_0301CF50[] = { -#include "actors/mario_cap/mario_cap_metal.rgba16.inc.c" -}; +#include "actors/mario_cap/mario_cap_externs.h" +#define luigi_cap_seg3_texture_0301CF50 mario_cap_seg3_texture_0301CF50 +#define luigi_cap_seg3_texture_0301E750 mario_cap_seg3_texture_0301E750 +#define luigi_cap_seg3_texture_0301F750 mario_cap_seg3_texture_0301F750 +#define luigi_cap_seg3_texture_03020750 mario_cap_seg3_texture_03020750 +#define luigi_cap_seg3_texture_03021750 mario_cap_seg3_texture_03021750 // 0x0301DF50 -ALIGNED8 static const u8 luigi_cap_seg3_texture_0301DF50[] = { +ALIGNED8 const Texture luigi_cap_seg3_texture_0301DF50[] = { #include "actors/luigi_cap/custom_luigi_cap_logo.rgba16.inc.c" }; -// 0x0301E750 -ALIGNED8 static const u8 luigi_cap_seg3_texture_0301E750[] = { -#include "actors/mario_cap/mario_cap_wing.rgba16.inc.c" -}; - -// 0x0301F750 -ALIGNED8 static const u8 luigi_cap_seg3_texture_0301F750[] = { -#include "actors/mario_cap/mario_cap_wing_tip.rgba16.inc.c" -}; - -// 0x03020750 -ALIGNED8 static const u8 luigi_cap_seg3_texture_03020750[] = { -#include "actors/mario_cap/mario_cap_metal_wing_unused.rgba16.inc.c" -}; - -// 0x03021750 -ALIGNED8 static const u8 luigi_cap_seg3_texture_03021750[] = { -#include "actors/mario_cap/mario_cap_metal_wing_tip_unused.rgba16.inc.c" -}; - // 0x03022750 static const Vtx luigi_cap_seg3_vertex_03022750[] = { {{{ 33, 35, 118}, 0, { 728, 758}, {0x30, 0x26, 0x6e, 0xff}}}, diff --git a/actors/mario/mario_externs.h b/actors/mario/mario_externs.h new file mode 100644 index 00000000..d6fd973b --- /dev/null +++ b/actors/mario/mario_externs.h @@ -0,0 +1,19 @@ +extern ALIGNED8 const Texture mario_texture_metal[]; +extern ALIGNED8 const Texture mario_texture_yellow_button[]; +extern ALIGNED8 const Texture mario_texture_m_logo[]; +extern ALIGNED8 const Texture mario_texture_hair_sideburn[]; +extern ALIGNED8 const Texture mario_texture_mustache[]; +extern ALIGNED8 const Texture mario_texture_eyes_front[]; +extern ALIGNED8 const Texture mario_texture_eyes_half_closed[]; +extern ALIGNED8 const Texture mario_texture_eyes_closed[]; +extern ALIGNED8 const Texture mario_texture_eyes_closed_unused1[]; +extern ALIGNED8 const Texture mario_texture_eyes_closed_unused2[]; +extern ALIGNED8 const Texture mario_texture_eyes_right[]; +extern ALIGNED8 const Texture mario_texture_eyes_left[]; +extern ALIGNED8 const Texture mario_texture_eyes_up[]; +extern ALIGNED8 const Texture mario_texture_eyes_down[]; +extern ALIGNED8 const Texture mario_texture_eyes_dead[]; +extern ALIGNED8 const Texture mario_texture_wings_half_1[]; +extern ALIGNED8 const Texture mario_texture_wings_half_2[]; +extern ALIGNED8 const Texture mario_texture_metal_wings_half_1[]; +extern ALIGNED8 const Texture mario_texture_metal_wings_half_2[]; diff --git a/actors/mario/model.inc.c b/actors/mario/model.inc.c index b375949a..1611c1e6 100644 --- a/actors/mario/model.inc.c +++ b/actors/mario/model.inc.c @@ -37,99 +37,99 @@ static const Lights1 mario_brown2_lights_group = gdSPDefLights1( ); // 0x04000090 -ALIGNED8 const u8 mario_texture_metal[] = { +ALIGNED8 const Texture mario_texture_metal[] = { #include "actors/mario/mario_metal.rgba16.inc.c" }; // 0x04001090 -ALIGNED8 const u8 mario_texture_yellow_button[] = { +ALIGNED8 const Texture mario_texture_yellow_button[] = { #include "actors/mario/mario_overalls_button.rgba16.inc.c" }; // 0x04001890 -ALIGNED8 const u8 mario_texture_m_logo[] = { +ALIGNED8 const Texture mario_texture_m_logo[] = { #include "actors/mario/custom_mario_logo.rgba16.inc.c" }; // 0x04002090 -ALIGNED8 const u8 mario_texture_hair_sideburn[] = { +ALIGNED8 const Texture mario_texture_hair_sideburn[] = { #include "actors/mario/mario_sideburn.rgba16.inc.c" }; // 0x04002890 -ALIGNED8 const u8 mario_texture_mustache[] = { +ALIGNED8 const Texture mario_texture_mustache[] = { #include "actors/mario/mario_mustache.rgba16.inc.c" }; // 0x04003090 -ALIGNED8 const u8 mario_texture_eyes_front[] = { +ALIGNED8 const Texture mario_texture_eyes_front[] = { #include "actors/mario/mario_eyes_center.rgba16.inc.c" }; // 0x04003890 -ALIGNED8 const u8 mario_texture_eyes_half_closed[] = { +ALIGNED8 const Texture mario_texture_eyes_half_closed[] = { #include "actors/mario/mario_eyes_half_closed.rgba16.inc.c" }; // 0x04004090 -ALIGNED8 const u8 mario_texture_eyes_closed[] = { +ALIGNED8 const Texture mario_texture_eyes_closed[] = { #include "actors/mario/mario_eyes_closed.rgba16.inc.c" }; // Unreferenced // 0x04004890 -ALIGNED8 const u8 mario_texture_eyes_closed_unused1[] = { +ALIGNED8 const Texture mario_texture_eyes_closed_unused1[] = { #include "actors/mario/mario_eyes_closed_unused_0.rgba16.inc.c" }; // Unreferenced // 0x04005090 -ALIGNED8 const u8 mario_texture_eyes_closed_unused2[] = { +ALIGNED8 const Texture mario_texture_eyes_closed_unused2[] = { #include "actors/mario/mario_eyes_closed_unused_1.rgba16.inc.c" }; // 0x04005890 -ALIGNED8 const u8 mario_texture_eyes_right[] = { +ALIGNED8 const Texture mario_texture_eyes_right[] = { #include "actors/mario/mario_eyes_left_unused.rgba16.inc.c" }; // 0x04006090 -ALIGNED8 const u8 mario_texture_eyes_left[] = { +ALIGNED8 const Texture mario_texture_eyes_left[] = { #include "actors/mario/mario_eyes_right_unused.rgba16.inc.c" }; // 0x04006890 -ALIGNED8 const u8 mario_texture_eyes_up[] = { +ALIGNED8 const Texture mario_texture_eyes_up[] = { #include "actors/mario/mario_eyes_up_unused.rgba16.inc.c" }; // 0x04007090 -ALIGNED8 const u8 mario_texture_eyes_down[] = { +ALIGNED8 const Texture mario_texture_eyes_down[] = { #include "actors/mario/mario_eyes_down_unused.rgba16.inc.c" }; // 0x04007890 -ALIGNED8 const u8 mario_texture_eyes_dead[] = { +ALIGNED8 const Texture mario_texture_eyes_dead[] = { #include "actors/mario/mario_eyes_dead.rgba16.inc.c" }; // 0x04008090 -ALIGNED8 const u8 mario_texture_wings_half_1[] = { +ALIGNED8 const Texture mario_texture_wings_half_1[] = { #include "actors/mario/mario_wing.rgba16.inc.c" }; // 0x04009090 -ALIGNED8 const u8 mario_texture_wings_half_2[] = { +ALIGNED8 const Texture mario_texture_wings_half_2[] = { #include "actors/mario/mario_wing_tip.rgba16.inc.c" }; // 0x0400A090 -ALIGNED8 const u8 mario_texture_metal_wings_half_1[] = { +ALIGNED8 const Texture mario_texture_metal_wings_half_1[] = { #include "actors/mario/mario_metal_wing_unused.rgba16.inc.c" }; // 0x0400B090 -ALIGNED8 const u8 mario_texture_metal_wings_half_2[] = { +ALIGNED8 const Texture mario_texture_metal_wings_half_2[] = { #include "actors/mario/mario_metal_wing_tip_unused.rgba16.inc.c" }; diff --git a/actors/mario_cap/mario_cap_externs.h b/actors/mario_cap/mario_cap_externs.h new file mode 100644 index 00000000..538e3af0 --- /dev/null +++ b/actors/mario_cap/mario_cap_externs.h @@ -0,0 +1,6 @@ +extern ALIGNED8 const Texture mario_cap_seg3_texture_0301CF50[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_0301DF50[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_0301E750[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_0301F750[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_03020750[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_03021750[]; diff --git a/actors/mario_cap/model.inc.c b/actors/mario_cap/model.inc.c index 78542c79..c0f81443 100644 --- a/actors/mario_cap/model.inc.c +++ b/actors/mario_cap/model.inc.c @@ -19,32 +19,32 @@ static const Lights1 mario_cap_seg3_lights_0301CF38 = gdSPDefLights1( ); // 0x0301CF50 -ALIGNED8 static const u8 mario_cap_seg3_texture_0301CF50[] = { +ALIGNED8 const Texture mario_cap_seg3_texture_0301CF50[] = { #include "actors/mario_cap/mario_cap_metal.rgba16.inc.c" }; // 0x0301DF50 -ALIGNED8 static const u8 mario_cap_seg3_texture_0301DF50[] = { +ALIGNED8 const Texture mario_cap_seg3_texture_0301DF50[] = { #include "actors/mario_cap/custom_mario_cap_logo.rgba16.inc.c" }; // 0x0301E750 -ALIGNED8 static const u8 mario_cap_seg3_texture_0301E750[] = { +ALIGNED8 const Texture mario_cap_seg3_texture_0301E750[] = { #include "actors/mario_cap/mario_cap_wing.rgba16.inc.c" }; // 0x0301F750 -ALIGNED8 static const u8 mario_cap_seg3_texture_0301F750[] = { +ALIGNED8 const Texture mario_cap_seg3_texture_0301F750[] = { #include "actors/mario_cap/mario_cap_wing_tip.rgba16.inc.c" }; // 0x03020750 -ALIGNED8 static const u8 mario_cap_seg3_texture_03020750[] = { +ALIGNED8 const Texture mario_cap_seg3_texture_03020750[] = { #include "actors/mario_cap/mario_cap_metal_wing_unused.rgba16.inc.c" }; // 0x03021750 -ALIGNED8 static const u8 mario_cap_seg3_texture_03021750[] = { +ALIGNED8 const Texture mario_cap_seg3_texture_03021750[] = { #include "actors/mario_cap/mario_cap_metal_wing_tip_unused.rgba16.inc.c" }; diff --git a/actors/toad_player/model.inc.c b/actors/toad_player/model.inc.c index cf60b3af..e77ae8d1 100644 --- a/actors/toad_player/model.inc.c +++ b/actors/toad_player/model.inc.c @@ -1,16 +1,21 @@ // Toad player + +#include "actors/mario/mario_externs.h" +#define toad_player_texture_metal mario_texture_metal +#define toad_player_texture_wings_half_1 mario_texture_wings_half_1 +#define toad_player_texture_wings_half_2 mario_texture_wings_half_2 +#define toad_player_texture_metal_wings_half_1 mario_texture_metal_wings_half_1 +#define toad_player_texture_metal_wings_half_2 mario_texture_metal_wings_half_2 + /////////// // metal // /////////// + static const Lights1 toad_player_lights_white = gdSPDefLights1( 0x7f, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); -ALIGNED8 static const u8 toad_player_texture_metal[] = { -#include "actors/mario/mario_metal.rgba16.inc.c" -}; - const Gfx toad_player_metal_start[] = { gsDPPipeSync(), gsSPSetGeometryMode(G_TEXTURE_GEN), @@ -40,19 +45,19 @@ static const Lights1 toad_player_lights_face = gdSPDefLights1( 0x7f, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); -ALIGNED8 static const u8 toad_player_texture_face[] = { +ALIGNED8 const Texture toad_player_texture_face[] = { #include "actors/toad_player/custom_toad_face.rgba16.inc.c" }; -ALIGNED8 static const u8 toad_player_texture_eyes_closed[] = { +ALIGNED8 const Texture toad_player_texture_eyes_closed[] = { #include "actors/toad_player/custom_toad_eyes_closed.rgba16.inc.c" }; -ALIGNED8 static const u8 toad_player_texture_eyes_half_closed[] = { +ALIGNED8 const Texture toad_player_texture_eyes_half_closed[] = { #include "actors/toad_player/custom_toad_eyes_half_closed.rgba16.inc.c" }; -ALIGNED8 static const u8 toad_player_texture_eyes_dead[] = { +ALIGNED8 const Texture toad_player_texture_eyes_dead[] = { #include "actors/toad_player/custom_toad_eyes_dead.rgba16.inc.c" }; @@ -374,7 +379,7 @@ const Gfx toad_player_dl_eyes_dead[] = { // hair // ////////// -ALIGNED8 static const u8 toad_player_texture_hair[] = { +ALIGNED8 const Texture toad_player_texture_hair[] = { #include "actors/toad_player/custom_toad_hair.rgba16.inc.c" }; @@ -413,7 +418,7 @@ const Gfx toad_player_dl_hair[] = { // cap // ///////// -ALIGNED8 static const u8 toad_player_texture_cap[] = { +ALIGNED8 const Texture toad_player_texture_cap[] = { #include "actors/toad_player/custom_toad_cap.rgba16.inc.c" }; @@ -819,22 +824,6 @@ static const Lights1 toad_player_lights_wings = gdSPDefLights1( 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); -ALIGNED8 static const u8 toad_player_texture_wings_half_1[] = { -#include "actors/mario/mario_wing.rgba16.inc.c" -}; - -ALIGNED8 static const u8 toad_player_texture_wings_half_2[] = { -#include "actors/mario/mario_wing_tip.rgba16.inc.c" -}; - -ALIGNED8 static const u8 toad_player_texture_metal_wings_half_1[] = { -#include "actors/mario/mario_metal_wing_unused.rgba16.inc.c" -}; - -ALIGNED8 static const u8 toad_player_texture_metal_wings_half_2[] = { -#include "actors/mario/mario_metal_wing_tip_unused.rgba16.inc.c" -}; - static const Vtx toad_player_vertex_wings_half_1[] = { {{{ -105, 212, 0}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0xff}}}, {{{ -105, 0, 0}, 0, { 0, 2012}, {0x00, 0x00, 0x7f, 0xff}}}, diff --git a/actors/waluigi/geo_header.h b/actors/waluigi/geo_header.h index 7e7bf051..483a5e07 100644 --- a/actors/waluigi/geo_header.h +++ b/actors/waluigi/geo_header.h @@ -68,18 +68,18 @@ extern Lights1 waluigi_face_2___eye_closed_v3_lights; extern Lights1 waluigi_face_7___eye_X_v3_lights; extern Lights1 waluigi_gloves_v3_lights; extern Lights1 waluigi_shoes_v3_lights; -extern u8 waluigi_mario_button_rgba16[]; -extern u8 waluigi_metal_rgba16[]; -extern u8 waluigi_custom_waluigi_cap_rgba16[]; -extern u8 waluigi_waluigi_eyes0_rgba16[]; -extern u8 waluigi_mario_sideburn_rgba16[]; -extern u8 waluigi_waluigi_mouth_rgba16[]; -extern u8 waluigi_waluigi_eyes1_rgba16[]; -extern u8 waluigi_waluigi_eyes2_rgba16[]; -extern u8 waluigi_waluigi_eyes3_rgba16[]; -extern u8 waluigi_wing_2_rgba16[]; -extern u8 waluigi_wing1_rgba16[]; -extern u8 waluigi_waluigi_glove_rgba16[]; +extern ALIGNED8 const Texture waluigi_mario_button_rgba16[]; +extern ALIGNED8 const Texture waluigi_metal_rgba16[]; +extern ALIGNED8 const Texture waluigi_custom_waluigi_cap_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_eyes0_rgba16[]; +extern ALIGNED8 const Texture waluigi_mario_sideburn_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_mouth_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_eyes1_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_eyes2_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_eyes3_rgba16[]; +extern ALIGNED8 const Texture waluigi_wing_2_rgba16[]; +extern ALIGNED8 const Texture waluigi_wing1_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_glove_rgba16[]; extern Vtx waluigi_000_offset_mesh_layer_1_vtx_0[76]; extern Gfx waluigi_000_offset_mesh_layer_1_tri_0[]; extern Vtx waluigi_000_offset_001_mesh_layer_1_vtx_0[118]; diff --git a/actors/waluigi/model.inc.c b/actors/waluigi/model.inc.c index d5444882..6ef26af7 100644 --- a/actors/waluigi/model.inc.c +++ b/actors/waluigi/model.inc.c @@ -54,63 +54,54 @@ Lights1 waluigi_shoes_v3_lights = gdSPDefLights1( 0x7D, 0x3D, 0x0, 0xFB, 0x7A, 0x0, 0x28, 0x28, 0x28); -Gfx waluigi_mario_button_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_mario_button_rgba16[] = { - #include "actors/mario/mario_overalls_button.rgba16.inc.c" -}; +#include "actors/mario/mario_externs.h" +#define waluigi_metal_rgba16 mario_texture_metal +#define waluigi_mario_button_rgba16 mario_texture_yellow_button +#define waluigi_mario_sideburn_rgba16 mario_texture_hair_sideburn +#define waluigi_wing1_rgba16 mario_texture_wings_half_1 +#define waluigi_wing_2_rgba16 mario_texture_wings_half_2 +Gfx waluigi_mario_button_rgba16_aligner[] = {gsSPEndDisplayList()}; Gfx waluigi_metal_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_metal_rgba16[] = { - #include "actors/mario/mario_metal.rgba16.inc.c" -}; Gfx waluigi_custom_waluigi_cap_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_custom_waluigi_cap_rgba16[] = { +ALIGNED8 const Texture waluigi_custom_waluigi_cap_rgba16[] = { #include "actors/waluigi/custom_waluigi_cap.rgba16.inc.c" }; Gfx waluigi_waluigi_eyes0_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_waluigi_eyes0_rgba16[] = { +ALIGNED8 const Texture waluigi_waluigi_eyes0_rgba16[] = { #include "actors/waluigi/custom_waluigi_eyes0.rgba16.inc.c" }; Gfx waluigi_mario_sideburn_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_mario_sideburn_rgba16[] = { - #include "actors/mario/mario_sideburn.rgba16.inc.c" -}; Gfx waluigi_waluigi_mouth_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_waluigi_mouth_rgba16[] = { +ALIGNED8 const Texture waluigi_waluigi_mouth_rgba16[] = { #include "actors/waluigi/custom_waluigi_mouth.rgba16.inc.c" }; Gfx waluigi_waluigi_eyes1_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_waluigi_eyes1_rgba16[] = { +ALIGNED8 const Texture waluigi_waluigi_eyes1_rgba16[] = { #include "actors/waluigi/custom_waluigi_eyes1.rgba16.inc.c" }; Gfx waluigi_waluigi_eyes2_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_waluigi_eyes2_rgba16[] = { +ALIGNED8 const Texture waluigi_waluigi_eyes2_rgba16[] = { #include "actors/waluigi/custom_waluigi_eyes2.rgba16.inc.c" }; Gfx waluigi_waluigi_eyes3_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_waluigi_eyes3_rgba16[] = { +ALIGNED8 const Texture waluigi_waluigi_eyes3_rgba16[] = { #include "actors/waluigi/custom_waluigi_eyes3.rgba16.inc.c" }; Gfx waluigi_wing_2_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_wing_2_rgba16[] = { - #include "actors/mario/mario_wing_tip.rgba16.inc.c" -}; Gfx waluigi_wing1_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_wing1_rgba16[] = { - #include "actors/mario/mario_wing.rgba16.inc.c" -}; Gfx waluigi_waluigi_glove_rgba16_aligner[] = {gsSPEndDisplayList()}; -u8 waluigi_waluigi_glove_rgba16[] = { +ALIGNED8 const Texture waluigi_waluigi_glove_rgba16[] = { #include "actors/waluigi/custom_waluigi_glove.rgba16.inc.c" }; diff --git a/actors/waluigi_cap/model.inc.c b/actors/waluigi_cap/model.inc.c index fd340faf..30c382f2 100644 --- a/actors/waluigi_cap/model.inc.c +++ b/actors/waluigi_cap/model.inc.c @@ -18,36 +18,18 @@ static const Lights1 waluigi_cap_seg3_lights_0301CF38 = gdSPDefLights1( 0xff, 0x00, 0x00, 0x28, 0x28, 0x28 ); -// 0x0301CF50 -ALIGNED8 static const u8 waluigi_cap_seg3_texture_0301CF50[] = { -#include "actors/mario/mario_metal.rgba16.inc.c" -}; +#include "actors/mario_cap/mario_cap_externs.h" +#define waluigi_cap_seg3_texture_0301CF50 mario_cap_seg3_texture_0301CF50 +#define waluigi_cap_seg3_texture_0301E750 mario_cap_seg3_texture_0301E750 +#define waluigi_cap_seg3_texture_0301F750 mario_cap_seg3_texture_0301F750 +#define waluigi_cap_seg3_texture_03020750 mario_cap_seg3_texture_03020750 +#define waluigi_cap_seg3_texture_03021750 mario_cap_seg3_texture_03021750 // 0x0301DF50 -ALIGNED8 static const u8 waluigi_cap_seg3_texture_0301DF50[] = { +ALIGNED8 const Texture waluigi_cap_seg3_texture_0301DF50[] = { #include "actors/waluigi/custom_waluigi_cap.rgba16.inc.c" }; -// 0x0301E750 -ALIGNED8 static const u8 waluigi_cap_seg3_texture_0301E750[] = { -#include "actors/mario/mario_wing.rgba16.inc.c" -}; - -// 0x0301F750 -ALIGNED8 static const u8 waluigi_cap_seg3_texture_0301F750[] = { -#include "actors/mario/mario_wing_tip.rgba16.inc.c" -}; - -// 0x03020750 -ALIGNED8 static const u8 waluigi_cap_seg3_texture_03020750[] = { -#include "actors/mario/mario_metal_wing_unused.rgba16.inc.c" -}; - -// 0x03021750 -ALIGNED8 static const u8 waluigi_cap_seg3_texture_03021750[] = { -#include "actors/mario/mario_metal_wing_tip_unused.rgba16.inc.c" -}; - // 0x03022750 static const Vtx waluigi_cap_seg3_vertex_03022750[] = { {{{ 33, 35, 118}, 0, { 728, 758}, {0x30, 0x26, 0x6e, 0xff}}}, diff --git a/actors/wario/model.inc.c b/actors/wario/model.inc.c index d136fc20..63bdbddb 100644 --- a/actors/wario/model.inc.c +++ b/actors/wario/model.inc.c @@ -38,74 +38,61 @@ static const Lights1 wario_pink_lights_group = gdSPDefLights1( 0xFF, 0x6F, 0xAF, 0x28, 0x28, 0x28 ); -ALIGNED8 static const u8 wario_texture_metal[] = { -#include "actors/mario/mario_metal.rgba16.inc.c" -}; +#include "actors/mario/mario_externs.h" +#define wario_texture_metal mario_texture_metal +#define wario_texture_wings_half_1 mario_texture_wings_half_1 +#define wario_texture_wings_half_2 mario_texture_wings_half_2 +#define wario_texture_metal_wings_half_1 mario_texture_metal_wings_half_1 +#define wario_texture_metal_wings_half_2 mario_texture_metal_wings_half_2 -ALIGNED8 static const u8 wario_texture_white_button[] = { +ALIGNED8 const Texture wario_texture_white_button[] = { #include "actors/wario/custom_wario_overalls_button.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_w_logo[] = { +ALIGNED8 const Texture wario_texture_w_logo[] = { #include "actors/wario/custom_wario_logo.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_hair_sideburn[] = { +ALIGNED8 const Texture wario_texture_hair_sideburn[] = { #include "actors/wario/custom_wario_sideburn.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_mouth[] = { +ALIGNED8 const Texture wario_texture_mouth[] = { #include "actors/wario/custom_wario_mouth.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_eyes_front[] = { +ALIGNED8 const Texture wario_texture_eyes_front[] = { #include "actors/wario/custom_wario_eyes_center.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_eyes_half_closed[] = { +ALIGNED8 const Texture wario_texture_eyes_half_closed[] = { #include "actors/wario/custom_wario_eyes_half_closed.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_eyes_closed[] = { +ALIGNED8 const Texture wario_texture_eyes_closed[] = { #include "actors/wario/custom_wario_eyes_closed.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_eyes_right[] = { +ALIGNED8 const Texture wario_texture_eyes_right[] = { #include "actors/wario/custom_wario_eyes_left_unused.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_eyes_left[] = { +ALIGNED8 const Texture wario_texture_eyes_left[] = { #include "actors/wario/custom_wario_eyes_right_unused.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_eyes_up[] = { +ALIGNED8 const Texture wario_texture_eyes_up[] = { #include "actors/wario/custom_wario_eyes_up_unused.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_eyes_down[] = { +ALIGNED8 const Texture wario_texture_eyes_down[] = { #include "actors/wario/custom_wario_eyes_down_unused.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_eyes_dead[] = { +ALIGNED8 const Texture wario_texture_eyes_dead[] = { #include "actors/wario/custom_wario_eyes_dead.rgba16.inc.c" }; -ALIGNED8 static const u8 wario_texture_wings_half_1[] = { -#include "actors/mario/mario_wing.rgba16.inc.c" -}; - -ALIGNED8 static const u8 wario_texture_wings_half_2[] = { -#include "actors/mario/mario_wing_tip.rgba16.inc.c" -}; - -ALIGNED8 static const u8 wario_texture_metal_wings_half_1[] = { -#include "actors/mario/mario_metal_wing_unused.rgba16.inc.c" -}; - -ALIGNED8 static const u8 wario_texture_metal_wings_half_2[] = { -#include "actors/mario/mario_metal_wing_tip_unused.rgba16.inc.c" -}; - Vtx wario_000_offset_pelvis_mesh_layer_1_vtx_0[76] = { {{{73, 17, 0},0, {-16, -16},{0x7F, 0x4, 0x0, 0xFF}}}, {{{46, -95, -54},0, {-16, -16},{0x64, 0xB5, 0xE8, 0xFF}}}, diff --git a/actors/wario_cap/model.inc.c b/actors/wario_cap/model.inc.c index 500070b6..f3fbe8a1 100644 --- a/actors/wario_cap/model.inc.c +++ b/actors/wario_cap/model.inc.c @@ -23,37 +23,18 @@ static const Lights1 wario_cap_seg3_lights_white = gdSPDefLights1( 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); - -// 0x0301CF50 -ALIGNED8 static const u8 wario_cap_seg3_texture_0301CF50[] = { -#include "actors/mario_cap/mario_cap_metal.rgba16.inc.c" -}; +#include "actors/mario_cap/mario_cap_externs.h" +#define wario_cap_seg3_texture_0301CF50 mario_cap_seg3_texture_0301CF50 +#define wario_cap_seg3_texture_0301E750 mario_cap_seg3_texture_0301E750 +#define wario_cap_seg3_texture_0301F750 mario_cap_seg3_texture_0301F750 +#define wario_cap_seg3_texture_03020750 mario_cap_seg3_texture_03020750 +#define wario_cap_seg3_texture_03021750 mario_cap_seg3_texture_03021750 // 0x0301DF50 -ALIGNED8 static const u8 wario_cap_seg3_texture_0301DF50[] = { +ALIGNED8 const Texture wario_cap_seg3_texture_0301DF50[] = { #include "actors/wario_cap/custom_wario_cap_logo.rgba16.inc.c" }; -// 0x0301E750 -ALIGNED8 static const u8 wario_cap_seg3_texture_0301E750[] = { -#include "actors/mario_cap/mario_cap_wing.rgba16.inc.c" -}; - -// 0x0301F750 -ALIGNED8 static const u8 wario_cap_seg3_texture_0301F750[] = { -#include "actors/mario_cap/mario_cap_wing_tip.rgba16.inc.c" -}; - -// 0x03020750 -ALIGNED8 static const u8 wario_cap_seg3_texture_03020750[] = { -#include "actors/mario_cap/mario_cap_metal_wing_unused.rgba16.inc.c" -}; - -// 0x03021750 -ALIGNED8 static const u8 wario_cap_seg3_texture_03021750[] = { -#include "actors/mario_cap/mario_cap_metal_wing_tip_unused.rgba16.inc.c" -}; - // 0x03022750 static const Vtx wario_cap_seg3_vertex_03022750[] = { {{{ 33, 35, 118}, 0, { 728, 758}, {0x30, 0x26, 0x6e, 0xff}}}, diff --git a/autogen/convert_functions.py b/autogen/convert_functions.py index a8d29980..3cec93ae 100644 --- a/autogen/convert_functions.py +++ b/autogen/convert_functions.py @@ -87,6 +87,7 @@ override_disallowed_functions = { "src/game/camera.h": [ "update_camera", "init_camera", "stub_camera", "^reset_camera", "move_point_along_spline" ], "src/game/behavior_actions.h": [ "bhv_dust_smoke_loop", "bhv_init_room" ], "src/pc/lua/utils/smlua_audio_utils.h": [ "smlua_audio_utils_override"], + "src/pc/djui/djui_hud_utils.h": [ "djui_hud_render_texture", "djui_hud_render_texture_raw" ], } lua_function_params = { @@ -157,6 +158,8 @@ manual_index_documentation = """ - [network_send_object](#network_send_object) - [network_send_to](#network_send_to) - [network_send](#network_send) + - [djui_hud_render_texture](#djui_hud_render_texture) + - [get_texture_info](#get_texture_info)
@@ -283,6 +286,54 @@ The `reliable` field will ensure that the packet arrives, but should be used spa
+## [djui_hud_render_texture](#djui_hud_render_texture) + +Renders a texture to the screen. + +### Lua Example +`djui_hud_render_texture(texInfo, x, y, scaleW, scaleH)` + +### Parameters +| Field | Type | +| ----- | ---- | +| texInfo | [TextureInfo](structs.md#TextureInfo) | +| x | `number` | +| y | `number` | +| scaleW | `number` | +| scaleH | `number` | + +### Returns +- None + +### C Prototype +`void djui_hud_render_texture(struct TextureInfo* texInfo, f32 x, f32 y, f32 scaleW, f32 scaleH);` + +[:arrow_up_small:](#) + +
+ +## [get_texture_info](#get_texture_info) + +Retrieves a texture by name. + +### Lua Example +`get_texture_info(textureName)` + +### Parameters +| Field | Type | +| ----- | ---- | +| textureName | `string` | + +### Returns +- [TextureInfo](structs.md#TextureInfo) + +### C Prototype +`N/A` + +[:arrow_up_small:](#) + +
+ """ ############################################################################ diff --git a/autogen/lua_definitions/functions.lua b/autogen/lua_definitions/functions.lua index b1e093ca..a1723557 100644 --- a/autogen/lua_definitions/functions.lua +++ b/autogen/lua_definitions/functions.lua @@ -3609,16 +3609,6 @@ function djui_hud_render_rect(x, y, width, height) -- ... end ---- @param texInfo TextureInfo ---- @param x number ---- @param y number ---- @param scaleW number ---- @param scaleH number ---- @return nil -function djui_hud_render_texture(texInfo, x, y, scaleW, scaleH) - -- ... -end - --- @param r integer --- @param g integer --- @param b integer diff --git a/bin/effect.c b/bin/effect.c index 1b8091b1..d13c75c9 100644 --- a/bin/effect.c +++ b/bin/effect.c @@ -10,22 +10,22 @@ UNUSED static const u64 effect_unused_0 = 0; // Flower (Unused) // 0x0B000008 -ALIGNED8 static const Texture effect_0B000008[] = { +ALIGNED8 const Texture effect_0B000008[] = { #include "textures/effect/flower.00008.rgba16.inc.c" }; // 0x0B000808 -ALIGNED8 static const Texture effect_0B000808[] = { +ALIGNED8 const Texture effect_0B000808[] = { #include "textures/effect/flower.00808.rgba16.inc.c" }; // 0x0B001008 -ALIGNED8 static const Texture effect_0B001008[] = { +ALIGNED8 const Texture effect_0B001008[] = { #include "textures/effect/flower.01008.rgba16.inc.c" }; // 0x0B001808 -ALIGNED8 static const Texture effect_0B001808[] = { +ALIGNED8 const Texture effect_0B001808[] = { #include "textures/effect/flower.01808.rgba16.inc.c" }; @@ -41,42 +41,42 @@ const Texture *const flower_bubbles_textures_ptr_0B002008[] = { // Lava Bubble // 0x0B002020 -ALIGNED8 static const Texture effect_0B002020[] = { +ALIGNED8 const Texture effect_0B002020[] = { #include "textures/effect/lava_bubble.02020.rgba16.inc.c" }; // 0x0B002820 -ALIGNED8 static const Texture effect_0B002820[] = { +ALIGNED8 const Texture effect_0B002820[] = { #include "textures/effect/lava_bubble.02820.rgba16.inc.c" }; // 0x0B003020 -ALIGNED8 static const Texture effect_0B003020[] = { +ALIGNED8 const Texture effect_0B003020[] = { #include "textures/effect/lava_bubble.03020.rgba16.inc.c" }; // 0x0B003820 -ALIGNED8 static const Texture effect_0B003820[] = { +ALIGNED8 const Texture effect_0B003820[] = { #include "textures/effect/lava_bubble.03820.rgba16.inc.c" }; // 0x0B004020 -ALIGNED8 static const Texture effect_0B004020[] = { +ALIGNED8 const Texture effect_0B004020[] = { #include "textures/effect/lava_bubble.04020.rgba16.inc.c" }; // 0x0B004820 -ALIGNED8 static const Texture effect_0B004820[] = { +ALIGNED8 const Texture effect_0B004820[] = { #include "textures/effect/lava_bubble.04820.rgba16.inc.c" }; // 0x0B005020 -ALIGNED8 static const Texture effect_0B005020[] = { +ALIGNED8 const Texture effect_0B005020[] = { #include "textures/effect/lava_bubble.05020.rgba16.inc.c" }; // 0x0B005820 -ALIGNED8 static const Texture effect_0B005820[] = { +ALIGNED8 const Texture effect_0B005820[] = { #include "textures/effect/lava_bubble.05820.rgba16.inc.c" }; @@ -96,7 +96,7 @@ const Texture *const lava_bubble_ptr_0B006020[] = { // Bubble // 0x0B006048 -ALIGNED8 static const Texture effect_0B006048[] = { +ALIGNED8 const Texture effect_0B006048[] = { #include "textures/effect/bubble.06048.rgba16.inc.c" }; @@ -137,7 +137,7 @@ const Gfx tiny_bubble_dl_0B006AB0[] = { }; // 0x0B006AD8 -ALIGNED8 static const Texture effect_0B006AD8[] = { +ALIGNED8 const Texture effect_0B006AD8[] = { #include "textures/effect/tiny_bubble.06AD8.rgba16.inc.c" }; diff --git a/bin/segment2.c b/bin/segment2.c index d73e9180..57bf1c38 100644 --- a/bin/segment2.c +++ b/bin/segment2.c @@ -10,79 +10,79 @@ // SM64 (US/JP/EU/SH) Segment 02 -ALIGNED8 static const Texture texture_hud_char_0[] = { +ALIGNED8 const Texture texture_hud_char_0[] = { #include "textures/segment2/segment2.00000.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_1[] = { +ALIGNED8 const Texture texture_hud_char_1[] = { #include "textures/segment2/segment2.00200.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_2[] = { +ALIGNED8 const Texture texture_hud_char_2[] = { #include "textures/segment2/segment2.00400.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_3[] = { +ALIGNED8 const Texture texture_hud_char_3[] = { #include "textures/segment2/segment2.00600.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_4[] = { +ALIGNED8 const Texture texture_hud_char_4[] = { #include "textures/segment2/segment2.00800.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_5[] = { +ALIGNED8 const Texture texture_hud_char_5[] = { #include "textures/segment2/segment2.00A00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_6[] = { +ALIGNED8 const Texture texture_hud_char_6[] = { #include "textures/segment2/segment2.00C00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_7[] = { +ALIGNED8 const Texture texture_hud_char_7[] = { #include "textures/segment2/segment2.00E00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_8[] = { +ALIGNED8 const Texture texture_hud_char_8[] = { #include "textures/segment2/segment2.01000.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_9[] = { +ALIGNED8 const Texture texture_hud_char_9[] = { #include "textures/segment2/segment2.01200.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_A[] = { +ALIGNED8 const Texture texture_hud_char_A[] = { #include "textures/segment2/segment2.01400.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_B[] = { +ALIGNED8 const Texture texture_hud_char_B[] = { #include "textures/segment2/segment2.01600.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_C[] = { +ALIGNED8 const Texture texture_hud_char_C[] = { #include "textures/segment2/segment2.01800.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_D[] = { +ALIGNED8 const Texture texture_hud_char_D[] = { #include "textures/segment2/segment2.01A00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_E[] = { +ALIGNED8 const Texture texture_hud_char_E[] = { #include "textures/segment2/segment2.01C00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_F[] = { +ALIGNED8 const Texture texture_hud_char_F[] = { #include "textures/segment2/segment2.01E00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_G[] = { +ALIGNED8 const Texture texture_hud_char_G[] = { #include "textures/segment2/segment2.02000.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_H[] = { +ALIGNED8 const Texture texture_hud_char_H[] = { #include "textures/segment2/segment2.02200.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_I[] = { +ALIGNED8 const Texture texture_hud_char_I[] = { #include "textures/segment2/segment2.02400.rgba16.inc.c" }; @@ -92,120 +92,120 @@ ALIGNED8 static const u8 texture_hud_char_J[] = { #if defined(VERSION_JP) || defined(VERSION_SH) -ALIGNED8 static const Texture texture_hud_char_J[] = { +ALIGNED8 const Texture texture_hud_char_J[] = { #include "textures/segment2/segment2.02600.rgba16.inc.c" }; #endif -ALIGNED8 static const Texture texture_hud_char_K[] = { +ALIGNED8 const Texture texture_hud_char_K[] = { #include "textures/segment2/segment2.02800.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_L[] = { +ALIGNED8 const Texture texture_hud_char_L[] = { #include "textures/segment2/segment2.02A00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_M[] = { +ALIGNED8 const Texture texture_hud_char_M[] = { #include "textures/segment2/segment2.02C00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_N[] = { +ALIGNED8 const Texture texture_hud_char_N[] = { #include "textures/segment2/segment2.02E00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_O[] = { +ALIGNED8 const Texture texture_hud_char_O[] = { #include "textures/segment2/segment2.03000.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_P[] = { +ALIGNED8 const Texture texture_hud_char_P[] = { #include "textures/segment2/segment2.03200.rgba16.inc.c" }; #if defined(VERSION_JP) || defined(VERSION_SH) -ALIGNED8 static const Texture texture_hud_char_Q[] = { +ALIGNED8 const Texture texture_hud_char_Q[] = { #include "textures/segment2/segment2.03400.rgba16.inc.c" }; #endif -ALIGNED8 static const Texture texture_hud_char_R[] = { +ALIGNED8 const Texture texture_hud_char_R[] = { #include "textures/segment2/segment2.03600.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_S[] = { +ALIGNED8 const Texture texture_hud_char_S[] = { #include "textures/segment2/segment2.03800.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_T[] = { +ALIGNED8 const Texture texture_hud_char_T[] = { #include "textures/segment2/segment2.03A00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_U[] = { +ALIGNED8 const Texture texture_hud_char_U[] = { #include "textures/segment2/segment2.03C00.rgba16.inc.c" }; #if defined(VERSION_JP) || defined(VERSION_EU) || defined(VERSION_SH) -ALIGNED8 static const Texture texture_hud_char_V[] = { +ALIGNED8 const Texture texture_hud_char_V[] = { #include "textures/segment2/segment2.03E00.rgba16.inc.c" }; #endif -ALIGNED8 static const Texture texture_hud_char_W[] = { +ALIGNED8 const Texture texture_hud_char_W[] = { #include "textures/segment2/segment2.04000.rgba16.inc.c" }; #if defined(VERSION_JP) || defined(VERSION_SH) -ALIGNED8 static const Texture texture_hud_char_X[] = { +ALIGNED8 const Texture texture_hud_char_X[] = { #include "textures/segment2/segment2.04200.rgba16.inc.c" }; #endif -ALIGNED8 static const Texture texture_hud_char_Y[] = { +ALIGNED8 const Texture texture_hud_char_Y[] = { #include "textures/segment2/segment2.04400.rgba16.inc.c" }; #if defined(VERSION_JP) || defined(VERSION_EU) || defined(VERSION_SH) -ALIGNED8 static const Texture texture_hud_char_Z[] = { +ALIGNED8 const Texture texture_hud_char_Z[] = { #include "textures/segment2/segment2.04600.rgba16.inc.c" }; #endif -ALIGNED8 static const Texture texture_hud_char_apostrophe[] = { +ALIGNED8 const Texture texture_hud_char_apostrophe[] = { #include "textures/segment2/segment2.04800.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_hud_char_double_quote[] = { +ALIGNED8 const Texture texture_hud_char_double_quote[] = { #include "textures/segment2/segment2.04A00.rgba16.inc.c" }; #ifdef VERSION_EU -ALIGNED8 static const Texture texture_hud_char_umlaut[] = { +ALIGNED8 const Texture texture_hud_char_umlaut[] = { #include "textures/segment2/segment2.umlaut.rgba16.inc.c"// EU ยจ }; #endif #if defined(VERSION_JP) || defined(VERSION_SH) -ALIGNED8 static const Texture texture_hud_char_exclamation[] = { +ALIGNED8 const Texture texture_hud_char_exclamation[] = { #include "textures/segment2/segment2.04C00.rgba16.inc.c"// JP ! }; -ALIGNED8 static const Texture texture_hud_char_double_exclamation[] = { +ALIGNED8 const Texture texture_hud_char_double_exclamation[] = { #include "textures/segment2/segment2.04E00.rgba16.inc.c"// JP !! }; -ALIGNED8 static const Texture texture_hud_char_question[] = { +ALIGNED8 const Texture texture_hud_char_question[] = { #include "textures/segment2/segment2.05000.rgba16.inc.c"// JP ? }; -ALIGNED8 static const Texture texture_hud_char_ampersand[] = { +ALIGNED8 const Texture texture_hud_char_ampersand[] = { #include "textures/segment2/segment2.05200.rgba16.inc.c"// JP & }; -ALIGNED8 static const Texture texture_hud_char_percent[] = { +ALIGNED8 const Texture texture_hud_char_percent[] = { #include "textures/segment2/segment2.05400.rgba16.inc.c"// JP % }; #endif -ALIGNED8 static const Texture texture_hud_char_multiply[] = { +ALIGNED8 const Texture texture_hud_char_multiply[] = { #include "textures/segment2/segment2.05600.rgba16.inc.c" }; @@ -238,1569 +238,1569 @@ ALIGNED8 const Texture texture_hud_char_star[] = { }; #if defined(VERSION_JP) || defined(VERSION_SH) -ALIGNED8 static const Texture texture_hud_char_decimal_point[] = { +ALIGNED8 const Texture texture_hud_char_decimal_point[] = { #include "textures/segment2/segment2.05E00.rgba16.inc.c" }; #endif #if defined(VERSION_JP) || defined(VERSION_SH) -ALIGNED8 static const Texture texture_hud_char_beta_key[] = { +ALIGNED8 const Texture texture_hud_char_beta_key[] = { #include "textures/segment2/segment2.06000.rgba16.inc.c" }; #endif -ALIGNED8 static const Texture texture_credits_char_3[] = { +ALIGNED8 const Texture texture_credits_char_3[] = { #include "textures/segment2/segment2.06200.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_4[] = { +ALIGNED8 const Texture texture_credits_char_4[] = { #include "textures/segment2/segment2.06280.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_6[] = { +ALIGNED8 const Texture texture_credits_char_6[] = { #include "textures/segment2/segment2.06300.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_A[] = { +ALIGNED8 const Texture texture_credits_char_A[] = { #include "textures/segment2/segment2.06380.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_B[] = { +ALIGNED8 const Texture texture_credits_char_B[] = { #include "textures/segment2/segment2.06400.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_C[] = { +ALIGNED8 const Texture texture_credits_char_C[] = { #include "textures/segment2/segment2.06480.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_D[] = { +ALIGNED8 const Texture texture_credits_char_D[] = { #include "textures/segment2/segment2.06500.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_E[] = { +ALIGNED8 const Texture texture_credits_char_E[] = { #include "textures/segment2/segment2.06580.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_F[] = { +ALIGNED8 const Texture texture_credits_char_F[] = { #include "textures/segment2/segment2.06600.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_G[] = { +ALIGNED8 const Texture texture_credits_char_G[] = { #include "textures/segment2/segment2.06680.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_H[] = { +ALIGNED8 const Texture texture_credits_char_H[] = { #include "textures/segment2/segment2.06700.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_I[] = { +ALIGNED8 const Texture texture_credits_char_I[] = { #include "textures/segment2/segment2.06780.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_J[] = { +ALIGNED8 const Texture texture_credits_char_J[] = { #include "textures/segment2/segment2.06800.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_K[] = { +ALIGNED8 const Texture texture_credits_char_K[] = { #include "textures/segment2/segment2.06880.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_L[] = { +ALIGNED8 const Texture texture_credits_char_L[] = { #include "textures/segment2/segment2.06900.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_M[] = { +ALIGNED8 const Texture texture_credits_char_M[] = { #include "textures/segment2/segment2.06980.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_N[] = { +ALIGNED8 const Texture texture_credits_char_N[] = { #include "textures/segment2/segment2.06A00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_O[] = { +ALIGNED8 const Texture texture_credits_char_O[] = { #include "textures/segment2/segment2.06A80.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_P[] = { +ALIGNED8 const Texture texture_credits_char_P[] = { #include "textures/segment2/segment2.06B00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_Q[] = { +ALIGNED8 const Texture texture_credits_char_Q[] = { #include "textures/segment2/segment2.06B80.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_R[] = { +ALIGNED8 const Texture texture_credits_char_R[] = { #include "textures/segment2/segment2.06C00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_S[] = { +ALIGNED8 const Texture texture_credits_char_S[] = { #include "textures/segment2/segment2.06C80.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_T[] = { +ALIGNED8 const Texture texture_credits_char_T[] = { #include "textures/segment2/segment2.06D00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_U[] = { +ALIGNED8 const Texture texture_credits_char_U[] = { #include "textures/segment2/segment2.06D80.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_V[] = { +ALIGNED8 const Texture texture_credits_char_V[] = { #include "textures/segment2/segment2.06E00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_W[] = { +ALIGNED8 const Texture texture_credits_char_W[] = { #include "textures/segment2/segment2.06E80.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_X[] = { +ALIGNED8 const Texture texture_credits_char_X[] = { #include "textures/segment2/segment2.06F00.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_Y[] = { +ALIGNED8 const Texture texture_credits_char_Y[] = { #include "textures/segment2/segment2.06F80.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_Z[] = { +ALIGNED8 const Texture texture_credits_char_Z[] = { #include "textures/segment2/segment2.07000.rgba16.inc.c" }; -ALIGNED8 static const Texture texture_credits_char_period[] = { +ALIGNED8 const Texture texture_credits_char_period[] = { #include "textures/segment2/segment2.07080.rgba16.inc.c" }; // JP Small Font #if defined(VERSION_JP) || defined(VERSION_SH) -ALIGNED8 static const Texture texture_font_char_jp_0[] = { +ALIGNED8 const Texture texture_font_char_jp_0[] = { #include "textures/segment2/segment2.07100.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_1[] = { +ALIGNED8 const Texture texture_font_char_jp_1[] = { #include "textures/segment2/segment2.07110.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_2[] = { +ALIGNED8 const Texture texture_font_char_jp_2[] = { #include "textures/segment2/segment2.07120.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_3[] = { +ALIGNED8 const Texture texture_font_char_jp_3[] = { #include "textures/segment2/segment2.07130.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_4[] = { +ALIGNED8 const Texture texture_font_char_jp_4[] = { #include "textures/segment2/segment2.07140.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_5[] = { +ALIGNED8 const Texture texture_font_char_jp_5[] = { #include "textures/segment2/segment2.07150.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_6[] = { +ALIGNED8 const Texture texture_font_char_jp_6[] = { #include "textures/segment2/segment2.07160.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_7[] = { +ALIGNED8 const Texture texture_font_char_jp_7[] = { #include "textures/segment2/segment2.07170.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_8[] = { +ALIGNED8 const Texture texture_font_char_jp_8[] = { #include "textures/segment2/segment2.07180.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_9[] = { +ALIGNED8 const Texture texture_font_char_jp_9[] = { #include "textures/segment2/segment2.07190.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_A[] = { +ALIGNED8 const Texture texture_font_char_jp_A[] = { #include "textures/segment2/segment2.071A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_B[] = { +ALIGNED8 const Texture texture_font_char_jp_B[] = { #include "textures/segment2/segment2.071B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_C[] = { +ALIGNED8 const Texture texture_font_char_jp_C[] = { #include "textures/segment2/segment2.071C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_D[] = { +ALIGNED8 const Texture texture_font_char_jp_D[] = { #include "textures/segment2/segment2.071D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_E[] = { +ALIGNED8 const Texture texture_font_char_jp_E[] = { #include "textures/segment2/segment2.071E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_F[] = { +ALIGNED8 const Texture texture_font_char_jp_F[] = { #include "textures/segment2/segment2.071F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_G[] = { +ALIGNED8 const Texture texture_font_char_jp_G[] = { #include "textures/segment2/segment2.07200.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_H[] = { +ALIGNED8 const Texture texture_font_char_jp_H[] = { #include "textures/segment2/segment2.07210.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_I[] = { +ALIGNED8 const Texture texture_font_char_jp_I[] = { #include "textures/segment2/segment2.07220.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_J[] = { +ALIGNED8 const Texture texture_font_char_jp_J[] = { #include "textures/segment2/segment2.07230.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_K[] = { +ALIGNED8 const Texture texture_font_char_jp_K[] = { #include "textures/segment2/segment2.07240.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_L[] = { +ALIGNED8 const Texture texture_font_char_jp_L[] = { #include "textures/segment2/segment2.07250.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_M[] = { +ALIGNED8 const Texture texture_font_char_jp_M[] = { #include "textures/segment2/segment2.07260.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_N[] = { +ALIGNED8 const Texture texture_font_char_jp_N[] = { #include "textures/segment2/segment2.07270.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_O[] = { +ALIGNED8 const Texture texture_font_char_jp_O[] = { #include "textures/segment2/segment2.07280.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_P[] = { +ALIGNED8 const Texture texture_font_char_jp_P[] = { #include "textures/segment2/segment2.07290.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_Q[] = { +ALIGNED8 const Texture texture_font_char_jp_Q[] = { #include "textures/segment2/segment2.072A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_R[] = { +ALIGNED8 const Texture texture_font_char_jp_R[] = { #include "textures/segment2/segment2.072B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_S[] = { +ALIGNED8 const Texture texture_font_char_jp_S[] = { #include "textures/segment2/segment2.072C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_T[] = { +ALIGNED8 const Texture texture_font_char_jp_T[] = { #include "textures/segment2/segment2.072D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_U[] = { +ALIGNED8 const Texture texture_font_char_jp_U[] = { #include "textures/segment2/segment2.072E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_V[] = { +ALIGNED8 const Texture texture_font_char_jp_V[] = { #include "textures/segment2/segment2.072F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_W[] = { +ALIGNED8 const Texture texture_font_char_jp_W[] = { #include "textures/segment2/segment2.07300.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_X[] = { +ALIGNED8 const Texture texture_font_char_jp_X[] = { #include "textures/segment2/segment2.07310.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_Y[] = { +ALIGNED8 const Texture texture_font_char_jp_Y[] = { #include "textures/segment2/segment2.07320.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_Z[] = { +ALIGNED8 const Texture texture_font_char_jp_Z[] = { #include "textures/segment2/segment2.07330.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_long_vowel[] = { +ALIGNED8 const Texture texture_font_char_jp_long_vowel[] = { #include "textures/segment2/segment2.07340.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_exclamation[] = { +ALIGNED8 const Texture texture_font_char_jp_exclamation[] = { #include "textures/segment2/segment2.07350.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_dakuten[] = { +ALIGNED8 const Texture texture_font_char_jp_dakuten[] = { #include "textures/segment2/segment2.07360.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_handakuten[] = { +ALIGNED8 const Texture texture_font_char_jp_handakuten[] = { #include "textures/segment2/segment2.07370.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_percent[] = { +ALIGNED8 const Texture texture_font_char_jp_percent[] = { #include "textures/segment2/segment2.07380.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_question[] = { +ALIGNED8 const Texture texture_font_char_jp_question[] = { #include "textures/segment2/segment2.07390.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_left_right_arrow[] = { +ALIGNED8 const Texture texture_font_char_jp_left_right_arrow[] = { #include "textures/segment2/segment2.073A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_open_parentheses[] = { +ALIGNED8 const Texture texture_font_char_jp_open_parentheses[] = { #include "textures/segment2/segment2.073B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_close_open_parentheses[] = { +ALIGNED8 const Texture texture_font_char_jp_close_open_parentheses[] = { #include "textures/segment2/segment2.073C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_close_parentheses[] = { +ALIGNED8 const Texture texture_font_char_jp_close_parentheses[] = { #include "textures/segment2/segment2.073D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_coin[] = { +ALIGNED8 const Texture texture_font_char_jp_coin[] = { #include "textures/segment2/segment2.073E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_multiply[] = { +ALIGNED8 const Texture texture_font_char_jp_multiply[] = { #include "textures/segment2/segment2.073F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_star_filled[] = { +ALIGNED8 const Texture texture_font_char_jp_star_filled[] = { #include "textures/segment2/segment2.07400.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_star_hollow[] = { +ALIGNED8 const Texture texture_font_char_jp_star_hollow[] = { #include "textures/segment2/segment2.07410.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_a[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_a[] = { #include "textures/segment2/segment2.07420.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_i[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_i[] = { #include "textures/segment2/segment2.07430.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_u[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_u[] = { #include "textures/segment2/segment2.07440.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_c[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_c[] = { #include "textures/segment2/segment2.07450.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_o[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_o[] = { #include "textures/segment2/segment2.07460.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ka[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ka[] = { #include "textures/segment2/segment2.07470.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ki[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ki[] = { #include "textures/segment2/segment2.07480.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ku[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ku[] = { #include "textures/segment2/segment2.07490.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ke[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ke[] = { #include "textures/segment2/segment2.074A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ko[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ko[] = { #include "textures/segment2/segment2.074B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_sa[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_sa[] = { #include "textures/segment2/segment2.074C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_shi[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_shi[] = { #include "textures/segment2/segment2.074D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_su[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_su[] = { #include "textures/segment2/segment2.074E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_se[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_se[] = { #include "textures/segment2/segment2.074F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_so[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_so[] = { #include "textures/segment2/segment2.07500.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ta[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ta[] = { #include "textures/segment2/segment2.07510.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_chi[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_chi[] = { #include "textures/segment2/segment2.07520.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_tsu[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_tsu[] = { #include "textures/segment2/segment2.07530.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_te[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_te[] = { #include "textures/segment2/segment2.07540.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_to[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_to[] = { #include "textures/segment2/segment2.07550.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_na[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_na[] = { #include "textures/segment2/segment2.07560.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ni[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ni[] = { #include "textures/segment2/segment2.07570.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_nu[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_nu[] = { #include "textures/segment2/segment2.07580.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ne[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ne[] = { #include "textures/segment2/segment2.07590.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_no[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_no[] = { #include "textures/segment2/segment2.075A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ha[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ha[] = { #include "textures/segment2/segment2.075B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_hi[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_hi[] = { #include "textures/segment2/segment2.075C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_hu[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_hu[] = { #include "textures/segment2/segment2.075D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_he[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_he[] = { #include "textures/segment2/segment2.075E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ho[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ho[] = { #include "textures/segment2/segment2.075F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ma[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ma[] = { #include "textures/segment2/segment2.07600.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_mi[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_mi[] = { #include "textures/segment2/segment2.07610.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_mu[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_mu[] = { #include "textures/segment2/segment2.07620.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_me[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_me[] = { #include "textures/segment2/segment2.07630.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_mo[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_mo[] = { #include "textures/segment2/segment2.07640.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ya[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ya[] = { #include "textures/segment2/segment2.07650.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_yu[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_yu[] = { #include "textures/segment2/segment2.07660.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_yo[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_yo[] = { #include "textures/segment2/segment2.07670.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ra[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ra[] = { #include "textures/segment2/segment2.07680.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ri[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ri[] = { #include "textures/segment2/segment2.07690.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ru[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ru[] = { #include "textures/segment2/segment2.076A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_re[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_re[] = { #include "textures/segment2/segment2.076B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_ro[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_ro[] = { #include "textures/segment2/segment2.076C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_wa[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_wa[] = { #include "textures/segment2/segment2.076D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_wo[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_wo[] = { #include "textures/segment2/segment2.076E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_n[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_n[] = { #include "textures/segment2/segment2.076F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_small_e[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_small_e[] = { #include "textures/segment2/segment2.07700.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_small_tsu[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_small_tsu[] = { #include "textures/segment2/segment2.07710.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_small_ya[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_small_ya[] = { #include "textures/segment2/segment2.07720.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_small_yu[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_small_yu[] = { #include "textures/segment2/segment2.07730.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_small_yo[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_small_yo[] = { #include "textures/segment2/segment2.07740.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_small_a[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_small_a[] = { #include "textures/segment2/segment2.07750.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_small_i[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_small_i[] = { #include "textures/segment2/segment2.07760.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_small_o[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_small_o[] = { #include "textures/segment2/segment2.07770.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_hiragana_small_u[] = { +ALIGNED8 const Texture texture_font_char_jp_hiragana_small_u[] = { #include "textures/segment2/segment2.07780.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_interpunct[] = { +ALIGNED8 const Texture texture_font_char_jp_interpunct[] = { #include "textures/segment2/segment2.07790.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_comma[] = { +ALIGNED8 const Texture texture_font_char_jp_comma[] = { #include "textures/segment2/segment2.077A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_a[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_a[] = { #include "textures/segment2/segment2.077B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_i[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_i[] = { #include "textures/segment2/segment2.077C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_u[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_u[] = { #include "textures/segment2/segment2.077D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_e[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_e[] = { #include "textures/segment2/segment2.077E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_o[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_o[] = { #include "textures/segment2/segment2.077F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ka[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ka[] = { #include "textures/segment2/segment2.07800.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ki[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ki[] = { #include "textures/segment2/segment2.07810.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ku[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ku[] = { #include "textures/segment2/segment2.07820.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ke[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ke[] = { #include "textures/segment2/segment2.07830.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ko[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ko[] = { #include "textures/segment2/segment2.07840.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_sa[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_sa[] = { #include "textures/segment2/segment2.07850.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_shi[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_shi[] = { #include "textures/segment2/segment2.07860.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_su[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_su[] = { #include "textures/segment2/segment2.07870.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_se[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_se[] = { #include "textures/segment2/segment2.07880.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_so[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_so[] = { #include "textures/segment2/segment2.07890.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ta[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ta[] = { #include "textures/segment2/segment2.078A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_chi[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_chi[] = { #include "textures/segment2/segment2.078B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_tsu[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_tsu[] = { #include "textures/segment2/segment2.078C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_te[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_te[] = { #include "textures/segment2/segment2.078D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_to[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_to[] = { #include "textures/segment2/segment2.078E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_na[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_na[] = { #include "textures/segment2/segment2.078F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ni[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ni[] = { #include "textures/segment2/segment2.07900.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_nu[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_nu[] = { #include "textures/segment2/segment2.07910.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ne[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ne[] = { #include "textures/segment2/segment2.07920.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_no[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_no[] = { #include "textures/segment2/segment2.07930.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ha[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ha[] = { #include "textures/segment2/segment2.07940.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_hi[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_hi[] = { #include "textures/segment2/segment2.07950.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_hu[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_hu[] = { #include "textures/segment2/segment2.07960.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_he[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_he[] = { #include "textures/segment2/segment2.07970.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ho[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ho[] = { #include "textures/segment2/segment2.07980.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ma[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ma[] = { #include "textures/segment2/segment2.07990.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_mi[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_mi[] = { #include "textures/segment2/segment2.079A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_mu[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_mu[] = { #include "textures/segment2/segment2.079B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_me[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_me[] = { #include "textures/segment2/segment2.079C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_mo[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_mo[] = { #include "textures/segment2/segment2.079D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ya[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ya[] = { #include "textures/segment2/segment2.079E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_yu[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_yu[] = { #include "textures/segment2/segment2.079F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_yo[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_yo[] = { #include "textures/segment2/segment2.07A00.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ra[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ra[] = { #include "textures/segment2/segment2.07A10.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ri[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ri[] = { #include "textures/segment2/segment2.07A20.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ru[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ru[] = { #include "textures/segment2/segment2.07A30.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_re[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_re[] = { #include "textures/segment2/segment2.07A40.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_ro[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_ro[] = { #include "textures/segment2/segment2.07A50.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_wa[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_wa[] = { #include "textures/segment2/segment2.07A60.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_n[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_n[] = { #include "textures/segment2/segment2.07A70.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_small_e[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_small_e[] = { #include "textures/segment2/segment2.07A80.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_small_tsu[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_small_tsu[] = { #include "textures/segment2/segment2.07A90.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_small_ya[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_small_ya[] = { #include "textures/segment2/segment2.07AA0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_small_yu[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_small_yu[] = { #include "textures/segment2/segment2.07AB0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_small_yo[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_small_yo[] = { #include "textures/segment2/segment2.07AC0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_small_a[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_small_a[] = { #include "textures/segment2/segment2.07AD0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_small_i[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_small_i[] = { #include "textures/segment2/segment2.07AE0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_small_u[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_small_u[] = { #include "textures/segment2/segment2.07AF0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_katakana_small_o[] = { +ALIGNED8 const Texture texture_font_char_jp_katakana_small_o[] = { #include "textures/segment2/segment2.07B00.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_double_quotation_open[] = { +ALIGNED8 const Texture texture_font_char_jp_double_quotation_open[] = { #include "textures/segment2/segment2.07B10.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_double_quotation_close[] = { +ALIGNED8 const Texture texture_font_char_jp_double_quotation_close[] = { #include "textures/segment2/segment2.07B20.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_wave_dash[] = { +ALIGNED8 const Texture texture_font_char_jp_wave_dash[] = { #include "textures/segment2/segment2.07B30.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_jp_ellipsis[] = { +ALIGNED8 const Texture texture_font_char_jp_ellipsis[] = { #include "textures/segment2/segment2.07B40.ia1.inc.c" }; // EU Small Font #elif defined(VERSION_EU) -ALIGNED8 static const Texture texture_font_char_eu_0[] = { +ALIGNED8 const Texture texture_font_char_eu_0[] = { #include "textures/segment2/font_graphics.05F00.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_1[] = { +ALIGNED8 const Texture texture_font_char_eu_1[] = { #include "textures/segment2/font_graphics.05F10.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_2[] = { +ALIGNED8 const Texture texture_font_char_eu_2[] = { #include "textures/segment2/font_graphics.05F20.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_3[] = { +ALIGNED8 const Texture texture_font_char_eu_3[] = { #include "textures/segment2/font_graphics.05F30.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_4[] = { +ALIGNED8 const Texture texture_font_char_eu_4[] = { #include "textures/segment2/font_graphics.05F40.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_5[] = { +ALIGNED8 const Texture texture_font_char_eu_5[] = { #include "textures/segment2/font_graphics.05F50.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_6[] = { +ALIGNED8 const Texture texture_font_char_eu_6[] = { #include "textures/segment2/font_graphics.05F60.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_7[] = { +ALIGNED8 const Texture texture_font_char_eu_7[] = { #include "textures/segment2/font_graphics.05F70.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_8[] = { +ALIGNED8 const Texture texture_font_char_eu_8[] = { #include "textures/segment2/font_graphics.05F80.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_9[] = { +ALIGNED8 const Texture texture_font_char_eu_9[] = { #include "textures/segment2/font_graphics.05F90.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_A[] = { +ALIGNED8 const Texture texture_font_char_eu_A[] = { #include "textures/segment2/font_graphics.05FA0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_B[] = { +ALIGNED8 const Texture texture_font_char_eu_B[] = { #include "textures/segment2/font_graphics.05FB0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_C[] = { +ALIGNED8 const Texture texture_font_char_eu_C[] = { #include "textures/segment2/font_graphics.05FC0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_D[] = { +ALIGNED8 const Texture texture_font_char_eu_D[] = { #include "textures/segment2/font_graphics.05FD0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_E[] = { +ALIGNED8 const Texture texture_font_char_eu_E[] = { #include "textures/segment2/font_graphics.05FE0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_F[] = { +ALIGNED8 const Texture texture_font_char_eu_F[] = { #include "textures/segment2/font_graphics.05FF0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_G[] = { +ALIGNED8 const Texture texture_font_char_eu_G[] = { #include "textures/segment2/font_graphics.06000.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_H[] = { +ALIGNED8 const Texture texture_font_char_eu_H[] = { #include "textures/segment2/font_graphics.06010.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_I[] = { +ALIGNED8 const Texture texture_font_char_eu_I[] = { #include "textures/segment2/font_graphics.06020.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_J[] = { +ALIGNED8 const Texture texture_font_char_eu_J[] = { #include "textures/segment2/font_graphics.06030.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_K[] = { +ALIGNED8 const Texture texture_font_char_eu_K[] = { #include "textures/segment2/font_graphics.06040.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_L[] = { +ALIGNED8 const Texture texture_font_char_eu_L[] = { #include "textures/segment2/font_graphics.06050.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_M[] = { +ALIGNED8 const Texture texture_font_char_eu_M[] = { #include "textures/segment2/font_graphics.06060.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_N[] = { +ALIGNED8 const Texture texture_font_char_eu_N[] = { #include "textures/segment2/font_graphics.06070.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_O[] = { +ALIGNED8 const Texture texture_font_char_eu_O[] = { #include "textures/segment2/font_graphics.06080.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_P[] = { +ALIGNED8 const Texture texture_font_char_eu_P[] = { #include "textures/segment2/font_graphics.06090.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_Q[] = { +ALIGNED8 const Texture texture_font_char_eu_Q[] = { #include "textures/segment2/font_graphics.060A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_R[] = { +ALIGNED8 const Texture texture_font_char_eu_R[] = { #include "textures/segment2/font_graphics.060B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_S[] = { +ALIGNED8 const Texture texture_font_char_eu_S[] = { #include "textures/segment2/font_graphics.060C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_T[] = { +ALIGNED8 const Texture texture_font_char_eu_T[] = { #include "textures/segment2/font_graphics.060D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_U[] = { +ALIGNED8 const Texture texture_font_char_eu_U[] = { #include "textures/segment2/font_graphics.060E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_V[] = { +ALIGNED8 const Texture texture_font_char_eu_V[] = { #include "textures/segment2/font_graphics.060F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_W[] = { +ALIGNED8 const Texture texture_font_char_eu_W[] = { #include "textures/segment2/font_graphics.06100.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_X[] = { +ALIGNED8 const Texture texture_font_char_eu_X[] = { #include "textures/segment2/font_graphics.06110.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_Y[] = { +ALIGNED8 const Texture texture_font_char_eu_Y[] = { #include "textures/segment2/font_graphics.06120.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_Z[] = { +ALIGNED8 const Texture texture_font_char_eu_Z[] = { #include "textures/segment2/font_graphics.06130.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_a[] = { +ALIGNED8 const Texture texture_font_char_eu_a[] = { #include "textures/segment2/font_graphics.06140.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_b[] = { +ALIGNED8 const Texture texture_font_char_eu_b[] = { #include "textures/segment2/font_graphics.06150.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_c[] = { +ALIGNED8 const Texture texture_font_char_eu_c[] = { #include "textures/segment2/font_graphics.06160.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_d[] = { +ALIGNED8 const Texture texture_font_char_eu_d[] = { #include "textures/segment2/font_graphics.06170.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_e[] = { +ALIGNED8 const Texture texture_font_char_eu_e[] = { #include "textures/segment2/font_graphics.06180.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_f[] = { +ALIGNED8 const Texture texture_font_char_eu_f[] = { #include "textures/segment2/font_graphics.06190.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_g[] = { +ALIGNED8 const Texture texture_font_char_eu_g[] = { #include "textures/segment2/font_graphics.061A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_h[] = { +ALIGNED8 const Texture texture_font_char_eu_h[] = { #include "textures/segment2/font_graphics.061B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_i[] = { +ALIGNED8 const Texture texture_font_char_eu_i[] = { #include "textures/segment2/font_graphics.061C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_j[] = { +ALIGNED8 const Texture texture_font_char_eu_j[] = { #include "textures/segment2/font_graphics.061D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_k[] = { +ALIGNED8 const Texture texture_font_char_eu_k[] = { #include "textures/segment2/font_graphics.061E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_l[] = { +ALIGNED8 const Texture texture_font_char_eu_l[] = { #include "textures/segment2/font_graphics.061F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_m[] = { +ALIGNED8 const Texture texture_font_char_eu_m[] = { #include "textures/segment2/font_graphics.06200.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_n[] = { +ALIGNED8 const Texture texture_font_char_eu_n[] = { #include "textures/segment2/font_graphics.06210.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_o[] = { +ALIGNED8 const Texture texture_font_char_eu_o[] = { #include "textures/segment2/font_graphics.06220.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_p[] = { +ALIGNED8 const Texture texture_font_char_eu_p[] = { #include "textures/segment2/font_graphics.06230.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_q[] = { +ALIGNED8 const Texture texture_font_char_eu_q[] = { #include "textures/segment2/font_graphics.06240.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_r[] = { +ALIGNED8 const Texture texture_font_char_eu_r[] = { #include "textures/segment2/font_graphics.06250.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_s[] = { +ALIGNED8 const Texture texture_font_char_eu_s[] = { #include "textures/segment2/font_graphics.06260.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_t[] = { +ALIGNED8 const Texture texture_font_char_eu_t[] = { #include "textures/segment2/font_graphics.06270.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_u[] = { +ALIGNED8 const Texture texture_font_char_eu_u[] = { #include "textures/segment2/font_graphics.06280.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_v[] = { +ALIGNED8 const Texture texture_font_char_eu_v[] = { #include "textures/segment2/font_graphics.06290.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_w[] = { +ALIGNED8 const Texture texture_font_char_eu_w[] = { #include "textures/segment2/font_graphics.062A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_x[] = { +ALIGNED8 const Texture texture_font_char_eu_x[] = { #include "textures/segment2/font_graphics.062B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_y[] = { +ALIGNED8 const Texture texture_font_char_eu_y[] = { #include "textures/segment2/font_graphics.062C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_z[] = { +ALIGNED8 const Texture texture_font_char_eu_z[] = { #include "textures/segment2/font_graphics.062D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_left_right_arrow[] = { +ALIGNED8 const Texture texture_font_char_eu_left_right_arrow[] = { #include "textures/segment2/font_graphics.062E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_ampersand[] = { +ALIGNED8 const Texture texture_font_char_eu_ampersand[] = { #include "textures/segment2/font_graphics.062F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_exclamation[] = { +ALIGNED8 const Texture texture_font_char_eu_exclamation[] = { #include "textures/segment2/font_graphics.06300.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_coin[] = { +ALIGNED8 const Texture texture_font_char_eu_coin[] = { #include "textures/segment2/font_graphics.06310.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_multiply[] = { +ALIGNED8 const Texture texture_font_char_eu_multiply[] = { #include "textures/segment2/font_graphics.06320.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_open_parentheses[] = { +ALIGNED8 const Texture texture_font_char_eu_open_parentheses[] = { #include "textures/segment2/font_graphics.06330.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_close_open_parentheses[] = { +ALIGNED8 const Texture texture_font_char_eu_close_open_parentheses[] = { #include "textures/segment2/font_graphics.06340.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_close_parentheses[] = { +ALIGNED8 const Texture texture_font_char_eu_close_parentheses[] = { #include "textures/segment2/font_graphics.06350.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_tilde[] = { +ALIGNED8 const Texture texture_font_char_eu_tilde[] = { #include "textures/segment2/font_graphics.06360.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_period[] = { +ALIGNED8 const Texture texture_font_char_eu_period[] = { #include "textures/segment2/font_graphics.06370.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_percent[] = { +ALIGNED8 const Texture texture_font_char_eu_percent[] = { #include "textures/segment2/font_graphics.06380.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_interpunct[] = { +ALIGNED8 const Texture texture_font_char_eu_interpunct[] = { #include "textures/segment2/font_graphics.06390.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_comma[] = { +ALIGNED8 const Texture texture_font_char_eu_comma[] = { #include "textures/segment2/font_graphics.063A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_apostrophe[] = { +ALIGNED8 const Texture texture_font_char_eu_apostrophe[] = { #include "textures/segment2/font_graphics.063B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_question[] = { +ALIGNED8 const Texture texture_font_char_eu_question[] = { #include "textures/segment2/font_graphics.063C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_star_filled[] = { +ALIGNED8 const Texture texture_font_char_eu_star_filled[] = { #include "textures/segment2/font_graphics.063D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_star_hollow[] = { +ALIGNED8 const Texture texture_font_char_eu_star_hollow[] = { #include "textures/segment2/font_graphics.063E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_double_quote_open[] = { +ALIGNED8 const Texture texture_font_char_eu_double_quote_open[] = { #include "textures/segment2/font_graphics.063F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_double_quote_close[] = { +ALIGNED8 const Texture texture_font_char_eu_double_quote_close[] = { #include "textures/segment2/font_graphics.06400.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_colon[] = { +ALIGNED8 const Texture texture_font_char_eu_colon[] = { #include "textures/segment2/font_graphics.06410.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_EU_slash[] = { +ALIGNED8 const Texture texture_font_char_EU_slash[] = { #include "textures/segment2/font_graphics.06420.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_button_A[] = { +ALIGNED8 const Texture texture_font_char_eu_button_A[] = { #include "textures/segment2/font_graphics.06430.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_button_B[] = { +ALIGNED8 const Texture texture_font_char_eu_button_B[] = { #include "textures/segment2/font_graphics.06440.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_button_C[] = { +ALIGNED8 const Texture texture_font_char_eu_button_C[] = { #include "textures/segment2/font_graphics.06450.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_button_Z[] = { +ALIGNED8 const Texture texture_font_char_eu_button_Z[] = { #include "textures/segment2/font_graphics.06460.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_button_R[] = { +ALIGNED8 const Texture texture_font_char_eu_button_R[] = { #include "textures/segment2/font_graphics.06470.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_button_C_up[] = { +ALIGNED8 const Texture texture_font_char_eu_button_C_up[] = { #include "textures/segment2/font_graphics.06480.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_button_C_down[] = { +ALIGNED8 const Texture texture_font_char_eu_button_C_down[] = { #include "textures/segment2/font_graphics.06490.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_button_C_left[] = { +ALIGNED8 const Texture texture_font_char_eu_button_C_left[] = { #include "textures/segment2/font_graphics.064A0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_button_C_right[] = { +ALIGNED8 const Texture texture_font_char_eu_button_C_right[] = { #include "textures/segment2/font_graphics.064B0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_umlaut[] = { +ALIGNED8 const Texture texture_font_char_eu_umlaut[] = { #include "textures/segment2/font_graphics.064C0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_circumflex[] = { +ALIGNED8 const Texture texture_font_char_eu_circumflex[] = { #include "textures/segment2/font_graphics.064D0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_grave[] = { +ALIGNED8 const Texture texture_font_char_eu_grave[] = { #include "textures/segment2/font_graphics.064E0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_acute[] = { +ALIGNED8 const Texture texture_font_char_eu_acute[] = { #include "textures/segment2/font_graphics.064F0.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_cedilla[] = { +ALIGNED8 const Texture texture_font_char_eu_cedilla[] = { #include "textures/segment2/font_graphics.06500.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_unknown[] = { +ALIGNED8 const Texture texture_font_char_eu_unknown[] = { #include "textures/segment2/font_graphics.06510.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_Cedilla[] = { +ALIGNED8 const Texture texture_font_char_eu_Cedilla[] = { #include "textures/segment2/font_graphics.06520.ia1.inc.c" }; -ALIGNED8 static const Texture texture_font_char_eu_eszeet[] = { +ALIGNED8 const Texture texture_font_char_eu_eszeet[] = { #include "textures/segment2/font_graphics.06530.ia1.inc.c" }; // US Small Font #else -ALIGNED8 static const Texture texture_font_char_us_0[] = { +ALIGNED8 const Texture texture_font_char_us_0[] = { #include "textures/segment2/font_graphics.05900.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_1[] = { +ALIGNED8 const Texture texture_font_char_us_1[] = { #include "textures/segment2/font_graphics.05940.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_2[] = { +ALIGNED8 const Texture texture_font_char_us_2[] = { #include "textures/segment2/font_graphics.05980.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_3[] = { +ALIGNED8 const Texture texture_font_char_us_3[] = { #include "textures/segment2/font_graphics.059C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_4[] = { +ALIGNED8 const Texture texture_font_char_us_4[] = { #include "textures/segment2/font_graphics.05A00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_5[] = { +ALIGNED8 const Texture texture_font_char_us_5[] = { #include "textures/segment2/font_graphics.05A40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_6[] = { +ALIGNED8 const Texture texture_font_char_us_6[] = { #include "textures/segment2/font_graphics.05A80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_7[] = { +ALIGNED8 const Texture texture_font_char_us_7[] = { #include "textures/segment2/font_graphics.05AC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_8[] = { +ALIGNED8 const Texture texture_font_char_us_8[] = { #include "textures/segment2/font_graphics.05B00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_9[] = { +ALIGNED8 const Texture texture_font_char_us_9[] = { #include "textures/segment2/font_graphics.05B40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_A[] = { +ALIGNED8 const Texture texture_font_char_us_A[] = { #include "textures/segment2/font_graphics.05B80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_B[] = { +ALIGNED8 const Texture texture_font_char_us_B[] = { #include "textures/segment2/font_graphics.05BC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_C[] = { +ALIGNED8 const Texture texture_font_char_us_C[] = { #include "textures/segment2/font_graphics.05C00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_D[] = { +ALIGNED8 const Texture texture_font_char_us_D[] = { #include "textures/segment2/font_graphics.05C40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_E[] = { +ALIGNED8 const Texture texture_font_char_us_E[] = { #include "textures/segment2/font_graphics.05C80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_F[] = { +ALIGNED8 const Texture texture_font_char_us_F[] = { #include "textures/segment2/font_graphics.05CC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_G[] = { +ALIGNED8 const Texture texture_font_char_us_G[] = { #include "textures/segment2/font_graphics.05D00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_H[] = { +ALIGNED8 const Texture texture_font_char_us_H[] = { #include "textures/segment2/font_graphics.05D40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_I[] = { +ALIGNED8 const Texture texture_font_char_us_I[] = { #include "textures/segment2/font_graphics.05D80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_J[] = { +ALIGNED8 const Texture texture_font_char_us_J[] = { #include "textures/segment2/font_graphics.05DC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_K[] = { +ALIGNED8 const Texture texture_font_char_us_K[] = { #include "textures/segment2/font_graphics.05E00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_L[] = { +ALIGNED8 const Texture texture_font_char_us_L[] = { #include "textures/segment2/font_graphics.05E40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_M[] = { +ALIGNED8 const Texture texture_font_char_us_M[] = { #include "textures/segment2/font_graphics.05E80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_N[] = { +ALIGNED8 const Texture texture_font_char_us_N[] = { #include "textures/segment2/font_graphics.05EC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_O[] = { +ALIGNED8 const Texture texture_font_char_us_O[] = { #include "textures/segment2/font_graphics.05F00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_P[] = { +ALIGNED8 const Texture texture_font_char_us_P[] = { #include "textures/segment2/font_graphics.05F40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_Q[] = { +ALIGNED8 const Texture texture_font_char_us_Q[] = { #include "textures/segment2/font_graphics.05F80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_R[] = { +ALIGNED8 const Texture texture_font_char_us_R[] = { #include "textures/segment2/font_graphics.05FC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_S[] = { +ALIGNED8 const Texture texture_font_char_us_S[] = { #include "textures/segment2/font_graphics.06000.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_T[] = { +ALIGNED8 const Texture texture_font_char_us_T[] = { #include "textures/segment2/font_graphics.06040.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_U[] = { +ALIGNED8 const Texture texture_font_char_us_U[] = { #include "textures/segment2/font_graphics.06080.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_V[] = { +ALIGNED8 const Texture texture_font_char_us_V[] = { #include "textures/segment2/font_graphics.060C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_W[] = { +ALIGNED8 const Texture texture_font_char_us_W[] = { #include "textures/segment2/font_graphics.06100.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_X[] = { +ALIGNED8 const Texture texture_font_char_us_X[] = { #include "textures/segment2/font_graphics.06140.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_Y[] = { +ALIGNED8 const Texture texture_font_char_us_Y[] = { #include "textures/segment2/font_graphics.06180.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_Z[] = { +ALIGNED8 const Texture texture_font_char_us_Z[] = { #include "textures/segment2/font_graphics.061C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_a[] = { +ALIGNED8 const Texture texture_font_char_us_a[] = { #include "textures/segment2/font_graphics.06200.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_b[] = { +ALIGNED8 const Texture texture_font_char_us_b[] = { #include "textures/segment2/font_graphics.06240.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_c[] = { +ALIGNED8 const Texture texture_font_char_us_c[] = { #include "textures/segment2/font_graphics.06280.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_d[] = { +ALIGNED8 const Texture texture_font_char_us_d[] = { #include "textures/segment2/font_graphics.062C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_e[] = { +ALIGNED8 const Texture texture_font_char_us_e[] = { #include "textures/segment2/font_graphics.06300.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_f[] = { +ALIGNED8 const Texture texture_font_char_us_f[] = { #include "textures/segment2/font_graphics.06340.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_g[] = { +ALIGNED8 const Texture texture_font_char_us_g[] = { #include "textures/segment2/font_graphics.06380.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_h[] = { +ALIGNED8 const Texture texture_font_char_us_h[] = { #include "textures/segment2/font_graphics.063C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_i[] = { +ALIGNED8 const Texture texture_font_char_us_i[] = { #include "textures/segment2/font_graphics.06400.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_j[] = { +ALIGNED8 const Texture texture_font_char_us_j[] = { #include "textures/segment2/font_graphics.06440.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_k[] = { +ALIGNED8 const Texture texture_font_char_us_k[] = { #include "textures/segment2/font_graphics.06480.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_l[] = { +ALIGNED8 const Texture texture_font_char_us_l[] = { #include "textures/segment2/font_graphics.064C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_m[] = { +ALIGNED8 const Texture texture_font_char_us_m[] = { #include "textures/segment2/font_graphics.06500.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_n[] = { +ALIGNED8 const Texture texture_font_char_us_n[] = { #include "textures/segment2/font_graphics.06540.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_o[] = { +ALIGNED8 const Texture texture_font_char_us_o[] = { #include "textures/segment2/font_graphics.06580.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_p[] = { +ALIGNED8 const Texture texture_font_char_us_p[] = { #include "textures/segment2/font_graphics.065C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_q[] = { +ALIGNED8 const Texture texture_font_char_us_q[] = { #include "textures/segment2/font_graphics.06600.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_r[] = { +ALIGNED8 const Texture texture_font_char_us_r[] = { #include "textures/segment2/font_graphics.06640.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_s[] = { +ALIGNED8 const Texture texture_font_char_us_s[] = { #include "textures/segment2/font_graphics.06680.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_t[] = { +ALIGNED8 const Texture texture_font_char_us_t[] = { #include "textures/segment2/font_graphics.066C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_u[] = { +ALIGNED8 const Texture texture_font_char_us_u[] = { #include "textures/segment2/font_graphics.06700.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_v[] = { +ALIGNED8 const Texture texture_font_char_us_v[] = { #include "textures/segment2/font_graphics.06740.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_w[] = { +ALIGNED8 const Texture texture_font_char_us_w[] = { #include "textures/segment2/font_graphics.06780.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_x[] = { +ALIGNED8 const Texture texture_font_char_us_x[] = { #include "textures/segment2/font_graphics.067C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_y[] = { +ALIGNED8 const Texture texture_font_char_us_y[] = { #include "textures/segment2/font_graphics.06800.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_z[] = { +ALIGNED8 const Texture texture_font_char_us_z[] = { #include "textures/segment2/font_graphics.06840.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_left_right_arrow[] = { +ALIGNED8 const Texture texture_font_char_us_left_right_arrow[] = { #include "textures/segment2/font_graphics.06880.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_exclamation[] = { +ALIGNED8 const Texture texture_font_char_us_exclamation[] = { #include "textures/segment2/font_graphics.068C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_coin[] = { +ALIGNED8 const Texture texture_font_char_us_coin[] = { #include "textures/segment2/font_graphics.06900.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_multiply[] = { +ALIGNED8 const Texture texture_font_char_us_multiply[] = { #include "textures/segment2/font_graphics.06940.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_open_parentheses[] = { +ALIGNED8 const Texture texture_font_char_us_open_parentheses[] = { #include "textures/segment2/font_graphics.06980.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_close_open_parentheses[] = { +ALIGNED8 const Texture texture_font_char_us_close_open_parentheses[] = { #include "textures/segment2/font_graphics.069C0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_close_parentheses[] = { +ALIGNED8 const Texture texture_font_char_us_close_parentheses[] = { #include "textures/segment2/font_graphics.06A00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_tilde[] = { +ALIGNED8 const Texture texture_font_char_us_tilde[] = { #include "textures/segment2/font_graphics.06A40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_period[] = { +ALIGNED8 const Texture texture_font_char_us_period[] = { #include "textures/segment2/font_graphics.06A80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_percent[] = { +ALIGNED8 const Texture texture_font_char_us_percent[] = { #include "textures/segment2/font_graphics.06AC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_interpunct[] = { +ALIGNED8 const Texture texture_font_char_us_interpunct[] = { #include "textures/segment2/font_graphics.06B00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_comma[] = { +ALIGNED8 const Texture texture_font_char_us_comma[] = { #include "textures/segment2/font_graphics.06B40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_apostrophe[] = { +ALIGNED8 const Texture texture_font_char_us_apostrophe[] = { #include "textures/segment2/font_graphics.06B80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_question[] = { +ALIGNED8 const Texture texture_font_char_us_question[] = { #include "textures/segment2/font_graphics.06BC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_star_filled[] = { +ALIGNED8 const Texture texture_font_char_us_star_filled[] = { #include "textures/segment2/font_graphics.06C00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_star_hollow[] = { +ALIGNED8 const Texture texture_font_char_us_star_hollow[] = { #include "textures/segment2/font_graphics.06C40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_double_quote_open[] = { +ALIGNED8 const Texture texture_font_char_us_double_quote_open[] = { #include "textures/segment2/font_graphics.06C80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_double_quote_close[] = { +ALIGNED8 const Texture texture_font_char_us_double_quote_close[] = { #include "textures/segment2/font_graphics.06CC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_ellipsis[] = { +ALIGNED8 const Texture texture_font_char_us_ellipsis[] = { #include "textures/segment2/font_graphics.06D00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_slash[] = { +ALIGNED8 const Texture texture_font_char_us_slash[] = { #include "textures/segment2/font_graphics.06D40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_ampersand[] = { +ALIGNED8 const Texture texture_font_char_us_ampersand[] = { #include "textures/segment2/font_graphics.06D80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_button_A[] = { +ALIGNED8 const Texture texture_font_char_us_button_A[] = { #include "textures/segment2/font_graphics.06DC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_button_B[] = { +ALIGNED8 const Texture texture_font_char_us_button_B[] = { #include "textures/segment2/font_graphics.06E00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_button_C[] = { +ALIGNED8 const Texture texture_font_char_us_button_C[] = { #include "textures/segment2/font_graphics.06E40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_button_Z[] = { +ALIGNED8 const Texture texture_font_char_us_button_Z[] = { #include "textures/segment2/font_graphics.06E80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_button_R[] = { +ALIGNED8 const Texture texture_font_char_us_button_R[] = { #include "textures/segment2/font_graphics.06EC0.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_button_C_up[] = { +ALIGNED8 const Texture texture_font_char_us_button_C_up[] = { #include "textures/segment2/font_graphics.06F00.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_button_C_down[] = { +ALIGNED8 const Texture texture_font_char_us_button_C_down[] = { #include "textures/segment2/font_graphics.06F40.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_button_C_left[] = { +ALIGNED8 const Texture texture_font_char_us_button_C_left[] = { #include "textures/segment2/font_graphics.06F80.ia4.inc.c" }; -ALIGNED8 static const Texture texture_font_char_us_button_C_right[] = { +ALIGNED8 const Texture texture_font_char_us_button_C_right[] = { #include "textures/segment2/font_graphics.06FC0.ia4.inc.c" }; #endif @@ -2475,15 +2475,15 @@ const Gfx dl_billboard_num_9[] = { gsSPEndDisplayList(), }; -ALIGNED8 static const Texture texture_shadow_quarter_circle[] = { +ALIGNED8 const Texture texture_shadow_quarter_circle[] = { #include "textures/segment2/shadow_quarter_circle.ia8.inc.c" }; -ALIGNED8 static const Texture texture_shadow_quarter_square[] = { +ALIGNED8 const Texture texture_shadow_quarter_square[] = { #include "textures/segment2/shadow_quarter_square.ia8.inc.c" }; -ALIGNED8 static const Texture texture_shadow_spike_ext[] = { +ALIGNED8 const Texture texture_shadow_spike_ext[] = { #include "textures/segment2/shadow_spike_custom.ia8.inc.c" }; @@ -2701,7 +2701,7 @@ const Gfx dl_waterbox_end[] = { }; // 0x02014838 - 0x02014878 -ALIGNED8 static const Texture texture_ia8_up_arrow[] = { +ALIGNED8 const Texture texture_ia8_up_arrow[] = { #include "textures/segment2/segment2.14838.ia8.inc.c" }; diff --git a/bin/title_screen_bg.c b/bin/title_screen_bg.c index d6deb092..b325f0a9 100644 --- a/bin/title_screen_bg.c +++ b/bin/title_screen_bg.c @@ -72,42 +72,42 @@ const Gfx title_screen_bg_dl_0A000190[] = { }; // 0x0A0001C0 -ALIGNED8 static const Texture title_texture_0A0001C0[] = { +ALIGNED8 const Texture title_texture_0A0001C0[] = { #include "textures/title_screen_bg/title_screen_bg.001C0.rgba16.inc.c" }; // 0x0A000E40 -ALIGNED8 static const Texture title_texture_0A000E40[] = { +ALIGNED8 const Texture title_texture_0A000E40[] = { #include "textures/title_screen_bg/title_screen_bg.00E40.rgba16.inc.c" }; // 0x0A001AC0 -ALIGNED8 static const Texture title_texture_0A001AC0[] = { +ALIGNED8 const Texture title_texture_0A001AC0[] = { #include "textures/title_screen_bg/title_screen_bg.01AC0.rgba16.inc.c" }; // 0x0A002740 -ALIGNED8 static const Texture title_texture_0A002740[] = { +ALIGNED8 const Texture title_texture_0A002740[] = { #include "textures/title_screen_bg/title_screen_bg.02740.rgba16.inc.c" }; // 0x0A0033C0 -ALIGNED8 static const Texture title_texture_0A0033C0[] = { +ALIGNED8 const Texture title_texture_0A0033C0[] = { #include "textures/title_screen_bg/title_screen_bg.033C0.rgba16.inc.c" }; // 0x0A004040 -ALIGNED8 static const Texture title_texture_0A004040[] = { +ALIGNED8 const Texture title_texture_0A004040[] = { #include "textures/title_screen_bg/title_screen_bg.04040.rgba16.inc.c" }; // 0x0A004CC0 -ALIGNED8 static const Texture title_texture_0A004CC0[] = { +ALIGNED8 const Texture title_texture_0A004CC0[] = { #include "textures/title_screen_bg/title_screen_bg.04CC0.rgba16.inc.c" }; // 0x0A005940 -ALIGNED8 static const Texture title_texture_0A005940[] = { +ALIGNED8 const Texture title_texture_0A005940[] = { #include "textures/title_screen_bg/title_screen_bg.05940.rgba16.inc.c" }; diff --git a/data/dynos.c.h b/data/dynos.c.h index e6d0ade0..682fc668 100644 --- a/data/dynos.c.h +++ b/data/dynos.c.h @@ -38,6 +38,10 @@ const void* dynos_geolayout_get(const char *name); void dynos_add_collision(const char *filePath, const char* collisionName); Collision* dynos_collision_get(const char* collisionName); +// -- textures -- // +void dynos_add_texture(const char *filePath, const char* textureName); +bool dynos_texture_get(const char* textureName, struct TextureInfo* outTextureInfo); + // -- movtexqcs -- // void dynos_movtexqc_register(const char* name, s16 level, s16 area, s16 type); struct MovtexQuadCollection* dynos_movtexqc_get_from_id(u32 id); diff --git a/data/dynos.cpp.h b/data/dynos.cpp.h index 7c97992b..07d6bbb0 100644 --- a/data/dynos.cpp.h +++ b/data/dynos.cpp.h @@ -38,6 +38,7 @@ enum { DATA_TYPE_LIGHT_T, DATA_TYPE_AMBIENT_T, DATA_TYPE_TEXTURE_LIST, + DATA_TYPE_TEXTURE_RAW, DATA_TYPE_UNUSED, }; @@ -457,6 +458,7 @@ struct PackData { SysPath mPath; String mDisplayName; Array> mGfxData; + Array*> mTextures; }; typedef Pair Label; @@ -719,6 +721,7 @@ const Collision* DynOS_Builtin_LvlCol_GetFromName(const char* aDataName); const char* DynOS_Builtin_LvlCol_GetFromData(const Collision* aData); const Texture* DynOS_Builtin_Tex_GetFromName(const char* aDataName); const char* DynOS_Builtin_Tex_GetFromData(const Texture* aData); +const char* DynOS_Builtin_Tex_GetNameFromFileName(const char* aDataName); const void* DynOS_Builtin_Func_GetFromName(const char* aDataName); const void* DynOS_Builtin_Func_GetFromIndex(s32 aIndex); s32 DynOS_Builtin_Func_GetIndexFromData(const void* aData); @@ -735,6 +738,8 @@ PackData* DynOS_Pack_Add(const SysPath& aPath); void DynOS_Pack_Init(); Pair* DynOS_Pack_GetActor(PackData* aPackData, const char* aActorName); void DynOS_Pack_AddActor(PackData* aPackData, const char* aActorName, GfxData* aGfxData); +DataNode* DynOS_Pack_GetTex(PackData* aPackData, const char* aTexName); +void DynOS_Pack_AddTex(PackData* aPackData, DataNode* aTexData); // // Actor Manager @@ -763,6 +768,10 @@ void DynOS_Tex_Invalid(GfxData* aGfxData); void DynOS_Tex_Update(); u8 *DynOS_Tex_ConvertToRGBA32(const u8 *aData, u64 aLength, s32 aFormat, s32 aSize, const u8 *aPalette); bool DynOS_Tex_Import(void **aOutput, void *aPtr, s32 aTile, void *aGfxRApi, void **aHashMap, void *aPool, u32 *aPoolPos, u32 aPoolSize); +void DynOS_Tex_Activate(DataNode* aNode, bool aCustomTexture); +void DynOS_Tex_Deactivate(DataNode* aNode); +void DynOS_Tex_AddCustom(const SysPath &aFilename, const char *aTexName); +bool DynOS_Tex_Get(const char* aTexName, struct TextureInfo* aOutTexInfo); // // Lvl Manager @@ -862,8 +871,10 @@ DataNode* DynOS_Rooms_Load(FILE *aFile, GfxData *aGfxData); DataNode* DynOS_Tex_Parse(GfxData* aGfxData, DataNode* aNode); void DynOS_Tex_Write(FILE* aFile, GfxData* aGfxData, DataNode *aNode); -void DynOS_Tex_Load(FILE *aFile, GfxData *aGfxData); +DataNode* DynOS_Tex_Load(FILE *aFile, GfxData *aGfxData); +DataNode* DynOS_Tex_LoadFromBinary(const SysPath &aPackFolder, const SysPath &aFilename, const char *aTexName, bool aAddToPack); void DynOS_Tex_ConvertTextureDataToPng(GfxData *aGfxData, TexData* aTexture); +void DynOS_Tex_GeneratePack(const SysPath &aPackFolder, SysPath &aOutputFolder); DataNode* DynOS_TexList_Parse(GfxData* aGfxData, DataNode* aNode); void DynOS_TexList_Write(FILE* aFile, GfxData* aGfxData, DataNode *aNode); diff --git a/data/dynos_bin_tex.cpp b/data/dynos_bin_tex.cpp index 51c860e8..3a3680c8 100644 --- a/data/dynos_bin_tex.cpp +++ b/data/dynos_bin_tex.cpp @@ -8,15 +8,46 @@ extern "C" { // Utils // /////////// -static TexData* LoadTextureFromFile(GfxData *aGfxData, const String& aFile) { +static bool FileTypeExists(SysPath& aFolder, const char* fileType) { + DIR *_Dir = opendir(aFolder.c_str()); + if (!_Dir) { return false; } + + int fileTypeLen = strlen(fileType); + + struct dirent *_Ent = NULL; + while ((_Ent = readdir(_Dir)) != NULL) { + int nameLen = strlen(_Ent->d_name); + if (nameLen > fileTypeLen && !strcmp(&_Ent->d_name[nameLen - fileTypeLen], fileType)) { + closedir(_Dir); + return true; + } + } + closedir(_Dir); + return false; +} + +static TexData* LoadTextureFromFile(GfxData *aGfxData, const char* aFile) { // Image file - SysPath _Filename = fstring("%s/%s.png", aGfxData->mPackFolder.c_str(), aFile.begin()); + SysPath _Filename; + int fileNameLen = strlen(aFile); + if (fileNameLen > 4 && !strcmp(&aFile[fileNameLen - 4], ".png")) { + _Filename = fstring("%s/%s", aGfxData->mPackFolder.c_str(), aFile); + } else { + _Filename = fstring("%s/%s.png", aGfxData->mPackFolder.c_str(), aFile); + } + FILE *_File = fopen(_Filename.c_str(), "rb"); + // Check as if we're an Actor. if (!_File) { - String _TexturePath = aFile.SubString(aFile.Find('/') + 1); // Remove the "actors/" - SysPath _ActorFilename = fstring("%s/%s.png", aGfxData->mPackFolder.c_str(), _TexturePath.begin()); - _File = fopen(_ActorFilename.c_str(), "rb"); + SysPath _ActorFilename = ""; + const char* _SubString = strchr(aFile, '/'); // Remove the "actors/" + if (_SubString && *_SubString) { + _SubString++; + _ActorFilename = fstring("%s/%s.png", aGfxData->mPackFolder.c_str(), _SubString); + _File = fopen(_ActorFilename.c_str(), "rb"); + } + // The file does not exist in either spot! if (!_File) { PrintError(" ERROR: Unable to open file at \"%s\" or \"%s\"", _Filename.c_str(), _ActorFilename.c_str()); @@ -79,7 +110,7 @@ DataNode* DynOS_Tex_Parse(GfxData* aGfxData, DataNode* aNode) // Filename String _Filename = aNode->mTokens[0].SubString(i0 + 9, i1 - i0 - 9); - aNode->mData = LoadTextureFromFile(aGfxData, _Filename); + aNode->mData = LoadTextureFromFile(aGfxData, _Filename.begin()); aNode->mLoadIndex = aGfxData->mLoadIndex++; return aNode; } @@ -95,7 +126,7 @@ DataNode* DynOS_Tex_Parse(GfxData* aGfxData, DataNode* aNode) // Filename String _Filename = aNode->mTokens[0].SubString(dq0 + 1, dq1 - dq0 - 1); - aNode->mData = LoadTextureFromFile(aGfxData, _Filename); + aNode->mData = LoadTextureFromFile(aGfxData, _Filename.begin()); aNode->mLoadIndex = aGfxData->mLoadIndex++; return aNode; } @@ -129,11 +160,56 @@ void DynOS_Tex_Write(FILE* aFile, GfxData* aGfxData, DataNode *aNode) { aNode->mData->mPngData.Write(aFile); } +static bool DynOS_Tex_WriteBinary(GfxData* aGfxData, const SysPath &aOutputFilename, String& aName, TexData* aTexData, bool aRawTexture) { + FILE *_File = fopen(aOutputFilename.c_str(), "wb"); + if (!_File) { + PrintError(" ERROR: Unable to create file \"%s\"", aOutputFilename.c_str()); + return false; + } + + if (!aRawTexture) { + // Write png-texture + + // Header + WriteBytes(_File, DATA_TYPE_TEXTURE); + aName.Write(_File); + + // Data + aTexData->mPngData.Write(_File); + + fclose(_File); + return true; + } + + // Write raw-texture + + // Header + WriteBytes(_File, DATA_TYPE_TEXTURE_RAW); + aName.Write(_File); + + // load + u8 *_RawData = stbi_load_from_memory(aTexData->mPngData.begin(), aTexData->mPngData.Count(), &aTexData->mRawWidth, &aTexData->mRawHeight, NULL, 4); + aTexData->mRawFormat = G_IM_FMT_RGBA; + aTexData->mRawSize = G_IM_SIZ_32b; + aTexData->mRawData = Array(_RawData, _RawData + (aTexData->mRawWidth * aTexData->mRawHeight * 4)); + free(_RawData); + + // Data + WriteBytes(_File, aTexData->mRawFormat); + WriteBytes(_File, aTexData->mRawSize); + WriteBytes(_File, aTexData->mRawWidth); + WriteBytes(_File, aTexData->mRawHeight); + aTexData->mRawData.Write(_File); + + fclose(_File); + return true; +} + ///////////// // Reading // ///////////// -void DynOS_Tex_Load(FILE *aFile, GfxData *aGfxData) { +DataNode* DynOS_Tex_Load(FILE *aFile, GfxData *aGfxData) { DataNode *_Node = New>(); // Name @@ -158,5 +234,152 @@ void DynOS_Tex_Load(FILE *aFile, GfxData *aGfxData) { } // Append - aGfxData->mTextures.Add(_Node); -} \ No newline at end of file + if (aGfxData) { + aGfxData->mTextures.Add(_Node); + } + + return _Node; +} + +DataNode* DynOS_Tex_LoadFromBinary(const SysPath &aPackFolder, const SysPath &aFilename, const char *aTexName, bool aAddToPack) { + // Look for pack in cache + PackData* _Pack = DynOS_Pack_GetFromPath(aPackFolder); + + // Look for tex in pack + if (_Pack) { + auto _Tex = DynOS_Pack_GetTex(_Pack, aTexName); + if (_Tex != NULL) { + return _Tex; + } + } + + // Load data from binary file + DataNode* _TexNode = NULL; + FILE *_File = fopen(aFilename.c_str(), "rb"); + if (!_File) { return NULL; } + + u8 type = ReadBytes(_File); + if (type == DATA_TYPE_TEXTURE) { + // load png-texture + _TexNode = New>(); + _TexNode->mData = New(); + + _TexNode->mName.Read(_File); + _TexNode->mData->mPngData.Read(_File); + fclose(_File); + + if (aAddToPack) { + if (!_Pack) { _Pack = DynOS_Pack_Add(aPackFolder); } + DynOS_Pack_AddTex(_Pack, _TexNode); + } + + return _TexNode; + } else if (type != DATA_TYPE_TEXTURE_RAW) { + fclose(_File); + return NULL; + } + + // load raw-texture + _TexNode = New>(); + _TexNode->mData = New(); + + _TexNode->mName.Read(_File); + _TexNode->mData->mRawFormat = ReadBytes(_File); + _TexNode->mData->mRawSize = ReadBytes(_File); + _TexNode->mData->mRawWidth = ReadBytes(_File); + _TexNode->mData->mRawHeight = ReadBytes(_File); + _TexNode->mData->mRawData.Read(_File); + + fclose(_File); + + if (aAddToPack) { + if (!_Pack) { _Pack = DynOS_Pack_Add(aPackFolder); } + DynOS_Pack_AddTex(_Pack, _TexNode); + } + + return _TexNode; +} + + ////////////// + // Generate // +////////////// + +static void DynOS_Tex_GeneratePack_Recursive(const SysPath &aPackFolder, SysPath &aOutputFolder, SysPath& aRelativePath, SysPath& aPrefix, GfxData *aGfxData) { + // skip generation if any .c files exist + if (FileTypeExists(aOutputFolder, ".c")) { + return; + } + + SysPath _DirPath = fstring("%s/%s", aPackFolder.c_str(), aRelativePath.c_str()); + DIR *_PackDir = opendir(_DirPath.c_str()); + if (!_PackDir) { return; } + + struct dirent *_PackEnt = NULL; + while ((_PackEnt = readdir(_PackDir)) != NULL) { + + // Skip . and .. + if (SysPath(_PackEnt->d_name) == ".") continue; + if (SysPath(_PackEnt->d_name) == "..") continue; + + SysPath _Path = fstring("%s/%s", _DirPath.c_str(), _PackEnt->d_name); + + // Recurse through subfolders + if (fs_sys_dir_exists(_Path.c_str())) { + SysPath _NextPath = fstring("%s%s/", aRelativePath.c_str(), _PackEnt->d_name); + SysPath _Prefix = fstring("%s.", _PackEnt->d_name); + DynOS_Tex_GeneratePack_Recursive(aPackFolder, aOutputFolder, _NextPath, _Prefix, aGfxData); + continue; + } + + // skip files that don't end in '.png' + size_t nameLen = strlen(_PackEnt->d_name); + if (nameLen < 4) continue; + if (strcmp(&_PackEnt->d_name[nameLen - 4], ".png")) { + continue; + } + + // read the file + aGfxData->mModelIdentifier++; + TexData* _TexData = LoadTextureFromFile(aGfxData, _Path.c_str()); + if (_TexData == NULL) { + PrintError("Error reading texture from file: %s", _Path.c_str()); + continue; + } + + // write the file + SysPath _RelativePath = fstring("%s%s", aRelativePath.c_str(), _PackEnt->d_name); + String _BaseName; + const char* _OverrideName = DynOS_Builtin_Tex_GetNameFromFileName(_RelativePath.c_str()); + if (_OverrideName) { + _BaseName = _OverrideName; + } else { + _BaseName = _PackEnt->d_name; + _BaseName = _BaseName.SubString(0, nameLen - 4); + } + SysPath _OutputPath = fstring("%s/%s.tex", aOutputFolder.c_str(), _BaseName.begin()); + + // create output dir if it doesn't exist + if (!fs_sys_dir_exists(aOutputFolder.c_str())) { + fs_sys_mkdir(aOutputFolder.c_str()); + } + + DynOS_Tex_WriteBinary(aGfxData, _OutputPath, _BaseName, _TexData, (_OverrideName != NULL)); + } + + closedir(_PackDir); +} + +void DynOS_Tex_GeneratePack(const SysPath &aPackFolder, SysPath &aOutputFolder) { + Print("---------- Texture pack folder: \"%s\" ----------", aPackFolder.c_str()); + + // skip generation if any .tex files exist + if (FileTypeExists(aOutputFolder, ".tex")) { + return; + } + + GfxData *_GfxData = New(); + _GfxData->mModelIdentifier = 0; + SysPath _Empty = ""; + DynOS_Tex_GeneratePack_Recursive(aPackFolder, aOutputFolder, _Empty, _Empty, _GfxData); + DynOS_Gfx_Free(_GfxData); +} diff --git a/data/dynos_c.cpp b/data/dynos_c.cpp index 491f5de2..2ee95abd 100644 --- a/data/dynos_c.cpp +++ b/data/dynos_c.cpp @@ -107,6 +107,17 @@ Collision* dynos_collision_get(const char* collisionName) { return DynOS_Col_Get(collisionName); } +// -- textures -- // + +void dynos_add_texture(const char *filePath, const char* textureName) { + SysPath _FilePath = filePath; + DynOS_Tex_AddCustom(_FilePath, textureName); +} + +bool dynos_texture_get(const char* textureName, struct TextureInfo* outTextureInfo) { + return DynOS_Tex_Get(textureName, outTextureInfo); +} + // -- movtexqcs -- // void dynos_movtexqc_register(const char* name, s16 level, s16 area, s16 type) { diff --git a/data/dynos_gfx_init.cpp b/data/dynos_gfx_init.cpp index 7fdb9733..edb73d93 100644 --- a/data/dynos_gfx_init.cpp +++ b/data/dynos_gfx_init.cpp @@ -19,6 +19,11 @@ void DynOS_Gfx_GeneratePacks(const char* directory) { if (fs_sys_dir_exists(_ActorPackFolder.c_str())) { DynOS_Actor_GeneratePack(_ActorPackFolder); } + SysPath _TexturePackFolder = fstring("%s/%s", directory, dir->d_name); + SysPath _TexturePackOutputFolder = fstring("%s/%s/textures", directory, dir->d_name); + if (fs_sys_dir_exists(_TexturePackFolder.c_str())) { + DynOS_Tex_GeneratePack(_TexturePackFolder, _TexturePackOutputFolder); + } } closedir(modsDir); @@ -34,17 +39,22 @@ static void ScanPackBins(SysPath aPackFolder) { if (SysPath(_PackEnt->d_name) == ".") continue; if (SysPath(_PackEnt->d_name) == "..") continue; - // Skip non .bin - s32 length = strlen(_PackEnt->d_name); - if (length < 5) { continue; } - if (strncmp(&_PackEnt->d_name[length - 4], ".bin", 4)) { continue; } - - String _ActorName = _PackEnt->d_name; - _ActorName[length - 4] = '\0'; - SysPath _FileName = fstring("%s/%s", aPackFolder.begin(), _PackEnt->d_name); + s32 length = strlen(_PackEnt->d_name); - DynOS_Actor_LoadFromBinary(aPackFolder, strdup(_ActorName.begin()), _FileName, true); + // check for actors + if (length > 4 && !strncmp(&_PackEnt->d_name[length - 4], ".bin", 4)) { + String _ActorName = _PackEnt->d_name; + _ActorName[length - 4] = '\0'; + DynOS_Actor_LoadFromBinary(aPackFolder, strdup(_ActorName.begin()), _FileName, true); + } + + // check for textures + if (length > 4 && !strncmp(&_PackEnt->d_name[length - 4], ".tex", 4)) { + String _TexName = _PackEnt->d_name; + _TexName[length - 4] = '\0'; + DynOS_Tex_LoadFromBinary(aPackFolder, _FileName, _TexName.begin(), true); + } } } @@ -63,6 +73,7 @@ static void ScanPacksFolder(SysPath _DynosPacksFolder) { if (fs_sys_dir_exists(_PackFolder.c_str())) { struct PackData* _Pack = DynOS_Pack_Add(_PackFolder); DynOS_Actor_GeneratePack(_PackFolder); + DynOS_Tex_GeneratePack(_PackFolder, _PackFolder); ScanPackBins(_PackFolder); } } diff --git a/data/dynos_mgr_builtin.cpp b/data/dynos_mgr_builtin.cpp index 0e251de0..d1b89871 100644 --- a/data/dynos_mgr_builtin.cpp +++ b/data/dynos_mgr_builtin.cpp @@ -1070,710 +1070,6 @@ const char* DynOS_Builtin_LvlCol_GetFromData(const Collision* aData) { MGR_FIND_NAME(sDynosBuiltinLvlCols); } - ////////////// - // Textures // -////////////// - -static const void* sDynosBuiltinTexs[] = { - // levels - define_builtin(cave_09000000), - define_builtin(cave_09001000), - define_builtin(cave_09001800), - define_builtin(cave_09002800), - define_builtin(cave_09003000), - define_builtin(cave_09003800), - define_builtin(cave_09004800), - define_builtin(cave_09005800), - define_builtin(cave_09006800), - define_builtin(cave_09007000), - define_builtin(cave_09007800), - define_builtin(cave_09008800), - define_builtin(cave_09009800), - define_builtin(cave_0900A000), - define_builtin(cave_0900A800), - define_builtin(cave_0900B800), - define_builtin(cave_0900C000), - define_builtin(fire_09000000), - define_builtin(fire_09000800), - define_builtin(fire_09001000), - define_builtin(fire_09001800), - define_builtin(fire_09002000), - define_builtin(fire_09002800), - define_builtin(fire_09003000), - define_builtin(fire_09003800), - define_builtin(fire_09004000), - define_builtin(fire_09004800), - define_builtin(fire_09005000), - define_builtin(fire_09005800), - define_builtin(fire_09006000), - define_builtin(fire_09006800), - define_builtin(fire_09007000), - define_builtin(fire_09007800), - define_builtin(fire_09008000), - define_builtin(fire_09008800), - define_builtin(fire_09009000), - define_builtin(fire_09009800), - define_builtin(fire_0900A000), - define_builtin(fire_0900A800), - define_builtin(fire_0900B000), - define_builtin(fire_0900B800), - define_builtin(generic_09000000), - define_builtin(generic_09000800), - define_builtin(generic_09001000), - define_builtin(generic_09001800), - define_builtin(generic_09002000), - define_builtin(generic_09002800), - define_builtin(generic_09003000), - define_builtin(generic_09003800), - define_builtin(generic_09004000), - define_builtin(generic_09004800), - define_builtin(generic_09005000), - define_builtin(generic_09005800), - define_builtin(generic_09006000), - define_builtin(generic_09007000), - define_builtin(generic_09007800), - define_builtin(generic_09008000), - define_builtin(generic_09008800), - define_builtin(generic_09009000), - define_builtin(generic_09009800), - define_builtin(generic_0900A000), - define_builtin(generic_0900A800), - define_builtin(generic_0900B000), - define_builtin(grass_09000000), - define_builtin(grass_09000800), - define_builtin(grass_09001000), - define_builtin(grass_09001800), - define_builtin(grass_09002000), - define_builtin(grass_09002800), - define_builtin(grass_09003000), - define_builtin(grass_09003800), - define_builtin(grass_09004000), - define_builtin(grass_09004800), - define_builtin(grass_09005000), - define_builtin(grass_09005800), - define_builtin(grass_09006000), - define_builtin(grass_09006800), - define_builtin(grass_09007000), - define_builtin(grass_09007800), - define_builtin(grass_09008000), - define_builtin(grass_09008800), - define_builtin(grass_09009000), - define_builtin(grass_09009800), - define_builtin(grass_0900A000), - define_builtin(grass_0900A800), - define_builtin(grass_0900B000), - define_builtin(grass_0900B800), - define_builtin(inside_09000000), - define_builtin(inside_09001000), - define_builtin(inside_09002000), - define_builtin(inside_09003000), - define_builtin(inside_09003800), - define_builtin(inside_09004000), - define_builtin(inside_09004800), - define_builtin(inside_09005000), - define_builtin(inside_09005800), - define_builtin(inside_09006000), - define_builtin(inside_09007000), - define_builtin(inside_09008000), - define_builtin(inside_09008800), - define_builtin(inside_09009000), - define_builtin(inside_0900A000), - define_builtin(inside_0900B000), - define_builtin(inside_0900B800), - define_builtin(machine_09000000), - define_builtin(machine_09000800), - define_builtin(machine_09001000), - define_builtin(machine_09001800), - define_builtin(machine_09002000), - define_builtin(machine_09002800), - define_builtin(machine_09003000), - define_builtin(machine_09003800), - define_builtin(machine_09004000), - define_builtin(machine_09005000), - define_builtin(machine_09005800), - define_builtin(machine_09006000), - define_builtin(machine_09006800), - define_builtin(machine_09007000), - define_builtin(machine_09007800), - define_builtin(machine_09008000), - define_builtin(machine_09008400), - define_builtin(mountain_09000000), - define_builtin(mountain_09000800), - define_builtin(mountain_09001800), - define_builtin(mountain_09002800), - define_builtin(mountain_09003000), - define_builtin(mountain_09003800), - define_builtin(mountain_09004000), - define_builtin(mountain_09004800), - define_builtin(mountain_09005000), - define_builtin(mountain_09005800), - define_builtin(mountain_09006800), - define_builtin(mountain_09007000), - define_builtin(mountain_09007800), - define_builtin(mountain_09008000), - define_builtin(mountain_09008800), - define_builtin(mountain_09009800), - define_builtin(mountain_0900A000), - define_builtin(mountain_0900A800), - define_builtin(mountain_0900B000), - define_builtin(mountain_0900B800), - define_builtin(mountain_0900C000), - define_builtin(outside_09000000), - define_builtin(outside_09000800), - define_builtin(outside_09001000), - define_builtin(outside_09002000), - define_builtin(outside_09003000), - define_builtin(outside_09003800), - define_builtin(outside_09004000), - define_builtin(outside_09004800), - define_builtin(outside_09005800), - define_builtin(outside_09006000), - define_builtin(outside_09006800), - define_builtin(outside_09007800), - define_builtin(outside_09008000), - define_builtin(outside_09008800), - define_builtin(outside_09009000), - define_builtin(outside_09009800), - define_builtin(outside_0900A000), - define_builtin(outside_0900A800), - define_builtin(outside_0900B000), - define_builtin(outside_0900B400), - define_builtin(outside_0900BC00), - define_builtin(sky_09000000), - define_builtin(sky_09000800), - define_builtin(sky_09001000), - define_builtin(sky_09001800), - define_builtin(sky_09002000), - define_builtin(sky_09003000), - define_builtin(sky_09003800), - define_builtin(sky_09004800), - define_builtin(sky_09005000), - define_builtin(sky_09005800), - define_builtin(sky_09006000), - define_builtin(texture_metal_hole), - define_builtin(sky_09007000), - define_builtin(sky_09007800), - define_builtin(sky_09008000), - define_builtin(snow_09000000), - define_builtin(snow_09000800), - define_builtin(snow_09001000), - define_builtin(snow_09002000), - define_builtin(snow_09002800), - define_builtin(snow_09003000), - define_builtin(snow_09003800), - define_builtin(snow_09004000), - define_builtin(snow_09004800), - define_builtin(snow_09005000), - define_builtin(snow_09005800), - define_builtin(snow_09006000), - define_builtin(snow_09006800), - define_builtin(snow_09007000), - define_builtin(snow_09008000), - define_builtin(snow_09008800), - define_builtin(snow_09009000), - define_builtin(snow_09009800), - define_builtin(spooky_09000000), - define_builtin(spooky_09000800), - define_builtin(spooky_09001800), - define_builtin(spooky_09002800), - define_builtin(spooky_09003800), - define_builtin(spooky_09004800), - define_builtin(spooky_09005000), - define_builtin(spooky_09006000), - define_builtin(spooky_09006800), - define_builtin(spooky_09007000), - define_builtin(spooky_09008000), - define_builtin(spooky_09008800), - define_builtin(spooky_09009000), - define_builtin(spooky_0900A000), - define_builtin(spooky_0900A800), - define_builtin(spooky_0900B000), - define_builtin(spooky_0900B800), - define_builtin(water_09000000), - define_builtin(water_09000800), - define_builtin(water_09001800), - define_builtin(water_09002800), - define_builtin(water_09003800), - define_builtin(water_09004800), - define_builtin(water_09005800), - define_builtin(water_09006000), - define_builtin(water_09006800), - define_builtin(water_09007800), - define_builtin(water_09008800), - define_builtin(water_09009000), - define_builtin(water_0900A000), - define_builtin(water_0900A800), - define_builtin(water_0900B800), - // actors - define_builtin(amp_seg8_texture_08000F18), - define_builtin(amp_seg8_texture_08001318), - define_builtin(amp_seg8_texture_08001B18), - define_builtin(amp_seg8_texture_08002318), - define_builtin(blue_coin_switch_seg8_texture_08000018), - define_builtin(blue_coin_switch_seg8_texture_08000418), - define_builtin(blue_fish_seg3_texture_0301B5E0), - define_builtin(bobomb_seg8_texture_0801DA60), - define_builtin(bobomb_seg8_texture_0801EA60), - define_builtin(bobomb_seg8_texture_0801FA60), - define_builtin(bobomb_seg8_texture_08020A60), - define_builtin(bobomb_seg8_texture_08021A60), - define_builtin(bobomb_seg8_texture_08022260), - define_builtin(bomb_seg6_texture_06057AC0), - define_builtin(bomb_seg6_texture_06058AC0), - define_builtin(bomb_seg6_texture_06059AC0), - define_builtin(boo_seg5_texture_05009B40), - define_builtin(boo_seg5_texture_0500AB40), - define_builtin(boo_castle_seg6_texture_06015670), - define_builtin(boo_castle_seg6_texture_06016670), - define_builtin(book_seg5_texture_05002570), - define_builtin(bookend_seg5_texture_05000060), - define_builtin(bookend_seg5_texture_05000460), - define_builtin(bookend_seg5_texture_05000860), - define_builtin(bookend_seg5_texture_05000C60), - define_builtin(bookend_seg5_texture_05001060), - define_builtin(bowser_seg6_texture_0601F438), - define_builtin(bowser_seg6_texture_0601FC38), - define_builtin(bowser_seg6_texture_06020C38), - define_builtin(bowser_seg6_texture_06021438), - define_builtin(bowser_seg6_texture_06022438), - define_builtin(bowser_seg6_texture_06022C38), - define_builtin(bowser_seg6_texture_06023C38), - define_builtin(bowser_seg6_texture_06024438), - define_builtin(bowser_seg6_texture_06025438), - define_builtin(bowser_seg6_texture_06025C38), - define_builtin(bowser_seg6_texture_06026438), - define_builtin(bowser_seg6_texture_06027438), - define_builtin(bowser_seg6_texture_06028438), - define_builtin(bowser_seg6_texture_06028C38), - define_builtin(bowser_seg6_texture_06029C38), - define_builtin(bowser_seg6_texture_0602AC38), - define_builtin(bowser_seg6_texture_0602BC38), - define_builtin(bowser_seg6_texture_0602CC38), - define_builtin(bowser_seg6_texture_0602DC38), - define_builtin(bowser_seg6_texture_0602EC38), - define_builtin(bowser_seg6_texture_0602FC38), - define_builtin(bowser_seg6_texture_06030C38), - define_builtin(bowser_seg6_texture_06031C38), - define_builtin(bowser_seg6_texture_06032C38), - define_builtin(bowser_seg6_texture_06033C38), - define_builtin(bowser_seg6_texture_06034C38), - define_builtin(bowser_seg6_texture_06035C38), - define_builtin(bowser_seg6_texture_06036C38), - define_builtin(bowser_seg6_texture_06037C38), - define_builtin(flame_seg6_texture_06000000), - define_builtin(flame_seg6_texture_06002000), - define_builtin(flame_seg6_texture_06004000), - define_builtin(flame_seg6_texture_06006000), - define_builtin(flame_seg6_texture_06008000), - define_builtin(flame_seg6_texture_0600A000), - define_builtin(flame_seg6_texture_0600C000), - define_builtin(flame_seg6_texture_0600E000), - define_builtin(flame_seg6_texture_06010000), - define_builtin(flame_seg6_texture_06012000), - define_builtin(flame_seg6_texture_06014000), - define_builtin(flame_seg6_texture_06016000), - define_builtin(flame_seg6_texture_06018000), - define_builtin(flame_seg6_texture_0601A000), - define_builtin(breakable_box_seg8_texture_08011A90), - define_builtin(breakable_box_seg8_texture_08012290), - define_builtin(bub_seg6_texture_0600E2A8), - define_builtin(bub_seg6_texture_0600EAA8), - define_builtin(bub_seg6_texture_0600F2A8), - define_builtin(bub_seg6_texture_060102A8), - define_builtin(bubba_seg5_texture_05000008), - define_builtin(bubba_seg5_texture_05000408), - define_builtin(bubba_seg5_texture_05001408), - define_builtin(bubba_seg5_texture_05001C08), - define_builtin(bubba_seg5_texture_05002408), - define_builtin(bubble_seg4_texture_0401CD60), - define_builtin(bubble_seg4_texture_0401D560), - define_builtin(bullet_bill_seg5_texture_0500BAA8), - define_builtin(bullet_bill_seg5_texture_0500CAA8), - define_builtin(bully_seg5_texture_050000E0), - define_builtin(bully_seg5_texture_05000468), - define_builtin(bully_seg5_texture_05001468), - define_builtin(bully_seg5_texture_05002468), - define_builtin(burn_smoke_seg4_texture_04021800), - define_builtin(butterfly_seg3_texture_030043A8), - define_builtin(cannon_barrel_seg8_texture_080058A8), - define_builtin(cannon_base_seg8_texture_080049B8), - define_builtin(cannon_lid_seg8_texture_08004058), - define_builtin(capswitch_seg5_texture_05001C48), - define_builtin(capswitch_seg5_texture_05002C48), - define_builtin(chain_ball_seg6_texture_06020AE8), - define_builtin(chain_chomp_seg6_texture_060213D0), - define_builtin(chain_chomp_seg6_texture_06021BD0), - define_builtin(chain_chomp_seg6_texture_060223D0), - define_builtin(chain_chomp_seg6_texture_06022BD0), - define_builtin(chain_chomp_seg6_texture_060233D0), - define_builtin(chair_seg5_texture_05003060), - define_builtin(chair_seg5_texture_05003860), - define_builtin(chair_seg5_texture_05004060), - define_builtin(chair_seg5_texture_05004460), - define_builtin(checkerboard_platform_seg8_texture_0800C840), - define_builtin(checkerboard_platform_seg8_texture_0800CC40), - define_builtin(chilly_chief_seg6_texture_06000060), - define_builtin(chilly_chief_seg6_texture_06001060), - define_builtin(chilly_chief_seg6_texture_06002060), - define_builtin(chuckya_seg8_texture_08006778), - define_builtin(chuckya_seg8_texture_08007778), - define_builtin(chuckya_seg8_texture_08007F78), - define_builtin(chuckya_seg8_texture_08008F78), - define_builtin(clam_shell_seg5_texture_05000030), - define_builtin(clam_shell_seg5_texture_05000830), - define_builtin(coin_seg3_texture_03005780), - define_builtin(coin_seg3_texture_03005F80), - define_builtin(coin_seg3_texture_03006780), - define_builtin(coin_seg3_texture_03006F80), - define_builtin(cyan_fish_seg6_texture_0600D468), - define_builtin(dirt_seg3_texture_0302BDF8), - define_builtin(door_seg3_texture_03009D10), - define_builtin(door_seg3_texture_0300AD10), - define_builtin(door_seg3_texture_0300BD10), - define_builtin(door_seg3_texture_0300CD10), - define_builtin(door_seg3_texture_0300D510), - define_builtin(door_seg3_texture_0300E510), - define_builtin(door_seg3_texture_0300ED10), - define_builtin(door_seg3_texture_0300FD10), - define_builtin(door_seg3_texture_03010510), - define_builtin(door_seg3_texture_03011510), - define_builtin(door_seg3_texture_03011D10), - define_builtin(door_seg3_texture_03012510), - define_builtin(door_seg3_texture_03012D10), - define_builtin(door_seg3_texture_03013510), - define_builtin(dorrie_seg6_texture_06009BA0), - define_builtin(dorrie_seg6_texture_06009DA0), - define_builtin(dorrie_seg6_texture_0600ADA0), - define_builtin(exclamation_box_seg8_texture_08012E28), - define_builtin(exclamation_box_seg8_texture_08013628), - define_builtin(exclamation_box_seg8_texture_08014628), - define_builtin(exclamation_box_seg8_texture_08014E28), - define_builtin(exclamation_box_seg8_texture_08015E28), - define_builtin(exclamation_box_seg8_texture_08016628), - define_builtin(exclamation_box_seg8_texture_08017628), - define_builtin(exclamation_box_seg8_texture_08017E28), - define_builtin(exclamation_box_outline_seg8_texture_08025168), - define_builtin(exclamation_box_outline_seg8_texture_08025A80), - define_builtin(explosion_seg3_texture_03000A08), - define_builtin(explosion_seg3_texture_03001208), - define_builtin(explosion_seg3_texture_03001A08), - define_builtin(explosion_seg3_texture_03002208), - define_builtin(explosion_seg3_texture_03002A08), - define_builtin(explosion_seg3_texture_03003208), - define_builtin(explosion_seg3_texture_03003A08), - define_builtin(eyerok_seg5_texture_05008D40), - define_builtin(eyerok_seg5_texture_05009540), - define_builtin(eyerok_seg5_texture_05009D40), - define_builtin(eyerok_seg5_texture_0500A540), - define_builtin(eyerok_seg5_texture_0500AD40), - define_builtin(flame_seg3_texture_03017320), - define_builtin(flame_seg3_texture_03017B20), - define_builtin(flame_seg3_texture_03018320), - define_builtin(flame_seg3_texture_03018B20), - define_builtin(flame_seg3_texture_03019320), - define_builtin(flame_seg3_texture_03019B20), - define_builtin(flame_seg3_texture_0301A320), - define_builtin(flame_seg3_texture_0301AB20), - define_builtin(flyguy_seg8_texture_0800E088), - define_builtin(flyguy_seg8_texture_0800F088), - define_builtin(flyguy_seg8_texture_0800F888), - define_builtin(fwoosh_seg5_texture_05015808), - define_builtin(goomba_seg8_texture_08019530), - define_builtin(goomba_seg8_texture_08019D30), - define_builtin(goomba_seg8_texture_0801A530), - define_builtin(haunted_cage_seg5_texture_0500C288), - define_builtin(haunted_cage_seg5_texture_0500CA88), - define_builtin(haunted_cage_seg5_texture_0500D288), - define_builtin(haunted_cage_seg5_texture_0500D688), - define_builtin(haunted_cage_seg5_texture_0500DA88), - define_builtin(haunted_cage_seg5_texture_0500E288), - define_builtin(heart_seg8_texture_0800D7E0), - define_builtin(heave_ho_seg5_texture_0500E9C8), - define_builtin(heave_ho_seg5_texture_0500F1C8), - define_builtin(heave_ho_seg5_texture_0500F9C8), - define_builtin(heave_ho_seg5_texture_050109C8), - define_builtin(heave_ho_seg5_texture_050111C8), - define_builtin(heave_ho_seg5_texture_050113C8), - define_builtin(hoot_seg5_texture_05000A20), - define_builtin(hoot_seg5_texture_05001E50), - define_builtin(hoot_seg5_texture_05002650), - define_builtin(impact_ring_seg6_texture_0601CA50), - define_builtin(impact_ring_seg6_texture_0601DA50), - define_builtin(king_bobomb_seg5_texture_05000078), - define_builtin(king_bobomb_seg5_texture_05001078), - define_builtin(king_bobomb_seg5_texture_05002078), - define_builtin(king_bobomb_seg5_texture_05002878), - define_builtin(king_bobomb_seg5_texture_05004878), - define_builtin(king_bobomb_seg5_texture_05005878), - define_builtin(king_bobomb_seg5_texture_05006078), - define_builtin(king_bobomb_seg5_texture_05006478), - define_builtin(king_bobomb_seg5_texture_05008478), - define_builtin(king_bobomb_seg5_texture_05009478), - define_builtin(klepto_seg5_texture_05000008), - define_builtin(klepto_seg5_texture_05000808), - define_builtin(klepto_seg5_texture_05001008), - define_builtin(klepto_seg5_texture_05002008), - define_builtin(klepto_seg5_texture_05003008), - define_builtin(koopa_seg6_texture_06002648), - define_builtin(koopa_seg6_texture_06002E48), - define_builtin(koopa_seg6_texture_06003648), - define_builtin(koopa_seg6_texture_06003E48), - define_builtin(koopa_seg6_texture_06004648), - define_builtin(koopa_seg6_texture_06004E48), - define_builtin(koopa_seg6_texture_06005648), - define_builtin(koopa_seg6_texture_06005E48), - define_builtin(koopa_flag_seg6_texture_06000048), - define_builtin(koopa_shell_seg8_texture_080274A0), - define_builtin(koopa_shell_seg8_texture_08027CA0), - define_builtin(lakitu_seg6_texture_06000000), - define_builtin(lakitu_seg6_texture_06000800), - define_builtin(lakitu_seg6_texture_06001800), - define_builtin(lakitu_seg6_texture_06002800), - define_builtin(lakitu_seg6_texture_06003000), - define_builtin(lakitu_seg6_texture_06003800), - define_builtin(lakitu_enemy_seg5_texture_0500ECE0), - define_builtin(lakitu_enemy_seg5_texture_0500F4E0), - define_builtin(lakitu_enemy_seg5_texture_050104E0), - define_builtin(lakitu_enemy_seg5_texture_050114E0), - define_builtin(lakitu_enemy_seg5_texture_05011CE0), - define_builtin(leaves_seg3_texture_0301CBE0), - define_builtin(mad_piano_seg5_texture_05006AF0), - define_builtin(mad_piano_seg5_texture_050072F0), - define_builtin(mad_piano_seg5_texture_050076F0), - define_builtin(mad_piano_seg5_texture_05007AF0), - define_builtin(mad_piano_seg5_texture_05007EF0), - define_builtin(mad_piano_seg5_texture_050082F0), - define_builtin(manta_seg5_texture_050017A0), - define_builtin(manta_seg5_texture_05001FA0), - define_builtin(manta_seg5_texture_05002FA0), - define_builtin(manta_seg5_texture_050037A0), - define_builtin(metal_box_seg8_texture_08023998), - define_builtin(mips_seg6_texture_0600FB80), - define_builtin(mist_seg3_texture_03000080), - define_builtin(moneybag_seg6_texture_060039B0), - define_builtin(moneybag_seg6_texture_060049B0), - define_builtin(monty_mole_seg5_texture_05000970), - define_builtin(monty_mole_seg5_texture_05001170), - define_builtin(monty_mole_seg5_texture_05001970), - define_builtin(monty_mole_seg5_texture_05002170), - define_builtin(monty_mole_seg5_texture_05002970), - define_builtin(monty_mole_hole_seg5_texture_05000040), - define_builtin(mr_i_eyeball_seg6_texture_06000080), - define_builtin(mr_i_eyeball_seg6_texture_06001080), - define_builtin(mr_i_iris_seg6_texture_06002170), - define_builtin(mr_i_iris_seg6_texture_06002970), - define_builtin(mr_i_iris_seg6_texture_06003170), - define_builtin(mr_i_iris_seg6_texture_06003970), - define_builtin(mushroom_1up_seg3_texture_03029628), - define_builtin(peach_seg5_texture_05000A28), - define_builtin(peach_seg5_texture_05001228), - define_builtin(peach_seg5_texture_05001A28), - define_builtin(peach_seg5_texture_05002228), - define_builtin(peach_seg5_texture_05002A28), - define_builtin(peach_seg5_texture_05002C28), - define_builtin(peach_seg5_texture_05002E28), - define_builtin(peach_seg5_texture_05003628), - define_builtin(peach_seg5_texture_05003E28), - define_builtin(peach_seg5_texture_05004028), - define_builtin(pebble_seg3_texture_0301C300), - define_builtin(penguin_seg5_texture_05002DE0), - define_builtin(penguin_seg5_texture_050035E0), - define_builtin(penguin_seg5_texture_05003DE0), - define_builtin(penguin_seg5_texture_050045E0), - define_builtin(penguin_seg5_texture_05004DE0), - define_builtin(penguin_seg5_texture_050055E0), - define_builtin(piranha_plant_seg6_texture_060113F8), - define_builtin(piranha_plant_seg6_texture_060123F8), - define_builtin(piranha_plant_seg6_texture_06012BF8), - define_builtin(piranha_plant_seg6_texture_060133F8), - define_builtin(piranha_plant_seg6_texture_06013BF8), - define_builtin(piranha_plant_seg6_texture_060143F8), - define_builtin(pokey_seg5_texture_05011750), - define_builtin(pokey_seg5_texture_05011F50), - define_builtin(pokey_seg5_texture_05012878), - define_builtin(poundable_pole_seg6_texture_06001050), - define_builtin(poundable_pole_seg6_texture_06001850), - define_builtin(texture_power_meter_left_side), - define_builtin(texture_power_meter_right_side), - define_builtin(texture_power_meter_full), - define_builtin(texture_power_meter_seven_segments), - define_builtin(texture_power_meter_six_segments), - define_builtin(texture_power_meter_five_segments), - define_builtin(texture_power_meter_four_segments), - define_builtin(texture_power_meter_three_segments), - define_builtin(texture_power_meter_two_segments), - define_builtin(texture_power_meter_one_segments), - define_builtin(purple_switch_seg8_texture_0800C0A8), - define_builtin(purple_switch_seg8_texture_0800C128), - define_builtin(sand_seg3_texture_0302BAD0), - define_builtin(scuttlebug_seg6_texture_06010108), - define_builtin(scuttlebug_seg6_texture_06010908), - define_builtin(scuttlebug_seg6_texture_06011908), - define_builtin(scuttlebug_seg6_texture_06012908), - define_builtin(scuttlebug_seg6_texture_06013108), - define_builtin(seaweed_seg6_texture_06007E10), - define_builtin(seaweed_seg6_texture_06008610), - define_builtin(seaweed_seg6_texture_06008E10), - define_builtin(seaweed_seg6_texture_06009610), - define_builtin(skeeter_seg6_texture_06000090), - define_builtin(skeeter_seg6_texture_06000890), - define_builtin(smoke_seg5_texture_050072C0), - define_builtin(snowman_seg5_texture_05008C70), - define_builtin(snowman_seg5_texture_05009470), - define_builtin(snowman_seg5_texture_0500A470), - define_builtin(snowman_seg5_texture_0500B470), - define_builtin(snowman_seg5_texture_0500BC70), - define_builtin(snufit_seg6_texture_060070E0), - define_builtin(snufit_seg6_texture_060078E0), - define_builtin(snufit_seg6_texture_060080E0), - define_builtin(snufit_seg6_texture_060084E0), - define_builtin(sparkles_seg4_texture_04027490), - define_builtin(sparkles_seg4_texture_04027C90), - define_builtin(sparkles_seg4_texture_04028490), - define_builtin(sparkles_seg4_texture_04028C90), - define_builtin(sparkles_seg4_texture_04029490), - define_builtin(sparkles_seg4_texture_04029C90), - define_builtin(sparkles_animation_seg4_texture_04032A88), - define_builtin(sparkles_animation_seg4_texture_04033288), - define_builtin(sparkles_animation_seg4_texture_04033A88), - define_builtin(sparkles_animation_seg4_texture_04034288), - define_builtin(sparkles_animation_seg4_texture_04034A88), - define_builtin(spindrift_seg5_texture_050006D0), - define_builtin(spindrift_seg5_texture_05000ED0), - define_builtin(spindrift_seg5_texture_050016D0), - define_builtin(spindrift_seg5_texture_05001ED0), - define_builtin(springboard_seg5_texture_05000018), - define_builtin(springboard_seg5_texture_05000818), - define_builtin(star_seg3_texture_0302A6F0), - define_builtin(star_seg3_texture_0302AEF0), - define_builtin(stomp_smoke_seg4_texture_04022148), - define_builtin(stomp_smoke_seg4_texture_04022948), - define_builtin(stomp_smoke_seg4_texture_04023148), - define_builtin(stomp_smoke_seg4_texture_04023948), - define_builtin(stomp_smoke_seg4_texture_04024148), - define_builtin(stomp_smoke_seg4_texture_04024948), - define_builtin(sushi_seg5_texture_05008ED0), - define_builtin(sushi_seg5_texture_050096D0), - define_builtin(sushi_seg5_texture_05009AD0), - define_builtin(swoop_seg6_texture_06004270), - define_builtin(swoop_seg6_texture_06004A70), - define_builtin(swoop_seg6_texture_06005270), - define_builtin(swoop_seg6_texture_06005A70), - define_builtin(thwomp_seg5_texture_05009900), - define_builtin(thwomp_seg5_texture_0500A900), - define_builtin(toad_seg6_texture_06005920), - define_builtin(toad_seg6_texture_06006120), - define_builtin(tornado_seg5_texture_05013128), - define_builtin(treasure_chest_seg6_texture_06013FA8), - define_builtin(treasure_chest_seg6_texture_060147A8), - define_builtin(treasure_chest_seg6_texture_06014FA8), - define_builtin(treasure_chest_seg6_texture_060157A8), - define_builtin(tree_seg3_texture_0302DE28), - define_builtin(tree_seg3_texture_0302EE28), - define_builtin(tree_seg3_texture_0302FF60), - define_builtin(tree_seg3_texture_03031048), - define_builtin(tree_seg3_texture_03032218), - define_builtin(ukiki_seg5_texture_05007BC0), - define_builtin(ukiki_seg5_texture_05008BC0), - define_builtin(ukiki_seg5_texture_05009BC0), - define_builtin(ukiki_seg5_texture_0500A3C0), - define_builtin(unagi_seg5_texture_0500AF20), - define_builtin(unagi_seg5_texture_0500B720), - define_builtin(unagi_seg5_texture_0500B920), - define_builtin(unagi_seg5_texture_0500C120), - define_builtin(unagi_seg5_texture_0500C320), - define_builtin(unagi_seg5_texture_0500C3A0), - define_builtin(smoke_seg4_texture_0401DEA0), - define_builtin(smoke_seg4_texture_0401E6A0), - define_builtin(smoke_seg4_texture_0401EEA0), - define_builtin(smoke_seg4_texture_0401F6A0), - define_builtin(smoke_seg4_texture_0401FEA0), - define_builtin(smoke_seg4_texture_040206A0), - define_builtin(smoke_seg4_texture_04020EA0), - define_builtin(warp_pipe_seg3_texture_03007E40), - define_builtin(warp_pipe_seg3_texture_03009168), - define_builtin(water_bubble_seg5_texture_0500FE80), - define_builtin(water_mine_seg6_texture_0600A4F8), - define_builtin(water_mine_seg6_texture_0600B4F8), - define_builtin(water_mine_seg6_texture_0600C4F8), - define_builtin(water_ring_seg6_texture_06012380), - define_builtin(water_splash_seg4_texture_0402A5C8), - define_builtin(water_splash_seg4_texture_0402B5C8), - define_builtin(water_splash_seg4_texture_0402C5C8), - define_builtin(water_splash_seg4_texture_0402D5C8), - define_builtin(water_splash_seg4_texture_0402E5C8), - define_builtin(water_splash_seg4_texture_0402F5C8), - define_builtin(water_splash_seg4_texture_040305C8), - define_builtin(water_splash_seg4_texture_040315C8), - define_builtin(water_wave_seg4_texture_04025358), - define_builtin(water_wave_seg4_texture_04025B58), - define_builtin(water_wave_seg4_texture_04026358), - define_builtin(water_wave_seg4_texture_04026B58), - define_builtin(whirlpool_seg5_texture_05012848), - define_builtin(white_particle_texture), - define_builtin(white_particle_small_texture), - define_builtin(whomp_seg6_texture_0601C360), - define_builtin(whomp_seg6_texture_0601D360), - define_builtin(whomp_seg6_texture_0601E360), - define_builtin(whomp_seg6_texture_0601EB60), - define_builtin(wiggler_seg5_texture_05005A30), - define_builtin(wiggler_seg5_texture_05006A30), - define_builtin(wiggler_seg5_texture_05007A30), - define_builtin(wiggler_seg5_texture_05008230), - define_builtin(wiggler_seg5_texture_05008A30), - define_builtin(wiggler_seg5_texture_05009230), - define_builtin(wiggler_seg5_texture_0500A230), - define_builtin(wooden_signpost_seg3_texture_0302C9C8), - define_builtin(wooden_signpost_seg3_texture_0302D1C8), - define_builtin(yellow_sphere_seg6_texture_0601EB88), - define_builtin(yellow_sphere_seg5_texture_05000040), - define_builtin(yoshi_seg5_texture_0501C4A0), - define_builtin(yoshi_seg5_texture_0501C6A0), - define_builtin(yoshi_seg5_texture_0501C8A0), - define_builtin(yoshi_egg_seg5_texture_050057B8), - define_builtin(yoshi_egg_seg5_texture_05005FB8), - define_builtin(yoshi_egg_seg5_texture_050067B8), - define_builtin(yoshi_egg_seg5_texture_05006FB8), - define_builtin(yoshi_egg_seg5_texture_050077B8), - define_builtin(yoshi_egg_seg5_texture_05007FB8), - define_builtin(yoshi_egg_seg5_texture_050087B8), - define_builtin(yoshi_egg_seg5_texture_05008FB8), - define_builtin(bobomb_seg8_texture_0801DA60), - define_builtin(bobomb_seg8_texture_0801EA60), - define_builtin(bobomb_seg8_texture_0801FA60), - define_builtin(bobomb_seg8_texture_08020A60), - define_builtin(bobomb_seg8_texture_08021A60), - define_builtin(bobomb_seg8_texture_08022260), - // mario - define_builtin(mario_texture_metal), - define_builtin(mario_texture_yellow_button), - define_builtin(mario_texture_m_logo), - define_builtin(mario_texture_hair_sideburn), - define_builtin(mario_texture_mustache), - define_builtin(mario_texture_eyes_front), - define_builtin(mario_texture_eyes_half_closed), - define_builtin(mario_texture_eyes_closed), - define_builtin(mario_texture_eyes_closed_unused1), - define_builtin(mario_texture_eyes_closed_unused2), - define_builtin(mario_texture_eyes_right), - define_builtin(mario_texture_eyes_left), - define_builtin(mario_texture_eyes_up), - define_builtin(mario_texture_eyes_down), - define_builtin(mario_texture_eyes_dead), - define_builtin(mario_texture_wings_half_1), - define_builtin(mario_texture_wings_half_2), - define_builtin(mario_texture_metal_wings_half_1), - define_builtin(mario_texture_metal_wings_half_2), -}; - -const Texture* DynOS_Builtin_Tex_GetFromName(const char* aDataName) { - MGR_FIND_DATA(sDynosBuiltinTexs, (const Texture*)); -} - -const char* DynOS_Builtin_Tex_GetFromData(const Texture* aData) { - MGR_FIND_NAME(sDynosBuiltinTexs); -} - //////////////////// // Functions Ptrs // //////////////////// diff --git a/data/dynos_mgr_builtin_externs.h b/data/dynos_mgr_builtin_externs.h index b09fa912..620425db 100644 --- a/data/dynos_mgr_builtin_externs.h +++ b/data/dynos_mgr_builtin_externs.h @@ -1,4 +1,4 @@ -// actor textures +#include "include/types.h" extern ALIGNED8 const Texture amp_seg8_texture_08000F18[]; extern ALIGNED8 const Texture amp_seg8_texture_08001318[]; extern ALIGNED8 const Texture amp_seg8_texture_08001B18[]; @@ -432,29 +432,1225 @@ extern ALIGNED8 const Texture yoshi_egg_seg5_texture_050077B8[]; extern ALIGNED8 const Texture yoshi_egg_seg5_texture_05007FB8[]; extern ALIGNED8 const Texture yoshi_egg_seg5_texture_050087B8[]; extern ALIGNED8 const Texture yoshi_egg_seg5_texture_05008FB8[]; -extern ALIGNED8 const Texture custom_box_texture[]; -extern ALIGNED8 const Texture bobomb_seg8_texture_0801DA60[]; -extern ALIGNED8 const Texture bobomb_seg8_texture_0801EA60[]; -extern ALIGNED8 const Texture bobomb_seg8_texture_0801FA60[]; -extern ALIGNED8 const Texture bobomb_seg8_texture_08020A60[]; -extern ALIGNED8 const Texture bobomb_seg8_texture_08021A60[]; -extern ALIGNED8 const Texture bobomb_seg8_texture_08022260[]; -extern ALIGNED8 const u8 mario_texture_metal[]; -extern ALIGNED8 const u8 mario_texture_yellow_button[]; -extern ALIGNED8 const u8 mario_texture_m_logo[]; -extern ALIGNED8 const u8 mario_texture_hair_sideburn[]; -extern ALIGNED8 const u8 mario_texture_mustache[]; -extern ALIGNED8 const u8 mario_texture_eyes_front[]; -extern ALIGNED8 const u8 mario_texture_eyes_half_closed[]; -extern ALIGNED8 const u8 mario_texture_eyes_closed[]; -extern ALIGNED8 const u8 mario_texture_eyes_closed_unused1[]; -extern ALIGNED8 const u8 mario_texture_eyes_closed_unused2[]; -extern ALIGNED8 const u8 mario_texture_eyes_right[]; -extern ALIGNED8 const u8 mario_texture_eyes_left[]; -extern ALIGNED8 const u8 mario_texture_eyes_up[]; -extern ALIGNED8 const u8 mario_texture_eyes_down[]; -extern ALIGNED8 const u8 mario_texture_eyes_dead[]; -extern ALIGNED8 const u8 mario_texture_wings_half_1[]; -extern ALIGNED8 const u8 mario_texture_wings_half_2[]; -extern ALIGNED8 const u8 mario_texture_metal_wings_half_1[]; -extern ALIGNED8 const u8 mario_texture_metal_wings_half_2[]; +extern ALIGNED8 const Texture cave_09000000[]; +extern ALIGNED8 const Texture cave_09001000[]; +extern ALIGNED8 const Texture cave_09001800[]; +extern ALIGNED8 const Texture cave_09002800[]; +extern ALIGNED8 const Texture cave_09003000[]; +extern ALIGNED8 const Texture cave_09003800[]; +extern ALIGNED8 const Texture cave_09004800[]; +extern ALIGNED8 const Texture cave_09005800[]; +extern ALIGNED8 const Texture cave_09006800[]; +extern ALIGNED8 const Texture cave_09007000[]; +extern ALIGNED8 const Texture cave_09007800[]; +extern ALIGNED8 const Texture cave_09008800[]; +extern ALIGNED8 const Texture cave_09009800[]; +extern ALIGNED8 const Texture cave_0900A000[]; +extern ALIGNED8 const Texture cave_0900A800[]; +extern ALIGNED8 const Texture cave_0900B800[]; +extern ALIGNED8 const Texture cave_0900C000[]; +extern ALIGNED8 const Texture effect_0B000008[]; +extern ALIGNED8 const Texture effect_0B000808[]; +extern ALIGNED8 const Texture effect_0B001008[]; +extern ALIGNED8 const Texture effect_0B001808[]; +extern ALIGNED8 const Texture effect_0B002020[]; +extern ALIGNED8 const Texture effect_0B002820[]; +extern ALIGNED8 const Texture effect_0B003020[]; +extern ALIGNED8 const Texture effect_0B003820[]; +extern ALIGNED8 const Texture effect_0B004020[]; +extern ALIGNED8 const Texture effect_0B004820[]; +extern ALIGNED8 const Texture effect_0B005020[]; +extern ALIGNED8 const Texture effect_0B005820[]; +extern ALIGNED8 const Texture effect_0B006048[]; +extern ALIGNED8 const Texture effect_0B00684C[]; +extern ALIGNED8 const Texture effect_0B006AD8[]; +extern ALIGNED8 const Texture fire_09000000[]; +extern ALIGNED8 const Texture fire_09000800[]; +extern ALIGNED8 const Texture fire_09001000[]; +extern ALIGNED8 const Texture fire_09001800[]; +extern ALIGNED8 const Texture fire_09002000[]; +extern ALIGNED8 const Texture fire_09002800[]; +extern ALIGNED8 const Texture fire_09003000[]; +extern ALIGNED8 const Texture fire_09003800[]; +extern ALIGNED8 const Texture fire_09004000[]; +extern ALIGNED8 const Texture fire_09004800[]; +extern ALIGNED8 const Texture fire_09005000[]; +extern ALIGNED8 const Texture fire_09005800[]; +extern ALIGNED8 const Texture fire_09006000[]; +extern ALIGNED8 const Texture fire_09006800[]; +extern ALIGNED8 const Texture fire_09007000[]; +extern ALIGNED8 const Texture fire_09007800[]; +extern ALIGNED8 const Texture fire_09008000[]; +extern ALIGNED8 const Texture fire_09008800[]; +extern ALIGNED8 const Texture fire_09009000[]; +extern ALIGNED8 const Texture fire_09009800[]; +extern ALIGNED8 const Texture fire_0900A000[]; +extern ALIGNED8 const Texture fire_0900A800[]; +extern ALIGNED8 const Texture fire_0900B000[]; +extern ALIGNED8 const Texture fire_0900B800[]; +extern ALIGNED8 const Texture generic_09000000[]; +extern ALIGNED8 const Texture generic_09000800[]; +extern ALIGNED8 const Texture generic_09001000[]; +extern ALIGNED8 const Texture generic_09001800[]; +extern ALIGNED8 const Texture generic_09002000[]; +extern ALIGNED8 const Texture generic_09002800[]; +extern ALIGNED8 const Texture generic_09003000[]; +extern ALIGNED8 const Texture generic_09003800[]; +extern ALIGNED8 const Texture generic_09004000[]; +extern ALIGNED8 const Texture generic_09004800[]; +extern ALIGNED8 const Texture generic_09005000[]; +extern ALIGNED8 const Texture generic_09005800[]; +extern ALIGNED8 const Texture generic_09006000[]; +extern ALIGNED8 const Texture generic_09007000[]; +extern ALIGNED8 const Texture generic_09007800[]; +extern ALIGNED8 const Texture generic_09008000[]; +extern ALIGNED8 const Texture generic_09008800[]; +extern ALIGNED8 const Texture generic_09009000[]; +extern ALIGNED8 const Texture generic_09009800[]; +extern ALIGNED8 const Texture generic_0900A000[]; +extern ALIGNED8 const Texture generic_0900A800[]; +extern ALIGNED8 const Texture generic_0900B000[]; +extern ALIGNED8 const Texture grass_09000000[]; +extern ALIGNED8 const Texture grass_09000800[]; +extern ALIGNED8 const Texture grass_09001000[]; +extern ALIGNED8 const Texture grass_09001800[]; +extern ALIGNED8 const Texture grass_09002000[]; +extern ALIGNED8 const Texture grass_09002800[]; +extern ALIGNED8 const Texture grass_09003000[]; +extern ALIGNED8 const Texture grass_09003800[]; +extern ALIGNED8 const Texture grass_09004000[]; +extern ALIGNED8 const Texture grass_09004800[]; +extern ALIGNED8 const Texture grass_09005000[]; +extern ALIGNED8 const Texture grass_09005800[]; +extern ALIGNED8 const Texture grass_09006000[]; +extern ALIGNED8 const Texture grass_09006800[]; +extern ALIGNED8 const Texture grass_09007000[]; +extern ALIGNED8 const Texture grass_09007800[]; +extern ALIGNED8 const Texture grass_09008000[]; +extern ALIGNED8 const Texture grass_09008800[]; +extern ALIGNED8 const Texture grass_09009000[]; +extern ALIGNED8 const Texture grass_09009800[]; +extern ALIGNED8 const Texture grass_0900A000[]; +extern ALIGNED8 const Texture grass_0900A800[]; +extern ALIGNED8 const Texture grass_0900B000[]; +extern ALIGNED8 const Texture grass_0900B800[]; +extern ALIGNED8 const Texture inside_09000000[]; +extern ALIGNED8 const Texture inside_09001000[]; +extern ALIGNED8 const Texture inside_09002000[]; +extern ALIGNED8 const Texture inside_09003000[]; +extern ALIGNED8 const Texture inside_09003800[]; +extern ALIGNED8 const Texture inside_09004000[]; +extern ALIGNED8 const Texture inside_09004800[]; +extern ALIGNED8 const Texture inside_09005000[]; +extern ALIGNED8 const Texture inside_09005800[]; +extern ALIGNED8 const Texture inside_09006000[]; +extern ALIGNED8 const Texture inside_09007000[]; +extern ALIGNED8 const Texture inside_09008000[]; +extern ALIGNED8 const Texture inside_09008800[]; +extern ALIGNED8 const Texture inside_09009000[]; +extern ALIGNED8 const Texture inside_0900A000[]; +extern ALIGNED8 const Texture inside_0900B000[]; +extern ALIGNED8 const Texture inside_0900B800[]; +extern ALIGNED8 const Texture machine_09000000[]; +extern ALIGNED8 const Texture machine_09000800[]; +extern ALIGNED8 const Texture machine_09001000[]; +extern ALIGNED8 const Texture machine_09001800[]; +extern ALIGNED8 const Texture machine_09002000[]; +extern ALIGNED8 const Texture machine_09002800[]; +extern ALIGNED8 const Texture machine_09003000[]; +extern ALIGNED8 const Texture machine_09003800[]; +extern ALIGNED8 const Texture machine_09004000[]; +extern ALIGNED8 const Texture machine_09005000[]; +extern ALIGNED8 const Texture machine_09005800[]; +extern ALIGNED8 const Texture machine_09006000[]; +extern ALIGNED8 const Texture machine_09006800[]; +extern ALIGNED8 const Texture machine_09007000[]; +extern ALIGNED8 const Texture machine_09007800[]; +extern ALIGNED8 const Texture machine_09008000[]; +extern ALIGNED8 const Texture machine_09008400[]; +extern ALIGNED8 const Texture mountain_09000000[]; +extern ALIGNED8 const Texture mountain_09000800[]; +extern ALIGNED8 const Texture mountain_09001800[]; +extern ALIGNED8 const Texture mountain_09002800[]; +extern ALIGNED8 const Texture mountain_09003000[]; +extern ALIGNED8 const Texture mountain_09003800[]; +extern ALIGNED8 const Texture mountain_09004000[]; +extern ALIGNED8 const Texture mountain_09004800[]; +extern ALIGNED8 const Texture mountain_09005000[]; +extern ALIGNED8 const Texture mountain_09005800[]; +extern ALIGNED8 const Texture mountain_09006800[]; +extern ALIGNED8 const Texture mountain_09007000[]; +extern ALIGNED8 const Texture mountain_09007800[]; +extern ALIGNED8 const Texture mountain_09008000[]; +extern ALIGNED8 const Texture mountain_09008800[]; +extern ALIGNED8 const Texture mountain_09009800[]; +extern ALIGNED8 const Texture mountain_0900A000[]; +extern ALIGNED8 const Texture mountain_0900A800[]; +extern ALIGNED8 const Texture mountain_0900B000[]; +extern ALIGNED8 const Texture mountain_0900B800[]; +extern ALIGNED8 const Texture mountain_0900C000[]; +extern ALIGNED8 const Texture outside_09000000[]; +extern ALIGNED8 const Texture outside_09000800[]; +extern ALIGNED8 const Texture outside_09001000[]; +extern ALIGNED8 const Texture outside_09002000[]; +extern ALIGNED8 const Texture outside_09003000[]; +extern ALIGNED8 const Texture outside_09003800[]; +extern ALIGNED8 const Texture outside_09004000[]; +extern ALIGNED8 const Texture outside_09004800[]; +extern ALIGNED8 const Texture outside_09005800[]; +extern ALIGNED8 const Texture outside_09006000[]; +extern ALIGNED8 const Texture outside_09006800[]; +extern ALIGNED8 const Texture outside_09007800[]; +extern ALIGNED8 const Texture outside_09008000[]; +extern ALIGNED8 const Texture outside_09008800[]; +extern ALIGNED8 const Texture outside_09009000[]; +extern ALIGNED8 const Texture outside_09009800[]; +extern ALIGNED8 const Texture outside_0900A000[]; +extern ALIGNED8 const Texture outside_0900A800[]; +extern ALIGNED8 const Texture outside_0900B000[]; +extern ALIGNED8 const Texture outside_0900B400[]; +extern ALIGNED8 const Texture outside_0900BC00[]; +extern ALIGNED8 const Texture texture_hud_char_0[]; +extern ALIGNED8 const Texture texture_hud_char_1[]; +extern ALIGNED8 const Texture texture_hud_char_2[]; +extern ALIGNED8 const Texture texture_hud_char_3[]; +extern ALIGNED8 const Texture texture_hud_char_4[]; +extern ALIGNED8 const Texture texture_hud_char_5[]; +extern ALIGNED8 const Texture texture_hud_char_6[]; +extern ALIGNED8 const Texture texture_hud_char_7[]; +extern ALIGNED8 const Texture texture_hud_char_8[]; +extern ALIGNED8 const Texture texture_hud_char_9[]; +extern ALIGNED8 const Texture texture_hud_char_A[]; +extern ALIGNED8 const Texture texture_hud_char_B[]; +extern ALIGNED8 const Texture texture_hud_char_C[]; +extern ALIGNED8 const Texture texture_hud_char_D[]; +extern ALIGNED8 const Texture texture_hud_char_E[]; +extern ALIGNED8 const Texture texture_hud_char_F[]; +extern ALIGNED8 const Texture texture_hud_char_G[]; +extern ALIGNED8 const Texture texture_hud_char_H[]; +extern ALIGNED8 const Texture texture_hud_char_I[]; +extern ALIGNED8 const Texture texture_hud_char_J[]; +extern ALIGNED8 const Texture texture_hud_char_K[]; +extern ALIGNED8 const Texture texture_hud_char_L[]; +extern ALIGNED8 const Texture texture_hud_char_M[]; +extern ALIGNED8 const Texture texture_hud_char_N[]; +extern ALIGNED8 const Texture texture_hud_char_O[]; +extern ALIGNED8 const Texture texture_hud_char_P[]; +extern ALIGNED8 const Texture texture_hud_char_Q[]; +extern ALIGNED8 const Texture texture_hud_char_R[]; +extern ALIGNED8 const Texture texture_hud_char_S[]; +extern ALIGNED8 const Texture texture_hud_char_T[]; +extern ALIGNED8 const Texture texture_hud_char_U[]; +extern ALIGNED8 const Texture texture_hud_char_V[]; +extern ALIGNED8 const Texture texture_hud_char_W[]; +extern ALIGNED8 const Texture texture_hud_char_X[]; +extern ALIGNED8 const Texture texture_hud_char_Y[]; +extern ALIGNED8 const Texture texture_hud_char_Z[]; +extern ALIGNED8 const Texture texture_hud_char_apostrophe[]; +extern ALIGNED8 const Texture texture_hud_char_double_quote[]; +extern ALIGNED8 const Texture texture_hud_char_umlaut[]; +extern ALIGNED8 const Texture texture_hud_char_exclamation[]; +extern ALIGNED8 const Texture texture_hud_char_double_exclamation[]; +extern ALIGNED8 const Texture texture_hud_char_question[]; +extern ALIGNED8 const Texture texture_hud_char_ampersand[]; +extern ALIGNED8 const Texture texture_hud_char_percent[]; +extern ALIGNED8 const Texture texture_hud_char_multiply[]; +extern ALIGNED8 const Texture texture_hud_char_coin[]; +extern ALIGNED8 const Texture texture_hud_char_mario_head[]; +extern ALIGNED8 const Texture texture_hud_char_luigi_head[]; +extern ALIGNED8 const Texture texture_hud_char_toad_head[]; +extern ALIGNED8 const Texture texture_hud_char_waluigi_head[]; +extern ALIGNED8 const Texture texture_hud_char_wario_head[]; +extern ALIGNED8 const Texture texture_hud_char_star[]; +extern ALIGNED8 const Texture texture_hud_char_decimal_point[]; +extern ALIGNED8 const Texture texture_hud_char_beta_key[]; +extern ALIGNED8 const Texture texture_credits_char_3[]; +extern ALIGNED8 const Texture texture_credits_char_4[]; +extern ALIGNED8 const Texture texture_credits_char_6[]; +extern ALIGNED8 const Texture texture_credits_char_A[]; +extern ALIGNED8 const Texture texture_credits_char_B[]; +extern ALIGNED8 const Texture texture_credits_char_C[]; +extern ALIGNED8 const Texture texture_credits_char_D[]; +extern ALIGNED8 const Texture texture_credits_char_E[]; +extern ALIGNED8 const Texture texture_credits_char_F[]; +extern ALIGNED8 const Texture texture_credits_char_G[]; +extern ALIGNED8 const Texture texture_credits_char_H[]; +extern ALIGNED8 const Texture texture_credits_char_I[]; +extern ALIGNED8 const Texture texture_credits_char_J[]; +extern ALIGNED8 const Texture texture_credits_char_K[]; +extern ALIGNED8 const Texture texture_credits_char_L[]; +extern ALIGNED8 const Texture texture_credits_char_M[]; +extern ALIGNED8 const Texture texture_credits_char_N[]; +extern ALIGNED8 const Texture texture_credits_char_O[]; +extern ALIGNED8 const Texture texture_credits_char_P[]; +extern ALIGNED8 const Texture texture_credits_char_Q[]; +extern ALIGNED8 const Texture texture_credits_char_R[]; +extern ALIGNED8 const Texture texture_credits_char_S[]; +extern ALIGNED8 const Texture texture_credits_char_T[]; +extern ALIGNED8 const Texture texture_credits_char_U[]; +extern ALIGNED8 const Texture texture_credits_char_V[]; +extern ALIGNED8 const Texture texture_credits_char_W[]; +extern ALIGNED8 const Texture texture_credits_char_X[]; +extern ALIGNED8 const Texture texture_credits_char_Y[]; +extern ALIGNED8 const Texture texture_credits_char_Z[]; +extern ALIGNED8 const Texture texture_credits_char_period[]; +extern ALIGNED8 const Texture texture_font_char_jp_0[]; +extern ALIGNED8 const Texture texture_font_char_jp_1[]; +extern ALIGNED8 const Texture texture_font_char_jp_2[]; +extern ALIGNED8 const Texture texture_font_char_jp_3[]; +extern ALIGNED8 const Texture texture_font_char_jp_4[]; +extern ALIGNED8 const Texture texture_font_char_jp_5[]; +extern ALIGNED8 const Texture texture_font_char_jp_6[]; +extern ALIGNED8 const Texture texture_font_char_jp_7[]; +extern ALIGNED8 const Texture texture_font_char_jp_8[]; +extern ALIGNED8 const Texture texture_font_char_jp_9[]; +extern ALIGNED8 const Texture texture_font_char_jp_A[]; +extern ALIGNED8 const Texture texture_font_char_jp_B[]; +extern ALIGNED8 const Texture texture_font_char_jp_C[]; +extern ALIGNED8 const Texture texture_font_char_jp_D[]; +extern ALIGNED8 const Texture texture_font_char_jp_E[]; +extern ALIGNED8 const Texture texture_font_char_jp_F[]; +extern ALIGNED8 const Texture texture_font_char_jp_G[]; +extern ALIGNED8 const Texture texture_font_char_jp_H[]; +extern ALIGNED8 const Texture texture_font_char_jp_I[]; +extern ALIGNED8 const Texture texture_font_char_jp_J[]; +extern ALIGNED8 const Texture texture_font_char_jp_K[]; +extern ALIGNED8 const Texture texture_font_char_jp_L[]; +extern ALIGNED8 const Texture texture_font_char_jp_M[]; +extern ALIGNED8 const Texture texture_font_char_jp_N[]; +extern ALIGNED8 const Texture texture_font_char_jp_O[]; +extern ALIGNED8 const Texture texture_font_char_jp_P[]; +extern ALIGNED8 const Texture texture_font_char_jp_Q[]; +extern ALIGNED8 const Texture texture_font_char_jp_R[]; +extern ALIGNED8 const Texture texture_font_char_jp_S[]; +extern ALIGNED8 const Texture texture_font_char_jp_T[]; +extern ALIGNED8 const Texture texture_font_char_jp_U[]; +extern ALIGNED8 const Texture texture_font_char_jp_V[]; +extern ALIGNED8 const Texture texture_font_char_jp_W[]; +extern ALIGNED8 const Texture texture_font_char_jp_X[]; +extern ALIGNED8 const Texture texture_font_char_jp_Y[]; +extern ALIGNED8 const Texture texture_font_char_jp_Z[]; +extern ALIGNED8 const Texture texture_font_char_jp_long_vowel[]; +extern ALIGNED8 const Texture texture_font_char_jp_exclamation[]; +extern ALIGNED8 const Texture texture_font_char_jp_dakuten[]; +extern ALIGNED8 const Texture texture_font_char_jp_handakuten[]; +extern ALIGNED8 const Texture texture_font_char_jp_percent[]; +extern ALIGNED8 const Texture texture_font_char_jp_question[]; +extern ALIGNED8 const Texture texture_font_char_jp_left_right_arrow[]; +extern ALIGNED8 const Texture texture_font_char_jp_open_parentheses[]; +extern ALIGNED8 const Texture texture_font_char_jp_close_open_parentheses[]; +extern ALIGNED8 const Texture texture_font_char_jp_close_parentheses[]; +extern ALIGNED8 const Texture texture_font_char_jp_coin[]; +extern ALIGNED8 const Texture texture_font_char_jp_multiply[]; +extern ALIGNED8 const Texture texture_font_char_jp_star_filled[]; +extern ALIGNED8 const Texture texture_font_char_jp_star_hollow[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_a[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_i[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_u[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_c[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_o[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ka[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ki[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ku[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ke[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ko[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_sa[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_shi[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_su[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_se[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_so[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ta[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_chi[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_tsu[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_te[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_to[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_na[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ni[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_nu[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ne[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_no[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ha[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_hi[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_hu[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_he[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ho[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ma[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_mi[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_mu[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_me[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_mo[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ya[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_yu[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_yo[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ra[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ri[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ru[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_re[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_ro[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_wa[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_wo[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_n[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_small_e[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_small_tsu[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_small_ya[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_small_yu[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_small_yo[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_small_a[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_small_i[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_small_o[]; +extern ALIGNED8 const Texture texture_font_char_jp_hiragana_small_u[]; +extern ALIGNED8 const Texture texture_font_char_jp_interpunct[]; +extern ALIGNED8 const Texture texture_font_char_jp_comma[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_a[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_i[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_u[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_e[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_o[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ka[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ki[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ku[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ke[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ko[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_sa[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_shi[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_su[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_se[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_so[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ta[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_chi[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_tsu[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_te[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_to[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_na[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ni[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_nu[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ne[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_no[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ha[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_hi[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_hu[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_he[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ho[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ma[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_mi[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_mu[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_me[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_mo[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ya[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_yu[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_yo[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ra[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ri[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ru[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_re[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_ro[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_wa[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_n[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_small_e[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_small_tsu[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_small_ya[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_small_yu[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_small_yo[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_small_a[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_small_i[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_small_u[]; +extern ALIGNED8 const Texture texture_font_char_jp_katakana_small_o[]; +extern ALIGNED8 const Texture texture_font_char_jp_double_quotation_open[]; +extern ALIGNED8 const Texture texture_font_char_jp_double_quotation_close[]; +extern ALIGNED8 const Texture texture_font_char_jp_wave_dash[]; +extern ALIGNED8 const Texture texture_font_char_jp_ellipsis[]; +extern ALIGNED8 const Texture texture_font_char_eu_0[]; +extern ALIGNED8 const Texture texture_font_char_eu_1[]; +extern ALIGNED8 const Texture texture_font_char_eu_2[]; +extern ALIGNED8 const Texture texture_font_char_eu_3[]; +extern ALIGNED8 const Texture texture_font_char_eu_4[]; +extern ALIGNED8 const Texture texture_font_char_eu_5[]; +extern ALIGNED8 const Texture texture_font_char_eu_6[]; +extern ALIGNED8 const Texture texture_font_char_eu_7[]; +extern ALIGNED8 const Texture texture_font_char_eu_8[]; +extern ALIGNED8 const Texture texture_font_char_eu_9[]; +extern ALIGNED8 const Texture texture_font_char_eu_A[]; +extern ALIGNED8 const Texture texture_font_char_eu_B[]; +extern ALIGNED8 const Texture texture_font_char_eu_C[]; +extern ALIGNED8 const Texture texture_font_char_eu_D[]; +extern ALIGNED8 const Texture texture_font_char_eu_E[]; +extern ALIGNED8 const Texture texture_font_char_eu_F[]; +extern ALIGNED8 const Texture texture_font_char_eu_G[]; +extern ALIGNED8 const Texture texture_font_char_eu_H[]; +extern ALIGNED8 const Texture texture_font_char_eu_I[]; +extern ALIGNED8 const Texture texture_font_char_eu_J[]; +extern ALIGNED8 const Texture texture_font_char_eu_K[]; +extern ALIGNED8 const Texture texture_font_char_eu_L[]; +extern ALIGNED8 const Texture texture_font_char_eu_M[]; +extern ALIGNED8 const Texture texture_font_char_eu_N[]; +extern ALIGNED8 const Texture texture_font_char_eu_O[]; +extern ALIGNED8 const Texture texture_font_char_eu_P[]; +extern ALIGNED8 const Texture texture_font_char_eu_Q[]; +extern ALIGNED8 const Texture texture_font_char_eu_R[]; +extern ALIGNED8 const Texture texture_font_char_eu_S[]; +extern ALIGNED8 const Texture texture_font_char_eu_T[]; +extern ALIGNED8 const Texture texture_font_char_eu_U[]; +extern ALIGNED8 const Texture texture_font_char_eu_V[]; +extern ALIGNED8 const Texture texture_font_char_eu_W[]; +extern ALIGNED8 const Texture texture_font_char_eu_X[]; +extern ALIGNED8 const Texture texture_font_char_eu_Y[]; +extern ALIGNED8 const Texture texture_font_char_eu_Z[]; +extern ALIGNED8 const Texture texture_font_char_eu_a[]; +extern ALIGNED8 const Texture texture_font_char_eu_b[]; +extern ALIGNED8 const Texture texture_font_char_eu_c[]; +extern ALIGNED8 const Texture texture_font_char_eu_d[]; +extern ALIGNED8 const Texture texture_font_char_eu_e[]; +extern ALIGNED8 const Texture texture_font_char_eu_f[]; +extern ALIGNED8 const Texture texture_font_char_eu_g[]; +extern ALIGNED8 const Texture texture_font_char_eu_h[]; +extern ALIGNED8 const Texture texture_font_char_eu_i[]; +extern ALIGNED8 const Texture texture_font_char_eu_j[]; +extern ALIGNED8 const Texture texture_font_char_eu_k[]; +extern ALIGNED8 const Texture texture_font_char_eu_l[]; +extern ALIGNED8 const Texture texture_font_char_eu_m[]; +extern ALIGNED8 const Texture texture_font_char_eu_n[]; +extern ALIGNED8 const Texture texture_font_char_eu_o[]; +extern ALIGNED8 const Texture texture_font_char_eu_p[]; +extern ALIGNED8 const Texture texture_font_char_eu_q[]; +extern ALIGNED8 const Texture texture_font_char_eu_r[]; +extern ALIGNED8 const Texture texture_font_char_eu_s[]; +extern ALIGNED8 const Texture texture_font_char_eu_t[]; +extern ALIGNED8 const Texture texture_font_char_eu_u[]; +extern ALIGNED8 const Texture texture_font_char_eu_v[]; +extern ALIGNED8 const Texture texture_font_char_eu_w[]; +extern ALIGNED8 const Texture texture_font_char_eu_x[]; +extern ALIGNED8 const Texture texture_font_char_eu_y[]; +extern ALIGNED8 const Texture texture_font_char_eu_z[]; +extern ALIGNED8 const Texture texture_font_char_eu_left_right_arrow[]; +extern ALIGNED8 const Texture texture_font_char_eu_ampersand[]; +extern ALIGNED8 const Texture texture_font_char_eu_exclamation[]; +extern ALIGNED8 const Texture texture_font_char_eu_coin[]; +extern ALIGNED8 const Texture texture_font_char_eu_multiply[]; +extern ALIGNED8 const Texture texture_font_char_eu_open_parentheses[]; +extern ALIGNED8 const Texture texture_font_char_eu_close_open_parentheses[]; +extern ALIGNED8 const Texture texture_font_char_eu_close_parentheses[]; +extern ALIGNED8 const Texture texture_font_char_eu_tilde[]; +extern ALIGNED8 const Texture texture_font_char_eu_period[]; +extern ALIGNED8 const Texture texture_font_char_eu_percent[]; +extern ALIGNED8 const Texture texture_font_char_eu_interpunct[]; +extern ALIGNED8 const Texture texture_font_char_eu_comma[]; +extern ALIGNED8 const Texture texture_font_char_eu_apostrophe[]; +extern ALIGNED8 const Texture texture_font_char_eu_question[]; +extern ALIGNED8 const Texture texture_font_char_eu_star_filled[]; +extern ALIGNED8 const Texture texture_font_char_eu_star_hollow[]; +extern ALIGNED8 const Texture texture_font_char_eu_double_quote_open[]; +extern ALIGNED8 const Texture texture_font_char_eu_double_quote_close[]; +extern ALIGNED8 const Texture texture_font_char_eu_colon[]; +extern ALIGNED8 const Texture texture_font_char_EU_slash[]; +extern ALIGNED8 const Texture texture_font_char_eu_button_A[]; +extern ALIGNED8 const Texture texture_font_char_eu_button_B[]; +extern ALIGNED8 const Texture texture_font_char_eu_button_C[]; +extern ALIGNED8 const Texture texture_font_char_eu_button_Z[]; +extern ALIGNED8 const Texture texture_font_char_eu_button_R[]; +extern ALIGNED8 const Texture texture_font_char_eu_button_C_up[]; +extern ALIGNED8 const Texture texture_font_char_eu_button_C_down[]; +extern ALIGNED8 const Texture texture_font_char_eu_button_C_left[]; +extern ALIGNED8 const Texture texture_font_char_eu_button_C_right[]; +extern ALIGNED8 const Texture texture_font_char_eu_umlaut[]; +extern ALIGNED8 const Texture texture_font_char_eu_circumflex[]; +extern ALIGNED8 const Texture texture_font_char_eu_grave[]; +extern ALIGNED8 const Texture texture_font_char_eu_acute[]; +extern ALIGNED8 const Texture texture_font_char_eu_cedilla[]; +extern ALIGNED8 const Texture texture_font_char_eu_unknown[]; +extern ALIGNED8 const Texture texture_font_char_eu_Cedilla[]; +extern ALIGNED8 const Texture texture_font_char_eu_eszeet[]; +extern ALIGNED8 const Texture texture_font_char_us_0[]; +extern ALIGNED8 const Texture texture_font_char_us_1[]; +extern ALIGNED8 const Texture texture_font_char_us_2[]; +extern ALIGNED8 const Texture texture_font_char_us_3[]; +extern ALIGNED8 const Texture texture_font_char_us_4[]; +extern ALIGNED8 const Texture texture_font_char_us_5[]; +extern ALIGNED8 const Texture texture_font_char_us_6[]; +extern ALIGNED8 const Texture texture_font_char_us_7[]; +extern ALIGNED8 const Texture texture_font_char_us_8[]; +extern ALIGNED8 const Texture texture_font_char_us_9[]; +extern ALIGNED8 const Texture texture_font_char_us_A[]; +extern ALIGNED8 const Texture texture_font_char_us_B[]; +extern ALIGNED8 const Texture texture_font_char_us_C[]; +extern ALIGNED8 const Texture texture_font_char_us_D[]; +extern ALIGNED8 const Texture texture_font_char_us_E[]; +extern ALIGNED8 const Texture texture_font_char_us_F[]; +extern ALIGNED8 const Texture texture_font_char_us_G[]; +extern ALIGNED8 const Texture texture_font_char_us_H[]; +extern ALIGNED8 const Texture texture_font_char_us_I[]; +extern ALIGNED8 const Texture texture_font_char_us_J[]; +extern ALIGNED8 const Texture texture_font_char_us_K[]; +extern ALIGNED8 const Texture texture_font_char_us_L[]; +extern ALIGNED8 const Texture texture_font_char_us_M[]; +extern ALIGNED8 const Texture texture_font_char_us_N[]; +extern ALIGNED8 const Texture texture_font_char_us_O[]; +extern ALIGNED8 const Texture texture_font_char_us_P[]; +extern ALIGNED8 const Texture texture_font_char_us_Q[]; +extern ALIGNED8 const Texture texture_font_char_us_R[]; +extern ALIGNED8 const Texture texture_font_char_us_S[]; +extern ALIGNED8 const Texture texture_font_char_us_T[]; +extern ALIGNED8 const Texture texture_font_char_us_U[]; +extern ALIGNED8 const Texture texture_font_char_us_V[]; +extern ALIGNED8 const Texture texture_font_char_us_W[]; +extern ALIGNED8 const Texture texture_font_char_us_X[]; +extern ALIGNED8 const Texture texture_font_char_us_Y[]; +extern ALIGNED8 const Texture texture_font_char_us_Z[]; +extern ALIGNED8 const Texture texture_font_char_us_a[]; +extern ALIGNED8 const Texture texture_font_char_us_b[]; +extern ALIGNED8 const Texture texture_font_char_us_c[]; +extern ALIGNED8 const Texture texture_font_char_us_d[]; +extern ALIGNED8 const Texture texture_font_char_us_e[]; +extern ALIGNED8 const Texture texture_font_char_us_f[]; +extern ALIGNED8 const Texture texture_font_char_us_g[]; +extern ALIGNED8 const Texture texture_font_char_us_h[]; +extern ALIGNED8 const Texture texture_font_char_us_i[]; +extern ALIGNED8 const Texture texture_font_char_us_j[]; +extern ALIGNED8 const Texture texture_font_char_us_k[]; +extern ALIGNED8 const Texture texture_font_char_us_l[]; +extern ALIGNED8 const Texture texture_font_char_us_m[]; +extern ALIGNED8 const Texture texture_font_char_us_n[]; +extern ALIGNED8 const Texture texture_font_char_us_o[]; +extern ALIGNED8 const Texture texture_font_char_us_p[]; +extern ALIGNED8 const Texture texture_font_char_us_q[]; +extern ALIGNED8 const Texture texture_font_char_us_r[]; +extern ALIGNED8 const Texture texture_font_char_us_s[]; +extern ALIGNED8 const Texture texture_font_char_us_t[]; +extern ALIGNED8 const Texture texture_font_char_us_u[]; +extern ALIGNED8 const Texture texture_font_char_us_v[]; +extern ALIGNED8 const Texture texture_font_char_us_w[]; +extern ALIGNED8 const Texture texture_font_char_us_x[]; +extern ALIGNED8 const Texture texture_font_char_us_y[]; +extern ALIGNED8 const Texture texture_font_char_us_z[]; +extern ALIGNED8 const Texture texture_font_char_us_left_right_arrow[]; +extern ALIGNED8 const Texture texture_font_char_us_exclamation[]; +extern ALIGNED8 const Texture texture_font_char_us_coin[]; +extern ALIGNED8 const Texture texture_font_char_us_multiply[]; +extern ALIGNED8 const Texture texture_font_char_us_open_parentheses[]; +extern ALIGNED8 const Texture texture_font_char_us_close_open_parentheses[]; +extern ALIGNED8 const Texture texture_font_char_us_close_parentheses[]; +extern ALIGNED8 const Texture texture_font_char_us_tilde[]; +extern ALIGNED8 const Texture texture_font_char_us_period[]; +extern ALIGNED8 const Texture texture_font_char_us_percent[]; +extern ALIGNED8 const Texture texture_font_char_us_interpunct[]; +extern ALIGNED8 const Texture texture_font_char_us_comma[]; +extern ALIGNED8 const Texture texture_font_char_us_apostrophe[]; +extern ALIGNED8 const Texture texture_font_char_us_question[]; +extern ALIGNED8 const Texture texture_font_char_us_star_filled[]; +extern ALIGNED8 const Texture texture_font_char_us_star_hollow[]; +extern ALIGNED8 const Texture texture_font_char_us_double_quote_open[]; +extern ALIGNED8 const Texture texture_font_char_us_double_quote_close[]; +extern ALIGNED8 const Texture texture_font_char_us_ellipsis[]; +extern ALIGNED8 const Texture texture_font_char_us_slash[]; +extern ALIGNED8 const Texture texture_font_char_us_ampersand[]; +extern ALIGNED8 const Texture texture_font_char_us_button_A[]; +extern ALIGNED8 const Texture texture_font_char_us_button_B[]; +extern ALIGNED8 const Texture texture_font_char_us_button_C[]; +extern ALIGNED8 const Texture texture_font_char_us_button_Z[]; +extern ALIGNED8 const Texture texture_font_char_us_button_R[]; +extern ALIGNED8 const Texture texture_font_char_us_button_C_up[]; +extern ALIGNED8 const Texture texture_font_char_us_button_C_down[]; +extern ALIGNED8 const Texture texture_font_char_us_button_C_left[]; +extern ALIGNED8 const Texture texture_font_char_us_button_C_right[]; +extern ALIGNED8 const Texture texture_hud_char_camera[]; +extern ALIGNED8 const Texture texture_hud_char_lakitu[]; +extern ALIGNED8 const Texture texture_hud_char_no_camera[]; +extern ALIGNED8 const Texture texture_hud_char_arrow_up[]; +extern ALIGNED8 const Texture texture_hud_char_arrow_down[]; +extern ALIGNED8 const Texture texture_shadow_quarter_circle[]; +extern ALIGNED8 const Texture texture_shadow_quarter_square[]; +extern ALIGNED8 const Texture texture_shadow_spike_ext[]; +extern Texture texture_transition_star_half[]; +extern Texture texture_transition_circle_half[]; +extern Texture texture_transition_mario[]; +extern Texture texture_transition_bowser_half[]; +extern Texture texture_waterbox_water[]; +extern Texture texture_waterbox_jrb_water[]; +extern Texture texture_waterbox_unknown_water[]; +extern Texture texture_waterbox_mist[]; +extern Texture texture_waterbox_lava[]; +extern ALIGNED8 const Texture texture_ia8_up_arrow[]; +extern ALIGNED8 const Texture sky_09000000[]; +extern ALIGNED8 const Texture sky_09000800[]; +extern ALIGNED8 const Texture sky_09001000[]; +extern ALIGNED8 const Texture sky_09001800[]; +extern ALIGNED8 const Texture sky_09002000[]; +extern ALIGNED8 const Texture sky_09003000[]; +extern ALIGNED8 const Texture sky_09003800[]; +extern ALIGNED8 const Texture sky_09004800[]; +extern ALIGNED8 const Texture sky_09005000[]; +extern ALIGNED8 const Texture sky_09005800[]; +extern ALIGNED8 const Texture sky_09006000[]; +extern ALIGNED8 const Texture texture_metal_hole[]; +extern ALIGNED8 const Texture sky_09007000[]; +extern ALIGNED8 const Texture sky_09007800[]; +extern ALIGNED8 const Texture sky_09008000[]; +extern ALIGNED8 const Texture snow_09000000[]; +extern ALIGNED8 const Texture snow_09000800[]; +extern ALIGNED8 const Texture snow_09001000[]; +extern ALIGNED8 const Texture snow_09002000[]; +extern ALIGNED8 const Texture snow_09002800[]; +extern ALIGNED8 const Texture snow_09003000[]; +extern ALIGNED8 const Texture snow_09003800[]; +extern ALIGNED8 const Texture snow_09004000[]; +extern ALIGNED8 const Texture snow_09004800[]; +extern ALIGNED8 const Texture snow_09005000[]; +extern ALIGNED8 const Texture snow_09005800[]; +extern ALIGNED8 const Texture snow_09006000[]; +extern ALIGNED8 const Texture snow_09006800[]; +extern ALIGNED8 const Texture snow_09007000[]; +extern ALIGNED8 const Texture snow_09008000[]; +extern ALIGNED8 const Texture snow_09008800[]; +extern ALIGNED8 const Texture snow_09009000[]; +extern ALIGNED8 const Texture snow_09009800[]; +extern ALIGNED8 const Texture spooky_09000000[]; +extern ALIGNED8 const Texture spooky_09000800[]; +extern ALIGNED8 const Texture spooky_09001800[]; +extern ALIGNED8 const Texture spooky_09002800[]; +extern ALIGNED8 const Texture spooky_09003800[]; +extern ALIGNED8 const Texture spooky_09004800[]; +extern ALIGNED8 const Texture spooky_09005000[]; +extern ALIGNED8 const Texture spooky_09006000[]; +extern ALIGNED8 const Texture spooky_09006800[]; +extern ALIGNED8 const Texture spooky_09007000[]; +extern ALIGNED8 const Texture spooky_09008000[]; +extern ALIGNED8 const Texture spooky_09008800[]; +extern ALIGNED8 const Texture spooky_09009000[]; +extern ALIGNED8 const Texture spooky_0900A000[]; +extern ALIGNED8 const Texture spooky_0900A800[]; +extern ALIGNED8 const Texture spooky_0900B000[]; +extern ALIGNED8 const Texture spooky_0900B800[]; +extern ALIGNED8 const Texture title_texture_0A0001C0[]; +extern ALIGNED8 const Texture title_texture_0A000E40[]; +extern ALIGNED8 const Texture title_texture_0A001AC0[]; +extern ALIGNED8 const Texture title_texture_0A002740[]; +extern ALIGNED8 const Texture title_texture_0A0033C0[]; +extern ALIGNED8 const Texture title_texture_0A004040[]; +extern ALIGNED8 const Texture title_texture_0A004CC0[]; +extern ALIGNED8 const Texture title_texture_0A005940[]; +extern ALIGNED8 const Texture water_09000000[]; +extern ALIGNED8 const Texture water_09000800[]; +extern ALIGNED8 const Texture water_09001800[]; +extern ALIGNED8 const Texture water_09002800[]; +extern ALIGNED8 const Texture water_09003800[]; +extern ALIGNED8 const Texture water_09004800[]; +extern ALIGNED8 const Texture water_09005800[]; +extern ALIGNED8 const Texture water_09006000[]; +extern ALIGNED8 const Texture water_09006800[]; +extern ALIGNED8 const Texture water_09007800[]; +extern ALIGNED8 const Texture water_09008800[]; +extern ALIGNED8 const Texture water_09009000[]; +extern ALIGNED8 const Texture water_0900A000[]; +extern ALIGNED8 const Texture water_0900A800[]; +extern ALIGNED8 const Texture water_0900B800[]; +extern ALIGNED8 const Texture bbh_seg7_texture_07000000[]; +extern ALIGNED8 const Texture bbh_seg7_texture_07001000[]; +extern ALIGNED8 const Texture bbh_seg7_texture_07001800[]; +extern ALIGNED8 const Texture bbh_seg7_texture_07002000[]; +extern ALIGNED8 const Texture bbh_seg7_texture_07003000[]; +extern ALIGNED8 const Texture bbh_seg7_texture_07003400[]; +extern ALIGNED8 const Texture bbh_seg7_texture_07004400[]; +extern ALIGNED8 const Texture bitdw_seg7_texture_07000000[]; +extern ALIGNED8 const Texture bitdw_seg7_texture_07000800[]; +extern ALIGNED8 const Texture bitdw_seg7_texture_07001000[]; +extern ALIGNED8 const Texture bitdw_seg7_texture_07001800[]; +extern ALIGNED8 const Texture bitfs_seg7_texture_07000000[]; +extern ALIGNED8 const Texture bitfs_seg7_texture_07001000[]; +extern ALIGNED8 const Texture bitfs_seg7_texture_07001800[]; +extern ALIGNED8 const Texture bits_seg7_texture_07000000[]; +extern ALIGNED8 const Texture bits_seg7_texture_07001000[]; +extern ALIGNED8 const Texture bits_seg7_texture_07002000[]; +extern ALIGNED8 const Texture bob_seg7_texture_07000000[]; +extern ALIGNED8 const Texture bob_seg7_texture_07000800[]; +extern ALIGNED8 const Texture bob_seg7_texture_07001000[]; +extern ALIGNED8 const Texture bob_seg7_texture_07001800[]; +extern ALIGNED8 const Texture bob_seg7_texture_07002000[]; +extern ALIGNED8 const Texture bowser_1_seg7_texture_07000000[]; +extern ALIGNED8 const Texture bowser_1_seg7_texture_07001000[]; +extern ALIGNED8 const Texture bowser_1_seg7_texture_07001800[]; +extern ALIGNED8 const Texture bowser_2_seg7_texture_07000000[]; +extern ALIGNED8 const Texture bowser_3_seg7_texture_07000000[]; +extern ALIGNED8 const Texture bowser_3_seg7_texture_07000800[]; +extern ALIGNED8 const Texture bowser_3_seg7_texture_07001000[]; +extern ALIGNED8 const Texture castle_grounds_seg7_texture_0700C9E8[]; +extern ALIGNED8 const Texture castle_grounds_seg7_texture_0700D9E8[]; +extern ALIGNED8 const Texture castle_grounds_seg7_us_texture_0700EAE8[]; +extern ALIGNED8 const Texture castle_grounds_seg7_texture_07000000[]; +extern ALIGNED8 const Texture castle_grounds_seg7_texture_07001000[]; +extern ALIGNED8 const Texture castle_grounds_seg7_texture_07002000[]; +extern ALIGNED8 const Texture texture_castle_light[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07000800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07001000[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07002000[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07003000[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07003800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07004800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07005800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07006000[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07006800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07007000[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07007800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07008000[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07008800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07009000[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07009800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0700A000[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0700A800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0700B800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0700C800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0700D800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0700E800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0700F800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07010800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07011800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07010800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07011800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07012800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07013800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07014800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07015800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07016800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07017000[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07017800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07018800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07019800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0701A800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0701B800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0701C800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0701D800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0701E800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_0701F800[]; +extern ALIGNED8 const Texture inside_castle_seg7_texture_07020800[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07011958[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07000000[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07000800[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07000900[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07001100[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07001900[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07002100[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07002900[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07003100[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07003900[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07003B00[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07004300[]; +extern ALIGNED8 const Texture ccm_seg7_texture_07004B00[]; +extern ALIGNED8 const Texture cotmc_seg7_texture_07000000[]; +extern ALIGNED8 const Texture cotmc_seg7_texture_07001000[]; +extern ALIGNED8 const Texture cotmc_seg7_texture_07001800[]; +extern ALIGNED8 const Texture cotmc_seg7_texture_07002000[]; +extern ALIGNED8 const Texture cotmc_seg7_texture_07002800[]; +extern ALIGNED8 const Texture ddd_seg7_texture_07000000[]; +extern ALIGNED8 const Texture ddd_seg7_texture_07001000[]; +extern ALIGNED8 const Texture ddd_seg7_texture_07001800[]; +extern ALIGNED8 const Texture ddd_seg7_texture_07002000[]; +extern ALIGNED8 const Texture ddd_seg7_texture_07003000[]; +extern ALIGNED8 const Texture cake_end_texture_eu_35[]; +extern ALIGNED8 const Texture cake_end_texture_eu_36[]; +extern ALIGNED8 const Texture cake_end_texture_eu_37[]; +extern ALIGNED8 const Texture cake_end_texture_eu_38[]; +extern ALIGNED8 const Texture cake_end_texture_eu_39[]; +extern ALIGNED8 const Texture cake_end_texture_eu_40[]; +extern ALIGNED8 const Texture hmc_seg7_texture_07024CE0[]; +extern ALIGNED8 const Texture hmc_seg7_texture_07000000[]; +extern ALIGNED8 const Texture hmc_seg7_texture_07001000[]; +extern ALIGNED8 const Texture hmc_seg7_texture_07002000[]; +extern ALIGNED8 const Texture hmc_seg7_texture_07003000[]; +extern ALIGNED8 const Texture hmc_seg7_texture_07003800[]; +extern ALIGNED8 const Texture hmc_seg7_texture_07004000[]; +extern ALIGNED8 const Texture hmc_seg7_texture_07004800[]; +extern ALIGNED8 const Texture intro_seg7_texture_07007EA0[]; +extern ALIGNED8 const Texture intro_seg7_texture_070086A0[]; +extern ALIGNED8 const Texture intro_seg7_texture_0700B4A0[]; +extern ALIGNED8 const Texture intro_seg7_texture_0700B4A0[]; +extern ALIGNED8 const Texture intro_seg7_texture_0700C4A0[]; +extern ALIGNED8 const Texture jrb_seg7_texture_07000000[]; +extern ALIGNED8 const Texture jrb_seg7_texture_07000800[]; +extern ALIGNED8 const Texture jrb_seg7_texture_07001800[]; +extern ALIGNED8 const Texture jrb_seg7_texture_07002000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07000000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07000800[]; +extern ALIGNED8 const Texture lll_seg7_texture_07001000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07001800[]; +extern ALIGNED8 const Texture lll_seg7_texture_07002000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07002800[]; +extern ALIGNED8 const Texture lll_seg7_texture_07003000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07003800[]; +extern ALIGNED8 const Texture lll_seg7_texture_07004000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07004800[]; +extern ALIGNED8 const Texture lll_seg7_texture_07005000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07005800[]; +extern ALIGNED8 const Texture lll_seg7_texture_07006000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07006800[]; +extern ALIGNED8 const Texture lll_seg7_texture_07007000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07007800[]; +extern ALIGNED8 const Texture lll_seg7_texture_07008000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07008800[]; +extern ALIGNED8 const Texture lll_seg7_texture_07009000[]; +extern ALIGNED8 const Texture lll_seg7_texture_07009800[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700A000[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700A800[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700B000[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700B800[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700C000[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700C800[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700D000[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700D200[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700D400[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700DC00[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700E400[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700EC00[]; +extern ALIGNED8 const Texture lll_seg7_texture_0700F400[]; +extern ALIGNED8 const Texture texture_menu_stone[]; +extern ALIGNED8 const Texture texture_menu_dark_stone[]; +extern ALIGNED8 const Texture texture_menu_mario_save[]; +extern ALIGNED8 const Texture texture_menu_mario_new[]; +extern ALIGNED8 const Texture texture_menu_erase[]; +extern ALIGNED8 const Texture texture_menu_copy[]; +extern ALIGNED8 const Texture texture_menu_file[]; +extern ALIGNED8 const Texture texture_menu_score[]; +extern ALIGNED8 const Texture texture_menu_sound[]; +extern ALIGNED8 const Texture texture_menu_idle_hand[]; +extern ALIGNED8 const Texture texture_menu_grabbing_hand[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_hu[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_small_a[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_i[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_ru[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_se[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_re[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_ku[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_to[]; +extern ALIGNED8 const Texture texture_menu_hud_char_hiragana_wo[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_ko[]; +extern ALIGNED8 const Texture texture_menu_hud_char_kana_handakuten_pi[]; +extern ALIGNED8 const Texture texture_menu_hud_char_choonpu[]; +extern ALIGNED8 const Texture texture_menu_hud_char_hiragana_su[]; +extern ALIGNED8 const Texture texture_menu_hud_char_hiragana_ru[]; +extern ALIGNED8 const Texture texture_menu_hud_char_hiragana_ke[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_ma[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_ri[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_o[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_su[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_a[]; +extern ALIGNED8 const Texture texture_menu_hud_char_hiragana_mi[]; +extern ALIGNED8 const Texture texture_menu_hud_char_hira_dakuten_do[]; +extern ALIGNED8 const Texture texture_menu_hud_char_hiragana_no[]; +extern ALIGNED8 const Texture texture_menu_hud_char_question[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_sa[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_u[]; +extern ALIGNED8 const Texture texture_menu_hud_char_katakana_n[]; +extern ALIGNED8 const Texture texture_menu_hud_char_kana_dakuten_do[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_0[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_1[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_2[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_3[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_4[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_5[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_6[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_7[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_8[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_9[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_a[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_i[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_u[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_c[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_o[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ka[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ki[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ku[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ke[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ko[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_sa[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_shi[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_su[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_se[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_so[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ta[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_chi[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_tsu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_te[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_to[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_na[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ni[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_nu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ne[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_no[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ha[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_hi[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_hu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_he[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ho[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ma[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_mi[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_mu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_me[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_mo[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ya[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_yu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_yo[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ra[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ri[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ru[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_re[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ro[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_wa[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_wo[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_n[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_a[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_i[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_u[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_e[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_o[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_ka[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_yu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_yo[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_tsu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_handakuten[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_dakuten[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_long_vowel[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_a[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_i[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_u[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_e[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_o[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ka[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ki[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ku[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ke[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ko[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_sa[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_shi[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_su[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_se[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_so[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ta[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_chi[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_tsu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_te[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_to[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_na[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ni[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_nu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ne[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_no[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ha[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_hi[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_hu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_he[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ho[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ma[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_mi[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_mu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_me[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_mo[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ya[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_yu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_yo[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ra[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ri[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ru[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_re[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ro[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_wa[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_wo[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_n[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_a[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_i[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_u[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_e[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_o[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_ka[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_yu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_yo[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_tsu[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_A[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_B[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_C[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_D[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_coin[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_star_filled[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_multiply[]; +extern ALIGNED8 const Texture texture_menu_font_char_jp_exclamation[]; +extern ALIGNED8 const Texture texture_menu_font_char_0[]; +extern ALIGNED8 const Texture texture_menu_font_char_1[]; +extern ALIGNED8 const Texture texture_menu_font_char_2[]; +extern ALIGNED8 const Texture texture_menu_font_char_3[]; +extern ALIGNED8 const Texture texture_menu_font_char_4[]; +extern ALIGNED8 const Texture texture_menu_font_char_5[]; +extern ALIGNED8 const Texture texture_menu_font_char_6[]; +extern ALIGNED8 const Texture texture_menu_font_char_7[]; +extern ALIGNED8 const Texture texture_menu_font_char_8[]; +extern ALIGNED8 const Texture texture_menu_font_char_9[]; +extern ALIGNED8 const Texture texture_menu_font_char_A[]; +extern ALIGNED8 const Texture texture_menu_font_char_B[]; +extern ALIGNED8 const Texture texture_menu_font_char_C[]; +extern ALIGNED8 const Texture texture_menu_font_char_D[]; +extern ALIGNED8 const Texture texture_menu_font_char_D[]; +extern ALIGNED8 const Texture texture_menu_font_char_E[]; +extern ALIGNED8 const Texture texture_menu_font_char_F[]; +extern ALIGNED8 const Texture texture_menu_font_char_G[]; +extern ALIGNED8 const Texture texture_menu_font_char_H[]; +extern ALIGNED8 const Texture texture_menu_font_char_I[]; +extern ALIGNED8 const Texture texture_menu_font_char_J[]; +extern ALIGNED8 const Texture texture_menu_font_char_K[]; +extern ALIGNED8 const Texture texture_menu_font_char_L[]; +extern ALIGNED8 const Texture texture_menu_font_char_M[]; +extern ALIGNED8 const Texture texture_menu_font_char_N[]; +extern ALIGNED8 const Texture texture_menu_font_char_O[]; +extern ALIGNED8 const Texture texture_menu_font_char_P[]; +extern ALIGNED8 const Texture texture_menu_font_char_Q[]; +extern ALIGNED8 const Texture texture_menu_font_char_R[]; +extern ALIGNED8 const Texture texture_menu_font_char_S[]; +extern ALIGNED8 const Texture texture_menu_font_char_T[]; +extern ALIGNED8 const Texture texture_menu_font_char_U[]; +extern ALIGNED8 const Texture texture_menu_font_char_V[]; +extern ALIGNED8 const Texture texture_menu_font_char_W[]; +extern ALIGNED8 const Texture texture_menu_font_char_X[]; +extern ALIGNED8 const Texture texture_menu_font_char_Y[]; +extern ALIGNED8 const Texture texture_menu_font_char_Z[]; +extern ALIGNED8 const Texture texture_menu_font_char_coin[]; +extern ALIGNED8 const Texture texture_menu_font_char_multiply[]; +extern ALIGNED8 const Texture texture_menu_font_char_star_filled[]; +extern ALIGNED8 const Texture texture_menu_font_char_dash[]; +extern ALIGNED8 const Texture texture_menu_font_char_comma[]; +extern ALIGNED8 const Texture texture_menu_font_char_apostrophe[]; +extern ALIGNED8 const Texture texture_menu_font_char_comma[]; +extern ALIGNED8 const Texture texture_menu_font_char_apostrophe[]; +extern ALIGNED8 const Texture texture_menu_font_char_exclamation[]; +extern ALIGNED8 const Texture texture_menu_font_char_question[]; +extern ALIGNED8 const Texture texture_menu_font_char_mface1[]; +extern ALIGNED8 const Texture texture_menu_font_char_mface2[]; +extern ALIGNED8 const Texture texture_menu_font_char_period[]; +extern ALIGNED8 const Texture texture_menu_font_char_ampersand[]; +extern ALIGNED8 const Texture texture_menu_font_char_umlaut[]; +extern ALIGNED8 const Texture texture_menu_font_char_cedilla_mayus[]; +extern ALIGNED8 const Texture texture_menu_font_char_colon[]; +extern ALIGNED8 const Texture texture_menu_course_upper[]; +extern ALIGNED8 const Texture texture_menu_niveau_upper[]; +extern ALIGNED8 const Texture texture_menu_kurs_upper[]; +extern ALIGNED8 const Texture texture_menu_course_lower[]; +extern ALIGNED8 const Texture texture_menu_course_upper[]; +extern ALIGNED8 const Texture texture_menu_course_lower[]; +extern ALIGNED8 const Texture pss_seg7_texture_07000000[]; +extern ALIGNED8 const Texture pss_seg7_texture_07000800[]; +extern ALIGNED8 const Texture pss_seg7_texture_07001000[]; +extern ALIGNED8 const Texture texture_quarter_flying_carpet[]; +extern ALIGNED8 const Texture rr_seg7_texture_07000800[]; +extern ALIGNED8 const Texture rr_seg7_texture_07001800[]; +extern ALIGNED8 const Texture sl_seg7_texture_07000000[]; +extern ALIGNED8 const Texture sl_seg7_texture_07000800[]; +extern ALIGNED8 const Texture sl_seg7_texture_07001000[]; +extern ALIGNED8 const Texture sl_seg7_texture_07001800[]; +extern ALIGNED8 const Texture sl_seg7_texture_07002000[]; +extern ALIGNED8 const Texture ssl_quicksand[]; +extern ALIGNED8 const Texture ssl_seg7_texture_07000000[]; +extern ALIGNED8 const Texture ssl_seg7_texture_07000800[]; +extern ALIGNED8 const Texture ssl_pyramid_sand[]; +extern ALIGNED8 const Texture ssl_seg7_texture_07001800[]; +extern ALIGNED8 const Texture ssl_seg7_texture_07002000[]; +extern ALIGNED8 const Texture ssl_seg7_texture_07002800[]; +extern ALIGNED8 const Texture ssl_seg7_texture_07003800[]; +extern ALIGNED8 const Texture ssl_seg7_texture_0700BFA8[]; +extern ALIGNED8 const Texture ssl_seg7_texture_0700C7A8[]; +extern ALIGNED8 const Texture ssl_seg7_texture_0700D7A8[]; +extern ALIGNED8 const Texture ssl_seg7_texture_0700E7A8[]; +extern ALIGNED8 const Texture thi_seg7_texture_07000000[]; +extern ALIGNED8 const Texture thi_seg7_texture_07000800[]; +extern ALIGNED8 const Texture totwc_seg7_texture_07000000[]; +extern ALIGNED8 const Texture totwc_seg7_texture_07001000[]; +extern ALIGNED8 const Texture totwc_seg7_texture_07001800[]; +extern ALIGNED8 const Texture totwc_seg7_texture_07002000[]; +extern ALIGNED8 const Texture ttc_yellow_triangle[]; +extern ALIGNED8 const Texture ttc_seg7_texture_07000000[]; +extern ALIGNED8 const Texture ttc_seg7_texture_07000800[]; +extern ALIGNED8 const Texture ttm_seg7_texture_0702AD30[]; +extern ALIGNED8 const Texture ttm_seg7_texture_07000000[]; +extern ALIGNED8 const Texture ttm_seg7_texture_07000800[]; +extern ALIGNED8 const Texture ttm_seg7_texture_07001000[]; +extern ALIGNED8 const Texture ttm_seg7_texture_07001800[]; +extern ALIGNED8 const Texture ttm_seg7_texture_07002000[]; +extern ALIGNED8 const Texture ttm_seg7_texture_07002800[]; +extern ALIGNED8 const Texture ttm_seg7_texture_07003000[]; +extern ALIGNED8 const Texture ttm_seg7_texture_07004000[]; +extern ALIGNED8 const Texture vcutm_seg7_texture_07000000[]; +extern ALIGNED8 const Texture vcutm_seg7_texture_07000800[]; +extern ALIGNED8 const Texture vcutm_seg7_texture_07001800[]; +extern ALIGNED8 const Texture vcutm_seg7_texture_07002800[]; +extern ALIGNED8 const Texture wdw_seg7_texture_07000000[]; +extern ALIGNED8 const Texture wdw_seg7_texture_07000800[]; +extern ALIGNED8 const Texture wdw_seg7_texture_07001000[]; +extern ALIGNED8 const Texture wdw_seg7_texture_07001800[]; +extern ALIGNED8 const Texture wdw_seg7_texture_07002000[]; +extern ALIGNED8 const Texture wf_seg7_texture_07000000[]; +extern ALIGNED8 const Texture wf_seg7_texture_07000800[]; +extern ALIGNED8 const Texture wf_seg7_texture_07001000[]; +extern ALIGNED8 const Texture wf_seg7_texture_07001800[]; +extern ALIGNED8 const Texture wf_seg7_texture_07002000[]; +extern ALIGNED8 const Texture wf_seg7_texture_07002800[]; +extern ALIGNED8 const Texture wmotr_seg7_texture_07000000[]; +extern ALIGNED8 const Texture wmotr_seg7_texture_07000800[]; +extern ALIGNED8 const Texture wmotr_seg7_texture_07000C00[]; +extern ALIGNED8 const Texture wmotr_seg7_texture_07001400[]; +extern ALIGNED8 const Texture wmotr_seg7_texture_07001600[]; + +extern ALIGNED8 const Texture mario_texture_metal[]; +extern ALIGNED8 const Texture mario_texture_yellow_button[]; +extern ALIGNED8 const Texture mario_texture_m_logo[]; +extern ALIGNED8 const Texture mario_texture_hair_sideburn[]; +extern ALIGNED8 const Texture mario_texture_mustache[]; +extern ALIGNED8 const Texture mario_texture_eyes_front[]; +extern ALIGNED8 const Texture mario_texture_eyes_half_closed[]; +extern ALIGNED8 const Texture mario_texture_eyes_closed[]; +extern ALIGNED8 const Texture mario_texture_eyes_closed_unused1[]; +extern ALIGNED8 const Texture mario_texture_eyes_closed_unused2[]; +extern ALIGNED8 const Texture mario_texture_eyes_right[]; +extern ALIGNED8 const Texture mario_texture_eyes_left[]; +extern ALIGNED8 const Texture mario_texture_eyes_up[]; +extern ALIGNED8 const Texture mario_texture_eyes_down[]; +extern ALIGNED8 const Texture mario_texture_eyes_dead[]; +extern ALIGNED8 const Texture mario_texture_wings_half_1[]; +extern ALIGNED8 const Texture mario_texture_wings_half_2[]; +extern ALIGNED8 const Texture mario_texture_metal_wings_half_1[]; +extern ALIGNED8 const Texture mario_texture_metal_wings_half_2[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_0301CF50[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_0301DF50[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_0301E750[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_0301F750[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_03020750[]; +extern ALIGNED8 const Texture mario_cap_seg3_texture_03021750[]; +extern ALIGNED8 const Texture impact_smoke_seg6_texture_0605AA28[]; +extern ALIGNED8 const Texture impact_smoke_seg6_texture_0605CA28[]; +extern ALIGNED8 const Texture impact_smoke_seg6_texture_0605EA28[]; +extern ALIGNED8 const Texture impact_smoke_seg6_texture_06060A28[]; +extern ALIGNED8 const Texture luigi_texture_l_logo[]; +extern ALIGNED8 const Texture luigi_texture_hair_sideburn[]; +extern ALIGNED8 const Texture luigi_texture_mustache[]; +extern ALIGNED8 const Texture luigi_texture_eyes_front[]; +extern ALIGNED8 const Texture luigi_texture_eyes_half_closed[]; +extern ALIGNED8 const Texture luigi_texture_eyes_closed[]; +extern ALIGNED8 const Texture luigi_cap_seg3_texture_0301DF50[]; +extern ALIGNED8 const Texture toad_player_texture_face[]; +extern ALIGNED8 const Texture toad_player_texture_eyes_closed[]; +extern ALIGNED8 const Texture toad_player_texture_eyes_half_closed[]; +extern ALIGNED8 const Texture toad_player_texture_eyes_dead[]; +extern ALIGNED8 const Texture toad_player_texture_hair[]; +extern ALIGNED8 const Texture toad_player_texture_cap[]; +extern ALIGNED8 const Texture waluigi_cap_seg3_texture_0301DF50[]; +extern ALIGNED8 const Texture wario_texture_white_button[]; +extern ALIGNED8 const Texture wario_texture_w_logo[]; +extern ALIGNED8 const Texture wario_texture_hair_sideburn[]; +extern ALIGNED8 const Texture wario_texture_mouth[]; +extern ALIGNED8 const Texture wario_texture_eyes_front[]; +extern ALIGNED8 const Texture wario_texture_eyes_half_closed[]; +extern ALIGNED8 const Texture wario_texture_eyes_closed[]; +extern ALIGNED8 const Texture wario_texture_eyes_right[]; +extern ALIGNED8 const Texture wario_texture_eyes_left[]; +extern ALIGNED8 const Texture wario_texture_eyes_up[]; +extern ALIGNED8 const Texture wario_texture_eyes_down[]; +extern ALIGNED8 const Texture wario_texture_eyes_dead[]; +extern ALIGNED8 const Texture wario_cap_seg3_texture_0301DF50[]; +extern ALIGNED8 const Texture waluigi_custom_waluigi_cap_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_eyes0_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_mouth_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_eyes1_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_eyes2_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_eyes3_rgba16[]; +extern ALIGNED8 const Texture waluigi_waluigi_glove_rgba16[]; diff --git a/data/dynos_mgr_builtin_tex.cpp b/data/dynos_mgr_builtin_tex.cpp new file mode 100644 index 00000000..87ac3540 --- /dev/null +++ b/data/dynos_mgr_builtin_tex.cpp @@ -0,0 +1,1708 @@ +#include "dynos.cpp.h" +extern "C" { +#include "include/types.h" +#include "dynos_mgr_builtin_externs.h" +} + + ////////////// + // Textures // +////////////// + +#define define_builtin_tex(_ptr, _path) (const void*)#_ptr, (const void*)_ptr, (const void*)_path + +#define TEX_MGR_FIND_NAME(_DataTable) \ + size_t _count = sizeof(_DataTable) / (3 * sizeof(_DataTable[0])); \ + for (u32 _i = 0; _i < _count; _i++) { \ + if ((const void*)_DataTable[_i * 3 + 1] == aData) { \ + return (const char*)_DataTable[_i * 3 + 0]; \ + } \ + } \ + return NULL; + +#define TEX_MGR_FIND_DATA(_DataTable, _Cast) \ + size_t _count = sizeof(_DataTable) / (3 * sizeof(_DataTable[0])); \ + for (u32 _i = 0; _i < _count; _i++) { \ + if (!strcmp((const char*)_DataTable[_i * 3 + 0], aDataName)) { \ + return _Cast _DataTable[_i * 3 + 1]; \ + } \ + } \ + return NULL; + +#define TEX_MGR_FIND_NAME_FROM_FILENAME(_DataTable) \ + size_t _count = sizeof(_DataTable) / (3 * sizeof(_DataTable[0])); \ + for (u32 _i = 0; _i < _count; _i++) { \ + if (!strcmp((const char*)_DataTable[_i * 3 + 2], aDataName)) { \ + return (const char*)_DataTable[_i * 3 + 0]; \ + } \ + } \ + return NULL; + +static const void* sDynosBuiltinTexs[] = { + define_builtin_tex(amp_seg8_texture_08000F18, "actors/amp/amp_electricity.rgba16.png"), + define_builtin_tex(amp_seg8_texture_08001318, "actors/amp/amp_eyes.rgba16.png"), + define_builtin_tex(amp_seg8_texture_08001B18, "actors/amp/amp_body.rgba16.png"), + define_builtin_tex(amp_seg8_texture_08002318, "actors/amp/amp_mouth.rgba16.png"), + define_builtin_tex(blue_coin_switch_seg8_texture_08000018, "actors/blue_coin_switch/blue_coin_switch_side.rgba16.png"), + define_builtin_tex(blue_coin_switch_seg8_texture_08000418, "actors/blue_coin_switch/blue_coin_switch_top.rgba16.png"), + define_builtin_tex(blue_fish_seg3_texture_0301B5E0, "actors/blue_fish/blue_fish.rgba16.png"), + define_builtin_tex(bobomb_seg8_texture_0801DA60, "actors/bobomb/bob-omb_left_side.rgba16.png"), + define_builtin_tex(bobomb_seg8_texture_0801EA60, "actors/bobomb/bob-omb_right_side.rgba16.png"), + define_builtin_tex(bobomb_seg8_texture_0801FA60, "actors/bobomb/bob-omb_buddy_left_side.rgba16.png"), + define_builtin_tex(bobomb_seg8_texture_08020A60, "actors/bobomb/bob-omb_buddy_right_side.rgba16.png"), + define_builtin_tex(bobomb_seg8_texture_08021A60, "actors/bobomb/bob-omb_eyes.rgba16.png"), + define_builtin_tex(bobomb_seg8_texture_08022260, "actors/bobomb/bob-omb_eyes_blink.rgba16.png"), + define_builtin_tex(bomb_seg6_texture_06057AC0, "actors/bomb/bomb_left_side.rgba16.png"), + define_builtin_tex(bomb_seg6_texture_06058AC0, "actors/bomb/bomb_right_side.rgba16.png"), + define_builtin_tex(bomb_seg6_texture_06059AC0, "actors/bomb/bomb_spike.rgba16.png"), + define_builtin_tex(boo_seg5_texture_05009B40, "actors/boo/boo_eyes.rgba16.png"), + define_builtin_tex(boo_seg5_texture_0500AB40, "actors/boo/boo_mouth.rgba16.png"), + define_builtin_tex(boo_castle_seg6_texture_06015670, "actors/boo_castle/bbh_boo_eyes.rgba16.png"), + define_builtin_tex(boo_castle_seg6_texture_06016670, "actors/boo_castle/bbh_boo_mouth.rgba16.png"), + define_builtin_tex(book_seg5_texture_05002570, "actors/book/book_cover.rgba16.png"), + define_builtin_tex(bookend_seg5_texture_05000060, "actors/bookend/bookend_spine.rgba16.png"), + define_builtin_tex(bookend_seg5_texture_05000460, "actors/bookend/bookend_tooth.rgba16.png"), + define_builtin_tex(bookend_seg5_texture_05000860, "actors/bookend/bookend_mouth.rgba16.png"), + define_builtin_tex(bookend_seg5_texture_05000C60, "actors/bookend/bookend_pages.rgba16.png"), + define_builtin_tex(bookend_seg5_texture_05001060, "actors/bookend/bookend_cover.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_0601F438, "actors/bowser/bowser_shell.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_0601FC38, "actors/bowser/bowser_eyebrow.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06020C38, "actors/bowser/bowser_muzzle.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06021438, "actors/bowser/bowser_nostrils.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06022438, "actors/bowser/bowser_body.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06022C38, "actors/bowser/bowser_armband_spike.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06023C38, "actors/bowser/bowser_armband.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06024438, "actors/bowser/bowser_tongue.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06025438, "actors/bowser/bowser_chest.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06025C38, "actors/bowser/bowser_shell_edge.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06026438, "actors/bowser/bowser_blue_eye_unused.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06027438, "actors/bowser/bowser_mouth_unused.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06028438, "actors/bowser/bowser_upper_face.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06028C38, "actors/bowser/bowser_hair.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06029C38, "actors/bowser/bowser_claw_edge.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_0602AC38, "actors/bowser/bowser_claw_horn_tooth.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_0602BC38, "actors/bowser/bowser_claw_horn_angle.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_0602CC38, "actors/bowser/bowser_eye_left_0.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_0602DC38, "actors/bowser/bowser_eye_half_closed_0.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_0602EC38, "actors/bowser/bowser_eye_closed_0.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_0602FC38, "actors/bowser/bowser_eye_center_0.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06030C38, "actors/bowser/bowser_eye_right_0.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06031C38, "actors/bowser/bowser_eye_far_left_0.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06032C38, "actors/bowser/bowser_eye_left_1.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06033C38, "actors/bowser/bowser_eye_half_closed_1.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06034C38, "actors/bowser/bowser_eye_closed_1.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06035C38, "actors/bowser/bowser_eye_center_1.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06036C38, "actors/bowser/bowser_eye_right_1.rgba16.png"), + define_builtin_tex(bowser_seg6_texture_06037C38, "actors/bowser/bowser_eye_far_left_1.rgba16.png"), + define_builtin_tex(flame_seg6_texture_06000000, "actors/bowser_flame/bowser_flame_0.rgba16.png"), + define_builtin_tex(flame_seg6_texture_06002000, "actors/bowser_flame/bowser_flame_1.rgba16.png"), + define_builtin_tex(flame_seg6_texture_06004000, "actors/bowser_flame/bowser_flame_2.rgba16.png"), + define_builtin_tex(flame_seg6_texture_06006000, "actors/bowser_flame/bowser_flame_3.rgba16.png"), + define_builtin_tex(flame_seg6_texture_06008000, "actors/bowser_flame/bowser_flame_4.rgba16.png"), + define_builtin_tex(flame_seg6_texture_0600A000, "actors/bowser_flame/bowser_flame_5.rgba16.png"), + define_builtin_tex(flame_seg6_texture_0600C000, "actors/bowser_flame/bowser_flame_6.rgba16.png"), + define_builtin_tex(flame_seg6_texture_0600E000, "actors/bowser_flame/bowser_flame_7.rgba16.png"), + define_builtin_tex(flame_seg6_texture_06010000, "actors/bowser_flame/bowser_flame_8.rgba16.png"), + define_builtin_tex(flame_seg6_texture_06012000, "actors/bowser_flame/bowser_flame_9.rgba16.png"), + define_builtin_tex(flame_seg6_texture_06014000, "actors/bowser_flame/bowser_flame_10.rgba16.png"), + define_builtin_tex(flame_seg6_texture_06016000, "actors/bowser_flame/bowser_flame_11.rgba16.png"), + define_builtin_tex(flame_seg6_texture_06018000, "actors/bowser_flame/bowser_flame_12.rgba16.png"), + define_builtin_tex(flame_seg6_texture_0601A000, "actors/bowser_flame/bowser_flame_13.rgba16.png"), + define_builtin_tex(breakable_box_seg8_texture_08011A90, "actors/breakable_box/crazy_box_surface.rgba16.png"), + define_builtin_tex(breakable_box_seg8_texture_08012290, "actors/breakable_box/cork_box_surface.rgba16.png"), + define_builtin_tex(bub_seg6_texture_0600E2A8, "actors/bub/bub_eye_border.rgba16.png"), + define_builtin_tex(bub_seg6_texture_0600EAA8, "actors/bub/bub_fins.rgba16.png"), + define_builtin_tex(bub_seg6_texture_0600F2A8, "actors/bub/bub_eyes.rgba16.png"), + define_builtin_tex(bub_seg6_texture_060102A8, "actors/bub/bub_scales.rgba16.png"), + define_builtin_tex(bubba_seg5_texture_05000008, "actors/bubba/bubba_sunglasses.rgba16.png"), + define_builtin_tex(bubba_seg5_texture_05000408, "actors/bubba/bubba_eyes_unused.rgba16.png"), + define_builtin_tex(bubba_seg5_texture_05001408, "actors/bubba/bubba_eye_border.rgba16.png"), + define_builtin_tex(bubba_seg5_texture_05001C08, "actors/bubba/bubba_fins.rgba16.png"), + define_builtin_tex(bubba_seg5_texture_05002408, "actors/bubba/bubba_scales.rgba16.png"), + define_builtin_tex(bubble_seg4_texture_0401CD60, "actors/bubble/bubble.rgba16.png"), + define_builtin_tex(bubble_seg4_texture_0401D560, "actors/bubble/mr_i_bubble.rgba16.png"), + define_builtin_tex(bullet_bill_seg5_texture_0500BAA8, "actors/bullet_bill/bullet_bill_eye.rgba16.png"), + define_builtin_tex(bullet_bill_seg5_texture_0500CAA8, "actors/bullet_bill/bullet_bill_mouth.rgba16.png"), + define_builtin_tex(bully_seg5_texture_050000E0, "actors/bully/bully_horn.rgba16.png"), + define_builtin_tex(bully_seg5_texture_05000468, "actors/bully/bully_left_side.rgba16.png"), + define_builtin_tex(bully_seg5_texture_05001468, "actors/bully/bully_right_side.rgba16.png"), + define_builtin_tex(bully_seg5_texture_05002468, "actors/bully/bully_eye.rgba16.png"), + define_builtin_tex(burn_smoke_seg4_texture_04021800, "actors/burn_smoke/burn_smoke.ia16.png"), + define_builtin_tex(butterfly_seg3_texture_030043A8, "actors/butterfly/butterfly_wing.rgba16.png"), + define_builtin_tex(cannon_barrel_seg8_texture_080058A8, "actors/cannon_barrel/cannon_barrel.rgba16.png"), + define_builtin_tex(cannon_base_seg8_texture_080049B8, "actors/cannon_base/cannon_base.rgba16.png"), + define_builtin_tex(cannon_lid_seg8_texture_08004058, "actors/cannon_lid/cannon_lid.rgba16.png"), + define_builtin_tex(capswitch_seg5_texture_05001C48, "actors/capswitch/cap_switch_head.ia16.png"), + define_builtin_tex(capswitch_seg5_texture_05002C48, "actors/capswitch/cap_switch_base.rgba16.png"), + define_builtin_tex(chain_ball_seg6_texture_06020AE8, "actors/chain_ball/chain_ball.rgba16.png"), + define_builtin_tex(chain_chomp_seg6_texture_060213D0, "actors/chain_chomp/chain_chomp_bright_shine.rgba16.png"), + define_builtin_tex(chain_chomp_seg6_texture_06021BD0, "actors/chain_chomp/chain_chomp_dull_shine.rgba16.png"), + define_builtin_tex(chain_chomp_seg6_texture_060223D0, "actors/chain_chomp/chain_chomp_tongue.rgba16.png"), + define_builtin_tex(chain_chomp_seg6_texture_06022BD0, "actors/chain_chomp/chain_chomp_tooth.rgba16.png"), + define_builtin_tex(chain_chomp_seg6_texture_060233D0, "actors/chain_chomp/chain_chomp_eye.rgba16.png"), + define_builtin_tex(chair_seg5_texture_05003060, "actors/chair/chair_front.rgba16.png"), + define_builtin_tex(chair_seg5_texture_05003860, "actors/chair/chair_leg.rgba16.png"), + define_builtin_tex(chair_seg5_texture_05004060, "actors/chair/chair_bottom.rgba16.png"), + define_builtin_tex(chair_seg5_texture_05004460, "actors/chair/chair_surface_unused.rgba16.png"), + define_builtin_tex(checkerboard_platform_seg8_texture_0800C840, "actors/checkerboard_platform/checkerboard_platform_side.rgba16.png"), + define_builtin_tex(checkerboard_platform_seg8_texture_0800CC40, "actors/checkerboard_platform/checkerboard_platform.rgba16.png"), + define_builtin_tex(chilly_chief_seg6_texture_06000060, "actors/chillychief/chill_bully_left_side.rgba16.png"), + define_builtin_tex(chilly_chief_seg6_texture_06001060, "actors/chillychief/chill_bully_right_side.rgba16.png"), + define_builtin_tex(chilly_chief_seg6_texture_06002060, "actors/chillychief/chill_bully_eye.rgba16.png"), + define_builtin_tex(chuckya_seg8_texture_08006778, "actors/chuckya/chuckya_eyes.rgba16.png"), + define_builtin_tex(chuckya_seg8_texture_08007778, "actors/chuckya/chuckya_hand_antenna.rgba16.png"), + define_builtin_tex(chuckya_seg8_texture_08007F78, "actors/chuckya/chuckya_body_arm_left_side.rgba16.png"), + define_builtin_tex(chuckya_seg8_texture_08008F78, "actors/chuckya/chuckya_body_arm_right_side.rgba16.png"), + define_builtin_tex(clam_shell_seg5_texture_05000030, "actors/clam_shell/clam_shell.rgba16.png"), + define_builtin_tex(clam_shell_seg5_texture_05000830, "actors/clam_shell/clam_shell_mouth.rgba16.png"), + define_builtin_tex(coin_seg3_texture_03005780, "actors/coin/coin_front.ia16.png"), + define_builtin_tex(coin_seg3_texture_03005F80, "actors/coin/coin_tilt_right.ia16.png"), + define_builtin_tex(coin_seg3_texture_03006780, "actors/coin/coin_side.ia16.png"), + define_builtin_tex(coin_seg3_texture_03006F80, "actors/coin/coin_tilt_left.ia16.png"), + define_builtin_tex(cyan_fish_seg6_texture_0600D468, "actors/cyan_fish/cyan_fish.rgba16.png"), + define_builtin_tex(dirt_seg3_texture_0302BDF8, "actors/dirt/dirt_particle.rgba16.png"), + define_builtin_tex(door_seg3_texture_03009D10, "actors/door/polished_wooden_door.rgba16.png"), + define_builtin_tex(door_seg3_texture_0300AD10, "actors/door/polished_wooden_door_overlay.rgba16.png"), + define_builtin_tex(door_seg3_texture_0300BD10, "actors/door/rough_wooden_door.rgba16.png"), + define_builtin_tex(door_seg3_texture_0300CD10, "actors/door/rough_wooden_door_overlay.rgba16.png"), + define_builtin_tex(door_seg3_texture_0300D510, "actors/door/metal_door.rgba16.png"), + define_builtin_tex(door_seg3_texture_0300E510, "actors/door/metal_door_overlay.rgba16.png"), + define_builtin_tex(door_seg3_texture_0300ED10, "actors/door/hmc_mural_door.rgba16.png"), + define_builtin_tex(door_seg3_texture_0300FD10, "actors/door/hmc_mural_door_overlay.rgba16.png"), + define_builtin_tex(door_seg3_texture_03010510, "actors/door/bbh_door.rgba16.png"), + define_builtin_tex(door_seg3_texture_03011510, "actors/door/bbh_door_overlay.rgba16.png"), + define_builtin_tex(door_seg3_texture_03011D10, "actors/door/zero_star_door_sign.rgba16.png"), + define_builtin_tex(door_seg3_texture_03012510, "actors/door/one_star_door_sign.rgba16.png"), + define_builtin_tex(door_seg3_texture_03012D10, "actors/door/three_star_door_sign.rgba16.png"), + define_builtin_tex(door_seg3_texture_03013510, "actors/door/door_lock.rgba16.png"), + define_builtin_tex(dorrie_seg6_texture_06009BA0, "actors/dorrie/dorrie_eye.rgba16.png"), + define_builtin_tex(dorrie_seg6_texture_06009DA0, "actors/dorrie/dorrie_skin.rgba16.png"), + define_builtin_tex(dorrie_seg6_texture_0600ADA0, "actors/dorrie/dorrie_tongue.rgba16.png"), + define_builtin_tex(exclamation_box_seg8_texture_08012E28, "actors/exclamation_box/vanish_cap_box_front.rgba16.png"), + define_builtin_tex(exclamation_box_seg8_texture_08013628, "actors/exclamation_box/vanish_cap_box_side.rgba16.png"), + define_builtin_tex(exclamation_box_seg8_texture_08014628, "actors/exclamation_box/metal_cap_box_front.rgba16.png"), + define_builtin_tex(exclamation_box_seg8_texture_08014E28, "actors/exclamation_box/metal_cap_box_side.rgba16.png"), + define_builtin_tex(exclamation_box_seg8_texture_08015E28, "actors/exclamation_box/wing_cap_box_front.rgba16.png"), + define_builtin_tex(exclamation_box_seg8_texture_08016628, "actors/exclamation_box/wing_cap_box_side.rgba16.png"), + define_builtin_tex(exclamation_box_seg8_texture_08017628, "actors/exclamation_box/exclamation_box_front.rgba16.png"), + define_builtin_tex(exclamation_box_seg8_texture_08017E28, "actors/exclamation_box/exclamation_box_side.rgba16.png"), + define_builtin_tex(exclamation_box_outline_seg8_texture_08025168, "actors/exclamation_box_outline/exclamation_box_outline.rgba16.png"), + define_builtin_tex(exclamation_box_outline_seg8_texture_08025A80, "actors/exclamation_box_outline/exclamation_point.rgba16.png"), + define_builtin_tex(explosion_seg3_texture_03000A08, "actors/explosion/explosion_0.rgba16.png"), + define_builtin_tex(explosion_seg3_texture_03001208, "actors/explosion/explosion_1.rgba16.png"), + define_builtin_tex(explosion_seg3_texture_03001A08, "actors/explosion/explosion_2.rgba16.png"), + define_builtin_tex(explosion_seg3_texture_03002208, "actors/explosion/explosion_3.rgba16.png"), + define_builtin_tex(explosion_seg3_texture_03002A08, "actors/explosion/explosion_4.rgba16.png"), + define_builtin_tex(explosion_seg3_texture_03003208, "actors/explosion/explosion_5.rgba16.png"), + define_builtin_tex(explosion_seg3_texture_03003A08, "actors/explosion/explosion_6.rgba16.png"), + define_builtin_tex(eyerok_seg5_texture_05008D40, "actors/eyerok/eyerok_bricks.rgba16.png"), + define_builtin_tex(eyerok_seg5_texture_05009540, "actors/eyerok/eyerok_eye_open.rgba16.png"), + define_builtin_tex(eyerok_seg5_texture_05009D40, "actors/eyerok/eyerok_eye_mostly_open.rgba16.png"), + define_builtin_tex(eyerok_seg5_texture_0500A540, "actors/eyerok/eyerok_eye_mostly_closed.rgba16.png"), + define_builtin_tex(eyerok_seg5_texture_0500AD40, "actors/eyerok/eyerok_eye_closed.rgba16.png"), + define_builtin_tex(flame_seg3_texture_03017320, "actors/flame/flame_0.ia16.png"), + define_builtin_tex(flame_seg3_texture_03017B20, "actors/flame/flame_1.ia16.png"), + define_builtin_tex(flame_seg3_texture_03018320, "actors/flame/flame_2.ia16.png"), + define_builtin_tex(flame_seg3_texture_03018B20, "actors/flame/flame_3.ia16.png"), + define_builtin_tex(flame_seg3_texture_03019320, "actors/flame/flame_4.ia16.png"), + define_builtin_tex(flame_seg3_texture_03019B20, "actors/flame/flame_5.ia16.png"), + define_builtin_tex(flame_seg3_texture_0301A320, "actors/flame/flame_6.ia16.png"), + define_builtin_tex(flame_seg3_texture_0301AB20, "actors/flame/flame_7.ia16.png"), + define_builtin_tex(flyguy_seg8_texture_0800E088, "actors/flyguy/flyguy_cloth_wrinkle.rgba16.png"), + define_builtin_tex(flyguy_seg8_texture_0800F088, "actors/flyguy/flyguy_face.rgba16.png"), + define_builtin_tex(flyguy_seg8_texture_0800F888, "actors/flyguy/flyguy_propeller.ia16.png"), + define_builtin_tex(fwoosh_seg5_texture_05015808, "actors/fwoosh/fwoosh_face.ia16.png"), + define_builtin_tex(goomba_seg8_texture_08019530, "actors/goomba/goomba_body.rgba16.png"), + define_builtin_tex(goomba_seg8_texture_08019D30, "actors/goomba/goomba_face.rgba16.png"), + define_builtin_tex(goomba_seg8_texture_0801A530, "actors/goomba/goomba_face_blink.rgba16.png"), + define_builtin_tex(haunted_cage_seg5_texture_0500C288, "actors/haunted_cage/bbh_cage_floor.rgba16.png"), + define_builtin_tex(haunted_cage_seg5_texture_0500CA88, "actors/haunted_cage/bbh_cage_double_ornament.rgba16.png"), + define_builtin_tex(haunted_cage_seg5_texture_0500D288, "actors/haunted_cage/bbh_cage_ornament.rgba16.png"), + define_builtin_tex(haunted_cage_seg5_texture_0500D688, "actors/haunted_cage/bbh_cage_wooden_base.rgba16.png"), + define_builtin_tex(haunted_cage_seg5_texture_0500DA88, "actors/haunted_cage/bbh_cage_bars.rgba16.png"), + define_builtin_tex(haunted_cage_seg5_texture_0500E288, "actors/haunted_cage/bbh_cage_garbage.rgba16.png"), + define_builtin_tex(heart_seg8_texture_0800D7E0, "actors/heart/spinning_heart.rgba16.png"), + define_builtin_tex(heave_ho_seg5_texture_0500E9C8, "actors/heave_ho/heave-ho_face.rgba16.png"), + define_builtin_tex(heave_ho_seg5_texture_0500F1C8, "actors/heave_ho/heave-ho_platform.rgba16.png"), + define_builtin_tex(heave_ho_seg5_texture_0500F9C8, "actors/heave_ho/heave-ho_logo.rgba16.png"), + define_builtin_tex(heave_ho_seg5_texture_050109C8, "actors/heave_ho/heave-ho_arm_ornament.rgba16.png"), + define_builtin_tex(heave_ho_seg5_texture_050111C8, "actors/heave_ho/heave-ho_roller.rgba16.png"), + define_builtin_tex(heave_ho_seg5_texture_050113C8, "actors/heave_ho/heave-ho_turnkey.rgba16.png"), + define_builtin_tex(hoot_seg5_texture_05000A20, "actors/hoot/hoot_eyes.rgba16.png"), + define_builtin_tex(hoot_seg5_texture_05001E50, "actors/hoot/hoot_wing.rgba16.png"), + define_builtin_tex(hoot_seg5_texture_05002650, "actors/hoot/hoot_wing_tip.rgba16.png"), + define_builtin_tex(impact_ring_seg6_texture_0601CA50, "actors/impact_ring/impact_ring_left_side.ia16.png"), + define_builtin_tex(impact_ring_seg6_texture_0601DA50, "actors/impact_ring/impact_ring_right_side.ia16.png"), + define_builtin_tex(king_bobomb_seg5_texture_05000078, "actors/king_bobomb/bob-omb_buddy_left_side_unused.rgba16.png"), + define_builtin_tex(king_bobomb_seg5_texture_05001078, "actors/king_bobomb/bob-omb_buddy_right_side_unused.rgba16.png"), + define_builtin_tex(king_bobomb_seg5_texture_05002078, "actors/king_bobomb/king_bob-omb_arm.rgba16.png"), + define_builtin_tex(king_bobomb_seg5_texture_05002878, "actors/king_bobomb/king_bob-omb_body_unused.rgba16.png"), + define_builtin_tex(king_bobomb_seg5_texture_05004878, "actors/king_bobomb/king_bob-omb_eyes.rgba16.png"), + define_builtin_tex(king_bobomb_seg5_texture_05005878, "actors/king_bobomb/king_bob-omb_hand.rgba16.png"), + define_builtin_tex(king_bobomb_seg5_texture_05006078, "actors/king_bobomb/king_bob-omb_crown_rim.rgba16.png"), + define_builtin_tex(king_bobomb_seg5_texture_05006478, "actors/king_bobomb/bob-omb_buddy_body_unused.rgba16.png"), + define_builtin_tex(king_bobomb_seg5_texture_05008478, "actors/king_bobomb/king_bob-omb_left_side.rgba16.png"), + define_builtin_tex(king_bobomb_seg5_texture_05009478, "actors/king_bobomb/king_bob-omb_right_side.rgba16.png"), + define_builtin_tex(klepto_seg5_texture_05000008, "actors/klepto/klepto_chest_tuft.rgba16.png"), + define_builtin_tex(klepto_seg5_texture_05000808, "actors/klepto/klepto_eye.rgba16.png"), + define_builtin_tex(klepto_seg5_texture_05001008, "actors/klepto/klepto_beak.rgba16.png"), + define_builtin_tex(klepto_seg5_texture_05002008, "actors/klepto/klepto_wing.rgba16.png"), + define_builtin_tex(klepto_seg5_texture_05003008, "actors/klepto/klepto_wing_flap.rgba16.png"), + define_builtin_tex(koopa_seg6_texture_06002648, "actors/koopa/koopa_shell_front.rgba16.png"), + define_builtin_tex(koopa_seg6_texture_06002E48, "actors/koopa/koopa_shell_back.rgba16.png"), + define_builtin_tex(koopa_seg6_texture_06003648, "actors/koopa/koopa_shoe.rgba16.png"), + define_builtin_tex(koopa_seg6_texture_06003E48, "actors/koopa/koopa_shell_front_top.rgba16.png"), + define_builtin_tex(koopa_seg6_texture_06004648, "actors/koopa/koopa_eyes_open.rgba16.png"), + define_builtin_tex(koopa_seg6_texture_06004E48, "actors/koopa/koopa_eyes_closed.rgba16.png"), + define_builtin_tex(koopa_seg6_texture_06005648, "actors/koopa/koopa_eye_border.rgba16.png"), + define_builtin_tex(koopa_seg6_texture_06005E48, "actors/koopa/koopa_nostrils.rgba16.png"), + define_builtin_tex(koopa_flag_seg6_texture_06000048, "actors/koopa_flag/koopa_flag_banner.rgba16.png"), + define_builtin_tex(koopa_shell_seg8_texture_080274A0, "actors/koopa_shell/koopa_shell_front.rgba16.png"), + define_builtin_tex(koopa_shell_seg8_texture_08027CA0, "actors/koopa_shell/koopa_shell_back.rgba16.png"), + define_builtin_tex(lakitu_seg6_texture_06000000, "actors/lakitu_cameraman/lakitu_cameraman_cloud_face_unused.rgba16.png"), + define_builtin_tex(lakitu_seg6_texture_06000800, "actors/lakitu_cameraman/lakitu_cameraman_eyes_open.rgba16.png"), + define_builtin_tex(lakitu_seg6_texture_06001800, "actors/lakitu_cameraman/lakitu_cameraman_eyes_closed.rgba16.png"), + define_builtin_tex(lakitu_seg6_texture_06002800, "actors/lakitu_cameraman/lakitu_cameraman_shell.rgba16.png"), + define_builtin_tex(lakitu_seg6_texture_06003000, "actors/lakitu_cameraman/lakitu_cameraman_frown.rgba16.png"), + define_builtin_tex(lakitu_seg6_texture_06003800, "actors/lakitu_cameraman/lakitu_camera_lens.rgba16.png"), + define_builtin_tex(lakitu_enemy_seg5_texture_0500ECE0, "actors/lakitu_enemy/lakitu_enemy_cloud_face_unused.rgba16.png"), + define_builtin_tex(lakitu_enemy_seg5_texture_0500F4E0, "actors/lakitu_enemy/lakitu_enemy_eyes_open.rgba16.png"), + define_builtin_tex(lakitu_enemy_seg5_texture_050104E0, "actors/lakitu_enemy/lakitu_enemy_eyes_closed.rgba16.png"), + define_builtin_tex(lakitu_enemy_seg5_texture_050114E0, "actors/lakitu_enemy/lakitu_enemy_shell.rgba16.png"), + define_builtin_tex(lakitu_enemy_seg5_texture_05011CE0, "actors/lakitu_enemy/lakitu_enemy_frown.rgba16.png"), + define_builtin_tex(leaves_seg3_texture_0301CBE0, "actors/leaves/leaf.rgba16.png"), + define_builtin_tex(mad_piano_seg5_texture_05006AF0, "actors/mad_piano/mad_piano_tooth.rgba16.png"), + define_builtin_tex(mad_piano_seg5_texture_050072F0, "actors/mad_piano/mad_piano_body.rgba16.png"), + define_builtin_tex(mad_piano_seg5_texture_050076F0, "actors/mad_piano/mad_piano_keys_corner.rgba16.png"), + define_builtin_tex(mad_piano_seg5_texture_05007AF0, "actors/mad_piano/mad_piano_mouth.rgba16.png"), + define_builtin_tex(mad_piano_seg5_texture_05007EF0, "actors/mad_piano/mad_piano_keys.rgba16.png"), + define_builtin_tex(mad_piano_seg5_texture_050082F0, "actors/mad_piano/mad_piano_keys_edge.rgba16.png"), + define_builtin_tex(manta_seg5_texture_050017A0, "actors/manta/manta_fin_corner.rgba16.png"), + define_builtin_tex(manta_seg5_texture_05001FA0, "actors/manta/manta_gills.rgba16.png"), + define_builtin_tex(manta_seg5_texture_05002FA0, "actors/manta/manta_eye.rgba16.png"), + define_builtin_tex(manta_seg5_texture_050037A0, "actors/manta/manta_fin_edge.rgba16.png"), + define_builtin_tex(metal_box_seg8_texture_08023998, "actors/metal_box/metal_box_side.rgba16.png"), + define_builtin_tex(mips_seg6_texture_0600FB80, "actors/mips/mips_eyes.rgba16.png"), + define_builtin_tex(mist_seg3_texture_03000080, "actors/mist/mist.ia16.png"), + define_builtin_tex(moneybag_seg6_texture_060039B0, "actors/moneybag/moneybag_mouth.rgba16.png"), + define_builtin_tex(moneybag_seg6_texture_060049B0, "actors/moneybag/moneybag_eyes.rgba16.png"), + define_builtin_tex(monty_mole_seg5_texture_05000970, "actors/monty_mole/monty_mole_cheek.rgba16.png"), + define_builtin_tex(monty_mole_seg5_texture_05001170, "actors/monty_mole/monty_mole_eye.rgba16.png"), + define_builtin_tex(monty_mole_seg5_texture_05001970, "actors/monty_mole/monty_mole_nose.rgba16.png"), + define_builtin_tex(monty_mole_seg5_texture_05002170, "actors/monty_mole/monty_mole_tooth.rgba16.png"), + define_builtin_tex(monty_mole_seg5_texture_05002970, "actors/monty_mole/monty_mole_claw.rgba16.png"), + define_builtin_tex(monty_mole_hole_seg5_texture_05000040, "actors/monty_mole_hole/monty_mole_hole.ia16.png"), + define_builtin_tex(mr_i_eyeball_seg6_texture_06000080, "actors/mr_i_eyeball/mr_i_eyeball_left_side.rgba16.png"), + define_builtin_tex(mr_i_eyeball_seg6_texture_06001080, "actors/mr_i_eyeball/mr_i_eyeball_right_side.rgba16.png"), + define_builtin_tex(mr_i_iris_seg6_texture_06002170, "actors/mr_i_iris/mr_i_iris_open.rgba16.png"), + define_builtin_tex(mr_i_iris_seg6_texture_06002970, "actors/mr_i_iris/mr_i_iris_mostly_open.rgba16.png"), + define_builtin_tex(mr_i_iris_seg6_texture_06003170, "actors/mr_i_iris/mr_i_iris_mostly_closed.rgba16.png"), + define_builtin_tex(mr_i_iris_seg6_texture_06003970, "actors/mr_i_iris/mr_i_iris_closed.rgba16.png"), + define_builtin_tex(mushroom_1up_seg3_texture_03029628, "actors/mushroom_1up/1-up_mushroom.rgba16.png"), + define_builtin_tex(peach_seg5_texture_05000A28, "actors/peach/peach_eye_open.rgba16.png"), + define_builtin_tex(peach_seg5_texture_05001228, "actors/peach/peach_eye_mostly_open.rgba16.png"), + define_builtin_tex(peach_seg5_texture_05001A28, "actors/peach/peach_eye_mostly_closed.rgba16.png"), + define_builtin_tex(peach_seg5_texture_05002228, "actors/peach/peach_eye_closed.rgba16.png"), + define_builtin_tex(peach_seg5_texture_05002A28, "actors/peach/peach_crown_jewel.rgba16.png"), + define_builtin_tex(peach_seg5_texture_05002C28, "actors/peach/peach_chest_jewel.rgba16.png"), + define_builtin_tex(peach_seg5_texture_05002E28, "actors/peach/peach_lips_scrunched.rgba16.png"), + define_builtin_tex(peach_seg5_texture_05003628, "actors/peach/peach_lips.rgba16.png"), + define_builtin_tex(peach_seg5_texture_05003E28, "actors/peach/peach_nostril.rgba16.png"), + define_builtin_tex(peach_seg5_texture_05004028, "actors/peach/peach_dress.rgba16.png"), + define_builtin_tex(pebble_seg3_texture_0301C300, "actors/pebble/pebble.rgba16.png"), + define_builtin_tex(penguin_seg5_texture_05002DE0, "actors/penguin/penguin_eye_open.rgba16.png"), + define_builtin_tex(penguin_seg5_texture_050035E0, "actors/penguin/penguin_eye_half_closed.rgba16.png"), + define_builtin_tex(penguin_seg5_texture_05003DE0, "actors/penguin/penguin_eye_closed.rgba16.png"), + define_builtin_tex(penguin_seg5_texture_050045E0, "actors/penguin/penguin_eye_angry.rgba16.png"), + define_builtin_tex(penguin_seg5_texture_05004DE0, "actors/penguin/penguin_eye_angry_unused.rgba16.png"), + define_builtin_tex(penguin_seg5_texture_050055E0, "actors/penguin/penguin_beak.rgba16.png"), + define_builtin_tex(piranha_plant_seg6_texture_060113F8, "actors/piranha_plant/piranha_plant_tongue.rgba16.png"), + define_builtin_tex(piranha_plant_seg6_texture_060123F8, "actors/piranha_plant/piranha_plant_skin.rgba16.png"), + define_builtin_tex(piranha_plant_seg6_texture_06012BF8, "actors/piranha_plant/piranha_plant_stem.rgba16.png"), + define_builtin_tex(piranha_plant_seg6_texture_060133F8, "actors/piranha_plant/piranha_plant_bottom_lip.rgba16.png"), + define_builtin_tex(piranha_plant_seg6_texture_06013BF8, "actors/piranha_plant/piranha_plant_tooth.rgba16.png"), + define_builtin_tex(piranha_plant_seg6_texture_060143F8, "actors/piranha_plant/piranha_plant_leaf.rgba16.png"), + define_builtin_tex(pokey_seg5_texture_05011750, "actors/pokey/pokey_face.rgba16.png"), + define_builtin_tex(pokey_seg5_texture_05011F50, "actors/pokey/pokey_face_blink.rgba16.png"), + define_builtin_tex(pokey_seg5_texture_05012878, "actors/pokey/pokey_body.rgba16.png"), + define_builtin_tex(poundable_pole_seg6_texture_06001050, "actors/poundable_pole/poundable_pole_top.rgba16.png"), + define_builtin_tex(poundable_pole_seg6_texture_06001850, "actors/poundable_pole/poundable_pole_side.rgba16.png"), + define_builtin_tex(texture_power_meter_left_side, "actors/power_meter/power_meter_left_side.rgba16.png"), + define_builtin_tex(texture_power_meter_right_side, "actors/power_meter/power_meter_right_side.rgba16.png"), + define_builtin_tex(texture_power_meter_full, "actors/power_meter/power_meter_full.rgba16.png"), + define_builtin_tex(texture_power_meter_seven_segments, "actors/power_meter/power_meter_seven_segments.rgba16.png"), + define_builtin_tex(texture_power_meter_six_segments, "actors/power_meter/power_meter_six_segments.rgba16.png"), + define_builtin_tex(texture_power_meter_five_segments, "actors/power_meter/power_meter_five_segments.rgba16.png"), + define_builtin_tex(texture_power_meter_four_segments, "actors/power_meter/power_meter_four_segments.rgba16.png"), + define_builtin_tex(texture_power_meter_three_segments, "actors/power_meter/power_meter_three_segments.rgba16.png"), + define_builtin_tex(texture_power_meter_two_segments, "actors/power_meter/power_meter_two_segments.rgba16.png"), + define_builtin_tex(texture_power_meter_one_segments, "actors/power_meter/power_meter_one_segment.rgba16.png"), + define_builtin_tex(purple_switch_seg8_texture_0800C0A8, "actors/purple_switch/purple_switch_base.rgba16.png"), + define_builtin_tex(purple_switch_seg8_texture_0800C128, "actors/purple_switch/purple_switch_exclamation_point.rgba16.png"), + define_builtin_tex(sand_seg3_texture_0302BAD0, "actors/sand/sand_particle.rgba16.png"), + define_builtin_tex(scuttlebug_seg6_texture_06010108, "actors/scuttlebug/scuttlebug_eye.rgba16.png"), + define_builtin_tex(scuttlebug_seg6_texture_06010908, "actors/scuttlebug/scuttlebug_left_side.rgba16.png"), + define_builtin_tex(scuttlebug_seg6_texture_06011908, "actors/scuttlebug/scuttlebug_right_side.rgba16.png"), + define_builtin_tex(scuttlebug_seg6_texture_06012908, "actors/scuttlebug/scuttlebug_iris.rgba16.png"), + define_builtin_tex(scuttlebug_seg6_texture_06013108, "actors/scuttlebug/scuttlebug_leg.rgba16.png"), + define_builtin_tex(seaweed_seg6_texture_06007E10, "actors/seaweed/seaweed_tip.rgba16.png"), + define_builtin_tex(seaweed_seg6_texture_06008610, "actors/seaweed/seaweed_upper_center.rgba16.png"), + define_builtin_tex(seaweed_seg6_texture_06008E10, "actors/seaweed/seaweed_lower_center.rgba16.png"), + define_builtin_tex(seaweed_seg6_texture_06009610, "actors/seaweed/seaweed_base.rgba16.png"), + define_builtin_tex(skeeter_seg6_texture_06000090, "actors/skeeter/skeeter_eye.rgba16.png"), + define_builtin_tex(skeeter_seg6_texture_06000890, "actors/skeeter/skeeter_iris.rgba16.png"), + define_builtin_tex(smoke_seg5_texture_050072C0, "actors/smoke/smoke.ia16.png"), + define_builtin_tex(snowman_seg5_texture_05008C70, "actors/snowman/mr_blizzard_mitten.rgba16.png"), + define_builtin_tex(snowman_seg5_texture_05009470, "actors/snowman/mr_blizzard_left_side.rgba16.png"), + define_builtin_tex(snowman_seg5_texture_0500A470, "actors/snowman/mr_blizzard_right_side.rgba16.png"), + define_builtin_tex(snowman_seg5_texture_0500B470, "actors/snowman/mr_blizzard_eye.rgba16.png"), + define_builtin_tex(snowman_seg5_texture_0500BC70, "actors/snowman/mr_blizzard_mouth.rgba16.png"), + define_builtin_tex(snufit_seg6_texture_060070E0, "actors/snufit/snufit_body.rgba16.png"), + define_builtin_tex(snufit_seg6_texture_060078E0, "actors/snufit/snufit_eye.rgba16.png"), + define_builtin_tex(snufit_seg6_texture_060080E0, "actors/snufit/snufit_mask_strap.rgba16.png"), + define_builtin_tex(snufit_seg6_texture_060084E0, "actors/snufit/snufit_mouth.rgba16.png"), + define_builtin_tex(sparkles_seg4_texture_04027490, "actors/sparkle/sparkle_0.rgba16.png"), + define_builtin_tex(sparkles_seg4_texture_04027C90, "actors/sparkle/sparkle_1.rgba16.png"), + define_builtin_tex(sparkles_seg4_texture_04028490, "actors/sparkle/sparkle_2.rgba16.png"), + define_builtin_tex(sparkles_seg4_texture_04028C90, "actors/sparkle/sparkle_3.rgba16.png"), + define_builtin_tex(sparkles_seg4_texture_04029490, "actors/sparkle/sparkle_4.rgba16.png"), + define_builtin_tex(sparkles_seg4_texture_04029C90, "actors/sparkle/sparkle_5.rgba16.png"), + define_builtin_tex(sparkles_animation_seg4_texture_04032A88, "actors/sparkle_animation/sparkle_animation_0.ia16.png"), + define_builtin_tex(sparkles_animation_seg4_texture_04033288, "actors/sparkle_animation/sparkle_animation_1.ia16.png"), + define_builtin_tex(sparkles_animation_seg4_texture_04033A88, "actors/sparkle_animation/sparkle_animation_2.ia16.png"), + define_builtin_tex(sparkles_animation_seg4_texture_04034288, "actors/sparkle_animation/sparkle_animation_3.ia16.png"), + define_builtin_tex(sparkles_animation_seg4_texture_04034A88, "actors/sparkle_animation/sparkle_animation_4.ia16.png"), + define_builtin_tex(spindrift_seg5_texture_050006D0, "actors/spindrift/spindrift_face.rgba16.png"), + define_builtin_tex(spindrift_seg5_texture_05000ED0, "actors/spindrift/spindrift_petal.rgba16.png"), + define_builtin_tex(spindrift_seg5_texture_050016D0, "actors/spindrift/spindrift_leaf.rgba16.png"), + define_builtin_tex(spindrift_seg5_texture_05001ED0, "actors/spindrift/spindrift_head.rgba16.png"), + define_builtin_tex(springboard_seg5_texture_05000018, "actors/springboard/springboard_top_unused.rgba16.png"), + define_builtin_tex(springboard_seg5_texture_05000818, "actors/springboard/springboard_base_unused.rgba16.png"), + define_builtin_tex(star_seg3_texture_0302A6F0, "actors/star/star_surface.rgba16.png"), + define_builtin_tex(star_seg3_texture_0302AEF0, "actors/star/star_eye.rgba16.png"), + define_builtin_tex(stomp_smoke_seg4_texture_04022148, "actors/stomp_smoke/stomp_smoke_0.ia16.png"), + define_builtin_tex(stomp_smoke_seg4_texture_04022948, "actors/stomp_smoke/stomp_smoke_1.ia16.png"), + define_builtin_tex(stomp_smoke_seg4_texture_04023148, "actors/stomp_smoke/stomp_smoke_2.ia16.png"), + define_builtin_tex(stomp_smoke_seg4_texture_04023948, "actors/stomp_smoke/stomp_smoke_3.ia16.png"), + define_builtin_tex(stomp_smoke_seg4_texture_04024148, "actors/stomp_smoke/stomp_smoke_4.ia16.png"), + define_builtin_tex(stomp_smoke_seg4_texture_04024948, "actors/stomp_smoke/stomp_smoke_5.ia16.png"), + define_builtin_tex(sushi_seg5_texture_05008ED0, "actors/sushi/sushi_snout.rgba16.png"), + define_builtin_tex(sushi_seg5_texture_050096D0, "actors/sushi/sushi_eye.rgba16.png"), + define_builtin_tex(sushi_seg5_texture_05009AD0, "actors/sushi/sushi_tooth.rgba16.png"), + define_builtin_tex(swoop_seg6_texture_06004270, "actors/swoop/swoop_body.rgba16.png"), + define_builtin_tex(swoop_seg6_texture_06004A70, "actors/swoop/swoop_eye.rgba16.png"), + define_builtin_tex(swoop_seg6_texture_06005270, "actors/swoop/swoop_nose.rgba16.png"), + define_builtin_tex(swoop_seg6_texture_06005A70, "actors/swoop/swoop_wing.rgba16.png"), + define_builtin_tex(thwomp_seg5_texture_05009900, "actors/thwomp/thwomp_face.rgba16.png"), + define_builtin_tex(thwomp_seg5_texture_0500A900, "actors/thwomp/thwomp_surface.rgba16.png"), + define_builtin_tex(toad_seg6_texture_06005920, "actors/toad/toad_face.rgba16.png"), + define_builtin_tex(toad_seg6_texture_06006120, "actors/toad/toad_head.rgba16.png"), + define_builtin_tex(tornado_seg5_texture_05013128, "actors/tornado/tornado.ia16.png"), + define_builtin_tex(treasure_chest_seg6_texture_06013FA8, "actors/treasure_chest/treasure_chest_lock.rgba16.png"), + define_builtin_tex(treasure_chest_seg6_texture_060147A8, "actors/treasure_chest/treasure_chest_side.rgba16.png"), + define_builtin_tex(treasure_chest_seg6_texture_06014FA8, "actors/treasure_chest/treasure_chest_lock_top.rgba16.png"), + define_builtin_tex(treasure_chest_seg6_texture_060157A8, "actors/treasure_chest/treasure_chest_front.rgba16.png"), + define_builtin_tex(tree_seg3_texture_0302DE28, "actors/tree/tree_left_side.rgba16.png"), + define_builtin_tex(tree_seg3_texture_0302EE28, "actors/tree/tree_right_side.rgba16.png"), + define_builtin_tex(tree_seg3_texture_0302FF60, "actors/tree/pine_tree.rgba16.png"), + define_builtin_tex(tree_seg3_texture_03031048, "actors/tree/snowy_pine_tree.rgba16.png"), + define_builtin_tex(tree_seg3_texture_03032218, "actors/tree/palm_tree.rgba16.png"), + define_builtin_tex(ukiki_seg5_texture_05007BC0, "actors/ukiki/ukiki_face.rgba16.png"), + define_builtin_tex(ukiki_seg5_texture_05008BC0, "actors/ukiki/ukiki_face_blink.rgba16.png"), + define_builtin_tex(ukiki_seg5_texture_05009BC0, "actors/ukiki/ukiki_butt.rgba16.png"), + define_builtin_tex(ukiki_seg5_texture_0500A3C0, "actors/ukiki/ukiki_fur.rgba16.png"), + define_builtin_tex(unagi_seg5_texture_0500AF20, "actors/unagi/unagi_body.rgba16.png"), + define_builtin_tex(unagi_seg5_texture_0500B720, "actors/unagi/unagi_eye.rgba16.png"), + define_builtin_tex(unagi_seg5_texture_0500B920, "actors/unagi/unagi_head_base.rgba16.png"), + define_builtin_tex(unagi_seg5_texture_0500C120, "actors/unagi/unagi_tooth.rgba16.png"), + define_builtin_tex(unagi_seg5_texture_0500C320, "actors/unagi/unagi_mouth.rgba16.png"), + define_builtin_tex(unagi_seg5_texture_0500C3A0, "actors/unagi/unagi_tail.rgba16.png"), + define_builtin_tex(smoke_seg4_texture_0401DEA0, "actors/walk_smoke/walk_smoke_0.ia16.png"), + define_builtin_tex(smoke_seg4_texture_0401E6A0, "actors/walk_smoke/walk_smoke_1.ia16.png"), + define_builtin_tex(smoke_seg4_texture_0401EEA0, "actors/walk_smoke/walk_smoke_2.ia16.png"), + define_builtin_tex(smoke_seg4_texture_0401F6A0, "actors/walk_smoke/walk_smoke_3.ia16.png"), + define_builtin_tex(smoke_seg4_texture_0401FEA0, "actors/walk_smoke/walk_smoke_4.ia16.png"), + define_builtin_tex(smoke_seg4_texture_040206A0, "actors/walk_smoke/walk_smoke_5.ia16.png"), + define_builtin_tex(smoke_seg4_texture_04020EA0, "actors/walk_smoke/walk_smoke_6.ia16.png"), + define_builtin_tex(warp_pipe_seg3_texture_03007E40, "actors/warp_pipe/warp_pipe_side.rgba16.png"), + define_builtin_tex(warp_pipe_seg3_texture_03009168, "actors/warp_pipe/warp_pipe_top.rgba16.png"), + define_builtin_tex(water_bubble_seg5_texture_0500FE80, "actors/water_bubble/water_bubble.rgba16.png"), + define_builtin_tex(water_mine_seg6_texture_0600A4F8, "actors/water_mine/water_mine_left_side_unused.rgba16.png"), + define_builtin_tex(water_mine_seg6_texture_0600B4F8, "actors/water_mine/water_mine_right_side_unused.rgba16.png"), + define_builtin_tex(water_mine_seg6_texture_0600C4F8, "actors/water_mine/water_mine_spike_unused.rgba16.png"), + define_builtin_tex(water_ring_seg6_texture_06012380, "actors/water_ring/water_ring.rgba16.png"), + define_builtin_tex(water_splash_seg4_texture_0402A5C8, "actors/water_splash/water_splash_0.rgba16.png"), + define_builtin_tex(water_splash_seg4_texture_0402B5C8, "actors/water_splash/water_splash_1.rgba16.png"), + define_builtin_tex(water_splash_seg4_texture_0402C5C8, "actors/water_splash/water_splash_2.rgba16.png"), + define_builtin_tex(water_splash_seg4_texture_0402D5C8, "actors/water_splash/water_splash_3.rgba16.png"), + define_builtin_tex(water_splash_seg4_texture_0402E5C8, "actors/water_splash/water_splash_4.rgba16.png"), + define_builtin_tex(water_splash_seg4_texture_0402F5C8, "actors/water_splash/water_splash_5.rgba16.png"), + define_builtin_tex(water_splash_seg4_texture_040305C8, "actors/water_splash/water_splash_6.rgba16.png"), + define_builtin_tex(water_splash_seg4_texture_040315C8, "actors/water_splash/water_splash_7.rgba16.png"), + define_builtin_tex(water_wave_seg4_texture_04025358, "actors/water_wave/water_wave_0.ia16.png"), + define_builtin_tex(water_wave_seg4_texture_04025B58, "actors/water_wave/water_wave_1.ia16.png"), + define_builtin_tex(water_wave_seg4_texture_04026358, "actors/water_wave/water_wave_2.ia16.png"), + define_builtin_tex(water_wave_seg4_texture_04026B58, "actors/water_wave/water_wave_3.ia16.png"), + define_builtin_tex(whirlpool_seg5_texture_05012848, "actors/whirlpool/whirlpool.ia16.png"), + define_builtin_tex(white_particle_texture, "actors/white_particle/snow_particle.rgba16.png"), + define_builtin_tex(white_particle_small_texture, "actors/white_particle_small/small_snow_particle.rgba16.png"), + define_builtin_tex(whomp_seg6_texture_0601C360, "actors/whomp/whomp_back.rgba16.png"), + define_builtin_tex(whomp_seg6_texture_0601D360, "actors/whomp/whomp_face.rgba16.png"), + define_builtin_tex(whomp_seg6_texture_0601E360, "actors/whomp/whomp_hand.rgba16.png"), + define_builtin_tex(whomp_seg6_texture_0601EB60, "actors/whomp/whomp_surface.rgba16.png"), + define_builtin_tex(wiggler_seg5_texture_05005A30, "actors/wiggler/wiggler_segment_left_side.rgba16.png"), + define_builtin_tex(wiggler_seg5_texture_05006A30, "actors/wiggler/wiggler_segment_right_side.rgba16.png"), + define_builtin_tex(wiggler_seg5_texture_05007A30, "actors/wiggler/wiggler_eye.rgba16.png"), + define_builtin_tex(wiggler_seg5_texture_05008230, "actors/wiggler/wiggler_flower.rgba16.png"), + define_builtin_tex(wiggler_seg5_texture_05008A30, "actors/wiggler/wiggler_frown.rgba16.png"), + define_builtin_tex(wiggler_seg5_texture_05009230, "actors/wiggler/wiggler_nose_left_side.rgba16.png"), + define_builtin_tex(wiggler_seg5_texture_0500A230, "actors/wiggler/wiggler_nose_right_side.rgba16.png"), + define_builtin_tex(wooden_signpost_seg3_texture_0302C9C8, "actors/wooden_signpost/wooden_signpost_back.rgba16.png"), + define_builtin_tex(wooden_signpost_seg3_texture_0302D1C8, "actors/wooden_signpost/wooden_signpost_front.rgba16.png"), + define_builtin_tex(yellow_sphere_seg6_texture_0601EB88, "actors/yellow_sphere/yellow_sphere.rgba16.png"), + define_builtin_tex(yellow_sphere_seg5_texture_05000040, "actors/yellow_sphere_small/small_yellow_sphere.rgba16.png"), + define_builtin_tex(yoshi_seg5_texture_0501C4A0, "actors/yoshi/yoshi_eye.rgba16.png"), + define_builtin_tex(yoshi_seg5_texture_0501C6A0, "actors/yoshi/yoshi_eye_blink.rgba16.png"), + define_builtin_tex(yoshi_seg5_texture_0501C8A0, "actors/yoshi/yoshi_nostril.rgba16.png"), + define_builtin_tex(yoshi_egg_seg5_texture_050057B8, "actors/yoshi_egg/yoshi_egg_0_unused.rgba16.png"), + define_builtin_tex(yoshi_egg_seg5_texture_05005FB8, "actors/yoshi_egg/yoshi_egg_1_unused.rgba16.png"), + define_builtin_tex(yoshi_egg_seg5_texture_050067B8, "actors/yoshi_egg/yoshi_egg_2_unused.rgba16.png"), + define_builtin_tex(yoshi_egg_seg5_texture_05006FB8, "actors/yoshi_egg/yoshi_egg_3_unused.rgba16.png"), + define_builtin_tex(yoshi_egg_seg5_texture_050077B8, "actors/yoshi_egg/yoshi_egg_4_unused.rgba16.png"), + define_builtin_tex(yoshi_egg_seg5_texture_05007FB8, "actors/yoshi_egg/yoshi_egg_5_unused.rgba16.png"), + define_builtin_tex(yoshi_egg_seg5_texture_050087B8, "actors/yoshi_egg/yoshi_egg_6_unused.rgba16.png"), + define_builtin_tex(yoshi_egg_seg5_texture_05008FB8, "actors/yoshi_egg/yoshi_egg_7_unused.rgba16.png"), + define_builtin_tex(cave_09000000, "textures/cave/hmc_textures.00000.rgba16.png"), + define_builtin_tex(cave_09001000, "textures/cave/hmc_textures.01000.rgba16.png"), + define_builtin_tex(cave_09001800, "textures/cave/hmc_textures.01800.rgba16.png"), + define_builtin_tex(cave_09002800, "textures/cave/hmc_textures.02800.rgba16.png"), + define_builtin_tex(cave_09003000, "textures/cave/hmc_textures.03000.rgba16.png"), + define_builtin_tex(cave_09003800, "textures/cave/hmc_textures.03800.rgba16.png"), + define_builtin_tex(cave_09004800, "textures/cave/hmc_textures.04800.rgba16.png"), + define_builtin_tex(cave_09005800, "textures/cave/hmc_textures.05800.rgba16.png"), + define_builtin_tex(cave_09006800, "textures/cave/hmc_textures.06800.rgba16.png"), + define_builtin_tex(cave_09007000, "textures/cave/hmc_textures.07000.rgba16.png"), + define_builtin_tex(cave_09007800, "textures/cave/hmc_textures.07800.rgba16.png"), + define_builtin_tex(cave_09008800, "textures/cave/hmc_textures.08800.rgba16.png"), + define_builtin_tex(cave_09009800, "textures/cave/hmc_textures.09800.rgba16.png"), + define_builtin_tex(cave_0900A000, "textures/cave/hmc_textures.0A000.rgba16.png"), + define_builtin_tex(cave_0900A800, "textures/cave/hmc_textures.0A800.rgba16.png"), + define_builtin_tex(cave_0900B800, "textures/cave/hmc_textures.0B800.ia16.png"), + define_builtin_tex(cave_0900C000, "textures/cave/hmc_textures.0C000.ia16.png"), + define_builtin_tex(effect_0B000008, "textures/effect/flower.00008.rgba16.png"), + define_builtin_tex(effect_0B000808, "textures/effect/flower.00808.rgba16.png"), + define_builtin_tex(effect_0B001008, "textures/effect/flower.01008.rgba16.png"), + define_builtin_tex(effect_0B001808, "textures/effect/flower.01808.rgba16.png"), + define_builtin_tex(effect_0B002020, "textures/effect/lava_bubble.02020.rgba16.png"), + define_builtin_tex(effect_0B002820, "textures/effect/lava_bubble.02820.rgba16.png"), + define_builtin_tex(effect_0B003020, "textures/effect/lava_bubble.03020.rgba16.png"), + define_builtin_tex(effect_0B003820, "textures/effect/lava_bubble.03820.rgba16.png"), + define_builtin_tex(effect_0B004020, "textures/effect/lava_bubble.04020.rgba16.png"), + define_builtin_tex(effect_0B004820, "textures/effect/lava_bubble.04820.rgba16.png"), + define_builtin_tex(effect_0B005020, "textures/effect/lava_bubble.05020.rgba16.png"), + define_builtin_tex(effect_0B005820, "textures/effect/lava_bubble.05820.rgba16.png"), + define_builtin_tex(effect_0B006048, "textures/effect/bubble.06048.rgba16.png"), + define_builtin_tex(effect_0B00684C, "textures/effect/tiny_bubble.0684C.rgba16.png"), + define_builtin_tex(effect_0B006AD8, "textures/effect/tiny_bubble.06AD8.rgba16.png"), + define_builtin_tex(fire_09000000, "textures/fire/lll_textures.00000.rgba16.png"), + define_builtin_tex(fire_09000800, "textures/fire/lll_textures.00800.rgba16.png"), + define_builtin_tex(fire_09001000, "textures/fire/lll_textures.01000.rgba16.png"), + define_builtin_tex(fire_09001800, "textures/fire/lll_textures.01800.rgba16.png"), + define_builtin_tex(fire_09002000, "textures/fire/lll_textures.02000.rgba16.png"), + define_builtin_tex(fire_09002800, "textures/fire/lll_textures.02800.rgba16.png"), + define_builtin_tex(fire_09003000, "textures/fire/lll_textures.03000.rgba16.png"), + define_builtin_tex(fire_09003800, "textures/fire/lll_textures.03800.rgba16.png"), + define_builtin_tex(fire_09004000, "textures/fire/lll_textures.04000.rgba16.png"), + define_builtin_tex(fire_09004800, "textures/fire/lll_textures.04800.rgba16.png"), + define_builtin_tex(fire_09005000, "textures/fire/lll_textures.05000.rgba16.png"), + define_builtin_tex(fire_09005800, "textures/fire/lll_textures.05800.rgba16.png"), + define_builtin_tex(fire_09006000, "textures/fire/lll_textures.06000.rgba16.png"), + define_builtin_tex(fire_09006800, "textures/fire/lll_textures.06800.rgba16.png"), + define_builtin_tex(fire_09007000, "textures/fire/lll_textures.07000.rgba16.png"), + define_builtin_tex(fire_09007800, "textures/fire/lll_textures.07800.rgba16.png"), + define_builtin_tex(fire_09008000, "textures/fire/lll_textures.08000.rgba16.png"), + define_builtin_tex(fire_09008800, "textures/fire/lll_textures.08800.rgba16.png"), + define_builtin_tex(fire_09009000, "textures/fire/lll_textures.09000.rgba16.png"), + define_builtin_tex(fire_09009800, "textures/fire/lll_textures.09800.rgba16.png"), + define_builtin_tex(fire_0900A000, "textures/fire/lll_textures.0A000.rgba16.png"), + define_builtin_tex(fire_0900A800, "textures/fire/lll_textures.0A800.rgba16.png"), + define_builtin_tex(fire_0900B000, "textures/fire/lll_textures.0B000.rgba16.png"), + define_builtin_tex(fire_0900B800, "textures/fire/lll_textures.0B800.rgba16.png"), + define_builtin_tex(generic_09000000, "textures/generic/bob_textures.00000.rgba16.png"), + define_builtin_tex(generic_09000800, "textures/generic/bob_textures.00800.rgba16.png"), + define_builtin_tex(generic_09001000, "textures/generic/bob_textures.01000.rgba16.png"), + define_builtin_tex(generic_09001800, "textures/generic/bob_textures.01800.rgba16.png"), + define_builtin_tex(generic_09002000, "textures/generic/bob_textures.02000.rgba16.png"), + define_builtin_tex(generic_09002800, "textures/generic/bob_textures.02800.rgba16.png"), + define_builtin_tex(generic_09003000, "textures/generic/bob_textures.03000.rgba16.png"), + define_builtin_tex(generic_09003800, "textures/generic/bob_textures.03800.rgba16.png"), + define_builtin_tex(generic_09004000, "textures/generic/bob_textures.04000.rgba16.png"), + define_builtin_tex(generic_09004800, "textures/generic/bob_textures.04800.rgba16.png"), + define_builtin_tex(generic_09005000, "textures/generic/bob_textures.05000.rgba16.png"), + define_builtin_tex(generic_09005800, "textures/generic/bob_textures.05800.rgba16.png"), + define_builtin_tex(generic_09006000, "textures/generic/bob_textures.06000.rgba16.png"), + define_builtin_tex(generic_09007000, "textures/generic/bob_textures.07000.rgba16.png"), + define_builtin_tex(generic_09007800, "textures/generic/bob_textures.07800.rgba16.png"), + define_builtin_tex(generic_09008000, "textures/generic/bob_textures.08000.rgba16.png"), + define_builtin_tex(generic_09008800, "textures/generic/bob_textures.08800.rgba16.png"), + define_builtin_tex(generic_09009000, "textures/generic/bob_textures.09000.rgba16.png"), + define_builtin_tex(generic_09009800, "textures/generic/bob_textures.09800.rgba16.png"), + define_builtin_tex(generic_0900A000, "textures/generic/bob_textures.0A000.rgba16.png"), + define_builtin_tex(generic_0900A800, "textures/generic/bob_textures.0A800.rgba16.png"), + define_builtin_tex(generic_0900B000, "textures/generic/bob_textures.0B000.ia16.png"), + define_builtin_tex(grass_09000000, "textures/grass/wf_textures.00000.rgba16.png"), + define_builtin_tex(grass_09000800, "textures/grass/wf_textures.00800.rgba16.png"), + define_builtin_tex(grass_09001000, "textures/grass/wf_textures.01000.rgba16.png"), + define_builtin_tex(grass_09001800, "textures/grass/wf_textures.01800.rgba16.png"), + define_builtin_tex(grass_09002000, "textures/grass/wf_textures.02000.rgba16.png"), + define_builtin_tex(grass_09002800, "textures/grass/wf_textures.02800.rgba16.png"), + define_builtin_tex(grass_09003000, "textures/grass/wf_textures.03000.rgba16.png"), + define_builtin_tex(grass_09003800, "textures/grass/wf_textures.03800.rgba16.png"), + define_builtin_tex(grass_09004000, "textures/grass/wf_textures.04000.rgba16.png"), + define_builtin_tex(grass_09004800, "textures/grass/wf_textures.04800.rgba16.png"), + define_builtin_tex(grass_09005000, "textures/grass/wf_textures.05000.rgba16.png"), + define_builtin_tex(grass_09005800, "textures/grass/wf_textures.05800.rgba16.png"), + define_builtin_tex(grass_09006000, "textures/grass/wf_textures.06000.rgba16.png"), + define_builtin_tex(grass_09006800, "textures/grass/wf_textures.06800.rgba16.png"), + define_builtin_tex(grass_09007000, "textures/grass/wf_textures.07000.rgba16.png"), + define_builtin_tex(grass_09007800, "textures/grass/wf_textures.07800.rgba16.png"), + define_builtin_tex(grass_09008000, "textures/grass/wf_textures.08000.rgba16.png"), + define_builtin_tex(grass_09008800, "textures/grass/wf_textures.08800.rgba16.png"), + define_builtin_tex(grass_09009000, "textures/grass/wf_textures.09000.rgba16.png"), + define_builtin_tex(grass_09009800, "textures/grass/wf_textures.09800.rgba16.png"), + define_builtin_tex(grass_0900A000, "textures/grass/wf_textures.0A000.rgba16.png"), + define_builtin_tex(grass_0900A800, "textures/grass/wf_textures.0A800.rgba16.png"), + define_builtin_tex(grass_0900B000, "textures/grass/wf_textures.0B000.ia16.png"), + define_builtin_tex(grass_0900B800, "textures/grass/wf_textures.0B800.ia16.png"), + define_builtin_tex(inside_09000000, "textures/inside/inside_castle_textures.00000.rgba16.png"), + define_builtin_tex(inside_09001000, "textures/inside/inside_castle_textures.01000.rgba16.png"), + define_builtin_tex(inside_09002000, "textures/inside/inside_castle_textures.02000.rgba16.png"), + define_builtin_tex(inside_09003000, "textures/inside/inside_castle_textures.03000.rgba16.png"), + define_builtin_tex(inside_09003800, "textures/inside/inside_castle_textures.03800.rgba16.png"), + define_builtin_tex(inside_09004000, "textures/inside/inside_castle_textures.04000.rgba16.png"), + define_builtin_tex(inside_09004800, "textures/inside/inside_castle_textures.04800.rgba16.png"), + define_builtin_tex(inside_09005000, "textures/inside/inside_castle_textures.05000.rgba16.png"), + define_builtin_tex(inside_09005800, "textures/inside/inside_castle_textures.05800.rgba16.png"), + define_builtin_tex(inside_09006000, "textures/inside/inside_castle_textures.06000.rgba16.png"), + define_builtin_tex(inside_09007000, "textures/inside/inside_castle_textures.07000.rgba16.png"), + define_builtin_tex(inside_09008000, "textures/inside/inside_castle_textures.08000.rgba16.png"), + define_builtin_tex(inside_09008800, "textures/inside/inside_castle_textures.08800.rgba16.png"), + define_builtin_tex(inside_09009000, "textures/inside/inside_castle_textures.09000.rgba16.png"), + define_builtin_tex(inside_0900A000, "textures/inside/inside_castle_textures.0A000.rgba16.png"), + define_builtin_tex(inside_0900B000, "textures/inside/inside_castle_textures.0B000.rgba16.png"), + define_builtin_tex(inside_0900B800, "textures/inside/inside_castle_textures.0B800.rgba16.png"), + define_builtin_tex(machine_09000000, "textures/machine/ttc_textures.00000.rgba16.png"), + define_builtin_tex(machine_09000800, "textures/machine/ttc_textures.00800.rgba16.png"), + define_builtin_tex(machine_09001000, "textures/machine/ttc_textures.01000.rgba16.png"), + define_builtin_tex(machine_09001800, "textures/machine/ttc_textures.01800.rgba16.png"), + define_builtin_tex(machine_09002000, "textures/machine/ttc_textures.02000.rgba16.png"), + define_builtin_tex(machine_09002800, "textures/machine/ttc_textures.02800.rgba16.png"), + define_builtin_tex(machine_09003000, "textures/machine/ttc_textures.03000.rgba16.png"), + define_builtin_tex(machine_09003800, "textures/machine/ttc_textures.03800.rgba16.png"), + define_builtin_tex(machine_09004000, "textures/machine/ttc_textures.04000.rgba16.png"), + define_builtin_tex(machine_09005000, "textures/machine/ttc_textures.05000.rgba16.png"), + define_builtin_tex(machine_09005800, "textures/machine/ttc_textures.05800.rgba16.png"), + define_builtin_tex(machine_09006000, "textures/machine/ttc_textures.06000.rgba16.png"), + define_builtin_tex(machine_09006800, "textures/machine/ttc_textures.06800.rgba16.png"), + define_builtin_tex(machine_09007000, "textures/machine/ttc_textures.07000.rgba16.png"), + define_builtin_tex(machine_09007800, "textures/machine/ttc_textures.07800.rgba16.png"), + define_builtin_tex(machine_09008000, "textures/machine/ttc_textures.08000.rgba16.png"), + define_builtin_tex(machine_09008400, "textures/machine/ttc_textures.08400.rgba16.png"), + define_builtin_tex(mountain_09000000, "textures/mountain/ttm_textures.00000.rgba16.png"), + define_builtin_tex(mountain_09000800, "textures/mountain/ttm_textures.00800.rgba16.png"), + define_builtin_tex(mountain_09001800, "textures/mountain/ttm_textures.01800.rgba16.png"), + define_builtin_tex(mountain_09002800, "textures/mountain/ttm_textures.02800.rgba16.png"), + define_builtin_tex(mountain_09003000, "textures/mountain/ttm_textures.03000.rgba16.png"), + define_builtin_tex(mountain_09003800, "textures/mountain/ttm_textures.03800.rgba16.png"), + define_builtin_tex(mountain_09004000, "textures/mountain/ttm_textures.04000.rgba16.png"), + define_builtin_tex(mountain_09004800, "textures/mountain/ttm_textures.04800.rgba16.png"), + define_builtin_tex(mountain_09005000, "textures/mountain/ttm_textures.05000.rgba16.png"), + define_builtin_tex(mountain_09005800, "textures/mountain/ttm_textures.05800.rgba16.png"), + define_builtin_tex(mountain_09006800, "textures/mountain/ttm_textures.06800.rgba16.png"), + define_builtin_tex(mountain_09007000, "textures/mountain/ttm_textures.07000.rgba16.png"), + define_builtin_tex(mountain_09007800, "textures/mountain/ttm_textures.07800.rgba16.png"), + define_builtin_tex(mountain_09008000, "textures/mountain/ttm_textures.08000.rgba16.png"), + define_builtin_tex(mountain_09008800, "textures/mountain/ttm_textures.08800.rgba16.png"), + define_builtin_tex(mountain_09009800, "textures/mountain/ttm_textures.09800.rgba16.png"), + define_builtin_tex(mountain_0900A000, "textures/mountain/ttm_textures.0A000.rgba16.png"), + define_builtin_tex(mountain_0900A800, "textures/mountain/ttm_textures.0A800.rgba16.png"), + define_builtin_tex(mountain_0900B000, "textures/mountain/ttm_textures.0B000.rgba16.png"), + define_builtin_tex(mountain_0900B800, "textures/mountain/ttm_textures.0B800.rgba16.png"), + define_builtin_tex(mountain_0900C000, "textures/mountain/ttm_textures.0C000.rgba16.png"), + define_builtin_tex(outside_09000000, "textures/outside/castle_grounds_textures.00000.rgba16.png"), + define_builtin_tex(outside_09000800, "textures/outside/castle_grounds_textures.00800.rgba16.png"), + define_builtin_tex(outside_09001000, "textures/outside/castle_grounds_textures.01000.rgba16.png"), + define_builtin_tex(outside_09002000, "textures/outside/castle_grounds_textures.02000.rgba16.png"), + define_builtin_tex(outside_09003000, "textures/outside/castle_grounds_textures.03000.rgba16.png"), + define_builtin_tex(outside_09003800, "textures/outside/castle_grounds_textures.03800.rgba16.png"), + define_builtin_tex(outside_09004000, "textures/outside/castle_grounds_textures.04000.rgba16.png"), + define_builtin_tex(outside_09004800, "textures/outside/castle_grounds_textures.04800.rgba16.png"), + define_builtin_tex(outside_09005800, "textures/outside/castle_grounds_textures.05800.rgba16.png"), + define_builtin_tex(outside_09006000, "textures/outside/castle_grounds_textures.06000.rgba16.png"), + define_builtin_tex(outside_09006800, "textures/outside/castle_grounds_textures.06800.rgba16.png"), + define_builtin_tex(outside_09007800, "textures/outside/castle_grounds_textures.07800.rgba16.png"), + define_builtin_tex(outside_09008000, "textures/outside/castle_grounds_textures.08000.rgba16.png"), + define_builtin_tex(outside_09008800, "textures/outside/castle_grounds_textures.08800.rgba16.png"), + define_builtin_tex(outside_09009000, "textures/outside/castle_grounds_textures.09000.rgba16.png"), + define_builtin_tex(outside_09009800, "textures/outside/castle_grounds_textures.09800.rgba16.png"), + define_builtin_tex(outside_0900A000, "textures/outside/castle_grounds_textures.0A000.rgba16.png"), + define_builtin_tex(outside_0900A800, "textures/outside/castle_grounds_textures.0A800.rgba16.png"), + define_builtin_tex(outside_0900B000, "textures/outside/castle_grounds_textures.0B000.rgba16.png"), + define_builtin_tex(outside_0900B400, "textures/outside/castle_grounds_textures.0B400.rgba16.png"), + define_builtin_tex(outside_0900BC00, "textures/outside/castle_grounds_textures.0BC00.ia16.png"), + define_builtin_tex(texture_hud_char_0, "textures/segment2/segment2.00000.rgba16.png"), + define_builtin_tex(texture_hud_char_1, "textures/segment2/segment2.00200.rgba16.png"), + define_builtin_tex(texture_hud_char_2, "textures/segment2/segment2.00400.rgba16.png"), + define_builtin_tex(texture_hud_char_3, "textures/segment2/segment2.00600.rgba16.png"), + define_builtin_tex(texture_hud_char_4, "textures/segment2/segment2.00800.rgba16.png"), + define_builtin_tex(texture_hud_char_5, "textures/segment2/segment2.00A00.rgba16.png"), + define_builtin_tex(texture_hud_char_6, "textures/segment2/segment2.00C00.rgba16.png"), + define_builtin_tex(texture_hud_char_7, "textures/segment2/segment2.00E00.rgba16.png"), + define_builtin_tex(texture_hud_char_8, "textures/segment2/segment2.01000.rgba16.png"), + define_builtin_tex(texture_hud_char_9, "textures/segment2/segment2.01200.rgba16.png"), + define_builtin_tex(texture_hud_char_A, "textures/segment2/segment2.01400.rgba16.png"), + define_builtin_tex(texture_hud_char_B, "textures/segment2/segment2.01600.rgba16.png"), + define_builtin_tex(texture_hud_char_C, "textures/segment2/segment2.01800.rgba16.png"), + define_builtin_tex(texture_hud_char_D, "textures/segment2/segment2.01A00.rgba16.png"), + define_builtin_tex(texture_hud_char_E, "textures/segment2/segment2.01C00.rgba16.png"), + define_builtin_tex(texture_hud_char_F, "textures/segment2/segment2.01E00.rgba16.png"), + define_builtin_tex(texture_hud_char_G, "textures/segment2/segment2.02000.rgba16.png"), + define_builtin_tex(texture_hud_char_H, "textures/segment2/segment2.02200.rgba16.png"), + define_builtin_tex(texture_hud_char_I, "textures/segment2/segment2.02400.rgba16.png"), + //define_builtin_tex(texture_hud_char_J, "textures/segment2/segment2.02600.rgba16.png"), + define_builtin_tex(texture_hud_char_K, "textures/segment2/segment2.02800.rgba16.png"), + define_builtin_tex(texture_hud_char_L, "textures/segment2/segment2.02A00.rgba16.png"), + define_builtin_tex(texture_hud_char_M, "textures/segment2/segment2.02C00.rgba16.png"), + define_builtin_tex(texture_hud_char_N, "textures/segment2/segment2.02E00.rgba16.png"), + define_builtin_tex(texture_hud_char_O, "textures/segment2/segment2.03000.rgba16.png"), + define_builtin_tex(texture_hud_char_P, "textures/segment2/segment2.03200.rgba16.png"), + //define_builtin_tex(texture_hud_char_Q, "textures/segment2/segment2.03400.rgba16.png"), + define_builtin_tex(texture_hud_char_R, "textures/segment2/segment2.03600.rgba16.png"), + define_builtin_tex(texture_hud_char_S, "textures/segment2/segment2.03800.rgba16.png"), + define_builtin_tex(texture_hud_char_T, "textures/segment2/segment2.03A00.rgba16.png"), + define_builtin_tex(texture_hud_char_U, "textures/segment2/segment2.03C00.rgba16.png"), + //define_builtin_tex(texture_hud_char_V, "textures/segment2/segment2.03E00.rgba16.png"), + define_builtin_tex(texture_hud_char_W, "textures/segment2/segment2.04000.rgba16.png"), + //define_builtin_tex(texture_hud_char_X, "textures/segment2/segment2.04200.rgba16.png"), + define_builtin_tex(texture_hud_char_Y, "textures/segment2/segment2.04400.rgba16.png"), + //define_builtin_tex(texture_hud_char_Z, "textures/segment2/segment2.04600.rgba16.png"), + define_builtin_tex(texture_hud_char_apostrophe, "textures/segment2/segment2.04800.rgba16.png"), + define_builtin_tex(texture_hud_char_double_quote, "textures/segment2/segment2.04A00.rgba16.png"), + //define_builtin_tex(texture_hud_char_umlaut, "textures/segment2/segment2.umlaut.rgba16.png"), + //define_builtin_tex(texture_hud_char_exclamation, "textures/segment2/segment2.04C00.rgba16.png"), + //define_builtin_tex(texture_hud_char_double_exclamation, "textures/segment2/segment2.04E00.rgba16.png"), + //define_builtin_tex(texture_hud_char_question, "textures/segment2/segment2.05000.rgba16.png"), + //define_builtin_tex(texture_hud_char_ampersand, "textures/segment2/segment2.05200.rgba16.png"), + //define_builtin_tex(texture_hud_char_percent, "textures/segment2/segment2.05400.rgba16.png"), + define_builtin_tex(texture_hud_char_multiply, "textures/segment2/segment2.05600.rgba16.png"), + define_builtin_tex(texture_hud_char_coin, "textures/segment2/segment2.05800.rgba16.png"), + define_builtin_tex(texture_hud_char_mario_head, "textures/segment2/segment2.05A00.rgba16.png"), + define_builtin_tex(texture_hud_char_luigi_head, "textures/segment2/custom_luigi_head.rgba16.png"), + define_builtin_tex(texture_hud_char_toad_head, "textures/segment2/custom_toad_head.rgba16.png"), + define_builtin_tex(texture_hud_char_waluigi_head, "textures/segment2/custom_waluigi_head.rgba16.png"), + define_builtin_tex(texture_hud_char_wario_head, "textures/segment2/custom_wario_head.rgba16.png"), + define_builtin_tex(texture_hud_char_star, "textures/segment2/segment2.05C00.rgba16.png"), + //define_builtin_tex(texture_hud_char_decimal_point, "textures/segment2/segment2.05E00.rgba16.png"), + //define_builtin_tex(texture_hud_char_beta_key, "textures/segment2/segment2.06000.rgba16.png"), + define_builtin_tex(texture_credits_char_3, "textures/segment2/segment2.06200.rgba16.png"), + define_builtin_tex(texture_credits_char_4, "textures/segment2/segment2.06280.rgba16.png"), + define_builtin_tex(texture_credits_char_6, "textures/segment2/segment2.06300.rgba16.png"), + define_builtin_tex(texture_credits_char_A, "textures/segment2/segment2.06380.rgba16.png"), + define_builtin_tex(texture_credits_char_B, "textures/segment2/segment2.06400.rgba16.png"), + define_builtin_tex(texture_credits_char_C, "textures/segment2/segment2.06480.rgba16.png"), + define_builtin_tex(texture_credits_char_D, "textures/segment2/segment2.06500.rgba16.png"), + define_builtin_tex(texture_credits_char_E, "textures/segment2/segment2.06580.rgba16.png"), + define_builtin_tex(texture_credits_char_F, "textures/segment2/segment2.06600.rgba16.png"), + define_builtin_tex(texture_credits_char_G, "textures/segment2/segment2.06680.rgba16.png"), + define_builtin_tex(texture_credits_char_H, "textures/segment2/segment2.06700.rgba16.png"), + define_builtin_tex(texture_credits_char_I, "textures/segment2/segment2.06780.rgba16.png"), + define_builtin_tex(texture_credits_char_J, "textures/segment2/segment2.06800.rgba16.png"), + define_builtin_tex(texture_credits_char_K, "textures/segment2/segment2.06880.rgba16.png"), + define_builtin_tex(texture_credits_char_L, "textures/segment2/segment2.06900.rgba16.png"), + define_builtin_tex(texture_credits_char_M, "textures/segment2/segment2.06980.rgba16.png"), + define_builtin_tex(texture_credits_char_N, "textures/segment2/segment2.06A00.rgba16.png"), + define_builtin_tex(texture_credits_char_O, "textures/segment2/segment2.06A80.rgba16.png"), + define_builtin_tex(texture_credits_char_P, "textures/segment2/segment2.06B00.rgba16.png"), + define_builtin_tex(texture_credits_char_Q, "textures/segment2/segment2.06B80.rgba16.png"), + define_builtin_tex(texture_credits_char_R, "textures/segment2/segment2.06C00.rgba16.png"), + define_builtin_tex(texture_credits_char_S, "textures/segment2/segment2.06C80.rgba16.png"), + define_builtin_tex(texture_credits_char_T, "textures/segment2/segment2.06D00.rgba16.png"), + define_builtin_tex(texture_credits_char_U, "textures/segment2/segment2.06D80.rgba16.png"), + define_builtin_tex(texture_credits_char_V, "textures/segment2/segment2.06E00.rgba16.png"), + define_builtin_tex(texture_credits_char_W, "textures/segment2/segment2.06E80.rgba16.png"), + define_builtin_tex(texture_credits_char_X, "textures/segment2/segment2.06F00.rgba16.png"), + define_builtin_tex(texture_credits_char_Y, "textures/segment2/segment2.06F80.rgba16.png"), + define_builtin_tex(texture_credits_char_Z, "textures/segment2/segment2.07000.rgba16.png"), + define_builtin_tex(texture_credits_char_period, "textures/segment2/segment2.07080.rgba16.png"), + //define_builtin_tex(texture_font_char_jp_0, "textures/segment2/segment2.07100.ia1.png"), + //define_builtin_tex(texture_font_char_jp_1, "textures/segment2/segment2.07110.ia1.png"), + //define_builtin_tex(texture_font_char_jp_2, "textures/segment2/segment2.07120.ia1.png"), + //define_builtin_tex(texture_font_char_jp_3, "textures/segment2/segment2.07130.ia1.png"), + //define_builtin_tex(texture_font_char_jp_4, "textures/segment2/segment2.07140.ia1.png"), + //define_builtin_tex(texture_font_char_jp_5, "textures/segment2/segment2.07150.ia1.png"), + //define_builtin_tex(texture_font_char_jp_6, "textures/segment2/segment2.07160.ia1.png"), + //define_builtin_tex(texture_font_char_jp_7, "textures/segment2/segment2.07170.ia1.png"), + //define_builtin_tex(texture_font_char_jp_8, "textures/segment2/segment2.07180.ia1.png"), + //define_builtin_tex(texture_font_char_jp_9, "textures/segment2/segment2.07190.ia1.png"), + //define_builtin_tex(texture_font_char_jp_A, "textures/segment2/segment2.071A0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_B, "textures/segment2/segment2.071B0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_C, "textures/segment2/segment2.071C0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_D, "textures/segment2/segment2.071D0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_E, "textures/segment2/segment2.071E0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_F, "textures/segment2/segment2.071F0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_G, "textures/segment2/segment2.07200.ia1.png"), + //define_builtin_tex(texture_font_char_jp_H, "textures/segment2/segment2.07210.ia1.png"), + //define_builtin_tex(texture_font_char_jp_I, "textures/segment2/segment2.07220.ia1.png"), + //define_builtin_tex(texture_font_char_jp_J, "textures/segment2/segment2.07230.ia1.png"), + //define_builtin_tex(texture_font_char_jp_K, "textures/segment2/segment2.07240.ia1.png"), + //define_builtin_tex(texture_font_char_jp_L, "textures/segment2/segment2.07250.ia1.png"), + //define_builtin_tex(texture_font_char_jp_M, "textures/segment2/segment2.07260.ia1.png"), + //define_builtin_tex(texture_font_char_jp_N, "textures/segment2/segment2.07270.ia1.png"), + //define_builtin_tex(texture_font_char_jp_O, "textures/segment2/segment2.07280.ia1.png"), + //define_builtin_tex(texture_font_char_jp_P, "textures/segment2/segment2.07290.ia1.png"), + //define_builtin_tex(texture_font_char_jp_Q, "textures/segment2/segment2.072A0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_R, "textures/segment2/segment2.072B0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_S, "textures/segment2/segment2.072C0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_T, "textures/segment2/segment2.072D0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_U, "textures/segment2/segment2.072E0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_V, "textures/segment2/segment2.072F0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_W, "textures/segment2/segment2.07300.ia1.png"), + //define_builtin_tex(texture_font_char_jp_X, "textures/segment2/segment2.07310.ia1.png"), + //define_builtin_tex(texture_font_char_jp_Y, "textures/segment2/segment2.07320.ia1.png"), + //define_builtin_tex(texture_font_char_jp_Z, "textures/segment2/segment2.07330.ia1.png"), + //define_builtin_tex(texture_font_char_jp_long_vowel, "textures/segment2/segment2.07340.ia1.png"), + //define_builtin_tex(texture_font_char_jp_exclamation, "textures/segment2/segment2.07350.ia1.png"), + //define_builtin_tex(texture_font_char_jp_dakuten, "textures/segment2/segment2.07360.ia1.png"), + //define_builtin_tex(texture_font_char_jp_handakuten, "textures/segment2/segment2.07370.ia1.png"), + //define_builtin_tex(texture_font_char_jp_percent, "textures/segment2/segment2.07380.ia1.png"), + //define_builtin_tex(texture_font_char_jp_question, "textures/segment2/segment2.07390.ia1.png"), + //define_builtin_tex(texture_font_char_jp_left_right_arrow, "textures/segment2/segment2.073A0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_open_parentheses, "textures/segment2/segment2.073B0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_close_open_parentheses, "textures/segment2/segment2.073C0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_close_parentheses, "textures/segment2/segment2.073D0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_coin, "textures/segment2/segment2.073E0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_multiply, "textures/segment2/segment2.073F0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_star_filled, "textures/segment2/segment2.07400.ia1.png"), + //define_builtin_tex(texture_font_char_jp_star_hollow, "textures/segment2/segment2.07410.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_a, "textures/segment2/segment2.07420.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_i, "textures/segment2/segment2.07430.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_u, "textures/segment2/segment2.07440.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_c, "textures/segment2/segment2.07450.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_o, "textures/segment2/segment2.07460.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ka, "textures/segment2/segment2.07470.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ki, "textures/segment2/segment2.07480.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ku, "textures/segment2/segment2.07490.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ke, "textures/segment2/segment2.074A0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ko, "textures/segment2/segment2.074B0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_sa, "textures/segment2/segment2.074C0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_shi, "textures/segment2/segment2.074D0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_su, "textures/segment2/segment2.074E0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_se, "textures/segment2/segment2.074F0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_so, "textures/segment2/segment2.07500.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ta, "textures/segment2/segment2.07510.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_chi, "textures/segment2/segment2.07520.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_tsu, "textures/segment2/segment2.07530.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_te, "textures/segment2/segment2.07540.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_to, "textures/segment2/segment2.07550.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_na, "textures/segment2/segment2.07560.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ni, "textures/segment2/segment2.07570.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_nu, "textures/segment2/segment2.07580.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ne, "textures/segment2/segment2.07590.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_no, "textures/segment2/segment2.075A0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ha, "textures/segment2/segment2.075B0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_hi, "textures/segment2/segment2.075C0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_hu, "textures/segment2/segment2.075D0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_he, "textures/segment2/segment2.075E0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ho, "textures/segment2/segment2.075F0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ma, "textures/segment2/segment2.07600.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_mi, "textures/segment2/segment2.07610.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_mu, "textures/segment2/segment2.07620.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_me, "textures/segment2/segment2.07630.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_mo, "textures/segment2/segment2.07640.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ya, "textures/segment2/segment2.07650.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_yu, "textures/segment2/segment2.07660.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_yo, "textures/segment2/segment2.07670.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ra, "textures/segment2/segment2.07680.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ri, "textures/segment2/segment2.07690.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ru, "textures/segment2/segment2.076A0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_re, "textures/segment2/segment2.076B0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_ro, "textures/segment2/segment2.076C0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_wa, "textures/segment2/segment2.076D0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_wo, "textures/segment2/segment2.076E0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_n, "textures/segment2/segment2.076F0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_small_e, "textures/segment2/segment2.07700.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_small_tsu, "textures/segment2/segment2.07710.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_small_ya, "textures/segment2/segment2.07720.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_small_yu, "textures/segment2/segment2.07730.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_small_yo, "textures/segment2/segment2.07740.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_small_a, "textures/segment2/segment2.07750.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_small_i, "textures/segment2/segment2.07760.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_small_o, "textures/segment2/segment2.07770.ia1.png"), + //define_builtin_tex(texture_font_char_jp_hiragana_small_u, "textures/segment2/segment2.07780.ia1.png"), + //define_builtin_tex(texture_font_char_jp_interpunct, "textures/segment2/segment2.07790.ia1.png"), + //define_builtin_tex(texture_font_char_jp_comma, "textures/segment2/segment2.077A0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_a, "textures/segment2/segment2.077B0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_i, "textures/segment2/segment2.077C0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_u, "textures/segment2/segment2.077D0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_e, "textures/segment2/segment2.077E0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_o, "textures/segment2/segment2.077F0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ka, "textures/segment2/segment2.07800.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ki, "textures/segment2/segment2.07810.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ku, "textures/segment2/segment2.07820.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ke, "textures/segment2/segment2.07830.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ko, "textures/segment2/segment2.07840.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_sa, "textures/segment2/segment2.07850.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_shi, "textures/segment2/segment2.07860.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_su, "textures/segment2/segment2.07870.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_se, "textures/segment2/segment2.07880.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_so, "textures/segment2/segment2.07890.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ta, "textures/segment2/segment2.078A0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_chi, "textures/segment2/segment2.078B0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_tsu, "textures/segment2/segment2.078C0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_te, "textures/segment2/segment2.078D0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_to, "textures/segment2/segment2.078E0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_na, "textures/segment2/segment2.078F0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ni, "textures/segment2/segment2.07900.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_nu, "textures/segment2/segment2.07910.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ne, "textures/segment2/segment2.07920.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_no, "textures/segment2/segment2.07930.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ha, "textures/segment2/segment2.07940.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_hi, "textures/segment2/segment2.07950.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_hu, "textures/segment2/segment2.07960.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_he, "textures/segment2/segment2.07970.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ho, "textures/segment2/segment2.07980.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ma, "textures/segment2/segment2.07990.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_mi, "textures/segment2/segment2.079A0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_mu, "textures/segment2/segment2.079B0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_me, "textures/segment2/segment2.079C0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_mo, "textures/segment2/segment2.079D0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ya, "textures/segment2/segment2.079E0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_yu, "textures/segment2/segment2.079F0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_yo, "textures/segment2/segment2.07A00.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ra, "textures/segment2/segment2.07A10.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ri, "textures/segment2/segment2.07A20.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ru, "textures/segment2/segment2.07A30.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_re, "textures/segment2/segment2.07A40.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_ro, "textures/segment2/segment2.07A50.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_wa, "textures/segment2/segment2.07A60.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_n, "textures/segment2/segment2.07A70.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_small_e, "textures/segment2/segment2.07A80.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_small_tsu, "textures/segment2/segment2.07A90.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_small_ya, "textures/segment2/segment2.07AA0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_small_yu, "textures/segment2/segment2.07AB0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_small_yo, "textures/segment2/segment2.07AC0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_small_a, "textures/segment2/segment2.07AD0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_small_i, "textures/segment2/segment2.07AE0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_small_u, "textures/segment2/segment2.07AF0.ia1.png"), + //define_builtin_tex(texture_font_char_jp_katakana_small_o, "textures/segment2/segment2.07B00.ia1.png"), + //define_builtin_tex(texture_font_char_jp_double_quotation_open, "textures/segment2/segment2.07B10.ia1.png"), + //define_builtin_tex(texture_font_char_jp_double_quotation_close, "textures/segment2/segment2.07B20.ia1.png"), + //define_builtin_tex(texture_font_char_jp_wave_dash, "textures/segment2/segment2.07B30.ia1.png"), + //define_builtin_tex(texture_font_char_jp_ellipsis, "textures/segment2/segment2.07B40.ia1.png"), + //define_builtin_tex(texture_font_char_eu_0, "textures/segment2/font_graphics.05F00.ia1.png"), + //define_builtin_tex(texture_font_char_eu_1, "textures/segment2/font_graphics.05F10.ia1.png"), + //define_builtin_tex(texture_font_char_eu_2, "textures/segment2/font_graphics.05F20.ia1.png"), + //define_builtin_tex(texture_font_char_eu_3, "textures/segment2/font_graphics.05F30.ia1.png"), + //define_builtin_tex(texture_font_char_eu_4, "textures/segment2/font_graphics.05F40.ia1.png"), + //define_builtin_tex(texture_font_char_eu_5, "textures/segment2/font_graphics.05F50.ia1.png"), + //define_builtin_tex(texture_font_char_eu_6, "textures/segment2/font_graphics.05F60.ia1.png"), + //define_builtin_tex(texture_font_char_eu_7, "textures/segment2/font_graphics.05F70.ia1.png"), + //define_builtin_tex(texture_font_char_eu_8, "textures/segment2/font_graphics.05F80.ia1.png"), + //define_builtin_tex(texture_font_char_eu_9, "textures/segment2/font_graphics.05F90.ia1.png"), + //define_builtin_tex(texture_font_char_eu_A, "textures/segment2/font_graphics.05FA0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_B, "textures/segment2/font_graphics.05FB0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_C, "textures/segment2/font_graphics.05FC0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_D, "textures/segment2/font_graphics.05FD0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_E, "textures/segment2/font_graphics.05FE0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_F, "textures/segment2/font_graphics.05FF0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_G, "textures/segment2/font_graphics.06000.ia1.png"), + //define_builtin_tex(texture_font_char_eu_H, "textures/segment2/font_graphics.06010.ia1.png"), + //define_builtin_tex(texture_font_char_eu_I, "textures/segment2/font_graphics.06020.ia1.png"), + //define_builtin_tex(texture_font_char_eu_J, "textures/segment2/font_graphics.06030.ia1.png"), + //define_builtin_tex(texture_font_char_eu_K, "textures/segment2/font_graphics.06040.ia1.png"), + //define_builtin_tex(texture_font_char_eu_L, "textures/segment2/font_graphics.06050.ia1.png"), + //define_builtin_tex(texture_font_char_eu_M, "textures/segment2/font_graphics.06060.ia1.png"), + //define_builtin_tex(texture_font_char_eu_N, "textures/segment2/font_graphics.06070.ia1.png"), + //define_builtin_tex(texture_font_char_eu_O, "textures/segment2/font_graphics.06080.ia1.png"), + //define_builtin_tex(texture_font_char_eu_P, "textures/segment2/font_graphics.06090.ia1.png"), + //define_builtin_tex(texture_font_char_eu_Q, "textures/segment2/font_graphics.060A0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_R, "textures/segment2/font_graphics.060B0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_S, "textures/segment2/font_graphics.060C0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_T, "textures/segment2/font_graphics.060D0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_U, "textures/segment2/font_graphics.060E0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_V, "textures/segment2/font_graphics.060F0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_W, "textures/segment2/font_graphics.06100.ia1.png"), + //define_builtin_tex(texture_font_char_eu_X, "textures/segment2/font_graphics.06110.ia1.png"), + //define_builtin_tex(texture_font_char_eu_Y, "textures/segment2/font_graphics.06120.ia1.png"), + //define_builtin_tex(texture_font_char_eu_Z, "textures/segment2/font_graphics.06130.ia1.png"), + //define_builtin_tex(texture_font_char_eu_a, "textures/segment2/font_graphics.06140.ia1.png"), + //define_builtin_tex(texture_font_char_eu_b, "textures/segment2/font_graphics.06150.ia1.png"), + //define_builtin_tex(texture_font_char_eu_c, "textures/segment2/font_graphics.06160.ia1.png"), + //define_builtin_tex(texture_font_char_eu_d, "textures/segment2/font_graphics.06170.ia1.png"), + //define_builtin_tex(texture_font_char_eu_e, "textures/segment2/font_graphics.06180.ia1.png"), + //define_builtin_tex(texture_font_char_eu_f, "textures/segment2/font_graphics.06190.ia1.png"), + //define_builtin_tex(texture_font_char_eu_g, "textures/segment2/font_graphics.061A0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_h, "textures/segment2/font_graphics.061B0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_i, "textures/segment2/font_graphics.061C0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_j, "textures/segment2/font_graphics.061D0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_k, "textures/segment2/font_graphics.061E0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_l, "textures/segment2/font_graphics.061F0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_m, "textures/segment2/font_graphics.06200.ia1.png"), + //define_builtin_tex(texture_font_char_eu_n, "textures/segment2/font_graphics.06210.ia1.png"), + //define_builtin_tex(texture_font_char_eu_o, "textures/segment2/font_graphics.06220.ia1.png"), + //define_builtin_tex(texture_font_char_eu_p, "textures/segment2/font_graphics.06230.ia1.png"), + //define_builtin_tex(texture_font_char_eu_q, "textures/segment2/font_graphics.06240.ia1.png"), + //define_builtin_tex(texture_font_char_eu_r, "textures/segment2/font_graphics.06250.ia1.png"), + //define_builtin_tex(texture_font_char_eu_s, "textures/segment2/font_graphics.06260.ia1.png"), + //define_builtin_tex(texture_font_char_eu_t, "textures/segment2/font_graphics.06270.ia1.png"), + //define_builtin_tex(texture_font_char_eu_u, "textures/segment2/font_graphics.06280.ia1.png"), + //define_builtin_tex(texture_font_char_eu_v, "textures/segment2/font_graphics.06290.ia1.png"), + //define_builtin_tex(texture_font_char_eu_w, "textures/segment2/font_graphics.062A0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_x, "textures/segment2/font_graphics.062B0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_y, "textures/segment2/font_graphics.062C0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_z, "textures/segment2/font_graphics.062D0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_left_right_arrow, "textures/segment2/font_graphics.062E0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_ampersand, "textures/segment2/font_graphics.062F0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_exclamation, "textures/segment2/font_graphics.06300.ia1.png"), + //define_builtin_tex(texture_font_char_eu_coin, "textures/segment2/font_graphics.06310.ia1.png"), + //define_builtin_tex(texture_font_char_eu_multiply, "textures/segment2/font_graphics.06320.ia1.png"), + //define_builtin_tex(texture_font_char_eu_open_parentheses, "textures/segment2/font_graphics.06330.ia1.png"), + //define_builtin_tex(texture_font_char_eu_close_open_parentheses, "textures/segment2/font_graphics.06340.ia1.png"), + //define_builtin_tex(texture_font_char_eu_close_parentheses, "textures/segment2/font_graphics.06350.ia1.png"), + //define_builtin_tex(texture_font_char_eu_tilde, "textures/segment2/font_graphics.06360.ia1.png"), + //define_builtin_tex(texture_font_char_eu_period, "textures/segment2/font_graphics.06370.ia1.png"), + //define_builtin_tex(texture_font_char_eu_percent, "textures/segment2/font_graphics.06380.ia1.png"), + //define_builtin_tex(texture_font_char_eu_interpunct, "textures/segment2/font_graphics.06390.ia1.png"), + //define_builtin_tex(texture_font_char_eu_comma, "textures/segment2/font_graphics.063A0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_apostrophe, "textures/segment2/font_graphics.063B0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_question, "textures/segment2/font_graphics.063C0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_star_filled, "textures/segment2/font_graphics.063D0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_star_hollow, "textures/segment2/font_graphics.063E0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_double_quote_open, "textures/segment2/font_graphics.063F0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_double_quote_close, "textures/segment2/font_graphics.06400.ia1.png"), + //define_builtin_tex(texture_font_char_eu_colon, "textures/segment2/font_graphics.06410.ia1.png"), + //define_builtin_tex(texture_font_char_EU_slash, "textures/segment2/font_graphics.06420.ia1.png"), + //define_builtin_tex(texture_font_char_eu_button_A, "textures/segment2/font_graphics.06430.ia1.png"), + //define_builtin_tex(texture_font_char_eu_button_B, "textures/segment2/font_graphics.06440.ia1.png"), + //define_builtin_tex(texture_font_char_eu_button_C, "textures/segment2/font_graphics.06450.ia1.png"), + //define_builtin_tex(texture_font_char_eu_button_Z, "textures/segment2/font_graphics.06460.ia1.png"), + //define_builtin_tex(texture_font_char_eu_button_R, "textures/segment2/font_graphics.06470.ia1.png"), + //define_builtin_tex(texture_font_char_eu_button_C_up, "textures/segment2/font_graphics.06480.ia1.png"), + //define_builtin_tex(texture_font_char_eu_button_C_down, "textures/segment2/font_graphics.06490.ia1.png"), + //define_builtin_tex(texture_font_char_eu_button_C_left, "textures/segment2/font_graphics.064A0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_button_C_right, "textures/segment2/font_graphics.064B0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_umlaut, "textures/segment2/font_graphics.064C0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_circumflex, "textures/segment2/font_graphics.064D0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_grave, "textures/segment2/font_graphics.064E0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_acute, "textures/segment2/font_graphics.064F0.ia1.png"), + //define_builtin_tex(texture_font_char_eu_cedilla, "textures/segment2/font_graphics.06500.ia1.png"), + //define_builtin_tex(texture_font_char_eu_unknown, "textures/segment2/font_graphics.06510.ia1.png"), + //define_builtin_tex(texture_font_char_eu_Cedilla, "textures/segment2/font_graphics.06520.ia1.png"), + //define_builtin_tex(texture_font_char_eu_eszeet, "textures/segment2/font_graphics.06530.ia1.png"), + define_builtin_tex(texture_font_char_us_0, "textures/segment2/font_graphics.05900.ia4.png"), + define_builtin_tex(texture_font_char_us_1, "textures/segment2/font_graphics.05940.ia4.png"), + define_builtin_tex(texture_font_char_us_2, "textures/segment2/font_graphics.05980.ia4.png"), + define_builtin_tex(texture_font_char_us_3, "textures/segment2/font_graphics.059C0.ia4.png"), + define_builtin_tex(texture_font_char_us_4, "textures/segment2/font_graphics.05A00.ia4.png"), + define_builtin_tex(texture_font_char_us_5, "textures/segment2/font_graphics.05A40.ia4.png"), + define_builtin_tex(texture_font_char_us_6, "textures/segment2/font_graphics.05A80.ia4.png"), + define_builtin_tex(texture_font_char_us_7, "textures/segment2/font_graphics.05AC0.ia4.png"), + define_builtin_tex(texture_font_char_us_8, "textures/segment2/font_graphics.05B00.ia4.png"), + define_builtin_tex(texture_font_char_us_9, "textures/segment2/font_graphics.05B40.ia4.png"), + define_builtin_tex(texture_font_char_us_A, "textures/segment2/font_graphics.05B80.ia4.png"), + define_builtin_tex(texture_font_char_us_B, "textures/segment2/font_graphics.05BC0.ia4.png"), + define_builtin_tex(texture_font_char_us_C, "textures/segment2/font_graphics.05C00.ia4.png"), + define_builtin_tex(texture_font_char_us_D, "textures/segment2/font_graphics.05C40.ia4.png"), + define_builtin_tex(texture_font_char_us_E, "textures/segment2/font_graphics.05C80.ia4.png"), + define_builtin_tex(texture_font_char_us_F, "textures/segment2/font_graphics.05CC0.ia4.png"), + define_builtin_tex(texture_font_char_us_G, "textures/segment2/font_graphics.05D00.ia4.png"), + define_builtin_tex(texture_font_char_us_H, "textures/segment2/font_graphics.05D40.ia4.png"), + define_builtin_tex(texture_font_char_us_I, "textures/segment2/font_graphics.05D80.ia4.png"), + define_builtin_tex(texture_font_char_us_J, "textures/segment2/font_graphics.05DC0.ia4.png"), + define_builtin_tex(texture_font_char_us_K, "textures/segment2/font_graphics.05E00.ia4.png"), + define_builtin_tex(texture_font_char_us_L, "textures/segment2/font_graphics.05E40.ia4.png"), + define_builtin_tex(texture_font_char_us_M, "textures/segment2/font_graphics.05E80.ia4.png"), + define_builtin_tex(texture_font_char_us_N, "textures/segment2/font_graphics.05EC0.ia4.png"), + define_builtin_tex(texture_font_char_us_O, "textures/segment2/font_graphics.05F00.ia4.png"), + define_builtin_tex(texture_font_char_us_P, "textures/segment2/font_graphics.05F40.ia4.png"), + define_builtin_tex(texture_font_char_us_Q, "textures/segment2/font_graphics.05F80.ia4.png"), + define_builtin_tex(texture_font_char_us_R, "textures/segment2/font_graphics.05FC0.ia4.png"), + define_builtin_tex(texture_font_char_us_S, "textures/segment2/font_graphics.06000.ia4.png"), + define_builtin_tex(texture_font_char_us_T, "textures/segment2/font_graphics.06040.ia4.png"), + define_builtin_tex(texture_font_char_us_U, "textures/segment2/font_graphics.06080.ia4.png"), + define_builtin_tex(texture_font_char_us_V, "textures/segment2/font_graphics.060C0.ia4.png"), + define_builtin_tex(texture_font_char_us_W, "textures/segment2/font_graphics.06100.ia4.png"), + define_builtin_tex(texture_font_char_us_X, "textures/segment2/font_graphics.06140.ia4.png"), + define_builtin_tex(texture_font_char_us_Y, "textures/segment2/font_graphics.06180.ia4.png"), + define_builtin_tex(texture_font_char_us_Z, "textures/segment2/font_graphics.061C0.ia4.png"), + define_builtin_tex(texture_font_char_us_a, "textures/segment2/font_graphics.06200.ia4.png"), + define_builtin_tex(texture_font_char_us_b, "textures/segment2/font_graphics.06240.ia4.png"), + define_builtin_tex(texture_font_char_us_c, "textures/segment2/font_graphics.06280.ia4.png"), + define_builtin_tex(texture_font_char_us_d, "textures/segment2/font_graphics.062C0.ia4.png"), + define_builtin_tex(texture_font_char_us_e, "textures/segment2/font_graphics.06300.ia4.png"), + define_builtin_tex(texture_font_char_us_f, "textures/segment2/font_graphics.06340.ia4.png"), + define_builtin_tex(texture_font_char_us_g, "textures/segment2/font_graphics.06380.ia4.png"), + define_builtin_tex(texture_font_char_us_h, "textures/segment2/font_graphics.063C0.ia4.png"), + define_builtin_tex(texture_font_char_us_i, "textures/segment2/font_graphics.06400.ia4.png"), + define_builtin_tex(texture_font_char_us_j, "textures/segment2/font_graphics.06440.ia4.png"), + define_builtin_tex(texture_font_char_us_k, "textures/segment2/font_graphics.06480.ia4.png"), + define_builtin_tex(texture_font_char_us_l, "textures/segment2/font_graphics.064C0.ia4.png"), + define_builtin_tex(texture_font_char_us_m, "textures/segment2/font_graphics.06500.ia4.png"), + define_builtin_tex(texture_font_char_us_n, "textures/segment2/font_graphics.06540.ia4.png"), + define_builtin_tex(texture_font_char_us_o, "textures/segment2/font_graphics.06580.ia4.png"), + define_builtin_tex(texture_font_char_us_p, "textures/segment2/font_graphics.065C0.ia4.png"), + define_builtin_tex(texture_font_char_us_q, "textures/segment2/font_graphics.06600.ia4.png"), + define_builtin_tex(texture_font_char_us_r, "textures/segment2/font_graphics.06640.ia4.png"), + define_builtin_tex(texture_font_char_us_s, "textures/segment2/font_graphics.06680.ia4.png"), + define_builtin_tex(texture_font_char_us_t, "textures/segment2/font_graphics.066C0.ia4.png"), + define_builtin_tex(texture_font_char_us_u, "textures/segment2/font_graphics.06700.ia4.png"), + define_builtin_tex(texture_font_char_us_v, "textures/segment2/font_graphics.06740.ia4.png"), + define_builtin_tex(texture_font_char_us_w, "textures/segment2/font_graphics.06780.ia4.png"), + define_builtin_tex(texture_font_char_us_x, "textures/segment2/font_graphics.067C0.ia4.png"), + define_builtin_tex(texture_font_char_us_y, "textures/segment2/font_graphics.06800.ia4.png"), + define_builtin_tex(texture_font_char_us_z, "textures/segment2/font_graphics.06840.ia4.png"), + define_builtin_tex(texture_font_char_us_left_right_arrow, "textures/segment2/font_graphics.06880.ia4.png"), + define_builtin_tex(texture_font_char_us_exclamation, "textures/segment2/font_graphics.068C0.ia4.png"), + define_builtin_tex(texture_font_char_us_coin, "textures/segment2/font_graphics.06900.ia4.png"), + define_builtin_tex(texture_font_char_us_multiply, "textures/segment2/font_graphics.06940.ia4.png"), + define_builtin_tex(texture_font_char_us_open_parentheses, "textures/segment2/font_graphics.06980.ia4.png"), + define_builtin_tex(texture_font_char_us_close_open_parentheses, "textures/segment2/font_graphics.069C0.ia4.png"), + define_builtin_tex(texture_font_char_us_close_parentheses, "textures/segment2/font_graphics.06A00.ia4.png"), + define_builtin_tex(texture_font_char_us_tilde, "textures/segment2/font_graphics.06A40.ia4.png"), + define_builtin_tex(texture_font_char_us_period, "textures/segment2/font_graphics.06A80.ia4.png"), + define_builtin_tex(texture_font_char_us_percent, "textures/segment2/font_graphics.06AC0.ia4.png"), + define_builtin_tex(texture_font_char_us_interpunct, "textures/segment2/font_graphics.06B00.ia4.png"), + define_builtin_tex(texture_font_char_us_comma, "textures/segment2/font_graphics.06B40.ia4.png"), + define_builtin_tex(texture_font_char_us_apostrophe, "textures/segment2/font_graphics.06B80.ia4.png"), + define_builtin_tex(texture_font_char_us_question, "textures/segment2/font_graphics.06BC0.ia4.png"), + define_builtin_tex(texture_font_char_us_star_filled, "textures/segment2/font_graphics.06C00.ia4.png"), + define_builtin_tex(texture_font_char_us_star_hollow, "textures/segment2/font_graphics.06C40.ia4.png"), + define_builtin_tex(texture_font_char_us_double_quote_open, "textures/segment2/font_graphics.06C80.ia4.png"), + define_builtin_tex(texture_font_char_us_double_quote_close, "textures/segment2/font_graphics.06CC0.ia4.png"), + define_builtin_tex(texture_font_char_us_ellipsis, "textures/segment2/font_graphics.06D00.ia4.png"), + define_builtin_tex(texture_font_char_us_slash, "textures/segment2/font_graphics.06D40.ia4.png"), + define_builtin_tex(texture_font_char_us_ampersand, "textures/segment2/font_graphics.06D80.ia4.png"), + define_builtin_tex(texture_font_char_us_button_A, "textures/segment2/font_graphics.06DC0.ia4.png"), + define_builtin_tex(texture_font_char_us_button_B, "textures/segment2/font_graphics.06E00.ia4.png"), + define_builtin_tex(texture_font_char_us_button_C, "textures/segment2/font_graphics.06E40.ia4.png"), + define_builtin_tex(texture_font_char_us_button_Z, "textures/segment2/font_graphics.06E80.ia4.png"), + define_builtin_tex(texture_font_char_us_button_R, "textures/segment2/font_graphics.06EC0.ia4.png"), + define_builtin_tex(texture_font_char_us_button_C_up, "textures/segment2/font_graphics.06F00.ia4.png"), + define_builtin_tex(texture_font_char_us_button_C_down, "textures/segment2/font_graphics.06F40.ia4.png"), + define_builtin_tex(texture_font_char_us_button_C_left, "textures/segment2/font_graphics.06F80.ia4.png"), + define_builtin_tex(texture_font_char_us_button_C_right, "textures/segment2/font_graphics.06FC0.ia4.png"), + define_builtin_tex(texture_hud_char_camera, "textures/segment2/segment2.07B50.rgba16.png"), + define_builtin_tex(texture_hud_char_lakitu, "textures/segment2/segment2.07D50.rgba16.png"), + define_builtin_tex(texture_hud_char_no_camera, "textures/segment2/segment2.07F50.rgba16.png"), + define_builtin_tex(texture_hud_char_arrow_up, "textures/segment2/segment2.08150.rgba16.png"), + define_builtin_tex(texture_hud_char_arrow_down, "textures/segment2/segment2.081D0.rgba16.png"), + define_builtin_tex(texture_shadow_quarter_circle, "textures/segment2/shadow_quarter_circle.ia8.png"), + define_builtin_tex(texture_shadow_quarter_square, "textures/segment2/shadow_quarter_square.ia8.png"), + define_builtin_tex(texture_shadow_spike_ext, "textures/segment2/shadow_spike_custom.ia8.png"), + define_builtin_tex(texture_transition_star_half, "textures/segment2/segment2.0F458.ia8.png"), + define_builtin_tex(texture_transition_circle_half, "textures/segment2/segment2.0FC58.ia8.png"), + define_builtin_tex(texture_transition_mario, "textures/segment2/segment2.10458.ia8.png"), + define_builtin_tex(texture_transition_bowser_half, "textures/segment2/segment2.11458.ia8.png"), + define_builtin_tex(texture_waterbox_water, "textures/segment2/segment2.11C58.rgba16.png"), + define_builtin_tex(texture_waterbox_jrb_water, "textures/segment2/segment2.12458.rgba16.png"), + define_builtin_tex(texture_waterbox_unknown_water, "textures/segment2/segment2.12C58.rgba16.png"), + define_builtin_tex(texture_waterbox_mist, "textures/segment2/segment2.13458.ia16.png"), + define_builtin_tex(texture_waterbox_lava, "textures/segment2/segment2.13C58.rgba16.png"), + define_builtin_tex(texture_ia8_up_arrow, "textures/segment2/segment2.14838.ia8.png"), + define_builtin_tex(sky_09000000, "textures/sky/rr_textures.00000.rgba16.png"), + define_builtin_tex(sky_09000800, "textures/sky/rr_textures.00800.rgba16.png"), + define_builtin_tex(sky_09001000, "textures/sky/rr_textures.01000.rgba16.png"), + define_builtin_tex(sky_09001800, "textures/sky/rr_textures.01800.rgba16.png"), + define_builtin_tex(sky_09002000, "textures/sky/rr_textures.02000.rgba16.png"), + define_builtin_tex(sky_09003000, "textures/sky/rr_textures.03000.rgba16.png"), + define_builtin_tex(sky_09003800, "textures/sky/rr_textures.03800.rgba16.png"), + define_builtin_tex(sky_09004800, "textures/sky/rr_textures.04800.rgba16.png"), + define_builtin_tex(sky_09005000, "textures/sky/rr_textures.05000.rgba16.png"), + define_builtin_tex(sky_09005800, "textures/sky/rr_textures.05800.rgba16.png"), + define_builtin_tex(sky_09006000, "textures/sky/rr_textures.06000.rgba16.png"), + define_builtin_tex(texture_metal_hole, "textures/sky/metal_hole.rgba16.png"), + define_builtin_tex(sky_09007000, "textures/sky/rr_textures.07000.rgba16.png"), + define_builtin_tex(sky_09007800, "textures/sky/rr_textures.07800.rgba16.png"), + define_builtin_tex(sky_09008000, "textures/sky/rr_textures.08000.rgba16.png"), + define_builtin_tex(snow_09000000, "textures/snow/ccm_textures.00000.rgba16.png"), + define_builtin_tex(snow_09000800, "textures/snow/ccm_textures.00800.rgba16.png"), + define_builtin_tex(snow_09001000, "textures/snow/ccm_textures.01000.rgba16.png"), + define_builtin_tex(snow_09002000, "textures/snow/ccm_textures.02000.rgba16.png"), + define_builtin_tex(snow_09002800, "textures/snow/ccm_textures.02800.rgba16.png"), + define_builtin_tex(snow_09003000, "textures/snow/ccm_textures.03000.rgba16.png"), + define_builtin_tex(snow_09003800, "textures/snow/ccm_textures.03800.rgba16.png"), + define_builtin_tex(snow_09004000, "textures/snow/ccm_textures.04000.rgba16.png"), + define_builtin_tex(snow_09004800, "textures/snow/ccm_textures.04800.rgba16.png"), + define_builtin_tex(snow_09005000, "textures/snow/ccm_textures.05000.rgba16.png"), + define_builtin_tex(snow_09005800, "textures/snow/ccm_textures.05800.rgba16.png"), + define_builtin_tex(snow_09006000, "textures/snow/ccm_textures.06000.rgba16.png"), + define_builtin_tex(snow_09006800, "textures/snow/ccm_textures.06800.rgba16.png"), + define_builtin_tex(snow_09007000, "textures/snow/ccm_textures.07000.rgba16.png"), + define_builtin_tex(snow_09008000, "textures/snow/ccm_textures.08000.rgba16.png"), + define_builtin_tex(snow_09008800, "textures/snow/ccm_textures.08800.rgba16.png"), + define_builtin_tex(snow_09009000, "textures/snow/ccm_textures.09000.ia16.png"), + define_builtin_tex(snow_09009800, "textures/snow/ccm_textures.09800.ia16.png"), + define_builtin_tex(spooky_09000000, "textures/spooky/bbh_textures.00000.rgba16.png"), + define_builtin_tex(spooky_09000800, "textures/spooky/bbh_textures.00800.rgba16.png"), + define_builtin_tex(spooky_09001800, "textures/spooky/bbh_textures.01800.rgba16.png"), + define_builtin_tex(spooky_09002800, "textures/spooky/bbh_textures.02800.rgba16.png"), + define_builtin_tex(spooky_09003800, "textures/spooky/bbh_textures.03800.rgba16.png"), + define_builtin_tex(spooky_09004800, "textures/spooky/bbh_textures.04800.rgba16.png"), + define_builtin_tex(spooky_09005000, "textures/spooky/bbh_textures.05000.rgba16.png"), + define_builtin_tex(spooky_09006000, "textures/spooky/bbh_textures.06000.rgba16.png"), + define_builtin_tex(spooky_09006800, "textures/spooky/bbh_textures.06800.rgba16.png"), + define_builtin_tex(spooky_09007000, "textures/spooky/bbh_textures.07000.rgba16.png"), + define_builtin_tex(spooky_09008000, "textures/spooky/bbh_textures.08000.rgba16.png"), + define_builtin_tex(spooky_09008800, "textures/spooky/bbh_textures.08800.rgba16.png"), + define_builtin_tex(spooky_09009000, "textures/spooky/bbh_textures.09000.rgba16.png"), + define_builtin_tex(spooky_0900A000, "textures/spooky/bbh_textures.0A000.rgba16.png"), + define_builtin_tex(spooky_0900A800, "textures/spooky/bbh_textures.0A800.ia16.png"), + define_builtin_tex(spooky_0900B000, "textures/spooky/bbh_textures.0B000.ia16.png"), + define_builtin_tex(spooky_0900B800, "textures/spooky/bbh_textures.0B800.ia16.png"), + define_builtin_tex(title_texture_0A0001C0, "textures/title_screen_bg/title_screen_bg.001C0.rgba16.png"), + define_builtin_tex(title_texture_0A000E40, "textures/title_screen_bg/title_screen_bg.00E40.rgba16.png"), + define_builtin_tex(title_texture_0A001AC0, "textures/title_screen_bg/title_screen_bg.01AC0.rgba16.png"), + define_builtin_tex(title_texture_0A002740, "textures/title_screen_bg/title_screen_bg.02740.rgba16.png"), + define_builtin_tex(title_texture_0A0033C0, "textures/title_screen_bg/title_screen_bg.033C0.rgba16.png"), + define_builtin_tex(title_texture_0A004040, "textures/title_screen_bg/title_screen_bg.04040.rgba16.png"), + define_builtin_tex(title_texture_0A004CC0, "textures/title_screen_bg/title_screen_bg.04CC0.rgba16.png"), + define_builtin_tex(title_texture_0A005940, "textures/title_screen_bg/title_screen_bg.05940.rgba16.png"), + define_builtin_tex(water_09000000, "textures/water/jrb_textures.00000.rgba16.png"), + define_builtin_tex(water_09000800, "textures/water/jrb_textures.00800.rgba16.png"), + define_builtin_tex(water_09001800, "textures/water/jrb_textures.01800.rgba16.png"), + define_builtin_tex(water_09002800, "textures/water/jrb_textures.02800.rgba16.png"), + define_builtin_tex(water_09003800, "textures/water/jrb_textures.03800.rgba16.png"), + define_builtin_tex(water_09004800, "textures/water/jrb_textures.04800.rgba16.png"), + define_builtin_tex(water_09005800, "textures/water/jrb_textures.05800.rgba16.png"), + define_builtin_tex(water_09006000, "textures/water/jrb_textures.06000.rgba16.png"), + define_builtin_tex(water_09006800, "textures/water/jrb_textures.06800.rgba16.png"), + define_builtin_tex(water_09007800, "textures/water/jrb_textures.07800.rgba16.png"), + define_builtin_tex(water_09008800, "textures/water/jrb_textures.08800.rgba16.png"), + define_builtin_tex(water_09009000, "textures/water/jrb_textures.09000.rgba16.png"), + define_builtin_tex(water_0900A000, "textures/water/jrb_textures.0A000.rgba16.png"), + define_builtin_tex(water_0900A800, "textures/water/jrb_textures.0A800.rgba16.png"), + define_builtin_tex(water_0900B800, "textures/water/jrb_textures.0B800.rgba16.png"), + define_builtin_tex(bbh_seg7_texture_07000000, "levels/bbh/0.rgba16.png"), + define_builtin_tex(bbh_seg7_texture_07001000, "levels/bbh/1.rgba16.png"), + define_builtin_tex(bbh_seg7_texture_07001800, "levels/bbh/2.rgba16.png"), + define_builtin_tex(bbh_seg7_texture_07002000, "levels/bbh/3.rgba16.png"), + define_builtin_tex(bbh_seg7_texture_07003000, "levels/bbh/4.rgba16.png"), + define_builtin_tex(bbh_seg7_texture_07003400, "levels/bbh/5.rgba16.png"), + define_builtin_tex(bbh_seg7_texture_07004400, "levels/bbh/6.rgba16.png"), + define_builtin_tex(bitdw_seg7_texture_07000000, "levels/bitdw/0.rgba16.png"), + define_builtin_tex(bitdw_seg7_texture_07000800, "levels/bitdw/1.rgba16.png"), + define_builtin_tex(bitdw_seg7_texture_07001000, "levels/bitdw/2.rgba16.png"), + define_builtin_tex(bitdw_seg7_texture_07001800, "levels/bitdw/3.rgba16.png"), + define_builtin_tex(bitfs_seg7_texture_07000000, "levels/bitfs/0.rgba16.png"), + define_builtin_tex(bitfs_seg7_texture_07001000, "levels/bitfs/1.rgba16.png"), + define_builtin_tex(bitfs_seg7_texture_07001800, "levels/bitfs/2.rgba16.png"), + define_builtin_tex(bits_seg7_texture_07000000, "levels/bits/0.rgba16.png"), + define_builtin_tex(bits_seg7_texture_07001000, "levels/bits/1.rgba16.png"), + define_builtin_tex(bits_seg7_texture_07002000, "levels/bits/2.rgba16.png"), + define_builtin_tex(bob_seg7_texture_07000000, "levels/bob/0.rgba16.png"), + define_builtin_tex(bob_seg7_texture_07000800, "levels/bob/1.rgba16.png"), + define_builtin_tex(bob_seg7_texture_07001000, "levels/bob/2.rgba16.png"), + define_builtin_tex(bob_seg7_texture_07001800, "levels/bob/3.rgba16.png"), + define_builtin_tex(bob_seg7_texture_07002000, "levels/bob/4.rgba16.png"), + define_builtin_tex(bowser_1_seg7_texture_07000000, "levels/bowser_1/0.rgba16.png"), + define_builtin_tex(bowser_1_seg7_texture_07001000, "levels/bowser_1/1.rgba16.png"), + define_builtin_tex(bowser_1_seg7_texture_07001800, "levels/bowser_1/2.rgba16.png"), + define_builtin_tex(bowser_2_seg7_texture_07000000, "levels/bowser_2/0.rgba16.png"), + define_builtin_tex(bowser_3_seg7_texture_07000000, "levels/bowser_3/0.rgba16.png"), + define_builtin_tex(bowser_3_seg7_texture_07000800, "levels/bowser_3/1.rgba16.png"), + define_builtin_tex(bowser_3_seg7_texture_07001000, "levels/bowser_3/2.rgba16.png"), + define_builtin_tex(castle_grounds_seg7_texture_0700C9E8, "levels/castle_grounds/3.rgba16.png"), + define_builtin_tex(castle_grounds_seg7_texture_0700D9E8, "levels/castle_grounds/4.rgba16.png"), + define_builtin_tex(castle_grounds_seg7_us_texture_0700EAE8, "levels/castle_grounds/5.ia8.png"), + define_builtin_tex(castle_grounds_seg7_texture_07000000, "levels/castle_grounds/0.rgba16.png"), + define_builtin_tex(castle_grounds_seg7_texture_07001000, "levels/castle_grounds/1.rgba16.png"), + define_builtin_tex(castle_grounds_seg7_texture_07002000, "levels/castle_grounds/2.rgba16.png"), + define_builtin_tex(texture_castle_light, "levels/castle_inside/castle_light.ia16.png"), + define_builtin_tex(inside_castle_seg7_texture_07000800, "levels/castle_inside/1.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07001000, "levels/castle_inside/2.ia16.png"), + define_builtin_tex(inside_castle_seg7_texture_07002000, "levels/castle_inside/3.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07003000, "levels/castle_inside/4.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07003800, "levels/castle_inside/5.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07004800, "levels/castle_inside/6.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07005800, "levels/castle_inside/7.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07006000, "levels/castle_inside/8.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07006800, "levels/castle_inside/9.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07007000, "levels/castle_inside/10.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07007800, "levels/castle_inside/11.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07008000, "levels/castle_inside/12.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07008800, "levels/castle_inside/13.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07009000, "levels/castle_inside/14.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07009800, "levels/castle_inside/15.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0700A000, "levels/castle_inside/16.ia16.png"), + define_builtin_tex(inside_castle_seg7_texture_0700A800, "levels/castle_inside/17.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0700B800, "levels/castle_inside/18.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0700C800, "levels/castle_inside/19.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0700D800, "levels/castle_inside/20.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0700E800, "levels/castle_inside/21.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0700F800, "levels/castle_inside/22.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07010800, "levels/castle_inside/23.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07011800, "levels/castle_inside/24.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07010800, "levels/castle_inside/23_us.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07011800, "levels/castle_inside/24_us.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07012800, "levels/castle_inside/25.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07013800, "levels/castle_inside/26.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07014800, "levels/castle_inside/27.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07015800, "levels/castle_inside/28.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07016800, "levels/castle_inside/29.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07017000, "levels/castle_inside/30.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07017800, "levels/castle_inside/31.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07018800, "levels/castle_inside/32.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07019800, "levels/castle_inside/33.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0701A800, "levels/castle_inside/34.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0701B800, "levels/castle_inside/35.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0701C800, "levels/castle_inside/36.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0701D800, "levels/castle_inside/37.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0701E800, "levels/castle_inside/38.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_0701F800, "levels/castle_inside/39.rgba16.png"), + define_builtin_tex(inside_castle_seg7_texture_07020800, "levels/castle_inside/40.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07011958, "levels/ccm/12.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07000000, "levels/ccm/0.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07000800, "levels/ccm/1.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07000900, "levels/ccm/2.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07001100, "levels/ccm/3.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07001900, "levels/ccm/4.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07002100, "levels/ccm/5.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07002900, "levels/ccm/6.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07003100, "levels/ccm/7.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07003900, "levels/ccm/8.ia16.png"), + define_builtin_tex(ccm_seg7_texture_07003B00, "levels/ccm/9.ia16.png"), + define_builtin_tex(ccm_seg7_texture_07004300, "levels/ccm/10.rgba16.png"), + define_builtin_tex(ccm_seg7_texture_07004B00, "levels/ccm/11.rgba16.png"), + define_builtin_tex(cotmc_seg7_texture_07000000, "levels/cotmc/0.rgba16.png"), + define_builtin_tex(cotmc_seg7_texture_07001000, "levels/cotmc/1.rgba16.png"), + define_builtin_tex(cotmc_seg7_texture_07001800, "levels/cotmc/2.rgba16.png"), + define_builtin_tex(cotmc_seg7_texture_07002000, "levels/cotmc/3.rgba16.png"), + define_builtin_tex(cotmc_seg7_texture_07002800, "levels/cotmc/4.rgba16.png"), + define_builtin_tex(ddd_seg7_texture_07000000, "levels/ddd/0.rgba16.png"), + define_builtin_tex(ddd_seg7_texture_07001000, "levels/ddd/1.rgba16.png"), + define_builtin_tex(ddd_seg7_texture_07001800, "levels/ddd/2.rgba16.png"), + define_builtin_tex(ddd_seg7_texture_07002000, "levels/ddd/3.rgba16.png"), + define_builtin_tex(ddd_seg7_texture_07003000, "levels/ddd/4.rgba16.png"), + //define_builtin_tex(cake_end_texture_eu_35, "levels/ending/eu_023000.rgba16.png"), + //define_builtin_tex(cake_end_texture_eu_36, "levels/ending/eu_024000.rgba16.png"), + //define_builtin_tex(cake_end_texture_eu_37, "levels/ending/eu_025000.rgba16.png"), + //define_builtin_tex(cake_end_texture_eu_38, "levels/ending/eu_026000.rgba16.png"), + //define_builtin_tex(cake_end_texture_eu_39, "levels/ending/eu_027000.rgba16.png"), + //define_builtin_tex(cake_end_texture_eu_40, "levels/ending/eu_028000.rgba16.png"), + define_builtin_tex(hmc_seg7_texture_07024CE0, "levels/hmc/7.rgba16.png"), + define_builtin_tex(hmc_seg7_texture_07000000, "levels/hmc/0.rgba16.png"), + define_builtin_tex(hmc_seg7_texture_07001000, "levels/hmc/1.rgba16.png"), + define_builtin_tex(hmc_seg7_texture_07002000, "levels/hmc/2.rgba16.png"), + define_builtin_tex(hmc_seg7_texture_07003000, "levels/hmc/3.rgba16.png"), + define_builtin_tex(hmc_seg7_texture_07003800, "levels/hmc/4.rgba16.png"), + define_builtin_tex(hmc_seg7_texture_07004000, "levels/hmc/5.rgba16.png"), + define_builtin_tex(hmc_seg7_texture_07004800, "levels/hmc/6.rgba16.png"), + define_builtin_tex(intro_seg7_texture_07007EA0, "levels/intro/0.rgba16.png"), + define_builtin_tex(intro_seg7_texture_070086A0, "levels/intro/1.rgba16.png"), + define_builtin_tex(intro_seg7_texture_0700B4A0, "levels/intro/2_eu_copyright.rgba16.png"), + define_builtin_tex(intro_seg7_texture_0700B4A0, "levels/intro/2_copyright.rgba16.png"), + define_builtin_tex(intro_seg7_texture_0700C4A0, "levels/intro/3_tm.rgba16.png"), + define_builtin_tex(jrb_seg7_texture_07000000, "levels/jrb/0.rgba16.png"), + define_builtin_tex(jrb_seg7_texture_07000800, "levels/jrb/1.rgba16.png"), + define_builtin_tex(jrb_seg7_texture_07001800, "levels/jrb/2.rgba16.png"), + define_builtin_tex(jrb_seg7_texture_07002000, "levels/jrb/3.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07000000, "levels/lll/0.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07000800, "levels/lll/1.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07001000, "levels/lll/2.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07001800, "levels/lll/3.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07002000, "levels/lll/4.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07002800, "levels/lll/5.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07003000, "levels/lll/6.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07003800, "levels/lll/7.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07004000, "levels/lll/8.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07004800, "levels/lll/9.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07005000, "levels/lll/10.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07005800, "levels/lll/11.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07006000, "levels/lll/12.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07006800, "levels/lll/13.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07007000, "levels/lll/14.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07007800, "levels/lll/15.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07008000, "levels/lll/16.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07008800, "levels/lll/17.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07009000, "levels/lll/18.rgba16.png"), + define_builtin_tex(lll_seg7_texture_07009800, "levels/lll/19.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700A000, "levels/lll/20.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700A800, "levels/lll/21.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700B000, "levels/lll/22.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700B800, "levels/lll/23.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700C000, "levels/lll/24.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700C800, "levels/lll/25.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700D000, "levels/lll/26.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700D200, "levels/lll/27.ia16.png"), + define_builtin_tex(lll_seg7_texture_0700D400, "levels/lll/28.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700DC00, "levels/lll/29.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700E400, "levels/lll/30.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700EC00, "levels/lll/31.rgba16.png"), + define_builtin_tex(lll_seg7_texture_0700F400, "levels/lll/32.rgba16.png"), + define_builtin_tex(texture_menu_stone, "levels/menu/main_menu_seg7.00018.rgba16.png"), + define_builtin_tex(texture_menu_dark_stone, "levels/menu/main_menu_seg7.00818.rgba16.png"), + define_builtin_tex(texture_menu_mario_save, "levels/menu/main_menu_seg7.01018.rgba16.png"), + define_builtin_tex(texture_menu_mario_new, "levels/menu/main_menu_seg7.02018.rgba16.png"), + define_builtin_tex(texture_menu_erase, "levels/menu/main_menu_seg7.03468.rgba16.png"), + define_builtin_tex(texture_menu_copy, "levels/menu/main_menu_seg7.03C68.rgba16.png"), + define_builtin_tex(texture_menu_file, "levels/menu/main_menu_seg7.04468.rgba16.png"), + define_builtin_tex(texture_menu_score, "levels/menu/main_menu_seg7.04C68.rgba16.png"), + define_builtin_tex(texture_menu_sound, "levels/menu/main_menu_seg7.05468.rgba16.png"), + define_builtin_tex(texture_menu_idle_hand, "levels/menu/main_menu_seg7.06328.rgba16.png"), + define_builtin_tex(texture_menu_grabbing_hand, "levels/menu/main_menu_seg7.06B28.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_hu, "levels/menu/main_menu_seg7.073D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_small_a, "levels/menu/main_menu_seg7.075D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_i, "levels/menu/main_menu_seg7.077D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_ru, "levels/menu/main_menu_seg7.079D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_se, "levels/menu/main_menu_seg7.07BD0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_re, "levels/menu/main_menu_seg7.07DD0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_ku, "levels/menu/main_menu_seg7.07FD0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_to, "levels/menu/main_menu_seg7.081D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_hiragana_wo, "levels/menu/main_menu_seg7.083D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_ko, "levels/menu/main_menu_seg7.085D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_kana_handakuten_pi, "levels/menu/main_menu_seg7.087D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_choonpu, "levels/menu/main_menu_seg7.089D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_hiragana_su, "levels/menu/main_menu_seg7.08BD0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_hiragana_ru, "levels/menu/main_menu_seg7.08DD0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_hiragana_ke, "levels/menu/main_menu_seg7.08FD0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_ma, "levels/menu/main_menu_seg7.091D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_ri, "levels/menu/main_menu_seg7.093D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_o, "levels/menu/main_menu_seg7.095D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_su, "levels/menu/main_menu_seg7.097D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_a, "levels/menu/main_menu_seg7.099D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_hiragana_mi, "levels/menu/main_menu_seg7.09BD0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_hira_dakuten_do, "levels/menu/main_menu_seg7.09DD0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_hiragana_no, "levels/menu/main_menu_seg7.09FD0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_question, "levels/menu/main_menu_seg7.0A1D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_sa, "levels/menu/main_menu_seg7.0A3D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_u, "levels/menu/main_menu_seg7.0A5D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_katakana_n, "levels/menu/main_menu_seg7.0A7D0.rgba16.png"), + define_builtin_tex(texture_menu_hud_char_kana_dakuten_do, "levels/menu/main_menu_seg7.0A9D0.rgba16.png"), + //define_builtin_tex(texture_menu_font_char_jp_0, "levels/menu/main_menu_seg7.0AC48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_1, "levels/menu/main_menu_seg7.0AC88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_2, "levels/menu/main_menu_seg7.0ACC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_3, "levels/menu/main_menu_seg7.0AD08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_4, "levels/menu/main_menu_seg7.0AD48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_5, "levels/menu/main_menu_seg7.0AD88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_6, "levels/menu/main_menu_seg7.0ADC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_7, "levels/menu/main_menu_seg7.0AE08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_8, "levels/menu/main_menu_seg7.0AE48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_9, "levels/menu/main_menu_seg7.0AE88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_a, "levels/menu/main_menu_seg7.0AEC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_i, "levels/menu/main_menu_seg7.0AF08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_u, "levels/menu/main_menu_seg7.0AF48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_c, "levels/menu/main_menu_seg7.0AF88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_o, "levels/menu/main_menu_seg7.0AFC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ka, "levels/menu/main_menu_seg7.0B008.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ki, "levels/menu/main_menu_seg7.0B048.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ku, "levels/menu/main_menu_seg7.0B088.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ke, "levels/menu/main_menu_seg7.0B0C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ko, "levels/menu/main_menu_seg7.0B108.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_sa, "levels/menu/main_menu_seg7.0B148.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_shi, "levels/menu/main_menu_seg7.0B188.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_su, "levels/menu/main_menu_seg7.0B1C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_se, "levels/menu/main_menu_seg7.0B208.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_so, "levels/menu/main_menu_seg7.0B248.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ta, "levels/menu/main_menu_seg7.0B288.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_chi, "levels/menu/main_menu_seg7.0B2C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_tsu, "levels/menu/main_menu_seg7.0B308.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_te, "levels/menu/main_menu_seg7.0B348.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_to, "levels/menu/main_menu_seg7.0B388.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_na, "levels/menu/main_menu_seg7.0B3C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ni, "levels/menu/main_menu_seg7.0B408.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_nu, "levels/menu/main_menu_seg7.0B448.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ne, "levels/menu/main_menu_seg7.0B488.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_no, "levels/menu/main_menu_seg7.0B4C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ha, "levels/menu/main_menu_seg7.0B508.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_hi, "levels/menu/main_menu_seg7.0B548.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_hu, "levels/menu/main_menu_seg7.0B588.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_he, "levels/menu/main_menu_seg7.0B5C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ho, "levels/menu/main_menu_seg7.0B608.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ma, "levels/menu/main_menu_seg7.0B648.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_mi, "levels/menu/main_menu_seg7.0B688.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_mu, "levels/menu/main_menu_seg7.0B6C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_me, "levels/menu/main_menu_seg7.0B708.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_mo, "levels/menu/main_menu_seg7.0B748.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ya, "levels/menu/main_menu_seg7.0B788.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_yu, "levels/menu/main_menu_seg7.0B7C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_yo, "levels/menu/main_menu_seg7.0B808.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ra, "levels/menu/main_menu_seg7.0B848.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ri, "levels/menu/main_menu_seg7.0B888.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ru, "levels/menu/main_menu_seg7.0B8C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_re, "levels/menu/main_menu_seg7.0B908.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_ro, "levels/menu/main_menu_seg7.0B948.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_wa, "levels/menu/main_menu_seg7.0B988.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_wo, "levels/menu/main_menu_seg7.0B9C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_n, "levels/menu/main_menu_seg7.0BA08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_small_a, "levels/menu/main_menu_seg7.0BA48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_small_i, "levels/menu/main_menu_seg7.0BA88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_small_u, "levels/menu/main_menu_seg7.0BAC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_small_e, "levels/menu/main_menu_seg7.0BB08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_small_o, "levels/menu/main_menu_seg7.0BB48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_small_ka, "levels/menu/main_menu_seg7.0BB88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_small_yu, "levels/menu/main_menu_seg7.0BBC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_small_yo, "levels/menu/main_menu_seg7.0BC08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_hiragana_small_tsu, "levels/menu/main_menu_seg7.0BC48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_handakuten, "levels/menu/main_menu_seg7.0BC88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_dakuten, "levels/menu/main_menu_seg7.0BCC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_long_vowel, "levels/menu/main_menu_seg7.0BD08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_a, "levels/menu/main_menu_seg7.0BD48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_i, "levels/menu/main_menu_seg7.0BD88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_u, "levels/menu/main_menu_seg7.0BDC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_e, "levels/menu/main_menu_seg7.0BE08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_o, "levels/menu/main_menu_seg7.0BE48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ka, "levels/menu/main_menu_seg7.0BE88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ki, "levels/menu/main_menu_seg7.0BEC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ku, "levels/menu/main_menu_seg7.0BF08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ke, "levels/menu/main_menu_seg7.0BF48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ko, "levels/menu/main_menu_seg7.0BF88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_sa, "levels/menu/main_menu_seg7.0BFC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_shi, "levels/menu/main_menu_seg7.0C008.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_su, "levels/menu/main_menu_seg7.0C048.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_se, "levels/menu/main_menu_seg7.0C088.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_so, "levels/menu/main_menu_seg7.0C0C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ta, "levels/menu/main_menu_seg7.0C108.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_chi, "levels/menu/main_menu_seg7.0C148.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_tsu, "levels/menu/main_menu_seg7.0C188.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_te, "levels/menu/main_menu_seg7.0C1C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_to, "levels/menu/main_menu_seg7.0C208.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_na, "levels/menu/main_menu_seg7.0C248.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ni, "levels/menu/main_menu_seg7.0C288.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_nu, "levels/menu/main_menu_seg7.0C2C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ne, "levels/menu/main_menu_seg7.0C308.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_no, "levels/menu/main_menu_seg7.0C348.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ha, "levels/menu/main_menu_seg7.0C388.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_hi, "levels/menu/main_menu_seg7.0C3C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_hu, "levels/menu/main_menu_seg7.0C408.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_he, "levels/menu/main_menu_seg7.0C448.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ho, "levels/menu/main_menu_seg7.0C488.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ma, "levels/menu/main_menu_seg7.0C4C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_mi, "levels/menu/main_menu_seg7.0C508.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_mu, "levels/menu/main_menu_seg7.0C548.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_me, "levels/menu/main_menu_seg7.0C588.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_mo, "levels/menu/main_menu_seg7.0C5C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ya, "levels/menu/main_menu_seg7.0C608.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_yu, "levels/menu/main_menu_seg7.0C648.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_yo, "levels/menu/main_menu_seg7.0C688.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ra, "levels/menu/main_menu_seg7.0C6C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ri, "levels/menu/main_menu_seg7.0C708.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ru, "levels/menu/main_menu_seg7.0C748.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_re, "levels/menu/main_menu_seg7.0C788.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_ro, "levels/menu/main_menu_seg7.0C7C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_wa, "levels/menu/main_menu_seg7.0C808.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_wo, "levels/menu/main_menu_seg7.0C848.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_n, "levels/menu/main_menu_seg7.0C888.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_small_a, "levels/menu/main_menu_seg7.0C8C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_small_i, "levels/menu/main_menu_seg7.0C908.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_small_u, "levels/menu/main_menu_seg7.0C948.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_small_e, "levels/menu/main_menu_seg7.0C988.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_small_o, "levels/menu/main_menu_seg7.0C9C8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_small_ka, "levels/menu/main_menu_seg7.0CA08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_small_yu, "levels/menu/main_menu_seg7.0CA48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_small_yo, "levels/menu/main_menu_seg7.0CA88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_katakana_small_tsu, "levels/menu/main_menu_seg7.0CAC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_A, "levels/menu/main_menu_seg7.0CB08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_B, "levels/menu/main_menu_seg7.0CB48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_C, "levels/menu/main_menu_seg7.0CB88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_D, "levels/menu/main_menu_seg7.0CBC8.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_coin, "levels/menu/main_menu_seg7.0CC08.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_star_filled, "levels/menu/main_menu_seg7.0CC48.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_multiply, "levels/menu/main_menu_seg7.0CC88.ia8.png"), + //define_builtin_tex(texture_menu_font_char_jp_exclamation, "levels/menu/main_menu_seg7.0CCC8.ia8.png"), + define_builtin_tex(texture_menu_font_char_0, "levels/menu/main_menu_seg7_us.0AC40.ia8.png"), + define_builtin_tex(texture_menu_font_char_1, "levels/menu/main_menu_seg7_us.0AC80.ia8.png"), + define_builtin_tex(texture_menu_font_char_2, "levels/menu/main_menu_seg7_us.0ACC0.ia8.png"), + define_builtin_tex(texture_menu_font_char_3, "levels/menu/main_menu_seg7_us.0AD00.ia8.png"), + define_builtin_tex(texture_menu_font_char_4, "levels/menu/main_menu_seg7_us.0AD40.ia8.png"), + define_builtin_tex(texture_menu_font_char_5, "levels/menu/main_menu_seg7_us.0AD80.ia8.png"), + define_builtin_tex(texture_menu_font_char_6, "levels/menu/main_menu_seg7_us.0ADC0.ia8.png"), + define_builtin_tex(texture_menu_font_char_7, "levels/menu/main_menu_seg7_us.0AE00.ia8.png"), + define_builtin_tex(texture_menu_font_char_8, "levels/menu/main_menu_seg7_us.0AE40.ia8.png"), + define_builtin_tex(texture_menu_font_char_9, "levels/menu/main_menu_seg7_us.0AE80.ia8.png"), + define_builtin_tex(texture_menu_font_char_A, "levels/menu/main_menu_seg7_us.0AEC0.ia8.png"), + define_builtin_tex(texture_menu_font_char_B, "levels/menu/main_menu_seg7_us.0AF00.ia8.png"), + define_builtin_tex(texture_menu_font_char_C, "levels/menu/main_menu_seg7_us.0AF40.ia8.png"), + define_builtin_tex(texture_menu_font_char_D, "levels/menu/main_menu_seg7_eu.0AF80.ia8.png"), + define_builtin_tex(texture_menu_font_char_D, "levels/menu/main_menu_seg7_us.0AF80.ia8.png"), + define_builtin_tex(texture_menu_font_char_E, "levels/menu/main_menu_seg7_us.0AFC0.ia8.png"), + define_builtin_tex(texture_menu_font_char_F, "levels/menu/main_menu_seg7_us.0B000.ia8.png"), + define_builtin_tex(texture_menu_font_char_G, "levels/menu/main_menu_seg7_us.0B040.ia8.png"), + define_builtin_tex(texture_menu_font_char_H, "levels/menu/main_menu_seg7_us.0B080.ia8.png"), + define_builtin_tex(texture_menu_font_char_I, "levels/menu/main_menu_seg7_us.0B0C0.ia8.png"), + define_builtin_tex(texture_menu_font_char_J, "levels/menu/main_menu_seg7_us.0B100.ia8.png"), + define_builtin_tex(texture_menu_font_char_K, "levels/menu/main_menu_seg7_us.0B140.ia8.png"), + define_builtin_tex(texture_menu_font_char_L, "levels/menu/main_menu_seg7_us.0B180.ia8.png"), + define_builtin_tex(texture_menu_font_char_M, "levels/menu/main_menu_seg7_us.0B1C0.ia8.png"), + define_builtin_tex(texture_menu_font_char_N, "levels/menu/main_menu_seg7_us.0B200.ia8.png"), + define_builtin_tex(texture_menu_font_char_O, "levels/menu/main_menu_seg7_us.0B240.ia8.png"), + define_builtin_tex(texture_menu_font_char_P, "levels/menu/main_menu_seg7_us.0B280.ia8.png"), + define_builtin_tex(texture_menu_font_char_Q, "levels/menu/main_menu_seg7_us.0B2C0.ia8.png"), + define_builtin_tex(texture_menu_font_char_R, "levels/menu/main_menu_seg7_us.0B300.ia8.png"), + define_builtin_tex(texture_menu_font_char_S, "levels/menu/main_menu_seg7_us.0B340.ia8.png"), + define_builtin_tex(texture_menu_font_char_T, "levels/menu/main_menu_seg7_us.0B380.ia8.png"), + define_builtin_tex(texture_menu_font_char_U, "levels/menu/main_menu_seg7_us.0B3C0.ia8.png"), + define_builtin_tex(texture_menu_font_char_V, "levels/menu/main_menu_seg7_us.0B400.ia8.png"), + define_builtin_tex(texture_menu_font_char_W, "levels/menu/main_menu_seg7_us.0B440.ia8.png"), + define_builtin_tex(texture_menu_font_char_X, "levels/menu/main_menu_seg7_us.0B480.ia8.png"), + define_builtin_tex(texture_menu_font_char_Y, "levels/menu/main_menu_seg7_us.0B4C0.ia8.png"), + define_builtin_tex(texture_menu_font_char_Z, "levels/menu/main_menu_seg7_us.0B500.ia8.png"), + define_builtin_tex(texture_menu_font_char_coin, "levels/menu/main_menu_seg7_us.0B540.ia8.png"), + define_builtin_tex(texture_menu_font_char_multiply, "levels/menu/main_menu_seg7_us.0B580.ia8.png"), + define_builtin_tex(texture_menu_font_char_star_filled, "levels/menu/main_menu_seg7_us.0B5C0.ia8.png"), + define_builtin_tex(texture_menu_font_char_dash, "levels/menu/main_menu_seg7_us.0B600.ia8.png"), + define_builtin_tex(texture_menu_font_char_comma, "levels/menu/main_menu_seg7_eu.0B640.ia8.png"), + define_builtin_tex(texture_menu_font_char_apostrophe, "levels/menu/main_menu_seg7_eu.0B680.ia8.png"), + define_builtin_tex(texture_menu_font_char_comma, "levels/menu/main_menu_seg7_us.0B640.ia8.png"), + define_builtin_tex(texture_menu_font_char_apostrophe, "levels/menu/main_menu_seg7_us.0B680.ia8.png"), + define_builtin_tex(texture_menu_font_char_exclamation, "levels/menu/main_menu_seg7_us.0B6C0.ia8.png"), + define_builtin_tex(texture_menu_font_char_question, "levels/menu/main_menu_seg7_us.0B700.ia8.png"), + define_builtin_tex(texture_menu_font_char_mface1, "levels/menu/main_menu_seg7_us.0B740.ia8.png"), + define_builtin_tex(texture_menu_font_char_mface2, "levels/menu/main_menu_seg7_us.0B780.ia8.png"), + define_builtin_tex(texture_menu_font_char_period, "levels/menu/main_menu_seg7_us.0B7C0.ia8.png"), + define_builtin_tex(texture_menu_font_char_ampersand, "levels/menu/main_menu_seg7_us.0B800.ia8.png"), + //define_builtin_tex(texture_menu_font_char_umlaut, "levels/menu/main_menu_seg7_eu.0B840.ia8.png"), + //define_builtin_tex(texture_menu_font_char_cedilla_mayus, "levels/menu/main_menu_seg7_eu.0B880.ia8.png"), + //define_builtin_tex(texture_menu_font_char_colon, "levels/menu/main_menu_seg7_eu.0B8C0.ia8.png"), + define_builtin_tex(texture_menu_course_upper, "levels/menu/main_menu_seg7_eu.0BDA0.rgba16.png"), + //define_builtin_tex(texture_menu_niveau_upper, "levels/menu/main_menu_seg7_eu.0CDA0.rgba16.png"), + //define_builtin_tex(texture_menu_kurs_upper, "levels/menu/main_menu_seg7_eu.0DDA0.rgba16.png"), + define_builtin_tex(texture_menu_course_lower, "levels/menu/main_menu_seg7_eu.0EDA0.rgba16.png"), + define_builtin_tex(texture_menu_course_upper, "levels/menu/main_menu_seg7.0D1A8.rgba16.png"), + define_builtin_tex(texture_menu_course_lower, "levels/menu/main_menu_seg7.0E1A8.rgba16.png"), + define_builtin_tex(pss_seg7_texture_07000000, "levels/pss/0.rgba16.png"), + define_builtin_tex(pss_seg7_texture_07000800, "levels/pss/1.ia16.png"), + define_builtin_tex(pss_seg7_texture_07001000, "levels/pss/2.rgba16.png"), + define_builtin_tex(texture_quarter_flying_carpet, "levels/rr/quarter_flying_carpet.rgba16.png"), + define_builtin_tex(rr_seg7_texture_07000800, "levels/rr/1.rgba16.png"), + define_builtin_tex(rr_seg7_texture_07001800, "levels/rr/2.rgba16.png"), + define_builtin_tex(sl_seg7_texture_07000000, "levels/sl/0.rgba16.png"), + define_builtin_tex(sl_seg7_texture_07000800, "levels/sl/1.rgba16.png"), + define_builtin_tex(sl_seg7_texture_07001000, "levels/sl/2.rgba16.png"), + define_builtin_tex(sl_seg7_texture_07001800, "levels/sl/3.rgba16.png"), + define_builtin_tex(sl_seg7_texture_07002000, "levels/sl/4.rgba16.png"), + define_builtin_tex(ssl_quicksand, "levels/ssl/7.rgba16.png"), + define_builtin_tex(ssl_seg7_texture_07000000, "levels/ssl/0.rgba16.png"), + define_builtin_tex(ssl_seg7_texture_07000800, "levels/ssl/1.ia16.png"), + define_builtin_tex(ssl_pyramid_sand, "levels/ssl/2.rgba16.png"), + define_builtin_tex(ssl_seg7_texture_07001800, "levels/ssl/3.rgba16.png"), + define_builtin_tex(ssl_seg7_texture_07002000, "levels/ssl/4.rgba16.png"), + define_builtin_tex(ssl_seg7_texture_07002800, "levels/ssl/5.rgba16.png"), + define_builtin_tex(ssl_seg7_texture_07003800, "levels/ssl/6.rgba16.png"), + define_builtin_tex(ssl_seg7_texture_0700BFA8, "levels/ssl/8.rgba16.png"), + define_builtin_tex(ssl_seg7_texture_0700C7A8, "levels/ssl/9.rgba16.png"), + define_builtin_tex(ssl_seg7_texture_0700D7A8, "levels/ssl/10.rgba16.png"), + define_builtin_tex(ssl_seg7_texture_0700E7A8, "levels/ssl/11.rgba16.png"), + define_builtin_tex(thi_seg7_texture_07000000, "levels/thi/0.rgba16.png"), + define_builtin_tex(thi_seg7_texture_07000800, "levels/thi/1.rgba16.png"), + define_builtin_tex(totwc_seg7_texture_07000000, "levels/totwc/0.rgba16.png"), + define_builtin_tex(totwc_seg7_texture_07001000, "levels/totwc/1.rgba16.png"), + define_builtin_tex(totwc_seg7_texture_07001800, "levels/totwc/2.rgba16.png"), + define_builtin_tex(totwc_seg7_texture_07002000, "levels/totwc/3.ia16.png"), + define_builtin_tex(ttc_yellow_triangle, "levels/ttc/2.rgba16.png"), + define_builtin_tex(ttc_seg7_texture_07000000, "levels/ttc/0.rgba16.png"), + define_builtin_tex(ttc_seg7_texture_07000800, "levels/ttc/1.rgba16.png"), + define_builtin_tex(ttm_seg7_texture_0702AD30, "levels/ttm/8.rgba16.png"), + define_builtin_tex(ttm_seg7_texture_07000000, "levels/ttm/0.ia16.png"), + define_builtin_tex(ttm_seg7_texture_07000800, "levels/ttm/1.rgba16.png"), + define_builtin_tex(ttm_seg7_texture_07001000, "levels/ttm/2.rgba16.png"), + define_builtin_tex(ttm_seg7_texture_07001800, "levels/ttm/3.rgba16.png"), + define_builtin_tex(ttm_seg7_texture_07002000, "levels/ttm/4.rgba16.png"), + define_builtin_tex(ttm_seg7_texture_07002800, "levels/ttm/5.rgba16.png"), + define_builtin_tex(ttm_seg7_texture_07003000, "levels/ttm/6.rgba16.png"), + define_builtin_tex(ttm_seg7_texture_07004000, "levels/ttm/7.rgba16.png"), + define_builtin_tex(vcutm_seg7_texture_07000000, "levels/vcutm/0.rgba16.png"), + define_builtin_tex(vcutm_seg7_texture_07000800, "levels/vcutm/1.rgba16.png"), + define_builtin_tex(vcutm_seg7_texture_07001800, "levels/vcutm/2.rgba16.png"), + define_builtin_tex(vcutm_seg7_texture_07002800, "levels/vcutm/3.rgba16.png"), + define_builtin_tex(wdw_seg7_texture_07000000, "levels/wdw/0.rgba16.png"), + define_builtin_tex(wdw_seg7_texture_07000800, "levels/wdw/1.rgba16.png"), + define_builtin_tex(wdw_seg7_texture_07001000, "levels/wdw/2.rgba16.png"), + define_builtin_tex(wdw_seg7_texture_07001800, "levels/wdw/3.rgba16.png"), + define_builtin_tex(wdw_seg7_texture_07002000, "levels/wdw/4.rgba16.png"), + define_builtin_tex(wf_seg7_texture_07000000, "levels/wf/0.rgba16.png"), + define_builtin_tex(wf_seg7_texture_07000800, "levels/wf/1.rgba16.png"), + define_builtin_tex(wf_seg7_texture_07001000, "levels/wf/2.rgba16.png"), + define_builtin_tex(wf_seg7_texture_07001800, "levels/wf/3.rgba16.png"), + define_builtin_tex(wf_seg7_texture_07002000, "levels/wf/4.rgba16.png"), + define_builtin_tex(wf_seg7_texture_07002800, "levels/wf/5.ia8.png"), + define_builtin_tex(wmotr_seg7_texture_07000000, "levels/wmotr/0.rgba16.png"), + define_builtin_tex(wmotr_seg7_texture_07000800, "levels/wmotr/1.rgba16.png"), + define_builtin_tex(wmotr_seg7_texture_07000C00, "levels/wmotr/2.rgba16.png"), + define_builtin_tex(wmotr_seg7_texture_07001400, "levels/wmotr/3.rgba16.png"), + define_builtin_tex(wmotr_seg7_texture_07001600, "levels/wmotr/4.rgba16.png"), + + define_builtin_tex(mario_texture_metal, "actors/mario/mario_metal.rgba16.png"), + define_builtin_tex(mario_texture_yellow_button, "actors/mario/mario_overalls_button.rgba16.png"), + define_builtin_tex(mario_texture_m_logo, "actors/mario/mario_logo.rgba16.png"), + define_builtin_tex(mario_texture_hair_sideburn, "actors/mario/mario_sideburn.rgba16.png"), + define_builtin_tex(mario_texture_mustache, "actors/mario/mario_mustache.rgba16.png"), + define_builtin_tex(mario_texture_eyes_front, "actors/mario/mario_eyes_center.rgba16.png"), + define_builtin_tex(mario_texture_eyes_half_closed, "actors/mario/mario_eyes_half_closed.rgba16.png"), + define_builtin_tex(mario_texture_eyes_closed, "actors/mario/mario_eyes_closed.rgba16.png"), + define_builtin_tex(mario_texture_eyes_closed_unused1, "actors/mario/mario_eyes_closed_unused_0.rgba16.png"), + define_builtin_tex(mario_texture_eyes_closed_unused2, "actors/mario/mario_eyes_closed_unused_1.rgba16.png"), + define_builtin_tex(mario_texture_eyes_right, "actors/mario/mario_eyes_left_unused.rgba16.png"), + define_builtin_tex(mario_texture_eyes_left, "actors/mario/mario_eyes_right_unused.rgba16.png"), + define_builtin_tex(mario_texture_eyes_up, "actors/mario/mario_eyes_up_unused.rgba16.png"), + define_builtin_tex(mario_texture_eyes_down, "actors/mario/mario_eyes_down_unused.rgba16.png"), + define_builtin_tex(mario_texture_eyes_dead, "actors/mario/mario_eyes_dead.rgba16.png"), + define_builtin_tex(mario_texture_wings_half_1, "actors/mario/mario_wing.rgba16.png"), + define_builtin_tex(mario_texture_wings_half_2, "actors/mario/mario_wing_tip.rgba16.png"), + define_builtin_tex(mario_texture_metal_wings_half_1, "actors/mario/mario_metal_wing_unused.rgba16.png"), + define_builtin_tex(mario_texture_metal_wings_half_2, "actors/mario/mario_metal_wing_tip_unused.rgba16.png"), + define_builtin_tex(mario_cap_seg3_texture_0301CF50, "actors/mario_cap/mario_cap_metal.rgba16.inc.c"), + define_builtin_tex(mario_cap_seg3_texture_0301DF50, "actors/mario_cap/custom_mario_cap_logo.rgba16.inc.c"), + define_builtin_tex(mario_cap_seg3_texture_0301E750, "actors/mario_cap/mario_cap_wing.rgba16.inc.c"), + define_builtin_tex(mario_cap_seg3_texture_0301F750, "actors/mario_cap/mario_cap_wing_tip.rgba16.inc.c"), + define_builtin_tex(mario_cap_seg3_texture_03020750, "actors/mario_cap/mario_cap_metal_wing_unused.rgba16.inc.c"), + define_builtin_tex(mario_cap_seg3_texture_03021750, "actors/mario_cap/mario_cap_metal_wing_tip_unused.rgba16.inc.c"), + define_builtin_tex(impact_smoke_seg6_texture_0605AA28, "actors/impact_smoke/impact_smoke_0.ia16.inc.c"), + define_builtin_tex(impact_smoke_seg6_texture_0605CA28, "actors/impact_smoke/impact_smoke_1.ia16.inc.c"), + define_builtin_tex(impact_smoke_seg6_texture_0605EA28, "actors/impact_smoke/impact_smoke_2.ia16.inc.c"), + define_builtin_tex(impact_smoke_seg6_texture_06060A28, "actors/impact_smoke/impact_smoke_3.ia16.inc.c"), + define_builtin_tex(luigi_texture_l_logo, "actors/luigi/custom_luigi_logo.rgba16.inc.c"), + define_builtin_tex(luigi_texture_hair_sideburn, "actors/luigi/custom_luigi_sideburn.rgba16.inc.c"), + define_builtin_tex(luigi_texture_mustache, "actors/luigi/custom_luigi_mustache.rgba16.inc.c"), + define_builtin_tex(luigi_texture_eyes_front, "actors/luigi/custom_luigi_eyes_center.rgba16.inc.c"), + define_builtin_tex(luigi_texture_eyes_half_closed, "actors/luigi/custom_luigi_eyes_half_closed.rgba16.inc.c"), + define_builtin_tex(luigi_texture_eyes_closed, "actors/luigi/custom_luigi_eyes_closed.rgba16.inc.c"), + define_builtin_tex(luigi_cap_seg3_texture_0301DF50, "actors/luigi_cap/custom_luigi_cap_logo.rgba16.inc.c"), + define_builtin_tex(toad_player_texture_face, "actors/toad_player/custom_toad_face.rgba16.inc.c"), + define_builtin_tex(toad_player_texture_eyes_closed, "actors/toad_player/custom_toad_eyes_closed.rgba16.inc.c"), + define_builtin_tex(toad_player_texture_eyes_half_closed, "actors/toad_player/custom_toad_eyes_half_closed.rgba16.inc.c"), + define_builtin_tex(toad_player_texture_eyes_dead, "actors/toad_player/custom_toad_eyes_dead.rgba16.inc.c"), + define_builtin_tex(toad_player_texture_hair, "actors/toad_player/custom_toad_hair.rgba16.inc.c"), + define_builtin_tex(toad_player_texture_cap, "actors/toad_player/custom_toad_cap.rgba16.inc.c"), + define_builtin_tex(waluigi_cap_seg3_texture_0301DF50, "actors/waluigi/custom_waluigi_cap.rgba16.inc.c"), + define_builtin_tex(wario_texture_white_button, "actors/wario/custom_wario_overalls_button.rgba16.inc.c"), + define_builtin_tex(wario_texture_w_logo, "actors/wario/custom_wario_logo.rgba16.inc.c"), + define_builtin_tex(wario_texture_hair_sideburn, "actors/wario/custom_wario_sideburn.rgba16.inc.c"), + define_builtin_tex(wario_texture_mouth, "actors/wario/custom_wario_mouth.rgba16.inc.c"), + define_builtin_tex(wario_texture_eyes_front, "actors/wario/custom_wario_eyes_center.rgba16.inc.c"), + define_builtin_tex(wario_texture_eyes_half_closed, "actors/wario/custom_wario_eyes_half_closed.rgba16.inc.c"), + define_builtin_tex(wario_texture_eyes_closed, "actors/wario/custom_wario_eyes_closed.rgba16.inc.c"), + define_builtin_tex(wario_texture_eyes_right, "actors/wario/custom_wario_eyes_left_unused.rgba16.inc.c"), + define_builtin_tex(wario_texture_eyes_left, "actors/wario/custom_wario_eyes_right_unused.rgba16.inc.c"), + define_builtin_tex(wario_texture_eyes_up, "actors/wario/custom_wario_eyes_up_unused.rgba16.inc.c"), + define_builtin_tex(wario_texture_eyes_down, "actors/wario/custom_wario_eyes_down_unused.rgba16.inc.c"), + define_builtin_tex(wario_texture_eyes_dead, "actors/wario/custom_wario_eyes_dead.rgba16.inc.c"), + define_builtin_tex(wario_cap_seg3_texture_0301DF50, "actors/wario_cap/custom_wario_cap_logo.rgba16.inc.c"), + define_builtin_tex(waluigi_custom_waluigi_cap_rgba16, "actors/waluigi/custom_waluigi_cap.rgba16.inc.c"), + define_builtin_tex(waluigi_waluigi_eyes0_rgba16, "actors/waluigi/custom_waluigi_eyes0.rgba16.inc.c"), + define_builtin_tex(waluigi_waluigi_mouth_rgba16, "actors/waluigi/custom_waluigi_mouth.rgba16.inc.c"), + define_builtin_tex(waluigi_waluigi_eyes1_rgba16, "actors/waluigi/custom_waluigi_eyes1.rgba16.inc.c"), + define_builtin_tex(waluigi_waluigi_eyes2_rgba16, "actors/waluigi/custom_waluigi_eyes2.rgba16.inc.c"), + define_builtin_tex(waluigi_waluigi_eyes3_rgba16, "actors/waluigi/custom_waluigi_eyes3.rgba16.inc.c"), + define_builtin_tex(waluigi_waluigi_glove_rgba16, "actors/waluigi/custom_waluigi_glove.rgba16.inc.c"), +}; + +const Texture* DynOS_Builtin_Tex_GetFromName(const char* aDataName) { + TEX_MGR_FIND_DATA(sDynosBuiltinTexs, (const Texture*)); +} + +const char* DynOS_Builtin_Tex_GetFromData(const Texture* aData) { + TEX_MGR_FIND_NAME(sDynosBuiltinTexs); +} + +const char* DynOS_Builtin_Tex_GetNameFromFileName(const char* aDataName) { + TEX_MGR_FIND_NAME_FROM_FILENAME(sDynosBuiltinTexs); +} diff --git a/data/dynos_mgr_pack.cpp b/data/dynos_mgr_pack.cpp index b40ef52a..3267b510 100644 --- a/data/dynos_mgr_pack.cpp +++ b/data/dynos_mgr_pack.cpp @@ -11,7 +11,7 @@ static Array& DynosPacks() { static void DynOS_Pack_ActivateActor(s32 aPackIndex, Pair& pair) { const char* aActorName = pair.first; GfxData* aGfxData = pair.second; - + auto& geoNode = *(aGfxData->mGeoLayouts.end() - 1); GraphNode* graphNode = (GraphNode *) DynOS_Geo_GetGraphNode(geoNode->mData, false); if (graphNode == NULL) { return; } @@ -65,10 +65,16 @@ void DynOS_Pack_SetEnabled(PackData* aPack, bool aEnabled) { for (auto& pair : aPack->mGfxData) { DynOS_Pack_ActivateActor(aPack->mIndex, pair); } + for (auto& _Tex : aPack->mTextures) { + DynOS_Tex_Activate(_Tex, false); + } } else { for (auto& pair : aPack->mGfxData) { DynOS_Pack_DeactivateActor(aPack->mIndex, pair); } + for (auto& _Tex : aPack->mTextures) { + DynOS_Tex_Deactivate(_Tex); + } } DynOS_Actor_Override_All(); } @@ -155,3 +161,28 @@ void DynOS_Pack_AddActor(PackData* aPackData, const char* aActorName, GfxData* a DynOS_Pack_ActivateActor(aPackData->mIndex, aPackData->mGfxData[index]); } } + +DataNode* DynOS_Pack_GetTex(PackData* aPackData, const char* aTexName) { + if (aPackData == NULL || aTexName == NULL) { + return NULL; + } + + for (auto& _Tex : aPackData->mTextures) { + if (!strcmp(_Tex->mName.begin(), aTexName)) { + return _Tex; + } + } + return NULL; +} + +void DynOS_Pack_AddTex(PackData* aPackData, DataNode* aTexData) { + if (aPackData == NULL || aTexData == NULL) { + return; + } + + aPackData->mTextures.Add(aTexData); + + if (aPackData->mEnabled) { + DynOS_Tex_Activate(aTexData, false); + } +} diff --git a/data/dynos_mgr_tex.cpp b/data/dynos_mgr_tex.cpp index e3ddf44a..18c2d5f4 100644 --- a/data/dynos_mgr_tex.cpp +++ b/data/dynos_mgr_tex.cpp @@ -1,9 +1,20 @@ +#include #include #include "dynos.cpp.h" extern "C" { #include "pc/gfx/gfx_rendering_api.h" } +struct OverrideTexture { + DataNode* node; + bool customTexture; +}; + +static std::map& DynosOverrideTextures() { + static std::map sDynosOverrideTextures; + return sDynosOverrideTextures; +} + // static set static std::set *>& DynosValidTextures() { static std::set *> sDynosValidTextures; @@ -287,6 +298,11 @@ void DynOS_Tex_Update() { // static DataNode *DynOS_Tex_RetrieveNode(void *aPtr) { + auto _Override = DynosOverrideTextures()[(const Texture*)aPtr]; + if (_Override && _Override->node) { + return _Override->node; + } + auto& _ValidTextures = DynosValidTextures(); if (_ValidTextures.find((DataNode*)aPtr) != _ValidTextures.end()) { return (DataNode*)aPtr; @@ -317,3 +333,134 @@ bool DynOS_Tex_Import(void **aOutput, void *aPtr, s32 aTile, void *aGfxRApi, voi (u32) aPoolSize ); } + + ///////////////////// + // Custom Textures // +///////////////////// + +static Array*>>& DynosCustomTexs() { + static Array*>> sDynosCustomTexs; + return sDynosCustomTexs; +} + +void DynOS_Tex_Activate(DataNode* aNode, bool aCustomTexture) { + if (!aNode) { return; } + + // check for duplicates + auto& _DynosCustomTexs = DynosCustomTexs(); + bool _HasCustomTex = false; + for (s32 i = 0; i < _DynosCustomTexs.Count(); ++i) { + if (!strcmp(_DynosCustomTexs[i].first, aNode->mName.begin())) { + _HasCustomTex = true; + break; + } + } + + // Override texture + const Texture* _BuiltinTex = DynOS_Builtin_Tex_GetFromName(aNode->mName.begin()); + if (_BuiltinTex) { + auto& _DynosOverrideTextures = DynosOverrideTextures(); + if (_DynosOverrideTextures[_BuiltinTex] == NULL || !_DynosOverrideTextures[_BuiltinTex]->customTexture) { + struct OverrideTexture* _Override = new OverrideTexture(); + _Override->customTexture = aCustomTexture; + _Override->node = aNode; + _DynosOverrideTextures[_BuiltinTex] = _Override; + } + } + + // Add to custom textures + if (!_HasCustomTex && aCustomTexture) { + _DynosCustomTexs.Add({ aNode->mName.begin(), aNode }); + } + + // Add to valid + DynosValidTextures().insert(aNode); +} + +void DynOS_Tex_Deactivate(DataNode* aNode) { + if (!aNode) { return; } + + // remove from custom textures + auto& _DynosCustomTexs = DynosCustomTexs(); + for (s32 i = 0; i < _DynosCustomTexs.Count(); ++i) { + if (_DynosCustomTexs[i].second == aNode) { + _DynosCustomTexs.Remove(i); + i--; + } + } + + // un-override texture + const Texture* _BuiltinTex = DynOS_Builtin_Tex_GetFromName(aNode->mName.begin()); + auto& _DynosOverrideTextures = DynosOverrideTextures(); + if (_BuiltinTex) { + auto _Override = _DynosOverrideTextures[_BuiltinTex]; + if (_Override && _Override->node == aNode) { + _DynosOverrideTextures.erase(_BuiltinTex); + } + } + + // Remove from valid + auto& _Schedule = DynosScheduledInvalidTextures(); + _Schedule.Add(aNode); +} + +void DynOS_Tex_AddCustom(const SysPath &aFilename, const char *aTexName) { + auto& _DynosCustomTexs = DynosCustomTexs(); + + // check for duplicates + for (s32 i = 0; i < _DynosCustomTexs.Count(); ++i) { + if (!strcmp(_DynosCustomTexs[i].first, aTexName)) { + return; + } + } + + // Allocate name + u16 texLen = strlen(aTexName); + char* _TexName = (char*)calloc(1, sizeof(char) * (texLen + 1)); + strcpy(_TexName, aTexName); + + // Load + SysPath _PackFolder = ""; + DataNode* _Node = DynOS_Tex_LoadFromBinary(_PackFolder, aFilename, _TexName, false); + if (_Node) { + DynOS_Tex_Activate(_Node, true); + } +} + +bool DynOS_Tex_Get(const char* aTexName, struct TextureInfo* aOutTexInfo) { + auto& _DynosCustomTexs = DynosCustomTexs(); + + // check custom textures + for (s32 i = 0; i < _DynosCustomTexs.Count(); ++i) { + if (!strcmp(_DynosCustomTexs[i].first, aTexName)) { + auto& _Data = _DynosCustomTexs[i].second->mData; + + // load the texture if it hasn't been yet + if (_Data->mRawData.begin() == NULL) { + u8 *_RawData = stbi_load_from_memory(_Data->mPngData.begin(), _Data->mPngData.Count(), &_Data->mRawWidth, &_Data->mRawHeight, NULL, 4); + _Data->mRawFormat = G_IM_FMT_RGBA; + _Data->mRawSize = G_IM_SIZ_32b; + _Data->mRawData = Array(_RawData, _RawData + (_Data->mRawWidth * _Data->mRawHeight * 4)); + free(_RawData); + } + + // translate bit size + switch (_Data->mRawSize) { + case G_IM_SIZ_8b: aOutTexInfo->bitSize = 8; break; + case G_IM_SIZ_16b: aOutTexInfo->bitSize = 16; break; + case G_IM_SIZ_32b: aOutTexInfo->bitSize = 32; break; + default: return false; + } + + //aOutTexInfo->format = _Data->mRawFormat; + aOutTexInfo->width = _Data->mRawWidth; + aOutTexInfo->height = _Data->mRawHeight; + aOutTexInfo->texture = _Data->mRawData.begin(); + return true; + } + } + + // check builtin textures + //return DynOS_Builtin_Tex_GetFromName(aTexName); + return false; +} diff --git a/docs/lua/functions-3.md b/docs/lua/functions-3.md index b843d29b..c90578ea 100644 --- a/docs/lua/functions-3.md +++ b/docs/lua/functions-3.md @@ -2135,30 +2135,6 @@
-## [djui_hud_render_texture](#djui_hud_render_texture) - -### Lua Example -`djui_hud_render_texture(texInfo, x, y, scaleW, scaleH)` - -### Parameters -| Field | Type | -| ----- | ---- | -| texInfo | [TextureInfo](structs.md#TextureInfo) | -| x | `number` | -| y | `number` | -| scaleW | `number` | -| scaleH | `number` | - -### Returns -- None - -### C Prototype -`void djui_hud_render_texture(struct TextureInfo* texInfo, f32 x, f32 y, f32 scaleW, f32 scaleH);` - -[:arrow_up_small:](#) - -
- ## [djui_hud_set_color](#djui_hud_set_color) ### Lua Example diff --git a/docs/lua/functions.md b/docs/lua/functions.md index ee270195..b88fbdb9 100644 --- a/docs/lua/functions.md +++ b/docs/lua/functions.md @@ -706,7 +706,6 @@ - [djui_hud_measure_text](functions-3.md#djui_hud_measure_text) - [djui_hud_print_text](functions-3.md#djui_hud_print_text) - [djui_hud_render_rect](functions-3.md#djui_hud_render_rect) - - [djui_hud_render_texture](functions-3.md#djui_hud_render_texture) - [djui_hud_set_color](functions-3.md#djui_hud_set_color) - [djui_hud_set_font](functions-3.md#djui_hud_set_font) - [djui_hud_set_resolution](functions-3.md#djui_hud_set_resolution) diff --git a/include/types.h b/include/types.h index f54d6c10..57049fbf 100644 --- a/include/types.h +++ b/include/types.h @@ -391,10 +391,10 @@ struct MarioState struct TextureInfo { - const u8* texture; - const u8 bitSize; - const u32 width; - const u32 height; + u8* texture; + u8 bitSize; + u32 width; + u32 height; }; #define PLAY_MODE_NORMAL 0 diff --git a/levels/bbh/texture.inc.c b/levels/bbh/texture.inc.c index 00380afe..4ec4d6fd 100644 --- a/levels/bbh/texture.inc.c +++ b/levels/bbh/texture.inc.c @@ -1,34 +1,34 @@ // 0x07000000 - 0x07001000 -ALIGNED8 static const Texture bbh_seg7_texture_07000000[] = { +ALIGNED8 const Texture bbh_seg7_texture_07000000[] = { #include "levels/bbh/0.rgba16.inc.c" }; // 0x07001000 - 0x07001800 -ALIGNED8 static const Texture bbh_seg7_texture_07001000[] = { +ALIGNED8 const Texture bbh_seg7_texture_07001000[] = { #include "levels/bbh/1.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture bbh_seg7_texture_07001800[] = { +ALIGNED8 const Texture bbh_seg7_texture_07001800[] = { #include "levels/bbh/2.rgba16.inc.c" }; // 0x07002000 - 0x07003000 -ALIGNED8 static const Texture bbh_seg7_texture_07002000[] = { +ALIGNED8 const Texture bbh_seg7_texture_07002000[] = { #include "levels/bbh/3.rgba16.inc.c" }; // 0x07003000 - 0x07003400 -ALIGNED8 static const Texture bbh_seg7_texture_07003000[] = { +ALIGNED8 const Texture bbh_seg7_texture_07003000[] = { #include "levels/bbh/4.rgba16.inc.c" }; // 0x07003400 - 0x07004400 -ALIGNED8 static const Texture bbh_seg7_texture_07003400[] = { +ALIGNED8 const Texture bbh_seg7_texture_07003400[] = { #include "levels/bbh/5.rgba16.inc.c" }; // 0x07004400 - 0x07004800 -ALIGNED8 static const Texture bbh_seg7_texture_07004400[] = { +ALIGNED8 const Texture bbh_seg7_texture_07004400[] = { #include "levels/bbh/6.rgba16.inc.c" }; diff --git a/levels/bitdw/texture.inc.c b/levels/bitdw/texture.inc.c index 8e826e16..f6c3a86a 100644 --- a/levels/bitdw/texture.inc.c +++ b/levels/bitdw/texture.inc.c @@ -1,19 +1,19 @@ // 0x07000000 - 0x07000002 -ALIGNED8 static const Texture bitdw_seg7_texture_07000000[] = { +ALIGNED8 const Texture bitdw_seg7_texture_07000000[] = { #include "levels/bitdw/0.rgba16.inc.c" }; // 0x07000800 - 0x07000802 -ALIGNED8 static const Texture bitdw_seg7_texture_07000800[] = { +ALIGNED8 const Texture bitdw_seg7_texture_07000800[] = { #include "levels/bitdw/1.rgba16.inc.c" }; // 0x07001000 - 0x07001002 -ALIGNED8 static const Texture bitdw_seg7_texture_07001000[] = { +ALIGNED8 const Texture bitdw_seg7_texture_07001000[] = { #include "levels/bitdw/2.rgba16.inc.c" }; // 0x07001800 - 0x07001802 -ALIGNED8 static const Texture bitdw_seg7_texture_07001800[] = { +ALIGNED8 const Texture bitdw_seg7_texture_07001800[] = { #include "levels/bitdw/3.rgba16.inc.c" }; diff --git a/levels/bitfs/texture.inc.c b/levels/bitfs/texture.inc.c index 60854982..4308b709 100644 --- a/levels/bitfs/texture.inc.c +++ b/levels/bitfs/texture.inc.c @@ -1,14 +1,14 @@ // 0x07000000 - 0x07001000 -ALIGNED8 static const Texture bitfs_seg7_texture_07000000[] = { +ALIGNED8 const Texture bitfs_seg7_texture_07000000[] = { #include "levels/bitfs/0.rgba16.inc.c" }; // 0x07001000 - 0x07001800 -ALIGNED8 static const Texture bitfs_seg7_texture_07001000[] = { +ALIGNED8 const Texture bitfs_seg7_texture_07001000[] = { #include "levels/bitfs/1.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture bitfs_seg7_texture_07001800[] = { +ALIGNED8 const Texture bitfs_seg7_texture_07001800[] = { #include "levels/bitfs/2.rgba16.inc.c" }; diff --git a/levels/bits/texture.inc.c b/levels/bits/texture.inc.c index 77e44a3b..55f2bfb6 100644 --- a/levels/bits/texture.inc.c +++ b/levels/bits/texture.inc.c @@ -1,14 +1,14 @@ // 0x07000000 - 0x07001000 -ALIGNED8 static const Texture bits_seg7_texture_07000000[] = { +ALIGNED8 const Texture bits_seg7_texture_07000000[] = { #include "levels/bits/0.rgba16.inc.c" }; // 0x07001000 - 0x07002000 -ALIGNED8 static const Texture bits_seg7_texture_07001000[] = { +ALIGNED8 const Texture bits_seg7_texture_07001000[] = { #include "levels/bits/1.rgba16.inc.c" }; // 0x07002000 - 0x07002800 -ALIGNED8 static const Texture bits_seg7_texture_07002000[] = { +ALIGNED8 const Texture bits_seg7_texture_07002000[] = { #include "levels/bits/2.rgba16.inc.c" }; diff --git a/levels/bob/texture.inc.c b/levels/bob/texture.inc.c index b43cc188..b54968a3 100644 --- a/levels/bob/texture.inc.c +++ b/levels/bob/texture.inc.c @@ -1,24 +1,24 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture bob_seg7_texture_07000000[] = { +ALIGNED8 const Texture bob_seg7_texture_07000000[] = { #include "levels/bob/0.rgba16.inc.c" }; // 0x07000800 - 0x07001000 -ALIGNED8 static const Texture bob_seg7_texture_07000800[] = { +ALIGNED8 const Texture bob_seg7_texture_07000800[] = { #include "levels/bob/1.rgba16.inc.c" }; // 0x07001000 - 0x07001800 -ALIGNED8 static const Texture bob_seg7_texture_07001000[] = { +ALIGNED8 const Texture bob_seg7_texture_07001000[] = { #include "levels/bob/2.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture bob_seg7_texture_07001800[] = { +ALIGNED8 const Texture bob_seg7_texture_07001800[] = { #include "levels/bob/3.rgba16.inc.c" }; // 0x07002000 - 0x07002800 -ALIGNED8 static const Texture bob_seg7_texture_07002000[] = { +ALIGNED8 const Texture bob_seg7_texture_07002000[] = { #include "levels/bob/4.rgba16.inc.c" }; diff --git a/levels/bowser_1/texture.inc.c b/levels/bowser_1/texture.inc.c index 67e7a24f..6ec4de8a 100644 --- a/levels/bowser_1/texture.inc.c +++ b/levels/bowser_1/texture.inc.c @@ -1,14 +1,14 @@ // 0x07000000 - 0x07000002 -ALIGNED8 static const Texture bowser_1_seg7_texture_07000000[] = { +ALIGNED8 const Texture bowser_1_seg7_texture_07000000[] = { #include "levels/bowser_1/0.rgba16.inc.c" }; // 0x07001000 - 0x07001002 -ALIGNED8 static const Texture bowser_1_seg7_texture_07001000[] = { +ALIGNED8 const Texture bowser_1_seg7_texture_07001000[] = { #include "levels/bowser_1/1.rgba16.inc.c" }; // 0x07001800 - 0x07001802 -ALIGNED8 static const Texture bowser_1_seg7_texture_07001800[] = { +ALIGNED8 const Texture bowser_1_seg7_texture_07001800[] = { #include "levels/bowser_1/2.rgba16.inc.c" }; diff --git a/levels/bowser_2/texture.inc.c b/levels/bowser_2/texture.inc.c index 8ee1ce64..284a54bd 100644 --- a/levels/bowser_2/texture.inc.c +++ b/levels/bowser_2/texture.inc.c @@ -1,4 +1,4 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture bowser_2_seg7_texture_07000000[] = { +ALIGNED8 const Texture bowser_2_seg7_texture_07000000[] = { #include "levels/bowser_2/0.rgba16.inc.c" }; diff --git a/levels/bowser_3/texture.inc.c b/levels/bowser_3/texture.inc.c index 088e9e02..3803dad0 100644 --- a/levels/bowser_3/texture.inc.c +++ b/levels/bowser_3/texture.inc.c @@ -1,14 +1,14 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture bowser_3_seg7_texture_07000000[] = { +ALIGNED8 const Texture bowser_3_seg7_texture_07000000[] = { #include "levels/bowser_3/0.rgba16.inc.c" }; // 0x07000800 - 0x07001000 -ALIGNED8 static const Texture bowser_3_seg7_texture_07000800[] = { +ALIGNED8 const Texture bowser_3_seg7_texture_07000800[] = { #include "levels/bowser_3/1.rgba16.inc.c" }; // 0x07001000 - 0x07002000 -ALIGNED8 static const Texture bowser_3_seg7_texture_07001000[] = { +ALIGNED8 const Texture bowser_3_seg7_texture_07001000[] = { #include "levels/bowser_3/2.rgba16.inc.c" }; diff --git a/levels/castle_grounds/areas/1/12/model.inc.c b/levels/castle_grounds/areas/1/12/model.inc.c index 55129ae4..c68febf5 100644 --- a/levels/castle_grounds/areas/1/12/model.inc.c +++ b/levels/castle_grounds/areas/1/12/model.inc.c @@ -18,12 +18,12 @@ static const Vtx castle_grounds_seg7_vertex_0700C9A8[] = { }; // 0x0700C9E8 - 0x0700D9E8 -ALIGNED8 static const Texture castle_grounds_seg7_texture_0700C9E8[] = { +ALIGNED8 const Texture castle_grounds_seg7_texture_0700C9E8[] = { #include "levels/castle_grounds/3.rgba16.inc.c" }; // 0x0700D9E8 - 0x0700E9E8 -ALIGNED8 static const Texture castle_grounds_seg7_texture_0700D9E8[] = { +ALIGNED8 const Texture castle_grounds_seg7_texture_0700D9E8[] = { #include "levels/castle_grounds/4.rgba16.inc.c" }; diff --git a/levels/castle_grounds/areas/1/13/model.inc.c b/levels/castle_grounds/areas/1/13/model.inc.c index 20e563d1..9b620a14 100644 --- a/levels/castle_grounds/areas/1/13/model.inc.c +++ b/levels/castle_grounds/areas/1/13/model.inc.c @@ -1,4 +1,4 @@ -ALIGNED8 static const Texture castle_grounds_seg7_us_texture_0700EAE8[] = { +ALIGNED8 const Texture castle_grounds_seg7_us_texture_0700EAE8[] = { #include "levels/castle_grounds/5.ia8.inc.c" }; diff --git a/levels/castle_grounds/texture.inc.c b/levels/castle_grounds/texture.inc.c index f5e09586..b767a091 100644 --- a/levels/castle_grounds/texture.inc.c +++ b/levels/castle_grounds/texture.inc.c @@ -1,14 +1,14 @@ // 0x07000000 - 0x07001000 -ALIGNED8 static const Texture castle_grounds_seg7_texture_07000000[] = { +ALIGNED8 const Texture castle_grounds_seg7_texture_07000000[] = { #include "levels/castle_grounds/0.rgba16.inc.c" }; // 0x07001000 - 0x07002000 -ALIGNED8 static const Texture castle_grounds_seg7_texture_07001000[] = { +ALIGNED8 const Texture castle_grounds_seg7_texture_07001000[] = { #include "levels/castle_grounds/1.rgba16.inc.c" }; // 0x07002000 - 0x07003000 -ALIGNED8 static const Texture castle_grounds_seg7_texture_07002000[] = { +ALIGNED8 const Texture castle_grounds_seg7_texture_07002000[] = { #include "levels/castle_grounds/2.rgba16.inc.c" }; diff --git a/levels/castle_inside/painting.inc.c b/levels/castle_inside/painting.inc.c index d668820f..023552de 100644 --- a/levels/castle_inside/painting.inc.c +++ b/levels/castle_inside/painting.inc.c @@ -1300,55 +1300,55 @@ static const Gfx inside_castle_seg7_painting_dl_070235B8[] = { gsSPBranchList(inside_castle_seg7_painting_dl_07023580), }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_070235C0[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_070235C0[] = { inside_castle_seg7_texture_0700B800, inside_castle_seg7_texture_0700A800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_070235C8[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_070235C8[] = { inside_castle_seg7_texture_0700D800, inside_castle_seg7_texture_0700C800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_070235D0[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_070235D0[] = { inside_castle_seg7_texture_0700F800, inside_castle_seg7_texture_0700E800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_070235D8[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_070235D8[] = { inside_castle_seg7_texture_07011800, inside_castle_seg7_texture_07010800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_070235E0[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_070235E0[] = { inside_castle_seg7_texture_07012800, inside_castle_seg7_texture_07013800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_070235E8[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_070235E8[] = { inside_castle_seg7_texture_07015800, inside_castle_seg7_texture_07014800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_070235F0[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_070235F0[] = { inside_castle_seg7_texture_07016800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_070235F4[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_070235F4[] = { inside_castle_seg7_texture_07017000, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_070235F8[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_070235F8[] = { inside_castle_seg7_texture_07018800, inside_castle_seg7_texture_07017800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_07023600[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_07023600[] = { inside_castle_seg7_texture_0701A800, inside_castle_seg7_texture_07019800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_07023608[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_07023608[] = { inside_castle_seg7_texture_0701C800, inside_castle_seg7_texture_0701B800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_07023610[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_07023610[] = { inside_castle_seg7_texture_0701E800, inside_castle_seg7_texture_0701D800, }; -ALIGNED8 static const Texture *const inside_castle_seg7_painting_textures_07023618[] = { +ALIGNED8 const Texture *const inside_castle_seg7_painting_textures_07023618[] = { inside_castle_seg7_texture_07020800, inside_castle_seg7_texture_0701F800, }; diff --git a/levels/castle_inside/texture.inc.c b/levels/castle_inside/texture.inc.c index a3157f23..e855d4d5 100644 --- a/levels/castle_inside/texture.inc.c +++ b/levels/castle_inside/texture.inc.c @@ -1,216 +1,216 @@ -ALIGNED8 static const Texture texture_castle_light[] = { +ALIGNED8 const Texture texture_castle_light[] = { #include "levels/castle_inside/castle_light.ia16.inc.c" }; // 0x07000800 - 0x07001000 -ALIGNED8 static const Texture inside_castle_seg7_texture_07000800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07000800[] = { #include "levels/castle_inside/1.rgba16.inc.c" }; // 0x07001000 - 0x07002000 -ALIGNED8 static const Texture inside_castle_seg7_texture_07001000[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07001000[] = { #include "levels/castle_inside/2.ia16.inc.c" }; // 0x07002000 - 0x07003000 -ALIGNED8 static const Texture inside_castle_seg7_texture_07002000[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07002000[] = { #include "levels/castle_inside/3.rgba16.inc.c" }; // 0x07003000 - 0x07003800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07003000[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07003000[] = { #include "levels/castle_inside/4.rgba16.inc.c" }; // 0x07003800 - 0x07004800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07003800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07003800[] = { #include "levels/castle_inside/5.rgba16.inc.c" }; // 0x07004800 - 0x07005800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07004800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07004800[] = { #include "levels/castle_inside/6.rgba16.inc.c" }; // 0x07005800 - 0x07006000 -ALIGNED8 static const Texture inside_castle_seg7_texture_07005800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07005800[] = { #include "levels/castle_inside/7.rgba16.inc.c" }; // 0x07006000 - 0x07006800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07006000[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07006000[] = { #include "levels/castle_inside/8.rgba16.inc.c" }; // 0x07006800 - 0x07007000 -ALIGNED8 static const Texture inside_castle_seg7_texture_07006800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07006800[] = { #include "levels/castle_inside/9.rgba16.inc.c" }; // 0x07007000 - 0x07007800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07007000[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07007000[] = { #include "levels/castle_inside/10.rgba16.inc.c" }; // 0x07007800 - 0x07008000 -ALIGNED8 static const Texture inside_castle_seg7_texture_07007800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07007800[] = { #include "levels/castle_inside/11.rgba16.inc.c" }; // 0x07008000 - 0x07008800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07008000[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07008000[] = { #include "levels/castle_inside/12.rgba16.inc.c" }; // 0x07008800 - 0x07009000 -ALIGNED8 static const Texture inside_castle_seg7_texture_07008800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07008800[] = { #include "levels/castle_inside/13.rgba16.inc.c" }; // 0x07009000 - 0x07009800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07009000[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07009000[] = { #include "levels/castle_inside/14.rgba16.inc.c" }; // 0x07009800 - 0x0700A000 -ALIGNED8 static const Texture inside_castle_seg7_texture_07009800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07009800[] = { #include "levels/castle_inside/15.rgba16.inc.c" }; // 0x0700A000 - 0x0700A800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0700A000[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0700A000[] = { #include "levels/castle_inside/16.ia16.inc.c" }; // 0x0700A800 - 0x0700B800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0700A800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0700A800[] = { #include "levels/castle_inside/17.rgba16.inc.c" }; // 0x0700B800 - 0x0700C800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0700B800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0700B800[] = { #include "levels/castle_inside/18.rgba16.inc.c" }; // 0x0700C800 - 0x0700D800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0700C800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0700C800[] = { #include "levels/castle_inside/19.rgba16.inc.c" }; // 0x0700D800 - 0x0700E800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0700D800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0700D800[] = { #include "levels/castle_inside/20.rgba16.inc.c" }; // 0x0700E800 - 0x0700F800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0700E800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0700E800[] = { #include "levels/castle_inside/21.rgba16.inc.c" }; // 0x0700F800 - 0x07010800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0700F800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0700F800[] = { #include "levels/castle_inside/22.rgba16.inc.c" }; #ifdef VERSION_JP // 0x07010800 - 0x07011800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07010800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07010800[] = { #include "levels/castle_inside/23.rgba16.inc.c" }; // 0x07011800 - 0x0701200 -ALIGNED8 static const Texture inside_castle_seg7_texture_07011800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07011800[] = { #include "levels/castle_inside/24.rgba16.inc.c" }; #else // 0x07010800 - 0x07011800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07010800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07010800[] = { #include "levels/castle_inside/23_us.rgba16.inc.c" }; // 0x07011800 - 0x0701200 -ALIGNED8 static const Texture inside_castle_seg7_texture_07011800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07011800[] = { #include "levels/castle_inside/24_us.rgba16.inc.c" }; #endif // 0x07012800 - 0x07013800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07012800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07012800[] = { #include "levels/castle_inside/25.rgba16.inc.c" }; // 0x07013800 - 0x07014800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07013800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07013800[] = { #include "levels/castle_inside/26.rgba16.inc.c" }; // 0x07014800 - 0x07015800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07014800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07014800[] = { #include "levels/castle_inside/27.rgba16.inc.c" }; // 0x07015800 - 0x07016800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07015800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07015800[] = { #include "levels/castle_inside/28.rgba16.inc.c" }; // 0x07016800 - 0x07017000 -ALIGNED8 static const Texture inside_castle_seg7_texture_07016800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07016800[] = { #include "levels/castle_inside/29.rgba16.inc.c" }; // 0x07017000 - 0x07017800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07017000[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07017000[] = { #include "levels/castle_inside/30.rgba16.inc.c" }; // 0x07017800 - 0x07018800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07017800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07017800[] = { #include "levels/castle_inside/31.rgba16.inc.c" }; // 0x07018800 - 0x07019800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07018800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07018800[] = { #include "levels/castle_inside/32.rgba16.inc.c" }; // 0x07019800 - 0x0701A800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07019800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07019800[] = { #include "levels/castle_inside/33.rgba16.inc.c" }; // 0x0701A800 - 0x0701B800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0701A800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0701A800[] = { #include "levels/castle_inside/34.rgba16.inc.c" }; // 0x0701B800 - 0x0701C800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0701B800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0701B800[] = { #include "levels/castle_inside/35.rgba16.inc.c" }; // 0x0701C800 - 0x0701D800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0701C800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0701C800[] = { #include "levels/castle_inside/36.rgba16.inc.c" }; // 0x0701D800 - 0x0701E800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0701D800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0701D800[] = { #include "levels/castle_inside/37.rgba16.inc.c" }; // 0x0701E800 - 0x0701F800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0701E800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0701E800[] = { #include "levels/castle_inside/38.rgba16.inc.c" }; // 0x0701F800 - 0x07020800 -ALIGNED8 static const Texture inside_castle_seg7_texture_0701F800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_0701F800[] = { #include "levels/castle_inside/39.rgba16.inc.c" }; // 0x07020800 - 0x07021800 -ALIGNED8 static const Texture inside_castle_seg7_texture_07020800[] = { +ALIGNED8 const Texture inside_castle_seg7_texture_07020800[] = { #include "levels/castle_inside/40.rgba16.inc.c" }; diff --git a/levels/ccm/snowman_base/model.inc.c b/levels/ccm/snowman_base/model.inc.c index 6b41acd2..b779307b 100644 --- a/levels/ccm/snowman_base/model.inc.c +++ b/levels/ccm/snowman_base/model.inc.c @@ -5,7 +5,7 @@ static const Lights1 ccm_seg7_lights_07011940 = gdSPDefLights1( ); // 0x07011958 - 0x07012158 -ALIGNED8 static const Texture ccm_seg7_texture_07011958[] = { +ALIGNED8 const Texture ccm_seg7_texture_07011958[] = { #include "levels/ccm/12.rgba16.inc.c" }; diff --git a/levels/ccm/texture.inc.c b/levels/ccm/texture.inc.c index 94c95bf8..ca9f0e78 100644 --- a/levels/ccm/texture.inc.c +++ b/levels/ccm/texture.inc.c @@ -1,59 +1,59 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture ccm_seg7_texture_07000000[] = { +ALIGNED8 const Texture ccm_seg7_texture_07000000[] = { #include "levels/ccm/0.rgba16.inc.c" }; // 0x07000800 - 0x07000900 -ALIGNED8 static const Texture ccm_seg7_texture_07000800[] = { +ALIGNED8 const Texture ccm_seg7_texture_07000800[] = { #include "levels/ccm/1.rgba16.inc.c" }; // 0x07000900 - 0x07001100 -ALIGNED8 static const Texture ccm_seg7_texture_07000900[] = { +ALIGNED8 const Texture ccm_seg7_texture_07000900[] = { #include "levels/ccm/2.rgba16.inc.c" }; // 0x07001100 - 0x07001900 -ALIGNED8 static const Texture ccm_seg7_texture_07001100[] = { +ALIGNED8 const Texture ccm_seg7_texture_07001100[] = { #include "levels/ccm/3.rgba16.inc.c" }; // 0x07001900 - 0x07002100 -ALIGNED8 static const Texture ccm_seg7_texture_07001900[] = { +ALIGNED8 const Texture ccm_seg7_texture_07001900[] = { #include "levels/ccm/4.rgba16.inc.c" }; // 0x07002100 - 0x07002900 -ALIGNED8 static const Texture ccm_seg7_texture_07002100[] = { +ALIGNED8 const Texture ccm_seg7_texture_07002100[] = { #include "levels/ccm/5.rgba16.inc.c" }; // 0x07002900 - 0x07003100 -ALIGNED8 static const Texture ccm_seg7_texture_07002900[] = { +ALIGNED8 const Texture ccm_seg7_texture_07002900[] = { #include "levels/ccm/6.rgba16.inc.c" }; // 0x07003100 - 0x07003900 -ALIGNED8 static const Texture ccm_seg7_texture_07003100[] = { +ALIGNED8 const Texture ccm_seg7_texture_07003100[] = { #include "levels/ccm/7.rgba16.inc.c" }; // 0x07003900 - 0x07003B00 -ALIGNED8 static const Texture ccm_seg7_texture_07003900[] = { +ALIGNED8 const Texture ccm_seg7_texture_07003900[] = { #include "levels/ccm/8.ia16.inc.c" }; // 0x07003B00 - 0x07004300 -ALIGNED8 static const Texture ccm_seg7_texture_07003B00[] = { +ALIGNED8 const Texture ccm_seg7_texture_07003B00[] = { #include "levels/ccm/9.ia16.inc.c" }; // 0x07004300 - 0x07004B00 -ALIGNED8 static const Texture ccm_seg7_texture_07004300[] = { +ALIGNED8 const Texture ccm_seg7_texture_07004300[] = { #include "levels/ccm/10.rgba16.inc.c" }; // 0x07004B00 - 0x07005300 -ALIGNED8 static const Texture ccm_seg7_texture_07004B00[] = { +ALIGNED8 const Texture ccm_seg7_texture_07004B00[] = { #include "levels/ccm/11.rgba16.inc.c" }; diff --git a/levels/cotmc/texture.inc.c b/levels/cotmc/texture.inc.c index 644a9f04..78e97741 100644 --- a/levels/cotmc/texture.inc.c +++ b/levels/cotmc/texture.inc.c @@ -1,24 +1,24 @@ // 0x07000000 - 0x07001000 -ALIGNED8 static const Texture cotmc_seg7_texture_07000000[] = { +ALIGNED8 const Texture cotmc_seg7_texture_07000000[] = { #include "levels/cotmc/0.rgba16.inc.c" }; // 0x07001000 - 0x07001800 -ALIGNED8 static const Texture cotmc_seg7_texture_07001000[] = { +ALIGNED8 const Texture cotmc_seg7_texture_07001000[] = { #include "levels/cotmc/1.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture cotmc_seg7_texture_07001800[] = { +ALIGNED8 const Texture cotmc_seg7_texture_07001800[] = { #include "levels/cotmc/2.rgba16.inc.c" }; // 0x07002000 - 0x07002800 -ALIGNED8 static const Texture cotmc_seg7_texture_07002000[] = { +ALIGNED8 const Texture cotmc_seg7_texture_07002000[] = { #include "levels/cotmc/3.rgba16.inc.c" }; // 0x07002800 - 0x07003000 -ALIGNED8 static const Texture cotmc_seg7_texture_07002800[] = { +ALIGNED8 const Texture cotmc_seg7_texture_07002800[] = { #include "levels/cotmc/4.rgba16.inc.c" }; diff --git a/levels/ddd/texture.inc.c b/levels/ddd/texture.inc.c index caa01f31..5d6f442c 100644 --- a/levels/ddd/texture.inc.c +++ b/levels/ddd/texture.inc.c @@ -1,24 +1,24 @@ // 0x07000000 - 0x07001000 -ALIGNED8 static const Texture ddd_seg7_texture_07000000[] = { +ALIGNED8 const Texture ddd_seg7_texture_07000000[] = { #include "levels/ddd/0.rgba16.inc.c" }; // 0x07001000 - 0x07001800 -ALIGNED8 static const Texture ddd_seg7_texture_07001000[] = { +ALIGNED8 const Texture ddd_seg7_texture_07001000[] = { #include "levels/ddd/1.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture ddd_seg7_texture_07001800[] = { +ALIGNED8 const Texture ddd_seg7_texture_07001800[] = { #include "levels/ddd/2.rgba16.inc.c" }; // 0x07002000 - 0x07003000 -ALIGNED8 static const Texture ddd_seg7_texture_07002000[] = { +ALIGNED8 const Texture ddd_seg7_texture_07002000[] = { #include "levels/ddd/3.rgba16.inc.c" }; // 0x07003000 - 0x07003800 -ALIGNED8 static const Texture ddd_seg7_texture_07003000[] = { +ALIGNED8 const Texture ddd_seg7_texture_07003000[] = { #include "levels/ddd/4.rgba16.inc.c" }; diff --git a/levels/ending/leveldata.c b/levels/ending/leveldata.c index 94b93872..e0c01b57 100644 --- a/levels/ending/leveldata.c +++ b/levels/ending/leveldata.c @@ -10,32 +10,32 @@ #include "levels/ending/cake_eu.inc.c" // 0x07023000 - 0x07023FFF -ALIGNED8 static const Texture cake_end_texture_eu_35[] = { +ALIGNED8 const Texture cake_end_texture_eu_35[] = { #include "levels/ending/eu_023000.rgba16.inc.c" }; // 0x07024000 - 0x07024FFF -ALIGNED8 static const Texture cake_end_texture_eu_36[] = { +ALIGNED8 const Texture cake_end_texture_eu_36[] = { #include "levels/ending/eu_024000.rgba16.inc.c" }; // 0x07025000 - 0x07025FFF -ALIGNED8 static const Texture cake_end_texture_eu_37[] = { +ALIGNED8 const Texture cake_end_texture_eu_37[] = { #include "levels/ending/eu_025000.rgba16.inc.c" }; // 0x07026000 - 0x07026FFF -ALIGNED8 static const Texture cake_end_texture_eu_38[] = { +ALIGNED8 const Texture cake_end_texture_eu_38[] = { #include "levels/ending/eu_026000.rgba16.inc.c" }; // 0x07027000 - 0x07027FFF -ALIGNED8 static const Texture cake_end_texture_eu_39[] = { +ALIGNED8 const Texture cake_end_texture_eu_39[] = { #include "levels/ending/eu_027000.rgba16.inc.c" }; // 0x07028000 - 0x07028FFF -ALIGNED8 static const Texture cake_end_texture_eu_40[] = { +ALIGNED8 const Texture cake_end_texture_eu_40[] = { #include "levels/ending/eu_028000.rgba16.inc.c" }; diff --git a/levels/hmc/areas/1/painting.inc.c b/levels/hmc/areas/1/painting.inc.c index 86e688a1..d073dced 100644 --- a/levels/hmc/areas/1/painting.inc.c +++ b/levels/hmc/areas/1/painting.inc.c @@ -501,7 +501,7 @@ UNUSED static const u64 hmc_unused_0 = 0; // 0x07024CE0 - 0x070254E0 -ALIGNED8 static const Texture hmc_seg7_texture_07024CE0[] = { +ALIGNED8 const Texture hmc_seg7_texture_07024CE0[] = { #include "levels/hmc/7.rgba16.inc.c" }; diff --git a/levels/hmc/texture.inc.c b/levels/hmc/texture.inc.c index 3bb680e5..24b72b04 100644 --- a/levels/hmc/texture.inc.c +++ b/levels/hmc/texture.inc.c @@ -1,34 +1,34 @@ // 0x07000000 - 0x07001000 -ALIGNED8 static const Texture hmc_seg7_texture_07000000[] = { +ALIGNED8 const Texture hmc_seg7_texture_07000000[] = { #include "levels/hmc/0.rgba16.inc.c" }; // 0x07001000 - 0x07002000 -ALIGNED8 static const Texture hmc_seg7_texture_07001000[] = { +ALIGNED8 const Texture hmc_seg7_texture_07001000[] = { #include "levels/hmc/1.rgba16.inc.c" }; // 0x07002000 - 0x07003000 -ALIGNED8 static const Texture hmc_seg7_texture_07002000[] = { +ALIGNED8 const Texture hmc_seg7_texture_07002000[] = { #include "levels/hmc/2.rgba16.inc.c" }; // 0x07003000 - 0x07003800 -ALIGNED8 static const Texture hmc_seg7_texture_07003000[] = { +ALIGNED8 const Texture hmc_seg7_texture_07003000[] = { #include "levels/hmc/3.rgba16.inc.c" }; // 0x07003800 - 0x07004000 -ALIGNED8 static const Texture hmc_seg7_texture_07003800[] = { +ALIGNED8 const Texture hmc_seg7_texture_07003800[] = { #include "levels/hmc/4.rgba16.inc.c" }; // 0x07004000 - 0x07004800 -ALIGNED8 static const Texture hmc_seg7_texture_07004000[] = { +ALIGNED8 const Texture hmc_seg7_texture_07004000[] = { #include "levels/hmc/5.rgba16.inc.c" }; // 0x07004800 - 0x07005800 -ALIGNED8 static const Texture hmc_seg7_texture_07004800[] = { +ALIGNED8 const Texture hmc_seg7_texture_07004800[] = { #include "levels/hmc/6.rgba16.inc.c" }; diff --git a/levels/intro/leveldata.c b/levels/intro/leveldata.c index 7a4474d2..9eade85d 100644 --- a/levels/intro/leveldata.c +++ b/levels/intro/leveldata.c @@ -2577,12 +2577,12 @@ static const Vtx intro_seg7_vertex_07007DF0[] = { }; // 0x07007EA0 - 0x07007EA2 -ALIGNED8 static const Texture intro_seg7_texture_07007EA0[] = { +ALIGNED8 const Texture intro_seg7_texture_07007EA0[] = { #include "levels/intro/0.rgba16.inc.c" }; // 0x070086A0 - 0x070086A2 -ALIGNED8 static const Texture intro_seg7_texture_070086A0[] = { +ALIGNED8 const Texture intro_seg7_texture_070086A0[] = { #include "levels/intro/1.rgba16.inc.c" }; @@ -3335,13 +3335,13 @@ static const Vtx intro_seg7_vertex_0700B460[] = { #if defined(VERSION_EU) || defined(VERSION_SH) // 0x0700B4A0 - 0x0700B4A2 -ALIGNED8 static const Texture intro_seg7_texture_0700B4A0[] = { +ALIGNED8 const Texture intro_seg7_texture_0700B4A0[] = { #include "levels/intro/2_eu_copyright.rgba16.inc.c" }; #else // 0x0700B4A0 - 0x0700B4A2 -ALIGNED8 static const Texture intro_seg7_texture_0700B4A0[] = { +ALIGNED8 const Texture intro_seg7_texture_0700B4A0[] = { #include "levels/intro/2_copyright.rgba16.inc.c" }; #endif @@ -3357,7 +3357,7 @@ ALIGNED8 static const u8 intro_seg7_texture_0700C4A0[] = { }; #else // 0x0700C4A0 - 0x0700D4A0 -ALIGNED8 static const Texture intro_seg7_texture_0700C4A0[] = { +ALIGNED8 const Texture intro_seg7_texture_0700C4A0[] = { #include "levels/intro/3_tm.rgba16.inc.c" }; #endif diff --git a/levels/jrb/texture.inc.c b/levels/jrb/texture.inc.c index 731cfe3d..9b91cbd6 100644 --- a/levels/jrb/texture.inc.c +++ b/levels/jrb/texture.inc.c @@ -1,19 +1,19 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture jrb_seg7_texture_07000000[] = { +ALIGNED8 const Texture jrb_seg7_texture_07000000[] = { #include "levels/jrb/0.rgba16.inc.c" }; // 0x07000800 - 0x07001800 -ALIGNED8 static const Texture jrb_seg7_texture_07000800[] = { +ALIGNED8 const Texture jrb_seg7_texture_07000800[] = { #include "levels/jrb/1.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture jrb_seg7_texture_07001800[] = { +ALIGNED8 const Texture jrb_seg7_texture_07001800[] = { #include "levels/jrb/2.rgba16.inc.c" }; // 0x07002000 - 0x07002800 -ALIGNED8 static const Texture jrb_seg7_texture_07002000[] = { +ALIGNED8 const Texture jrb_seg7_texture_07002000[] = { #include "levels/jrb/3.rgba16.inc.c" }; diff --git a/levels/lll/texture.inc.c b/levels/lll/texture.inc.c index 67ed21cd..9f44d6b8 100644 --- a/levels/lll/texture.inc.c +++ b/levels/lll/texture.inc.c @@ -1,164 +1,164 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture lll_seg7_texture_07000000[] = { +ALIGNED8 const Texture lll_seg7_texture_07000000[] = { #include "levels/lll/0.rgba16.inc.c" }; // 0x07000800 - 0x07001000 -ALIGNED8 static const Texture lll_seg7_texture_07000800[] = { +ALIGNED8 const Texture lll_seg7_texture_07000800[] = { #include "levels/lll/1.rgba16.inc.c" }; // 0x07001000 - 0x07001800 -ALIGNED8 static const Texture lll_seg7_texture_07001000[] = { +ALIGNED8 const Texture lll_seg7_texture_07001000[] = { #include "levels/lll/2.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture lll_seg7_texture_07001800[] = { +ALIGNED8 const Texture lll_seg7_texture_07001800[] = { #include "levels/lll/3.rgba16.inc.c" }; // 0x07002000 - 0x07002800 -ALIGNED8 static const Texture lll_seg7_texture_07002000[] = { +ALIGNED8 const Texture lll_seg7_texture_07002000[] = { #include "levels/lll/4.rgba16.inc.c" }; // 0x07002800 - 0x07003000 -ALIGNED8 static const Texture lll_seg7_texture_07002800[] = { +ALIGNED8 const Texture lll_seg7_texture_07002800[] = { #include "levels/lll/5.rgba16.inc.c" }; // 0x07003000 - 0x07003800 -ALIGNED8 static const Texture lll_seg7_texture_07003000[] = { +ALIGNED8 const Texture lll_seg7_texture_07003000[] = { #include "levels/lll/6.rgba16.inc.c" }; // 0x07003800 - 0x07004000 -ALIGNED8 static const Texture lll_seg7_texture_07003800[] = { +ALIGNED8 const Texture lll_seg7_texture_07003800[] = { #include "levels/lll/7.rgba16.inc.c" }; // 0x07004000 - 0x07004800 -ALIGNED8 static const Texture lll_seg7_texture_07004000[] = { +ALIGNED8 const Texture lll_seg7_texture_07004000[] = { #include "levels/lll/8.rgba16.inc.c" }; // 0x07004800 - 0x07005000 -ALIGNED8 static const Texture lll_seg7_texture_07004800[] = { +ALIGNED8 const Texture lll_seg7_texture_07004800[] = { #include "levels/lll/9.rgba16.inc.c" }; // 0x07005000 - 0x07005800 -ALIGNED8 static const Texture lll_seg7_texture_07005000[] = { +ALIGNED8 const Texture lll_seg7_texture_07005000[] = { #include "levels/lll/10.rgba16.inc.c" }; // 0x07005800 - 0x07006000 -ALIGNED8 static const Texture lll_seg7_texture_07005800[] = { +ALIGNED8 const Texture lll_seg7_texture_07005800[] = { #include "levels/lll/11.rgba16.inc.c" }; // 0x07006000 - 0x07006800 -ALIGNED8 static const Texture lll_seg7_texture_07006000[] = { +ALIGNED8 const Texture lll_seg7_texture_07006000[] = { #include "levels/lll/12.rgba16.inc.c" }; // 0x07006800 - 0x07007000 -ALIGNED8 static const Texture lll_seg7_texture_07006800[] = { +ALIGNED8 const Texture lll_seg7_texture_07006800[] = { #include "levels/lll/13.rgba16.inc.c" }; // 0x07007000 - 0x07007800 -ALIGNED8 static const Texture lll_seg7_texture_07007000[] = { +ALIGNED8 const Texture lll_seg7_texture_07007000[] = { #include "levels/lll/14.rgba16.inc.c" }; // 0x07007800 - 0x07008000 -ALIGNED8 static const Texture lll_seg7_texture_07007800[] = { +ALIGNED8 const Texture lll_seg7_texture_07007800[] = { #include "levels/lll/15.rgba16.inc.c" }; // 0x07008000 - 0x07008800 -ALIGNED8 static const Texture lll_seg7_texture_07008000[] = { +ALIGNED8 const Texture lll_seg7_texture_07008000[] = { #include "levels/lll/16.rgba16.inc.c" }; // 0x07008800 - 0x07009000 -ALIGNED8 static const Texture lll_seg7_texture_07008800[] = { +ALIGNED8 const Texture lll_seg7_texture_07008800[] = { #include "levels/lll/17.rgba16.inc.c" }; // 0x07009000 - 0x07009800 -ALIGNED8 static const Texture lll_seg7_texture_07009000[] = { +ALIGNED8 const Texture lll_seg7_texture_07009000[] = { #include "levels/lll/18.rgba16.inc.c" }; // 0x07009800 - 0x0700A000 -ALIGNED8 static const Texture lll_seg7_texture_07009800[] = { +ALIGNED8 const Texture lll_seg7_texture_07009800[] = { #include "levels/lll/19.rgba16.inc.c" }; // 0x0700A000 - 0x0700A800 -ALIGNED8 static const Texture lll_seg7_texture_0700A000[] = { +ALIGNED8 const Texture lll_seg7_texture_0700A000[] = { #include "levels/lll/20.rgba16.inc.c" }; // 0x0700A800 - 0x0700B000 -ALIGNED8 static const Texture lll_seg7_texture_0700A800[] = { +ALIGNED8 const Texture lll_seg7_texture_0700A800[] = { #include "levels/lll/21.rgba16.inc.c" }; // 0x0700B000 - 0x0700B800 -ALIGNED8 static const Texture lll_seg7_texture_0700B000[] = { +ALIGNED8 const Texture lll_seg7_texture_0700B000[] = { #include "levels/lll/22.rgba16.inc.c" }; // 0x0700B800 - 0x0700C000 -ALIGNED8 static const Texture lll_seg7_texture_0700B800[] = { +ALIGNED8 const Texture lll_seg7_texture_0700B800[] = { #include "levels/lll/23.rgba16.inc.c" }; // 0x0700C000 - 0x0700C800 -ALIGNED8 static const Texture lll_seg7_texture_0700C000[] = { +ALIGNED8 const Texture lll_seg7_texture_0700C000[] = { #include "levels/lll/24.rgba16.inc.c" }; // 0x0700C800 - 0x0700D000 -ALIGNED8 static const Texture lll_seg7_texture_0700C800[] = { +ALIGNED8 const Texture lll_seg7_texture_0700C800[] = { #include "levels/lll/25.rgba16.inc.c" }; // 0x0700D000 - 0x0700D200 -ALIGNED8 static const Texture lll_seg7_texture_0700D000[] = { +ALIGNED8 const Texture lll_seg7_texture_0700D000[] = { #include "levels/lll/26.rgba16.inc.c" }; // 0x0700D200 - 0x0700D400 -ALIGNED8 static const Texture lll_seg7_texture_0700D200[] = { +ALIGNED8 const Texture lll_seg7_texture_0700D200[] = { #include "levels/lll/27.ia16.inc.c" }; // 0x0700D400 - 0x0700DC00 -ALIGNED8 static const Texture lll_seg7_texture_0700D400[] = { +ALIGNED8 const Texture lll_seg7_texture_0700D400[] = { #include "levels/lll/28.rgba16.inc.c" }; // 0x0700DC00 - 0x0700E400 -ALIGNED8 static const Texture lll_seg7_texture_0700DC00[] = { +ALIGNED8 const Texture lll_seg7_texture_0700DC00[] = { #include "levels/lll/29.rgba16.inc.c" }; // 0x0700E400 - 0x0700EC00 -ALIGNED8 static const Texture lll_seg7_texture_0700E400[] = { +ALIGNED8 const Texture lll_seg7_texture_0700E400[] = { #include "levels/lll/30.rgba16.inc.c" }; // 0x0700EC00 - 0x0700F400 -ALIGNED8 static const Texture lll_seg7_texture_0700EC00[] = { +ALIGNED8 const Texture lll_seg7_texture_0700EC00[] = { #include "levels/lll/31.rgba16.inc.c" }; // 0x0700F400 - 0x0700FC00 -ALIGNED8 static const Texture lll_seg7_texture_0700F400[] = { +ALIGNED8 const Texture lll_seg7_texture_0700F400[] = { #include "levels/lll/32.rgba16.inc.c" }; diff --git a/levels/menu/leveldata.c b/levels/menu/leveldata.c index d5b3e511..d1b7bfbd 100644 --- a/levels/menu/leveldata.c +++ b/levels/menu/leveldata.c @@ -17,22 +17,22 @@ static const Lights1 lights_menu_save_button = gdSPDefLights1( ); // 0x07000018 - 0x07000818 -ALIGNED8 static const Texture texture_menu_stone[] = { +ALIGNED8 const Texture texture_menu_stone[] = { #include "levels/menu/main_menu_seg7.00018.rgba16.inc.c" }; // 0x07000818 - 0x07001018 -ALIGNED8 static const Texture texture_menu_dark_stone[] = { +ALIGNED8 const Texture texture_menu_dark_stone[] = { #include "levels/menu/main_menu_seg7.00818.rgba16.inc.c" }; // 0x07001018 - 0x07002018 -ALIGNED8 static const Texture texture_menu_mario_save[] = { +ALIGNED8 const Texture texture_menu_mario_save[] = { #include "levels/menu/main_menu_seg7.01018.rgba16.inc.c" }; // 0x07002018 - 0x07003018 -ALIGNED8 static const Texture texture_menu_mario_new[] = { +ALIGNED8 const Texture texture_menu_mario_new[] = { #include "levels/menu/main_menu_seg7.02018.rgba16.inc.c" }; @@ -195,27 +195,27 @@ static const Lights1 lights_menu_main_button = gdSPDefLights1( ); // 0x07003468 - 0x07003468 -ALIGNED8 static const Texture texture_menu_erase[] = { +ALIGNED8 const Texture texture_menu_erase[] = { #include "levels/menu/main_menu_seg7.03468.rgba16.inc.c" }; // 0x07003C68 - 0x07003C68 -ALIGNED8 static const Texture texture_menu_copy[] = { +ALIGNED8 const Texture texture_menu_copy[] = { #include "levels/menu/main_menu_seg7.03C68.rgba16.inc.c" }; // 0x07004468 - 0x07004468 -ALIGNED8 static const Texture texture_menu_file[] = { +ALIGNED8 const Texture texture_menu_file[] = { #include "levels/menu/main_menu_seg7.04468.rgba16.inc.c" }; // 0x07004C68 - 0x07004C68 -ALIGNED8 static const Texture texture_menu_score[] = { +ALIGNED8 const Texture texture_menu_score[] = { #include "levels/menu/main_menu_seg7.04C68.rgba16.inc.c" }; // 0x07005468 - 0x07005468 -ALIGNED8 static const Texture texture_menu_sound[] = { +ALIGNED8 const Texture texture_menu_sound[] = { #include "levels/menu/main_menu_seg7.05468.rgba16.inc.c" }; @@ -414,12 +414,12 @@ static const Vtx vertex_menu_hand[] = { }; // 0x07006328 - 0x07006B28 -ALIGNED8 static const Texture texture_menu_idle_hand[] = { +ALIGNED8 const Texture texture_menu_idle_hand[] = { #include "levels/menu/main_menu_seg7.06328.rgba16.inc.c" }; // 0x07006B28 - 0x07007328 -ALIGNED8 static const Texture texture_menu_grabbing_hand[] = { +ALIGNED8 const Texture texture_menu_grabbing_hand[] = { #include "levels/menu/main_menu_seg7.06B28.rgba16.inc.c" }; @@ -456,142 +456,142 @@ const Gfx dl_menu_grabbing_hand[] = { }; // 0x070073D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_hu[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_hu[] = { #include "levels/menu/main_menu_seg7.073D0.rgba16.inc.c" }; // 0x070075D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_small_a[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_small_a[] = { #include "levels/menu/main_menu_seg7.075D0.rgba16.inc.c" }; // 0x070077D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_i[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_i[] = { #include "levels/menu/main_menu_seg7.077D0.rgba16.inc.c" }; // 0x070079D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_ru[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_ru[] = { #include "levels/menu/main_menu_seg7.079D0.rgba16.inc.c" }; // 0x07007BD0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_se[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_se[] = { #include "levels/menu/main_menu_seg7.07BD0.rgba16.inc.c" }; // 0x07007DD0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_re[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_re[] = { #include "levels/menu/main_menu_seg7.07DD0.rgba16.inc.c" }; // 0x07007FD0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_ku[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_ku[] = { #include "levels/menu/main_menu_seg7.07FD0.rgba16.inc.c" }; // 0x070081D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_to[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_to[] = { #include "levels/menu/main_menu_seg7.081D0.rgba16.inc.c" }; // 0x070083D0 -ALIGNED8 static const Texture texture_menu_hud_char_hiragana_wo[] = { +ALIGNED8 const Texture texture_menu_hud_char_hiragana_wo[] = { #include "levels/menu/main_menu_seg7.083D0.rgba16.inc.c" }; // 0x070085D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_ko[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_ko[] = { #include "levels/menu/main_menu_seg7.085D0.rgba16.inc.c" }; // 0x070087D0 -ALIGNED8 static const Texture texture_menu_hud_char_kana_handakuten_pi[] = { +ALIGNED8 const Texture texture_menu_hud_char_kana_handakuten_pi[] = { #include "levels/menu/main_menu_seg7.087D0.rgba16.inc.c" }; // 0x070089D0 -ALIGNED8 static const Texture texture_menu_hud_char_choonpu[] = { +ALIGNED8 const Texture texture_menu_hud_char_choonpu[] = { #include "levels/menu/main_menu_seg7.089D0.rgba16.inc.c" }; // 0x07008BD0 -ALIGNED8 static const Texture texture_menu_hud_char_hiragana_su[] = { +ALIGNED8 const Texture texture_menu_hud_char_hiragana_su[] = { #include "levels/menu/main_menu_seg7.08BD0.rgba16.inc.c" }; // 0x07008DD0 -ALIGNED8 static const Texture texture_menu_hud_char_hiragana_ru[] = { +ALIGNED8 const Texture texture_menu_hud_char_hiragana_ru[] = { #include "levels/menu/main_menu_seg7.08DD0.rgba16.inc.c" }; // 0x07008FD0 -ALIGNED8 static const Texture texture_menu_hud_char_hiragana_ke[] = { +ALIGNED8 const Texture texture_menu_hud_char_hiragana_ke[] = { #include "levels/menu/main_menu_seg7.08FD0.rgba16.inc.c" }; // 0x070091D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_ma[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_ma[] = { #include "levels/menu/main_menu_seg7.091D0.rgba16.inc.c" }; // 0x070093D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_ri[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_ri[] = { #include "levels/menu/main_menu_seg7.093D0.rgba16.inc.c" }; // 0x070095D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_o[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_o[] = { #include "levels/menu/main_menu_seg7.095D0.rgba16.inc.c" }; // 0x070097D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_su[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_su[] = { #include "levels/menu/main_menu_seg7.097D0.rgba16.inc.c" }; // 0x070099D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_a[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_a[] = { #include "levels/menu/main_menu_seg7.099D0.rgba16.inc.c" }; // 0x07009BD0 -ALIGNED8 static const Texture texture_menu_hud_char_hiragana_mi[] = { +ALIGNED8 const Texture texture_menu_hud_char_hiragana_mi[] = { #include "levels/menu/main_menu_seg7.09BD0.rgba16.inc.c" }; // 0x07009DD0 -ALIGNED8 static const Texture texture_menu_hud_char_hira_dakuten_do[] = { +ALIGNED8 const Texture texture_menu_hud_char_hira_dakuten_do[] = { #include "levels/menu/main_menu_seg7.09DD0.rgba16.inc.c" }; // 0x07009FD0 -ALIGNED8 static const Texture texture_menu_hud_char_hiragana_no[] = { +ALIGNED8 const Texture texture_menu_hud_char_hiragana_no[] = { #include "levels/menu/main_menu_seg7.09FD0.rgba16.inc.c" }; // 0x0700A1D0 -ALIGNED8 static const Texture texture_menu_hud_char_question[] = { +ALIGNED8 const Texture texture_menu_hud_char_question[] = { #include "levels/menu/main_menu_seg7.0A1D0.rgba16.inc.c" }; // 0x0700A3D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_sa[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_sa[] = { #include "levels/menu/main_menu_seg7.0A3D0.rgba16.inc.c" }; // 0x0700A5D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_u[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_u[] = { #include "levels/menu/main_menu_seg7.0A5D0.rgba16.inc.c" }; // 0x0700A7D0 -ALIGNED8 static const Texture texture_menu_hud_char_katakana_n[] = { +ALIGNED8 const Texture texture_menu_hud_char_katakana_n[] = { #include "levels/menu/main_menu_seg7.0A7D0.rgba16.inc.c" }; // 0x0700A9D0 -ALIGNED8 static const Texture texture_menu_hud_char_kana_dakuten_do[] = { +ALIGNED8 const Texture texture_menu_hud_char_kana_dakuten_do[] = { #include "levels/menu/main_menu_seg7.0A9D0.rgba16.inc.c" }; @@ -611,939 +611,939 @@ const Texture *const menu_hud_lut[] = { UNUSED static const u64 menu_unused_0 = 0; // 0x0700AC48 -ALIGNED8 static const Texture texture_menu_font_char_jp_0[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_0[] = { #include "levels/menu/main_menu_seg7.0AC48.ia8.inc.c" }; // 0x0700AC88 -ALIGNED8 static const Texture texture_menu_font_char_jp_1[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_1[] = { #include "levels/menu/main_menu_seg7.0AC88.ia8.inc.c" }; // 0x0700ACC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_2[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_2[] = { #include "levels/menu/main_menu_seg7.0ACC8.ia8.inc.c" }; // 0x0700AD08 -ALIGNED8 static const Texture texture_menu_font_char_jp_3[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_3[] = { #include "levels/menu/main_menu_seg7.0AD08.ia8.inc.c" }; // 0x0700AD48 -ALIGNED8 static const Texture texture_menu_font_char_jp_4[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_4[] = { #include "levels/menu/main_menu_seg7.0AD48.ia8.inc.c" }; // 0x0700AD88 -ALIGNED8 static const Texture texture_menu_font_char_jp_5[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_5[] = { #include "levels/menu/main_menu_seg7.0AD88.ia8.inc.c" }; // 0x0700ADC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_6[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_6[] = { #include "levels/menu/main_menu_seg7.0ADC8.ia8.inc.c" }; // 0x0700AE08 -ALIGNED8 static const Texture texture_menu_font_char_jp_7[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_7[] = { #include "levels/menu/main_menu_seg7.0AE08.ia8.inc.c" }; // 0x0700AE48 -ALIGNED8 static const Texture texture_menu_font_char_jp_8[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_8[] = { #include "levels/menu/main_menu_seg7.0AE48.ia8.inc.c" }; // 0x0700AE88 -ALIGNED8 static const Texture texture_menu_font_char_jp_9[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_9[] = { #include "levels/menu/main_menu_seg7.0AE88.ia8.inc.c" }; // 0x0700AEC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_a[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_a[] = { #include "levels/menu/main_menu_seg7.0AEC8.ia8.inc.c" }; // 0x0700AF08 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_i[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_i[] = { #include "levels/menu/main_menu_seg7.0AF08.ia8.inc.c" }; // 0x0700AF48 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_u[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_u[] = { #include "levels/menu/main_menu_seg7.0AF48.ia8.inc.c" }; // 0x0700AF88 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_c[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_c[] = { #include "levels/menu/main_menu_seg7.0AF88.ia8.inc.c" }; // 0x0700AFC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_o[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_o[] = { #include "levels/menu/main_menu_seg7.0AFC8.ia8.inc.c" }; // 0x0700B008 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ka[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ka[] = { #include "levels/menu/main_menu_seg7.0B008.ia8.inc.c" }; // 0x0700B048 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ki[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ki[] = { #include "levels/menu/main_menu_seg7.0B048.ia8.inc.c" }; // 0x0700B088 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ku[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ku[] = { #include "levels/menu/main_menu_seg7.0B088.ia8.inc.c" }; // 0x0700B0C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ke[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ke[] = { #include "levels/menu/main_menu_seg7.0B0C8.ia8.inc.c" }; // 0x0700B108 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ko[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ko[] = { #include "levels/menu/main_menu_seg7.0B108.ia8.inc.c" }; // 0x0700B148 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_sa[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_sa[] = { #include "levels/menu/main_menu_seg7.0B148.ia8.inc.c" }; // 0x0700B188 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_shi[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_shi[] = { #include "levels/menu/main_menu_seg7.0B188.ia8.inc.c" }; // 0x0700B1C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_su[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_su[] = { #include "levels/menu/main_menu_seg7.0B1C8.ia8.inc.c" }; // 0x0700B208 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_se[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_se[] = { #include "levels/menu/main_menu_seg7.0B208.ia8.inc.c" }; // 0x0700B248 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_so[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_so[] = { #include "levels/menu/main_menu_seg7.0B248.ia8.inc.c" }; // 0x0700B288 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ta[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ta[] = { #include "levels/menu/main_menu_seg7.0B288.ia8.inc.c" }; // 0x0700B2C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_chi[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_chi[] = { #include "levels/menu/main_menu_seg7.0B2C8.ia8.inc.c" }; // 0x0700B308 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_tsu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_tsu[] = { #include "levels/menu/main_menu_seg7.0B308.ia8.inc.c" }; // 0x0700B348 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_te[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_te[] = { #include "levels/menu/main_menu_seg7.0B348.ia8.inc.c" }; // 0x0700B388 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_to[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_to[] = { #include "levels/menu/main_menu_seg7.0B388.ia8.inc.c" }; // 0x0700B3C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_na[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_na[] = { #include "levels/menu/main_menu_seg7.0B3C8.ia8.inc.c" }; // 0x0700B408 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ni[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ni[] = { #include "levels/menu/main_menu_seg7.0B408.ia8.inc.c" }; // 0x0700B448 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_nu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_nu[] = { #include "levels/menu/main_menu_seg7.0B448.ia8.inc.c" }; // 0x0700B488 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ne[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ne[] = { #include "levels/menu/main_menu_seg7.0B488.ia8.inc.c" }; // 0x0700B4C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_no[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_no[] = { #include "levels/menu/main_menu_seg7.0B4C8.ia8.inc.c" }; // 0x0700B508 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ha[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ha[] = { #include "levels/menu/main_menu_seg7.0B508.ia8.inc.c" }; // 0x0700B548 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_hi[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_hi[] = { #include "levels/menu/main_menu_seg7.0B548.ia8.inc.c" }; // 0x0700B588 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_hu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_hu[] = { #include "levels/menu/main_menu_seg7.0B588.ia8.inc.c" }; // 0x0700B5C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_he[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_he[] = { #include "levels/menu/main_menu_seg7.0B5C8.ia8.inc.c" }; // 0x0700B608 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ho[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ho[] = { #include "levels/menu/main_menu_seg7.0B608.ia8.inc.c" }; // 0x0700B648 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ma[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ma[] = { #include "levels/menu/main_menu_seg7.0B648.ia8.inc.c" }; // 0x0700B688 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_mi[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_mi[] = { #include "levels/menu/main_menu_seg7.0B688.ia8.inc.c" }; // 0x0700B6C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_mu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_mu[] = { #include "levels/menu/main_menu_seg7.0B6C8.ia8.inc.c" }; // 0x0700B708 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_me[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_me[] = { #include "levels/menu/main_menu_seg7.0B708.ia8.inc.c" }; // 0x0700B748 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_mo[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_mo[] = { #include "levels/menu/main_menu_seg7.0B748.ia8.inc.c" }; // 0x0700B788 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ya[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ya[] = { #include "levels/menu/main_menu_seg7.0B788.ia8.inc.c" }; // 0x0700B7C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_yu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_yu[] = { #include "levels/menu/main_menu_seg7.0B7C8.ia8.inc.c" }; // 0x0700B808 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_yo[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_yo[] = { #include "levels/menu/main_menu_seg7.0B808.ia8.inc.c" }; // 0x0700B848 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ra[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ra[] = { #include "levels/menu/main_menu_seg7.0B848.ia8.inc.c" }; // 0x0700B888 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ri[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ri[] = { #include "levels/menu/main_menu_seg7.0B888.ia8.inc.c" }; // 0x0700B8C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ru[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ru[] = { #include "levels/menu/main_menu_seg7.0B8C8.ia8.inc.c" }; // 0x0700B908 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_re[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_re[] = { #include "levels/menu/main_menu_seg7.0B908.ia8.inc.c" }; // 0x0700B948 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_ro[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_ro[] = { #include "levels/menu/main_menu_seg7.0B948.ia8.inc.c" }; // 0x0700B988 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_wa[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_wa[] = { #include "levels/menu/main_menu_seg7.0B988.ia8.inc.c" }; // 0x0700B9C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_wo[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_wo[] = { #include "levels/menu/main_menu_seg7.0B9C8.ia8.inc.c" }; // 0x0700BA08 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_n[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_n[] = { #include "levels/menu/main_menu_seg7.0BA08.ia8.inc.c" }; // 0x0700BA48 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_small_a[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_a[] = { #include "levels/menu/main_menu_seg7.0BA48.ia8.inc.c" }; // 0x0700BA88 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_small_i[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_i[] = { #include "levels/menu/main_menu_seg7.0BA88.ia8.inc.c" }; // 0x0700BAC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_small_u[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_u[] = { #include "levels/menu/main_menu_seg7.0BAC8.ia8.inc.c" }; // 0x0700BB08 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_small_e[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_e[] = { #include "levels/menu/main_menu_seg7.0BB08.ia8.inc.c" }; // 0x0700BB48 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_small_o[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_o[] = { #include "levels/menu/main_menu_seg7.0BB48.ia8.inc.c" }; // 0x0700BB88 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_small_ka[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_ka[] = { #include "levels/menu/main_menu_seg7.0BB88.ia8.inc.c" }; // 0x0700BBC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_small_yu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_yu[] = { #include "levels/menu/main_menu_seg7.0BBC8.ia8.inc.c" }; // 0x0700BC08 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_small_yo[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_yo[] = { #include "levels/menu/main_menu_seg7.0BC08.ia8.inc.c" }; // 0x0700BC48 -ALIGNED8 static const Texture texture_menu_font_char_jp_hiragana_small_tsu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_hiragana_small_tsu[] = { #include "levels/menu/main_menu_seg7.0BC48.ia8.inc.c" }; // 0x0700BC88 -ALIGNED8 static const Texture texture_menu_font_char_jp_handakuten[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_handakuten[] = { #include "levels/menu/main_menu_seg7.0BC88.ia8.inc.c" }; // 0x0700BCC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_dakuten[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_dakuten[] = { #include "levels/menu/main_menu_seg7.0BCC8.ia8.inc.c" }; // 0x0700BD08 -ALIGNED8 static const Texture texture_menu_font_char_jp_long_vowel[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_long_vowel[] = { #include "levels/menu/main_menu_seg7.0BD08.ia8.inc.c" }; // 0x0700BD48 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_a[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_a[] = { #include "levels/menu/main_menu_seg7.0BD48.ia8.inc.c" }; // 0x0700BD88 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_i[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_i[] = { #include "levels/menu/main_menu_seg7.0BD88.ia8.inc.c" }; // 0x0700BDC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_u[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_u[] = { #include "levels/menu/main_menu_seg7.0BDC8.ia8.inc.c" }; // 0x0700BE08 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_e[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_e[] = { #include "levels/menu/main_menu_seg7.0BE08.ia8.inc.c" }; // 0x0700BE48 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_o[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_o[] = { #include "levels/menu/main_menu_seg7.0BE48.ia8.inc.c" }; // 0x0700BE88 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ka[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ka[] = { #include "levels/menu/main_menu_seg7.0BE88.ia8.inc.c" }; // 0x0700BEC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ki[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ki[] = { #include "levels/menu/main_menu_seg7.0BEC8.ia8.inc.c" }; // 0x0700BF08 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ku[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ku[] = { #include "levels/menu/main_menu_seg7.0BF08.ia8.inc.c" }; // 0x0700BF48 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ke[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ke[] = { #include "levels/menu/main_menu_seg7.0BF48.ia8.inc.c" }; // 0x0700BF88 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ko[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ko[] = { #include "levels/menu/main_menu_seg7.0BF88.ia8.inc.c" }; // 0x0700BFC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_sa[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_sa[] = { #include "levels/menu/main_menu_seg7.0BFC8.ia8.inc.c" }; // 0x0700C008 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_shi[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_shi[] = { #include "levels/menu/main_menu_seg7.0C008.ia8.inc.c" }; // 0x0700C048 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_su[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_su[] = { #include "levels/menu/main_menu_seg7.0C048.ia8.inc.c" }; // 0x0700C088 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_se[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_se[] = { #include "levels/menu/main_menu_seg7.0C088.ia8.inc.c" }; // 0x0700C0C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_so[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_so[] = { #include "levels/menu/main_menu_seg7.0C0C8.ia8.inc.c" }; // 0x0700C108 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ta[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ta[] = { #include "levels/menu/main_menu_seg7.0C108.ia8.inc.c" }; // 0x0700C148 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_chi[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_chi[] = { #include "levels/menu/main_menu_seg7.0C148.ia8.inc.c" }; // 0x0700C188 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_tsu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_tsu[] = { #include "levels/menu/main_menu_seg7.0C188.ia8.inc.c" }; // 0x0700C1C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_te[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_te[] = { #include "levels/menu/main_menu_seg7.0C1C8.ia8.inc.c" }; // 0x0700C208 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_to[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_to[] = { #include "levels/menu/main_menu_seg7.0C208.ia8.inc.c" }; // 0x0700C248 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_na[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_na[] = { #include "levels/menu/main_menu_seg7.0C248.ia8.inc.c" }; // 0x0700C288 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ni[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ni[] = { #include "levels/menu/main_menu_seg7.0C288.ia8.inc.c" }; // 0x0700C2C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_nu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_nu[] = { #include "levels/menu/main_menu_seg7.0C2C8.ia8.inc.c" }; // 0x0700C308 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ne[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ne[] = { #include "levels/menu/main_menu_seg7.0C308.ia8.inc.c" }; // 0x0700C348 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_no[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_no[] = { #include "levels/menu/main_menu_seg7.0C348.ia8.inc.c" }; // 0x0700C388 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ha[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ha[] = { #include "levels/menu/main_menu_seg7.0C388.ia8.inc.c" }; // 0x0700C3C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_hi[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_hi[] = { #include "levels/menu/main_menu_seg7.0C3C8.ia8.inc.c" }; // 0x0700C408 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_hu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_hu[] = { #include "levels/menu/main_menu_seg7.0C408.ia8.inc.c" }; // 0x0700C448 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_he[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_he[] = { #include "levels/menu/main_menu_seg7.0C448.ia8.inc.c" }; // 0x0700C488 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ho[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ho[] = { #include "levels/menu/main_menu_seg7.0C488.ia8.inc.c" }; // 0x0700C4C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ma[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ma[] = { #include "levels/menu/main_menu_seg7.0C4C8.ia8.inc.c" }; // 0x0700C508 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_mi[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_mi[] = { #include "levels/menu/main_menu_seg7.0C508.ia8.inc.c" }; // 0x0700C548 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_mu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_mu[] = { #include "levels/menu/main_menu_seg7.0C548.ia8.inc.c" }; // 0x0700C588 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_me[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_me[] = { #include "levels/menu/main_menu_seg7.0C588.ia8.inc.c" }; // 0x0700C5C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_mo[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_mo[] = { #include "levels/menu/main_menu_seg7.0C5C8.ia8.inc.c" }; // 0x0700C608 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ya[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ya[] = { #include "levels/menu/main_menu_seg7.0C608.ia8.inc.c" }; // 0x0700C648 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_yu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_yu[] = { #include "levels/menu/main_menu_seg7.0C648.ia8.inc.c" }; // 0x0700C688 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_yo[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_yo[] = { #include "levels/menu/main_menu_seg7.0C688.ia8.inc.c" }; // 0x0700C6C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ra[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ra[] = { #include "levels/menu/main_menu_seg7.0C6C8.ia8.inc.c" }; // 0x0700C708 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ri[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ri[] = { #include "levels/menu/main_menu_seg7.0C708.ia8.inc.c" }; // 0x0700C748 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ru[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ru[] = { #include "levels/menu/main_menu_seg7.0C748.ia8.inc.c" }; // 0x0700C788 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_re[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_re[] = { #include "levels/menu/main_menu_seg7.0C788.ia8.inc.c" }; // 0x0700C7C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_ro[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_ro[] = { #include "levels/menu/main_menu_seg7.0C7C8.ia8.inc.c" }; // 0x0700C808 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_wa[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_wa[] = { #include "levels/menu/main_menu_seg7.0C808.ia8.inc.c" }; // 0x0700C848 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_wo[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_wo[] = { #include "levels/menu/main_menu_seg7.0C848.ia8.inc.c" }; // 0x0700C888 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_n[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_n[] = { #include "levels/menu/main_menu_seg7.0C888.ia8.inc.c" }; // 0x0700C8C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_small_a[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_a[] = { #include "levels/menu/main_menu_seg7.0C8C8.ia8.inc.c" }; // 0x0700C908 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_small_i[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_i[] = { #include "levels/menu/main_menu_seg7.0C908.ia8.inc.c" }; // 0x0700C948 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_small_u[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_u[] = { #include "levels/menu/main_menu_seg7.0C948.ia8.inc.c" }; // 0x0700C988 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_small_e[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_e[] = { #include "levels/menu/main_menu_seg7.0C988.ia8.inc.c" }; // 0x0700C9C8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_small_o[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_o[] = { #include "levels/menu/main_menu_seg7.0C9C8.ia8.inc.c" }; // 0x0700CA08 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_small_ka[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_ka[] = { #include "levels/menu/main_menu_seg7.0CA08.ia8.inc.c" }; // 0x0700CA48 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_small_yu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_yu[] = { #include "levels/menu/main_menu_seg7.0CA48.ia8.inc.c" }; // 0x0700CA88 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_small_yo[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_yo[] = { #include "levels/menu/main_menu_seg7.0CA88.ia8.inc.c" }; // 0x0700CAC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_katakana_small_tsu[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_katakana_small_tsu[] = { #include "levels/menu/main_menu_seg7.0CAC8.ia8.inc.c" }; // 0x0700CB08 -ALIGNED8 static const Texture texture_menu_font_char_jp_A[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_A[] = { #include "levels/menu/main_menu_seg7.0CB08.ia8.inc.c" }; // 0x0700CB48 -ALIGNED8 static const Texture texture_menu_font_char_jp_B[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_B[] = { #include "levels/menu/main_menu_seg7.0CB48.ia8.inc.c" }; // 0x0700CB88 -ALIGNED8 static const Texture texture_menu_font_char_jp_C[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_C[] = { #include "levels/menu/main_menu_seg7.0CB88.ia8.inc.c" }; // 0x0700CBC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_D[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_D[] = { #include "levels/menu/main_menu_seg7.0CBC8.ia8.inc.c" }; // 0x0700CC08 -ALIGNED8 static const Texture texture_menu_font_char_jp_coin[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_coin[] = { #include "levels/menu/main_menu_seg7.0CC08.ia8.inc.c" }; // 0x0700CC48 -ALIGNED8 static const Texture texture_menu_font_char_jp_star_filled[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_star_filled[] = { #include "levels/menu/main_menu_seg7.0CC48.ia8.inc.c" }; // 0x0700CC88 -ALIGNED8 static const Texture texture_menu_font_char_jp_multiply[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_multiply[] = { #include "levels/menu/main_menu_seg7.0CC88.ia8.inc.c" }; // 0x0700CCC8 -ALIGNED8 static const Texture texture_menu_font_char_jp_exclamation[] = { +ALIGNED8 const Texture texture_menu_font_char_jp_exclamation[] = { #include "levels/menu/main_menu_seg7.0CCC8.ia8.inc.c" }; #else // 0x0700AC40 -ALIGNED8 static const Texture texture_menu_font_char_0[] = { +ALIGNED8 const Texture texture_menu_font_char_0[] = { #include "levels/menu/main_menu_seg7_us.0AC40.ia8.inc.c" }; // 0x0700AC80 -ALIGNED8 static const Texture texture_menu_font_char_1[] = { +ALIGNED8 const Texture texture_menu_font_char_1[] = { #include "levels/menu/main_menu_seg7_us.0AC80.ia8.inc.c" }; // 0x0700ACC0 -ALIGNED8 static const Texture texture_menu_font_char_2[] = { +ALIGNED8 const Texture texture_menu_font_char_2[] = { #include "levels/menu/main_menu_seg7_us.0ACC0.ia8.inc.c" }; // 0x0700AD00 -ALIGNED8 static const Texture texture_menu_font_char_3[] = { +ALIGNED8 const Texture texture_menu_font_char_3[] = { #include "levels/menu/main_menu_seg7_us.0AD00.ia8.inc.c" }; // 0x0700AD40 -ALIGNED8 static const Texture texture_menu_font_char_4[] = { +ALIGNED8 const Texture texture_menu_font_char_4[] = { #include "levels/menu/main_menu_seg7_us.0AD40.ia8.inc.c" }; // 0x0700AD80 -ALIGNED8 static const Texture texture_menu_font_char_5[] = { +ALIGNED8 const Texture texture_menu_font_char_5[] = { #include "levels/menu/main_menu_seg7_us.0AD80.ia8.inc.c" }; // 0x0700ADC0 -ALIGNED8 static const Texture texture_menu_font_char_6[] = { +ALIGNED8 const Texture texture_menu_font_char_6[] = { #include "levels/menu/main_menu_seg7_us.0ADC0.ia8.inc.c" }; // 0x0700AE00 -ALIGNED8 static const Texture texture_menu_font_char_7[] = { +ALIGNED8 const Texture texture_menu_font_char_7[] = { #include "levels/menu/main_menu_seg7_us.0AE00.ia8.inc.c" }; // 0x0700AE40 -ALIGNED8 static const Texture texture_menu_font_char_8[] = { +ALIGNED8 const Texture texture_menu_font_char_8[] = { #include "levels/menu/main_menu_seg7_us.0AE40.ia8.inc.c" }; // 0x0700AE80 -ALIGNED8 static const Texture texture_menu_font_char_9[] = { +ALIGNED8 const Texture texture_menu_font_char_9[] = { #include "levels/menu/main_menu_seg7_us.0AE80.ia8.inc.c" }; // 0x0700AEC0 -ALIGNED8 static const Texture texture_menu_font_char_A[] = { +ALIGNED8 const Texture texture_menu_font_char_A[] = { #include "levels/menu/main_menu_seg7_us.0AEC0.ia8.inc.c" }; // 0x0700AF00 -ALIGNED8 static const Texture texture_menu_font_char_B[] = { +ALIGNED8 const Texture texture_menu_font_char_B[] = { #include "levels/menu/main_menu_seg7_us.0AF00.ia8.inc.c" }; // 0x0700AF40 -ALIGNED8 static const Texture texture_menu_font_char_C[] = { +ALIGNED8 const Texture texture_menu_font_char_C[] = { #include "levels/menu/main_menu_seg7_us.0AF40.ia8.inc.c" }; #ifdef VERSION_EU // 0x0700AF80 -ALIGNED8 static const Texture texture_menu_font_char_D[] = { +ALIGNED8 const Texture texture_menu_font_char_D[] = { #include "levels/menu/main_menu_seg7_eu.0AF80.ia8.inc.c" }; #else // 0x0700AF80 -ALIGNED8 static const Texture texture_menu_font_char_D[] = { +ALIGNED8 const Texture texture_menu_font_char_D[] = { #include "levels/menu/main_menu_seg7_us.0AF80.ia8.inc.c" }; #endif // 0x0700AFC0 -ALIGNED8 static const Texture texture_menu_font_char_E[] = { +ALIGNED8 const Texture texture_menu_font_char_E[] = { #include "levels/menu/main_menu_seg7_us.0AFC0.ia8.inc.c" }; // 0x0700B000 -ALIGNED8 static const Texture texture_menu_font_char_F[] = { +ALIGNED8 const Texture texture_menu_font_char_F[] = { #include "levels/menu/main_menu_seg7_us.0B000.ia8.inc.c" }; // 0x0700B040 -ALIGNED8 static const Texture texture_menu_font_char_G[] = { +ALIGNED8 const Texture texture_menu_font_char_G[] = { #include "levels/menu/main_menu_seg7_us.0B040.ia8.inc.c" }; // 0x0700B080 -ALIGNED8 static const Texture texture_menu_font_char_H[] = { +ALIGNED8 const Texture texture_menu_font_char_H[] = { #include "levels/menu/main_menu_seg7_us.0B080.ia8.inc.c" }; // 0x0700B0C0 -ALIGNED8 static const Texture texture_menu_font_char_I[] = { +ALIGNED8 const Texture texture_menu_font_char_I[] = { #include "levels/menu/main_menu_seg7_us.0B0C0.ia8.inc.c" }; // 0x0700B100 -ALIGNED8 static const Texture texture_menu_font_char_J[] = { +ALIGNED8 const Texture texture_menu_font_char_J[] = { #include "levels/menu/main_menu_seg7_us.0B100.ia8.inc.c" }; // 0x0700B140 -ALIGNED8 static const Texture texture_menu_font_char_K[] = { +ALIGNED8 const Texture texture_menu_font_char_K[] = { #include "levels/menu/main_menu_seg7_us.0B140.ia8.inc.c" }; // 0x0700B180 -ALIGNED8 static const Texture texture_menu_font_char_L[] = { +ALIGNED8 const Texture texture_menu_font_char_L[] = { #include "levels/menu/main_menu_seg7_us.0B180.ia8.inc.c" }; // 0x0700B1C0 -ALIGNED8 static const Texture texture_menu_font_char_M[] = { +ALIGNED8 const Texture texture_menu_font_char_M[] = { #include "levels/menu/main_menu_seg7_us.0B1C0.ia8.inc.c" }; // 0x0700B200 -ALIGNED8 static const Texture texture_menu_font_char_N[] = { +ALIGNED8 const Texture texture_menu_font_char_N[] = { #include "levels/menu/main_menu_seg7_us.0B200.ia8.inc.c" }; // 0x0700B240 -ALIGNED8 static const Texture texture_menu_font_char_O[] = { +ALIGNED8 const Texture texture_menu_font_char_O[] = { #include "levels/menu/main_menu_seg7_us.0B240.ia8.inc.c" }; // 0x0700B280 -ALIGNED8 static const Texture texture_menu_font_char_P[] = { +ALIGNED8 const Texture texture_menu_font_char_P[] = { #include "levels/menu/main_menu_seg7_us.0B280.ia8.inc.c" }; // 0x0700B2C0 -ALIGNED8 static const Texture texture_menu_font_char_Q[] = { +ALIGNED8 const Texture texture_menu_font_char_Q[] = { #include "levels/menu/main_menu_seg7_us.0B2C0.ia8.inc.c" }; // 0x0700B300 -ALIGNED8 static const Texture texture_menu_font_char_R[] = { +ALIGNED8 const Texture texture_menu_font_char_R[] = { #include "levels/menu/main_menu_seg7_us.0B300.ia8.inc.c" }; // 0x0700B340 -ALIGNED8 static const Texture texture_menu_font_char_S[] = { +ALIGNED8 const Texture texture_menu_font_char_S[] = { #include "levels/menu/main_menu_seg7_us.0B340.ia8.inc.c" }; // 0x0700B380 -ALIGNED8 static const Texture texture_menu_font_char_T[] = { +ALIGNED8 const Texture texture_menu_font_char_T[] = { #include "levels/menu/main_menu_seg7_us.0B380.ia8.inc.c" }; // 0x0700B3C0 -ALIGNED8 static const Texture texture_menu_font_char_U[] = { +ALIGNED8 const Texture texture_menu_font_char_U[] = { #include "levels/menu/main_menu_seg7_us.0B3C0.ia8.inc.c" }; // 0x0700B400 -ALIGNED8 static const Texture texture_menu_font_char_V[] = { +ALIGNED8 const Texture texture_menu_font_char_V[] = { #include "levels/menu/main_menu_seg7_us.0B400.ia8.inc.c" }; // 0x0700B440 -ALIGNED8 static const Texture texture_menu_font_char_W[] = { +ALIGNED8 const Texture texture_menu_font_char_W[] = { #include "levels/menu/main_menu_seg7_us.0B440.ia8.inc.c" }; // 0x0700B480 -ALIGNED8 static const Texture texture_menu_font_char_X[] = { +ALIGNED8 const Texture texture_menu_font_char_X[] = { #include "levels/menu/main_menu_seg7_us.0B480.ia8.inc.c" }; // 0x0700B4C0 -ALIGNED8 static const Texture texture_menu_font_char_Y[] = { +ALIGNED8 const Texture texture_menu_font_char_Y[] = { #include "levels/menu/main_menu_seg7_us.0B4C0.ia8.inc.c" }; // 0x0700B500 -ALIGNED8 static const Texture texture_menu_font_char_Z[] = { +ALIGNED8 const Texture texture_menu_font_char_Z[] = { #include "levels/menu/main_menu_seg7_us.0B500.ia8.inc.c" }; // 0x0700B540 -ALIGNED8 static const Texture texture_menu_font_char_coin[] = { +ALIGNED8 const Texture texture_menu_font_char_coin[] = { #include "levels/menu/main_menu_seg7_us.0B540.ia8.inc.c" }; // 0x0700B580 -ALIGNED8 static const Texture texture_menu_font_char_multiply[] = { +ALIGNED8 const Texture texture_menu_font_char_multiply[] = { #include "levels/menu/main_menu_seg7_us.0B580.ia8.inc.c" }; // 0x0700B5C0 -ALIGNED8 static const Texture texture_menu_font_char_star_filled[] = { +ALIGNED8 const Texture texture_menu_font_char_star_filled[] = { #include "levels/menu/main_menu_seg7_us.0B5C0.ia8.inc.c" }; // 0x0700B600 -ALIGNED8 static const Texture texture_menu_font_char_dash[] = { +ALIGNED8 const Texture texture_menu_font_char_dash[] = { #include "levels/menu/main_menu_seg7_us.0B600.ia8.inc.c" }; #ifdef VERSION_EU // 0x0700B640 -ALIGNED8 static const Texture texture_menu_font_char_comma[] = { +ALIGNED8 const Texture texture_menu_font_char_comma[] = { #include "levels/menu/main_menu_seg7_eu.0B640.ia8.inc.c" }; // 0x0700B680 -ALIGNED8 static const Texture texture_menu_font_char_apostrophe[] = { +ALIGNED8 const Texture texture_menu_font_char_apostrophe[] = { #include "levels/menu/main_menu_seg7_eu.0B680.ia8.inc.c" }; #else // 0x0700B640 -ALIGNED8 static const Texture texture_menu_font_char_comma[] = { +ALIGNED8 const Texture texture_menu_font_char_comma[] = { #include "levels/menu/main_menu_seg7_us.0B640.ia8.inc.c" }; // 0x0700B680 -ALIGNED8 static const Texture texture_menu_font_char_apostrophe[] = { +ALIGNED8 const Texture texture_menu_font_char_apostrophe[] = { #include "levels/menu/main_menu_seg7_us.0B680.ia8.inc.c" }; #endif // 0x0700B6C0 -ALIGNED8 static const Texture texture_menu_font_char_exclamation[] = { +ALIGNED8 const Texture texture_menu_font_char_exclamation[] = { #include "levels/menu/main_menu_seg7_us.0B6C0.ia8.inc.c" }; // 0x0700B700 -ALIGNED8 static const Texture texture_menu_font_char_question[] = { +ALIGNED8 const Texture texture_menu_font_char_question[] = { #include "levels/menu/main_menu_seg7_us.0B700.ia8.inc.c" }; // 0x0700B740 -ALIGNED8 static const Texture texture_menu_font_char_mface1[] = { +ALIGNED8 const Texture texture_menu_font_char_mface1[] = { #include "levels/menu/main_menu_seg7_us.0B740.ia8.inc.c" }; // 0x0700B780 -ALIGNED8 static const Texture texture_menu_font_char_mface2[] = { +ALIGNED8 const Texture texture_menu_font_char_mface2[] = { #include "levels/menu/main_menu_seg7_us.0B780.ia8.inc.c" }; // 0x0700B7C0 -ALIGNED8 static const Texture texture_menu_font_char_period[] = { +ALIGNED8 const Texture texture_menu_font_char_period[] = { #include "levels/menu/main_menu_seg7_us.0B7C0.ia8.inc.c" }; // 0x0700B800 -ALIGNED8 static const Texture texture_menu_font_char_ampersand[] = { +ALIGNED8 const Texture texture_menu_font_char_ampersand[] = { #include "levels/menu/main_menu_seg7_us.0B800.ia8.inc.c" }; #endif #ifdef VERSION_EU // 0x0700B840 -ALIGNED8 static const Texture texture_menu_font_char_umlaut[] = { +ALIGNED8 const Texture texture_menu_font_char_umlaut[] = { #include "levels/menu/main_menu_seg7_eu.0B840.ia8.inc.c" }; // 0x0700B880 -ALIGNED8 static const Texture texture_menu_font_char_cedilla_mayus[] = { +ALIGNED8 const Texture texture_menu_font_char_cedilla_mayus[] = { #include "levels/menu/main_menu_seg7_eu.0B880.ia8.inc.c" }; // 0x0700B8C0 -ALIGNED8 static const Texture texture_menu_font_char_colon[] = { +ALIGNED8 const Texture texture_menu_font_char_colon[] = { #include "levels/menu/main_menu_seg7_eu.0B8C0.ia8.inc.c" }; #endif @@ -1722,34 +1722,34 @@ UNUSED static const u64 menu_unused_1 = 0; #ifdef VERSION_EU // 0x0700BDA0 - 0x0700CDA0 -ALIGNED8 static const Texture texture_menu_course_upper[] = { +ALIGNED8 const Texture texture_menu_course_upper[] = { #include "levels/menu/main_menu_seg7_eu.0BDA0.rgba16.inc.c" }; // 0x0700CDA0 - 0x0700DDA0 -ALIGNED8 static const Texture texture_menu_niveau_upper[] = { +ALIGNED8 const Texture texture_menu_niveau_upper[] = { #include "levels/menu/main_menu_seg7_eu.0CDA0.rgba16.inc.c" }; // 0x0700DDA0 - 0x0700EDA0 -ALIGNED8 static const Texture texture_menu_kurs_upper[] = { +ALIGNED8 const Texture texture_menu_kurs_upper[] = { #include "levels/menu/main_menu_seg7_eu.0DDA0.rgba16.inc.c" }; // 0x0700EDA0 - 0x0700FDA0 -ALIGNED8 static const Texture texture_menu_course_lower[] = { +ALIGNED8 const Texture texture_menu_course_lower[] = { #include "levels/menu/main_menu_seg7_eu.0EDA0.rgba16.inc.c" }; #else // 0x0700D1A8 - 0x0700E1A8 -ALIGNED8 static const Texture texture_menu_course_upper[] = { +ALIGNED8 const Texture texture_menu_course_upper[] = { #include "levels/menu/main_menu_seg7.0D1A8.rgba16.inc.c" }; // 0x0700E1A8 - 0x0700F1A8 -ALIGNED8 static const Texture texture_menu_course_lower[] = { +ALIGNED8 const Texture texture_menu_course_lower[] = { #include "levels/menu/main_menu_seg7.0E1A8.rgba16.inc.c" }; #endif diff --git a/levels/pss/texture.inc.c b/levels/pss/texture.inc.c index 220ce2aa..d902236e 100644 --- a/levels/pss/texture.inc.c +++ b/levels/pss/texture.inc.c @@ -1,14 +1,14 @@ // 0x07000000 - 0x07000002 -ALIGNED8 static const Texture pss_seg7_texture_07000000[] = { +ALIGNED8 const Texture pss_seg7_texture_07000000[] = { #include "levels/pss/0.rgba16.inc.c" }; // 0x07000800 - 0x07000802 -ALIGNED8 static const Texture pss_seg7_texture_07000800[] = { +ALIGNED8 const Texture pss_seg7_texture_07000800[] = { #include "levels/pss/1.ia16.inc.c" }; // 0x07001000 - 0x07001002 -ALIGNED8 static const Texture pss_seg7_texture_07001000[] = { +ALIGNED8 const Texture pss_seg7_texture_07001000[] = { #include "levels/pss/2.rgba16.inc.c" }; diff --git a/levels/rr/texture.inc.c b/levels/rr/texture.inc.c index 52e689cf..5f0ba818 100644 --- a/levels/rr/texture.inc.c +++ b/levels/rr/texture.inc.c @@ -1,14 +1,14 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture texture_quarter_flying_carpet[] = { +ALIGNED8 const Texture texture_quarter_flying_carpet[] = { #include "levels/rr/quarter_flying_carpet.rgba16.inc.c" }; // 0x07000800 - 0x07001800 -ALIGNED8 static const Texture rr_seg7_texture_07000800[] = { +ALIGNED8 const Texture rr_seg7_texture_07000800[] = { #include "levels/rr/1.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture rr_seg7_texture_07001800[] = { +ALIGNED8 const Texture rr_seg7_texture_07001800[] = { #include "levels/rr/2.rgba16.inc.c" }; diff --git a/levels/sl/texture.inc.c b/levels/sl/texture.inc.c index 1fc94696..59756ec1 100644 --- a/levels/sl/texture.inc.c +++ b/levels/sl/texture.inc.c @@ -1,24 +1,24 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture sl_seg7_texture_07000000[] = { +ALIGNED8 const Texture sl_seg7_texture_07000000[] = { #include "levels/sl/0.rgba16.inc.c" }; // 0x07000800 - 0x07001000 -ALIGNED8 static const Texture sl_seg7_texture_07000800[] = { +ALIGNED8 const Texture sl_seg7_texture_07000800[] = { #include "levels/sl/1.rgba16.inc.c" }; // 0x07001000 - 0x07001800 -ALIGNED8 static const Texture sl_seg7_texture_07001000[] = { +ALIGNED8 const Texture sl_seg7_texture_07001000[] = { #include "levels/sl/2.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture sl_seg7_texture_07001800[] = { +ALIGNED8 const Texture sl_seg7_texture_07001800[] = { #include "levels/sl/3.rgba16.inc.c" }; // 0x07002000 - 0x07002800 -ALIGNED8 static const Texture sl_seg7_texture_07002000[] = { +ALIGNED8 const Texture sl_seg7_texture_07002000[] = { #include "levels/sl/4.rgba16.inc.c" }; diff --git a/levels/ssl/texture.inc.c b/levels/ssl/texture.inc.c index 032ca1ea..76a98c59 100644 --- a/levels/ssl/texture.inc.c +++ b/levels/ssl/texture.inc.c @@ -1,10 +1,10 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture ssl_seg7_texture_07000000[] = { +ALIGNED8 const Texture ssl_seg7_texture_07000000[] = { #include "levels/ssl/0.rgba16.inc.c" }; // 0x07000800 - 0x07001000 -ALIGNED8 static const Texture ssl_seg7_texture_07000800[] = { +ALIGNED8 const Texture ssl_seg7_texture_07000800[] = { #include "levels/ssl/1.ia16.inc.c" }; @@ -14,21 +14,21 @@ ALIGNED8 const Texture ssl_pyramid_sand[] = { }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture ssl_seg7_texture_07001800[] = { +ALIGNED8 const Texture ssl_seg7_texture_07001800[] = { #include "levels/ssl/3.rgba16.inc.c" }; // 0x07002000 - 0x07002800 -ALIGNED8 static const Texture ssl_seg7_texture_07002000[] = { +ALIGNED8 const Texture ssl_seg7_texture_07002000[] = { #include "levels/ssl/4.rgba16.inc.c" }; // 0x07002800 - 0x07003800 -ALIGNED8 static const Texture ssl_seg7_texture_07002800[] = { +ALIGNED8 const Texture ssl_seg7_texture_07002800[] = { #include "levels/ssl/5.rgba16.inc.c" }; // 0x07003800 - 0x07004000 -ALIGNED8 static const Texture ssl_seg7_texture_07003800[] = { +ALIGNED8 const Texture ssl_seg7_texture_07003800[] = { #include "levels/ssl/6.rgba16.inc.c" }; diff --git a/levels/ssl/tox_box/model.inc.c b/levels/ssl/tox_box/model.inc.c index d2a1f50f..bb839e4d 100644 --- a/levels/ssl/tox_box/model.inc.c +++ b/levels/ssl/tox_box/model.inc.c @@ -5,22 +5,22 @@ static const Lights1 ssl_seg7_lights_0700BF90 = gdSPDefLights1( ); // 0x0700BFA8 - 0x0700C7A8 -ALIGNED8 static const Texture ssl_seg7_texture_0700BFA8[] = { +ALIGNED8 const Texture ssl_seg7_texture_0700BFA8[] = { #include "levels/ssl/8.rgba16.inc.c" }; // 0x0700C7A8 - 0x0700D7A8 -ALIGNED8 static const Texture ssl_seg7_texture_0700C7A8[] = { +ALIGNED8 const Texture ssl_seg7_texture_0700C7A8[] = { #include "levels/ssl/9.rgba16.inc.c" }; // 0x0700D7A8 - 0x0700E7A8 -ALIGNED8 static const Texture ssl_seg7_texture_0700D7A8[] = { +ALIGNED8 const Texture ssl_seg7_texture_0700D7A8[] = { #include "levels/ssl/10.rgba16.inc.c" }; // 0x0700E7A8 - 0x0700F7A8 -ALIGNED8 static const Texture ssl_seg7_texture_0700E7A8[] = { +ALIGNED8 const Texture ssl_seg7_texture_0700E7A8[] = { #include "levels/ssl/11.rgba16.inc.c" }; diff --git a/levels/thi/texture.inc.c b/levels/thi/texture.inc.c index 546a4410..80316aa7 100644 --- a/levels/thi/texture.inc.c +++ b/levels/thi/texture.inc.c @@ -1,9 +1,9 @@ // 0x07000000 - 0x07000002 -ALIGNED8 static const Texture thi_seg7_texture_07000000[] = { +ALIGNED8 const Texture thi_seg7_texture_07000000[] = { #include "levels/thi/0.rgba16.inc.c" }; // 0x07000800 - 0x07000802 -ALIGNED8 static const Texture thi_seg7_texture_07000800[] = { +ALIGNED8 const Texture thi_seg7_texture_07000800[] = { #include "levels/thi/1.rgba16.inc.c" }; diff --git a/levels/totwc/texture.inc.c b/levels/totwc/texture.inc.c index e3c4561e..3b047328 100644 --- a/levels/totwc/texture.inc.c +++ b/levels/totwc/texture.inc.c @@ -1,19 +1,19 @@ // 0x07000000 - 0x07001000 -ALIGNED8 static const Texture totwc_seg7_texture_07000000[] = { +ALIGNED8 const Texture totwc_seg7_texture_07000000[] = { #include "levels/totwc/0.rgba16.inc.c" }; // 0x07001000 - 0x07001800 -ALIGNED8 static const Texture totwc_seg7_texture_07001000[] = { +ALIGNED8 const Texture totwc_seg7_texture_07001000[] = { #include "levels/totwc/1.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture totwc_seg7_texture_07001800[] = { +ALIGNED8 const Texture totwc_seg7_texture_07001800[] = { #include "levels/totwc/2.rgba16.inc.c" }; // 0x07002000 - 0x07002800 -ALIGNED8 static const Texture totwc_seg7_texture_07002000[] = { +ALIGNED8 const Texture totwc_seg7_texture_07002000[] = { #include "levels/totwc/3.ia16.inc.c" }; diff --git a/levels/ttc/texture.inc.c b/levels/ttc/texture.inc.c index 984abbbc..87a900a5 100644 --- a/levels/ttc/texture.inc.c +++ b/levels/ttc/texture.inc.c @@ -1,9 +1,9 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture ttc_seg7_texture_07000000[] = { +ALIGNED8 const Texture ttc_seg7_texture_07000000[] = { #include "levels/ttc/0.rgba16.inc.c" }; // 0x07000800 - 0x07001000 -ALIGNED8 static const Texture ttc_seg7_texture_07000800[] = { +ALIGNED8 const Texture ttc_seg7_texture_07000800[] = { #include "levels/ttc/1.rgba16.inc.c" }; diff --git a/levels/ttm/areas/1/painting.inc.c b/levels/ttm/areas/1/painting.inc.c index 2477f654..2af62c36 100644 --- a/levels/ttm/areas/1/painting.inc.c +++ b/levels/ttm/areas/1/painting.inc.c @@ -545,7 +545,7 @@ static const Gfx ttm_seg7_painting_dl_07012E98[] = { }; // 0x07012EF8 - 0x07012F78 -ALIGNED8 static const Texture *const ttm_seg7_painting_textures_07012EF8[] = { +ALIGNED8 const Texture *const ttm_seg7_painting_textures_07012EF8[] = { ttm_seg7_texture_07004000, ttm_seg7_texture_07003000, }; diff --git a/levels/ttm/slide_exit_podium/model.inc.c b/levels/ttm/slide_exit_podium/model.inc.c index 0ed6e4f0..ad3656ec 100644 --- a/levels/ttm/slide_exit_podium/model.inc.c +++ b/levels/ttm/slide_exit_podium/model.inc.c @@ -17,7 +17,7 @@ static const Lights1 ttm_seg7_lights_0702AD18 = gdSPDefLights1( ); // 0x0702AD30 - 0x0702B530 -ALIGNED8 static const Texture ttm_seg7_texture_0702AD30[] = { +ALIGNED8 const Texture ttm_seg7_texture_0702AD30[] = { #include "levels/ttm/8.rgba16.inc.c" }; diff --git a/levels/ttm/texture.inc.c b/levels/ttm/texture.inc.c index 43b1b090..b7637cd2 100644 --- a/levels/ttm/texture.inc.c +++ b/levels/ttm/texture.inc.c @@ -1,39 +1,39 @@ // 0x07000000 - 0x07001000 -ALIGNED8 static const Texture ttm_seg7_texture_07000000[] = { +ALIGNED8 const Texture ttm_seg7_texture_07000000[] = { #include "levels/ttm/0.ia16.inc.c" }; // 0x07000800 - 0x07001800 -ALIGNED8 static const Texture ttm_seg7_texture_07000800[] = { +ALIGNED8 const Texture ttm_seg7_texture_07000800[] = { #include "levels/ttm/1.rgba16.inc.c" }; // 0x07001000 - 0x07002000 -ALIGNED8 static const Texture ttm_seg7_texture_07001000[] = { +ALIGNED8 const Texture ttm_seg7_texture_07001000[] = { #include "levels/ttm/2.rgba16.inc.c" }; // 0x07001800 - 0x07002800 -ALIGNED8 static const Texture ttm_seg7_texture_07001800[] = { +ALIGNED8 const Texture ttm_seg7_texture_07001800[] = { #include "levels/ttm/3.rgba16.inc.c" }; // 0x07002000 - 0x07003000 -ALIGNED8 static const Texture ttm_seg7_texture_07002000[] = { +ALIGNED8 const Texture ttm_seg7_texture_07002000[] = { #include "levels/ttm/4.rgba16.inc.c" }; // 0x07002800 - 0x07003800 -ALIGNED8 static const Texture ttm_seg7_texture_07002800[] = { +ALIGNED8 const Texture ttm_seg7_texture_07002800[] = { #include "levels/ttm/5.rgba16.inc.c" }; // 0x07003000 - 0x07004000 -ALIGNED8 static const Texture ttm_seg7_texture_07003000[] = { +ALIGNED8 const Texture ttm_seg7_texture_07003000[] = { #include "levels/ttm/6.rgba16.inc.c" }; // 0x07004000 - 0x07005000 -ALIGNED8 static const Texture ttm_seg7_texture_07004000[] = { +ALIGNED8 const Texture ttm_seg7_texture_07004000[] = { #include "levels/ttm/7.rgba16.inc.c" }; diff --git a/levels/vcutm/texture.inc.c b/levels/vcutm/texture.inc.c index e7878138..272afa78 100644 --- a/levels/vcutm/texture.inc.c +++ b/levels/vcutm/texture.inc.c @@ -1,19 +1,19 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture vcutm_seg7_texture_07000000[] = { +ALIGNED8 const Texture vcutm_seg7_texture_07000000[] = { #include "levels/vcutm/0.rgba16.inc.c" }; // 0x07000800 - 0x07001800 -ALIGNED8 static const Texture vcutm_seg7_texture_07000800[] = { +ALIGNED8 const Texture vcutm_seg7_texture_07000800[] = { #include "levels/vcutm/1.rgba16.inc.c" }; // 0x07001800 - 0x07002800 -ALIGNED8 static const Texture vcutm_seg7_texture_07001800[] = { +ALIGNED8 const Texture vcutm_seg7_texture_07001800[] = { #include "levels/vcutm/2.rgba16.inc.c" }; // 0x07002800 - 0x07003000 -ALIGNED8 static const Texture vcutm_seg7_texture_07002800[] = { +ALIGNED8 const Texture vcutm_seg7_texture_07002800[] = { #include "levels/vcutm/3.rgba16.inc.c" }; diff --git a/levels/wdw/texture.inc.c b/levels/wdw/texture.inc.c index 0e510b06..b69e9842 100644 --- a/levels/wdw/texture.inc.c +++ b/levels/wdw/texture.inc.c @@ -1,24 +1,24 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture wdw_seg7_texture_07000000[] = { +ALIGNED8 const Texture wdw_seg7_texture_07000000[] = { #include "levels/wdw/0.rgba16.inc.c" }; // 0x07000800 - 0x07001000 -ALIGNED8 static const Texture wdw_seg7_texture_07000800[] = { +ALIGNED8 const Texture wdw_seg7_texture_07000800[] = { #include "levels/wdw/1.rgba16.inc.c" }; // 0x07001000 - 0x07001800 -ALIGNED8 static const Texture wdw_seg7_texture_07001000[] = { +ALIGNED8 const Texture wdw_seg7_texture_07001000[] = { #include "levels/wdw/2.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture wdw_seg7_texture_07001800[] = { +ALIGNED8 const Texture wdw_seg7_texture_07001800[] = { #include "levels/wdw/3.rgba16.inc.c" }; // 0x07002000 - 0x07002800 -ALIGNED8 static const Texture wdw_seg7_texture_07002000[] = { +ALIGNED8 const Texture wdw_seg7_texture_07002000[] = { #include "levels/wdw/4.rgba16.inc.c" }; diff --git a/levels/wf/texture.inc.c b/levels/wf/texture.inc.c index 2b58e2b8..f4941b9a 100644 --- a/levels/wf/texture.inc.c +++ b/levels/wf/texture.inc.c @@ -1,29 +1,29 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture wf_seg7_texture_07000000[] = { +ALIGNED8 const Texture wf_seg7_texture_07000000[] = { #include "levels/wf/0.rgba16.inc.c" }; // 0x07000800 - 0x07001000 -ALIGNED8 static const Texture wf_seg7_texture_07000800[] = { +ALIGNED8 const Texture wf_seg7_texture_07000800[] = { #include "levels/wf/1.rgba16.inc.c" }; // 0x07001000 - 0x07001800 -ALIGNED8 static const Texture wf_seg7_texture_07001000[] = { +ALIGNED8 const Texture wf_seg7_texture_07001000[] = { #include "levels/wf/2.rgba16.inc.c" }; // 0x07001800 - 0x07002000 -ALIGNED8 static const Texture wf_seg7_texture_07001800[] = { +ALIGNED8 const Texture wf_seg7_texture_07001800[] = { #include "levels/wf/3.rgba16.inc.c" }; // 0x07002000 - 0x07002800 -ALIGNED8 static const Texture wf_seg7_texture_07002000[] = { +ALIGNED8 const Texture wf_seg7_texture_07002000[] = { #include "levels/wf/4.rgba16.inc.c" }; // 0x07002800 - 0x07002900 -ALIGNED8 static const Texture wf_seg7_texture_07002800[] = { +ALIGNED8 const Texture wf_seg7_texture_07002800[] = { #include "levels/wf/5.ia8.inc.c" }; diff --git a/levels/wmotr/texture.inc.c b/levels/wmotr/texture.inc.c index 9f0d7f10..c0af4646 100644 --- a/levels/wmotr/texture.inc.c +++ b/levels/wmotr/texture.inc.c @@ -1,24 +1,24 @@ // 0x07000000 - 0x07000800 -ALIGNED8 static const Texture wmotr_seg7_texture_07000000[] = { +ALIGNED8 const Texture wmotr_seg7_texture_07000000[] = { #include "levels/wmotr/0.rgba16.inc.c" }; // 0x07000800 - 0x07000C00 -ALIGNED8 static const Texture wmotr_seg7_texture_07000800[] = { +ALIGNED8 const Texture wmotr_seg7_texture_07000800[] = { #include "levels/wmotr/1.rgba16.inc.c" }; // 0x07000C00 - 0x07001400 -ALIGNED8 static const Texture wmotr_seg7_texture_07000C00[] = { +ALIGNED8 const Texture wmotr_seg7_texture_07000C00[] = { #include "levels/wmotr/2.rgba16.inc.c" }; // 0x07001400 - 0x07001600 -ALIGNED8 static const Texture wmotr_seg7_texture_07001400[] = { +ALIGNED8 const Texture wmotr_seg7_texture_07001400[] = { #include "levels/wmotr/3.rgba16.inc.c" }; // 0x07001600 - 0x07001800 -ALIGNED8 static const Texture wmotr_seg7_texture_07001600[] = { +ALIGNED8 const Texture wmotr_seg7_texture_07001600[] = { #include "levels/wmotr/4.rgba16.inc.c" }; diff --git a/src/engine/graph_node.c b/src/engine/graph_node.c index 1a56c243..ce913394 100644 --- a/src/engine/graph_node.c +++ b/src/engine/graph_node.c @@ -30,6 +30,7 @@ void init_scene_graph_node_links(struct GraphNode *graphNode, s32 type) { graphNode->next = graphNode; graphNode->parent = NULL; graphNode->children = NULL; + graphNode->georef = NULL; } /** diff --git a/src/game/characters.c b/src/game/characters.c index 7cc61ca6..cad9a562 100644 --- a/src/game/characters.c +++ b/src/game/characters.c @@ -30,7 +30,7 @@ struct Character gCharacters[CT_MAX] = { .type = CT_MARIO, .name = "Mario", .hudHead = ',', - .hudHeadTexture = { .texture = texture_hud_char_mario_head, .bitSize = 8, .width = 16, .height = 16 }, + .hudHeadTexture = { .texture = (u8*)texture_hud_char_mario_head, .bitSize = 8, .width = 16, .height = 16 }, .cameraHudHead = GLYPH_CAM_MARIO_HEAD, .modelId = MODEL_MARIO, .capModelId = MODEL_MARIOS_CAP, @@ -93,7 +93,7 @@ struct Character gCharacters[CT_MAX] = { .type = CT_LUIGI, .name = "Luigi", .hudHead = '.', - .hudHeadTexture = { .texture = texture_hud_char_luigi_head, .bitSize = 8, .width = 16, .height = 16 }, + .hudHeadTexture = { .texture = (u8*)texture_hud_char_luigi_head, .bitSize = 8, .width = 16, .height = 16 }, .cameraHudHead = GLYPH_CAM_LUIGI_HEAD, .modelId = MODEL_LUIGI, .capModelId = MODEL_LUIGIS_CAP, @@ -156,7 +156,7 @@ struct Character gCharacters[CT_MAX] = { .type = CT_TOAD, .name = "Toad", .hudHead = '/', - .hudHeadTexture = { .texture = texture_hud_char_toad_head, .bitSize = 8, .width = 16, .height = 16 }, + .hudHeadTexture = { .texture = (u8*)texture_hud_char_toad_head, .bitSize = 8, .width = 16, .height = 16 }, .cameraHudHead = GLYPH_CAM_TOAD_HEAD, .modelId = MODEL_TOAD_PLAYER, .capModelId = MODEL_TOADS_CAP, @@ -219,7 +219,7 @@ struct Character gCharacters[CT_MAX] = { .type = CT_WALUIGI, .name = "Waluigi", .hudHead = 'z', - .hudHeadTexture = { .texture = texture_hud_char_waluigi_head, .bitSize = 8, .width = 16, .height = 16 }, + .hudHeadTexture = { .texture = (u8*)texture_hud_char_waluigi_head, .bitSize = 8, .width = 16, .height = 16 }, .cameraHudHead = GLYPH_CAM_WALUIGI_HEAD, .modelId = MODEL_WALUIGI, .capModelId = MODEL_WALUIGIS_CAP, @@ -285,7 +285,7 @@ struct Character gCharacters[CT_MAX] = { .type = CT_WARIO, .name = "Wario", .hudHead = 'x', - .hudHeadTexture = { .texture = texture_hud_char_wario_head, .bitSize = 8, .width = 16, .height = 16 }, + .hudHeadTexture = { .texture = (u8*)texture_hud_char_wario_head, .bitSize = 8, .width = 16, .height = 16 }, .cameraHudHead = GLYPH_CAM_WARIO_HEAD, .modelId = MODEL_WARIO, .capModelId = MODEL_WARIOS_CAP, diff --git a/src/game/segment2.h b/src/game/segment2.h index 87e601f4..81601a68 100644 --- a/src/game/segment2.h +++ b/src/game/segment2.h @@ -13,15 +13,15 @@ extern Gfx dl_rgba16_text_begin[]; extern Gfx dl_rgba16_text_end[]; extern Gfx dl_ia_text_begin[]; extern Gfx dl_ia_text_end[]; -extern u8 texture_transition_star_half[]; -extern u8 texture_transition_circle_half[]; -extern u8 texture_transition_mario[]; -extern u8 texture_transition_bowser_half[]; -extern u8 texture_waterbox_water[]; -extern u8 texture_waterbox_mist[]; -extern u8 texture_waterbox_jrb_water[]; -extern u8 texture_waterbox_unknown_water[]; -extern u8 texture_waterbox_lava[]; +extern Texture texture_transition_star_half[]; +extern Texture texture_transition_circle_half[]; +extern Texture texture_transition_mario[]; +extern Texture texture_transition_bowser_half[]; +extern Texture texture_waterbox_water[]; +extern Texture texture_waterbox_mist[]; +extern Texture texture_waterbox_jrb_water[]; +extern Texture texture_waterbox_unknown_water[]; +extern Texture texture_waterbox_lava[]; extern Gfx dl_proj_mtx_fullscreen[]; extern Gfx dl_draw_quad_verts_0123[]; extern Gfx dl_screen_transition_end[]; diff --git a/src/pc/djui/djui_hud_utils.c b/src/pc/djui/djui_hud_utils.c index 871728fb..6a35fc17 100644 --- a/src/pc/djui/djui_hud_utils.c +++ b/src/pc/djui/djui_hud_utils.c @@ -29,13 +29,13 @@ extern ALIGNED8 const u8 texture_hud_char_coin[]; extern ALIGNED8 const u8 texture_hud_char_star[]; struct GlobalTextures gGlobalTextures = { - .camera = { .texture = texture_hud_char_camera, .bitSize = 8, .width = 16, .height = 16 }, - .lakitu = { .texture = texture_hud_char_lakitu, .bitSize = 8, .width = 16, .height = 16 }, - .no_camera = { .texture = texture_hud_char_no_camera, .bitSize = 8, .width = 16, .height = 16 }, - .arrow_up = { .texture = texture_hud_char_arrow_up, .bitSize = 8, .width = 8, .height = 8 }, - .arrow_down = { .texture = texture_hud_char_arrow_down, .bitSize = 8, .width = 8, .height = 8 }, - .coin = { .texture = texture_hud_char_coin, .bitSize = 8, .width = 16, .height = 16 }, - .star = { .texture = texture_hud_char_star, .bitSize = 8, .width = 16, .height = 16 }, + .camera = { .texture = (u8*)texture_hud_char_camera, .bitSize = 8, .width = 16, .height = 16 }, + .lakitu = { .texture = (u8*)texture_hud_char_lakitu, .bitSize = 8, .width = 16, .height = 16 }, + .no_camera = { .texture = (u8*)texture_hud_char_no_camera, .bitSize = 8, .width = 16, .height = 16 }, + .arrow_up = { .texture = (u8*)texture_hud_char_arrow_up, .bitSize = 8, .width = 8, .height = 8 }, + .arrow_down = { .texture = (u8*)texture_hud_char_arrow_down, .bitSize = 8, .width = 8, .height = 8 }, + .coin = { .texture = (u8*)texture_hud_char_coin, .bitSize = 8, .width = 16, .height = 16 }, + .star = { .texture = (u8*)texture_hud_char_star, .bitSize = 8, .width = 16, .height = 16 }, }; static void djui_hud_position_translate(f32* x, f32* y) { @@ -156,7 +156,7 @@ void djui_hud_print_text(const char* message, float x, float y, float scale) { gSPPopMatrix(gDisplayListHead++, G_MTX_MODELVIEW); } -static void djui_hud_render_texture_raw(const u8* texture, u32 bitSize, u32 width, u32 height, f32 x, f32 y, f32 scaleW, f32 scaleH) { +void djui_hud_render_texture_raw(const u8* texture, u32 bitSize, u32 width, u32 height, f32 x, f32 y, f32 scaleW, f32 scaleH) { gDjuiHudUtilsZ += 0.01f; // translate position @@ -204,4 +204,4 @@ void djui_hud_render_rect(f32 x, f32 y, f32 width, f32 height) { // pop gSPPopMatrix(gDisplayListHead++, G_MTX_MODELVIEW); -} \ No newline at end of file +} diff --git a/src/pc/djui/djui_hud_utils.h b/src/pc/djui/djui_hud_utils.h index 866e2086..3f30529c 100644 --- a/src/pc/djui/djui_hud_utils.h +++ b/src/pc/djui/djui_hud_utils.h @@ -40,6 +40,7 @@ f32 djui_hud_get_mouse_y(void); f32 djui_hud_measure_text(const char* message); void djui_hud_print_text(const char* message, float x, float y, float scale); void djui_hud_render_texture(struct TextureInfo* texInfo, f32 x, f32 y, f32 scaleW, f32 scaleH); +void djui_hud_render_texture_raw(const u8* texture, u32 bitSize, u32 width, u32 height, f32 x, f32 y, f32 scaleW, f32 scaleH); void djui_hud_render_rect(f32 x, f32 y, f32 width, f32 height); #endif \ No newline at end of file diff --git a/src/pc/lua/smlua_functions.c b/src/pc/lua/smlua_functions.c index 76fea455..e2c86b7a 100644 --- a/src/pc/lua/smlua_functions.c +++ b/src/pc/lua/smlua_functions.c @@ -9,6 +9,7 @@ #include "audio/external.h" #include "object_fields.h" #include "engine/math_util.h" +#include "pc/djui/djui_hud_utils.h" bool smlua_functions_valid_param_count(lua_State* L, int expected) { int top = lua_gettop(L); @@ -83,7 +84,7 @@ int smlua_func_reset_level(lua_State* L) { LOG_LUA_LINE("This function can only be used in single-player"); return 0; } - + if(!smlua_functions_valid_param_count(L, 0)) { return 0; } gChangeLevel = gCurrLevelNum; @@ -184,6 +185,92 @@ int smlua_func_network_send_to(lua_State* L) { network_send_lua_custom(false); } + ////////////// + // Textures // +////////////// + +int smlua_func_get_texture_info(lua_State* L) { + if (!smlua_functions_valid_param_count(L, 1)) { return 0; } + + if (lua_type(L, -1) != LUA_TSTRING) { + LOG_LUA_LINE("Invalid type passed to get_texture_info(): %u", lua_type(L, -1)); + lua_pop(L, 1); // pop value + return 0; + } + + struct TextureInfo texInfo = { 0 }; + const char* textureName = smlua_to_string(L, -1); + if (!dynos_texture_get(textureName, &texInfo)) { + LOG_LUA_LINE("Could not find texture info for '%s'", textureName); + return 0; + } + + lua_newtable(L); + + lua_pushstring(L, "texture"); + smlua_push_pointer(L, LVT_U8_P, texInfo.texture); + lua_settable(L, -3); + + lua_pushstring(L, "bitSize"); + lua_pushinteger(L, texInfo.bitSize); + lua_settable(L, -3); + + lua_pushstring(L, "width"); + lua_pushinteger(L, texInfo.width); + lua_settable(L, -3); + + lua_pushstring(L, "height"); + lua_pushinteger(L, texInfo.height); + lua_settable(L, -3); + + return 1; +} + +int smlua_func_djui_hud_render_texture(lua_State* L) { + if(!smlua_functions_valid_param_count(L, 5)) { return 0; } + + struct TextureInfo tmpTexInfo = { 0 }; + struct TextureInfo* texInfo = &tmpTexInfo; + + if (smlua_is_cobject(L, 1, LOT_TEXTUREINFO)) { + texInfo = (struct TextureInfo*)smlua_to_cobject(L, 1, LOT_TEXTUREINFO); + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 1"); return 0; } + } else { + int top = lua_gettop(L); + lua_pushvalue(L, 1); + + lua_pushstring(L, "texture"); + lua_gettable(L, top+1); + tmpTexInfo.texture = smlua_to_cpointer(L, lua_gettop(L), LVT_U8_P); + lua_pop(L, 1); + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 1's 'texture' field"); return 0; } + + tmpTexInfo.bitSize = smlua_get_integer_field(top+1, "bitSize"); + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 1's 'bitSize' field"); return 0; } + + tmpTexInfo.width = smlua_get_integer_field(top+1, "width"); + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 1's 'width' field"); return 0; } + + tmpTexInfo.height = smlua_get_integer_field(top+1, "height"); + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 1's 'height' field"); return 0; } + + lua_settop(L, top); + } + + f32 x = smlua_to_number(L, 2); + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 2"); return 0; } + f32 y = smlua_to_number(L, 3); + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 3"); return 0; } + f32 scaleW = smlua_to_number(L, 4); + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 4"); return 0; } + f32 scaleH = smlua_to_number(L, 5); + if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 5"); return 0; } + + djui_hud_render_texture_raw(texInfo->texture, texInfo->bitSize, texInfo->width, texInfo->height, x, y, scaleW, scaleH); + + return 1; +} + ////////// // bind // ////////// @@ -201,4 +288,6 @@ void smlua_bind_functions(void) { smlua_bind_function(L, "reset_level", smlua_func_reset_level); smlua_bind_function(L, "network_send", smlua_func_network_send); smlua_bind_function(L, "network_send_to", smlua_func_network_send_to); + smlua_bind_function(L, "get_texture_info", smlua_func_get_texture_info); + smlua_bind_function(L, "djui_hud_render_texture", smlua_func_djui_hud_render_texture); } diff --git a/src/pc/lua/smlua_functions_autogen.c b/src/pc/lua/smlua_functions_autogen.c index 4ba2025b..bc05ca27 100644 --- a/src/pc/lua/smlua_functions_autogen.c +++ b/src/pc/lua/smlua_functions_autogen.c @@ -7267,25 +7267,6 @@ int smlua_func_djui_hud_render_rect(lua_State* L) { return 1; } -int smlua_func_djui_hud_render_texture(lua_State* L) { - if(!smlua_functions_valid_param_count(L, 5)) { return 0; } - - struct TextureInfo* texInfo = (struct TextureInfo*)smlua_to_cobject(L, 1, LOT_TEXTUREINFO); - if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 1"); return 0; } - f32 x = smlua_to_number(L, 2); - if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 2"); return 0; } - f32 y = smlua_to_number(L, 3); - if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 3"); return 0; } - f32 scaleW = smlua_to_number(L, 4); - if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 4"); return 0; } - f32 scaleH = smlua_to_number(L, 5); - if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter 5"); return 0; } - - djui_hud_render_texture(texInfo, x, y, scaleW, scaleH); - - return 1; -} - int smlua_func_djui_hud_set_color(lua_State* L) { if(!smlua_functions_valid_param_count(L, 4)) { return 0; } @@ -16585,7 +16566,6 @@ void smlua_bind_functions_autogen(void) { smlua_bind_function(L, "djui_hud_measure_text", smlua_func_djui_hud_measure_text); smlua_bind_function(L, "djui_hud_print_text", smlua_func_djui_hud_print_text); smlua_bind_function(L, "djui_hud_render_rect", smlua_func_djui_hud_render_rect); - smlua_bind_function(L, "djui_hud_render_texture", smlua_func_djui_hud_render_texture); smlua_bind_function(L, "djui_hud_set_color", smlua_func_djui_hud_set_color); smlua_bind_function(L, "djui_hud_set_font", smlua_func_djui_hud_set_font); smlua_bind_function(L, "djui_hud_set_resolution", smlua_func_djui_hud_set_resolution); diff --git a/src/pc/lua/smlua_utils.c b/src/pc/lua/smlua_utils.c index e13632dd..5ed2f903 100644 --- a/src/pc/lua/smlua_utils.c +++ b/src/pc/lua/smlua_utils.c @@ -117,6 +117,39 @@ LuaFunction smlua_to_lua_function(lua_State* L, int index) { return luaL_ref(L, LUA_REGISTRYINDEX); } +bool smlua_is_cobject(lua_State* L, int index, u16 lot) { + int top = lua_gettop(L); + bool ret = true; + + s32 indexType = lua_type(L, index); + if (indexType != LUA_TTABLE) { + ret = false; + goto result; + } + + lua_getfield(L, index, "_lot"); + if (lua_type(L, -1) != LUA_TNUMBER) { + ret = false; + goto result; + } + + enum LuaObjectType objLot = smlua_to_integer(L, -1); + if (!gSmLuaConvertSuccess) { + gSmLuaConvertSuccess = true; + ret = false; + goto result; + } + + if (lot != objLot) { + ret = false; + goto result; + } + +result: + lua_settop(L, top); + return ret; +} + void* smlua_to_cobject(lua_State* L, int index, u16 lot) { s32 indexType = lua_type(L, index); if (indexType == LUA_TNIL) { return NULL; } diff --git a/src/pc/lua/smlua_utils.h b/src/pc/lua/smlua_utils.h index f8adf157..f1d7928f 100644 --- a/src/pc/lua/smlua_utils.h +++ b/src/pc/lua/smlua_utils.h @@ -17,6 +17,7 @@ lua_Integer smlua_to_integer(lua_State* L, int index); lua_Number smlua_to_number(lua_State* L, int index); const char* smlua_to_string(lua_State* L, int index); LuaFunction smlua_to_lua_function(lua_State* L, int index); +bool smlua_is_cobject(lua_State* L, int index, u16 lot); void* smlua_to_cobject(lua_State* L, int index, u16 lot); void* smlua_to_cpointer(lua_State* L, int index, u16 lvt); struct LSTNetworkType smlua_to_lnt(lua_State* L, int index); diff --git a/src/pc/lua/utils/smlua_misc_utils.c b/src/pc/lua/utils/smlua_misc_utils.c index 571d77a7..e11935b6 100644 --- a/src/pc/lua/utils/smlua_misc_utils.c +++ b/src/pc/lua/utils/smlua_misc_utils.c @@ -79,16 +79,16 @@ void hud_render_power_meter(s32 health, f32 x, f32 y, f32 width, f32 height) { extern const u8 texture_power_meter_two_segments[]; extern const u8 texture_power_meter_one_segments[]; static struct TextureInfo sPowerMeterTexturesInfo[] = { - { texture_power_meter_left_side, 8, 32, 64 }, - { texture_power_meter_right_side, 8, 32, 64 }, - { texture_power_meter_one_segments, 8, 32, 32 }, - { texture_power_meter_two_segments, 8, 32, 32 }, - { texture_power_meter_three_segments, 8, 32, 32 }, - { texture_power_meter_four_segments, 8, 32, 32 }, - { texture_power_meter_five_segments, 8, 32, 32 }, - { texture_power_meter_six_segments, 8, 32, 32 }, - { texture_power_meter_seven_segments, 8, 32, 32 }, - { texture_power_meter_full, 8, 32, 32 }, + { (u8*)texture_power_meter_left_side, 8, 32, 64 }, + { (u8*)texture_power_meter_right_side, 8, 32, 64 }, + { (u8*)texture_power_meter_one_segments, 8, 32, 32 }, + { (u8*)texture_power_meter_two_segments, 8, 32, 32 }, + { (u8*)texture_power_meter_three_segments, 8, 32, 32 }, + { (u8*)texture_power_meter_four_segments, 8, 32, 32 }, + { (u8*)texture_power_meter_five_segments, 8, 32, 32 }, + { (u8*)texture_power_meter_six_segments, 8, 32, 32 }, + { (u8*)texture_power_meter_seven_segments, 8, 32, 32 }, + { (u8*)texture_power_meter_full, 8, 32, 32 }, }; djui_hud_render_texture(&sPowerMeterTexturesInfo[0], x, y, width / 64, height / 64); djui_hud_render_texture(&sPowerMeterTexturesInfo[1], x + width / 2, y, width / 64, height / 64); diff --git a/src/pc/mods/mod.c b/src/pc/mods/mod.c index 398f2a77..9667387a 100644 --- a/src/pc/mods/mod.c +++ b/src/pc/mods/mod.c @@ -31,7 +31,7 @@ static void mod_activate_bin(struct ModFile* file) { } static void mod_activate_col(struct ModFile* file) { - // copy geo name + // copy col name char colName[64] = { 0 }; if (snprintf(colName, 63, "%s", path_basename(file->relativePath)) < 0) { LOG_ERROR("Truncated col name"); @@ -53,8 +53,31 @@ static void mod_activate_col(struct ModFile* file) { dynos_add_collision(file->cachedPath, colName); } +static void mod_activate_tex(struct ModFile* file) { + // copy tex name + char texName[64] = { 0 }; + if (snprintf(texName, 63, "%s", path_basename(file->relativePath)) < 0) { + LOG_ERROR("Truncated tex name"); + return; + } + + // remove '.tex' + char* g = texName; + while (*g != '\0') { + if (*g == '.') { + *g = '\0'; + break; + } + g++; + } + + // Add to custom actors + LOG_INFO("Activating DynOS tex: '%s', '%s'", file->cachedPath, texName); + dynos_add_texture(file->cachedPath, texName); +} + static void mod_activate_lvl(struct Mod* mod, struct ModFile* file) { - // copy geo name + // copy lvl name char lvlName[64] = { 0 }; if (snprintf(lvlName, 63, "%s", path_basename(file->relativePath)) < 0) { LOG_ERROR("Truncated lvl name"); @@ -90,6 +113,9 @@ void mod_activate(struct Mod* mod) { if (str_ends_with(file->relativePath, ".lvl")) { mod_activate_lvl(mod, file); } + if (str_ends_with(file->relativePath, ".tex")) { + mod_activate_tex(file); + } } } @@ -248,6 +274,44 @@ static bool mod_load_files(struct Mod* mod, char* modName, char* fullPath) { } } + // deal with textures directory + { + // concat textures directory + char texturesPath[SYS_MAX_PATH] = { 0 }; + if (!concat_path(texturesPath, fullPath, "textures")) { + LOG_ERROR("Could not concat directory '%s' + '%s'", fullPath, "textures"); + return false; + } + + // open textures directory + struct dirent* dir = NULL; + DIR* d = opendir(texturesPath); + if (d) { + // iterate mod directory + char path[SYS_MAX_PATH] = { 0 }; + char relativePath[SYS_MAX_PATH] = { 0 }; + while ((dir = readdir(d)) != NULL) { + // sanity check / fill path[] + if (!directory_sanity_check(dir, texturesPath, path)) { continue; } + if (snprintf(relativePath, SYS_MAX_PATH - 1, "textures/%s", dir->d_name) < 0) { + LOG_ERROR("Could not concat textures path!"); + return false; + } + + // only consider tex files + if (!str_ends_with(path, ".tex")) { + continue; + } + + // allocate file + struct ModFile* file = mod_allocate_file(mod, relativePath); + if (file == NULL) { return false; } + } + + closedir(d); + } + } + // deal with levels directory { // concat levels directory