From 8056312c39978c49895beb42a14593822bb06679 Mon Sep 17 00:00:00 2001 From: cadmic Date: Sun, 15 Dec 2024 09:22:45 -0800 Subject: [PATCH] =?UTF-8?q?Remove=20=E2=80=BE=20character=20from=20source?= =?UTF-8?q?=20files=20(#2371)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/text/charmap.txt | 1 - src/code/PreRender.c | 4 ++-- src/code/z_message.c | 2 +- src/overlays/actors/ovl_Bg_Gnd_Iceblock/z_bg_gnd_iceblock.c | 2 +- tools/extract_text.py | 1 - 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/assets/text/charmap.txt b/assets/text/charmap.txt index a6c94bee28..1e7260a7c7 100644 --- a/assets/text/charmap.txt +++ b/assets/text/charmap.txt @@ -23,7 +23,6 @@ # Possibly from a SHIFT-JIS extension, python doesn't have builtin support '┯' : (None, 0x86D3), - '‾' : (0x7F, None), 'À' : (0x80, None), 'î' : (0x81, None), 'Â' : (0x82, None), diff --git a/src/code/PreRender.c b/src/code/PreRender.c index d8d96d1b8c..8e002a5a18 100644 --- a/src/code/PreRender.c +++ b/src/code/PreRender.c @@ -522,11 +522,11 @@ void PreRender_CopyImageRegion(PreRender* this, Gfx** gfxP) { * This filter performs a linear interpolation on partially covered pixels between the current pixel color (called * foreground color) and a "background" pixel color obtained by sampling fully covered pixels at the six highlighted * points in the following 5x3 neighborhood: - * _ _ _ _ _ + * - - - - - * | o o | * | o X o | * | o o | - * ‾ ‾ ‾ ‾ ‾ + * - - - - - * Whether a pixel is partially covered is determined by reading the coverage values associated with the image. * Coverage is a measure of how many subpixels the last drawn primitive covered. A fully covered pixel is one with a * full coverage value, the entire pixel was covered by the primitive. diff --git a/src/code/z_message.c b/src/code/z_message.c index 35e30abda5..610396ff89 100644 --- a/src/code/z_message.c +++ b/src/code/z_message.c @@ -905,7 +905,7 @@ f32 sFontWidths[144] = { 5.0f, // '|' 7.0f, // '}' 10.0f, // '~' - 10.0f, // '‾' + 10.0f, // ' ' 12.0f, // 'À' #if OOT_NTSC 12.0f, // 'î' diff --git a/src/overlays/actors/ovl_Bg_Gnd_Iceblock/z_bg_gnd_iceblock.c b/src/overlays/actors/ovl_Bg_Gnd_Iceblock/z_bg_gnd_iceblock.c index c98f0b9755..0711124304 100644 --- a/src/overlays/actors/ovl_Bg_Gnd_Iceblock/z_bg_gnd_iceblock.c +++ b/src/overlays/actors/ovl_Bg_Gnd_Iceblock/z_bg_gnd_iceblock.c @@ -84,7 +84,7 @@ void BgGndIceblock_Destroy(Actor* thisx, PlayState* play) { * | 3 h8 15 19 | * | 4 9 11 XX *20*| * |*5* XX 12 *21*| - * ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ + * ---------------------- * XX are rocks * ** are pits * h is the hole. diff --git a/tools/extract_text.py b/tools/extract_text.py index 3422988a6c..50b6923732 100755 --- a/tools/extract_text.py +++ b/tools/extract_text.py @@ -1814,7 +1814,6 @@ class MessageDecoderNES(MessageDecoder): 0x1F : ("TIME", "", None), } extraction_charmap = { - 0x7F : '‾', 0x80 : 'À', 0x81 : 'î', 0x82 : 'Â',