Fix capital letters not properly replaced by Dynos texture packs (#234)

This commit is contained in:
PeachyPeach 2022-11-14 23:26:45 +01:00 committed by GitHub
parent d8c908c588
commit c2d1c85299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,7 @@ extern "C" {
////////////// //////////////
#define define_builtin_tex(_ptr, _path, _width, _height, _bitSize) { (const char*)#_ptr, (const void*)_ptr, (const char*)_path, _width, _height, _bitSize } #define define_builtin_tex(_ptr, _path, _width, _height, _bitSize) { (const char*)#_ptr, (const void*)_ptr, (const char*)_path, _width, _height, _bitSize }
#define define_builtin_tex_(_ptr, _path, _width, _height, _bitSize) { (const char*)#_ptr "_", (const void*)_ptr, (const char*)_path, _width, _height, _bitSize }
static const struct BuiltinTexInfo sDynosBuiltinTexs[] = { static const struct BuiltinTexInfo sDynosBuiltinTexs[] = {
define_builtin_tex(amp_seg8_texture_08000F18, "actors/amp/amp_electricity.rgba16.png", 16, 32, 16), define_builtin_tex(amp_seg8_texture_08000F18, "actors/amp/amp_electricity.rgba16.png", 16, 32, 16),
@ -981,32 +982,32 @@ static const struct BuiltinTexInfo sDynosBuiltinTexs[] = {
define_builtin_tex(texture_font_char_us_7, "textures/segment2/font_graphics.05AC0.ia4.png", 16, 8, 16), define_builtin_tex(texture_font_char_us_7, "textures/segment2/font_graphics.05AC0.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_8, "textures/segment2/font_graphics.05B00.ia4.png", 16, 8, 16), define_builtin_tex(texture_font_char_us_8, "textures/segment2/font_graphics.05B00.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_9, "textures/segment2/font_graphics.05B40.ia4.png", 16, 8, 16), define_builtin_tex(texture_font_char_us_9, "textures/segment2/font_graphics.05B40.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_A, "textures/segment2/font_graphics.05B80.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_A, "textures/segment2/font_graphics.05B80.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_B, "textures/segment2/font_graphics.05BC0.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_B, "textures/segment2/font_graphics.05BC0.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_C, "textures/segment2/font_graphics.05C00.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_C, "textures/segment2/font_graphics.05C00.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_D, "textures/segment2/font_graphics.05C40.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_D, "textures/segment2/font_graphics.05C40.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_E, "textures/segment2/font_graphics.05C80.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_E, "textures/segment2/font_graphics.05C80.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_F, "textures/segment2/font_graphics.05CC0.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_F, "textures/segment2/font_graphics.05CC0.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_G, "textures/segment2/font_graphics.05D00.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_G, "textures/segment2/font_graphics.05D00.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_H, "textures/segment2/font_graphics.05D40.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_H, "textures/segment2/font_graphics.05D40.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_I, "textures/segment2/font_graphics.05D80.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_I, "textures/segment2/font_graphics.05D80.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_J, "textures/segment2/font_graphics.05DC0.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_J, "textures/segment2/font_graphics.05DC0.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_K, "textures/segment2/font_graphics.05E00.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_K, "textures/segment2/font_graphics.05E00.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_L, "textures/segment2/font_graphics.05E40.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_L, "textures/segment2/font_graphics.05E40.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_M, "textures/segment2/font_graphics.05E80.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_M, "textures/segment2/font_graphics.05E80.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_N, "textures/segment2/font_graphics.05EC0.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_N, "textures/segment2/font_graphics.05EC0.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_O, "textures/segment2/font_graphics.05F00.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_O, "textures/segment2/font_graphics.05F00.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_P, "textures/segment2/font_graphics.05F40.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_P, "textures/segment2/font_graphics.05F40.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_Q, "textures/segment2/font_graphics.05F80.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_Q, "textures/segment2/font_graphics.05F80.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_R, "textures/segment2/font_graphics.05FC0.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_R, "textures/segment2/font_graphics.05FC0.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_S, "textures/segment2/font_graphics.06000.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_S, "textures/segment2/font_graphics.06000.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_T, "textures/segment2/font_graphics.06040.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_T, "textures/segment2/font_graphics.06040.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_U, "textures/segment2/font_graphics.06080.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_U, "textures/segment2/font_graphics.06080.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_V, "textures/segment2/font_graphics.060C0.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_V, "textures/segment2/font_graphics.060C0.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_W, "textures/segment2/font_graphics.06100.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_W, "textures/segment2/font_graphics.06100.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_X, "textures/segment2/font_graphics.06140.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_X, "textures/segment2/font_graphics.06140.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_Y, "textures/segment2/font_graphics.06180.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_Y, "textures/segment2/font_graphics.06180.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_Z, "textures/segment2/font_graphics.061C0.ia4.png", 16, 8, 16), define_builtin_tex_(texture_font_char_us_Z, "textures/segment2/font_graphics.061C0.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_a, "textures/segment2/font_graphics.06200.ia4.png", 16, 8, 16), define_builtin_tex(texture_font_char_us_a, "textures/segment2/font_graphics.06200.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_b, "textures/segment2/font_graphics.06240.ia4.png", 16, 8, 16), define_builtin_tex(texture_font_char_us_b, "textures/segment2/font_graphics.06240.ia4.png", 16, 8, 16),
define_builtin_tex(texture_font_char_us_c, "textures/segment2/font_graphics.06280.ia4.png", 16, 8, 16), define_builtin_tex(texture_font_char_us_c, "textures/segment2/font_graphics.06280.ia4.png", 16, 8, 16),