diff --git a/mods/src/misc/misc.cpp b/mods/src/misc/misc.cpp index eed8b845..997c4621 100644 --- a/mods/src/misc/misc.cpp +++ b/mods/src/misc/misc.cpp @@ -993,6 +993,9 @@ void init_misc() { patch_vtable(AppPlatform_linux_getDateString, AppPlatform_linux_getDateString_injection); } + // Don't Wrap Text On '\r' Or '\t' Because THey Are Actual Characters In MCPI + patch_address(&Strings::text_wrapping_delimiter, (void *) " \n"); + // Init Logging _init_misc_logging(); _init_misc_api(); diff --git a/mods/src/title-screen/splashes.txt b/mods/src/title-screen/splashes.txt index 5a38f231..00fb2813 100644 --- a/mods/src/title-screen/splashes.txt +++ b/mods/src/title-screen/splashes.txt @@ -62,3 +62,4 @@ Python API! Raspberry Pi! It's alive! Now with cake! +The bug attractor! \ No newline at end of file diff --git a/symbols/src/misc/Strings.def b/symbols/src/misc/Strings.def index fc3571d9..7e19449b 100644 --- a/symbols/src/misc/Strings.def +++ b/symbols/src/misc/Strings.def @@ -1,11 +1,12 @@ // Fake Class To Hold String References -static-property char *default_path = 0xe264; // /.minecraft/ -static-property char *default_username = 0x18fd4; // StevePi -static-property char *minecraft_pi_version = 0x39d94; // v0.1.1 alpha -static-property char *options_txt_path = 0x19bc8; // options.txt -static-property char *options_txt_fopen_mode_when_loading = 0x19d24; // w -static-property char *feedback_vibration_options_txt_name = 0x135d70; // feedback_vibration -static-property char *gfx_lowquality_options_txt_name = 0x135d88; // gfx_lowquality -static-property char *classic_create_button_text = 0x39bec; // Create -static-property char creative_mode_description[31] = 0x104492; // Unlimited resources and flying -static-property char survival_mode_description[34] = 0x104470; // Mobs, health and gather resources +static-property char *default_path = 0xe264; // "/.minecraft/" +static-property char *default_username = 0x18fd4; // "StevePi" +static-property char *minecraft_pi_version = 0x39d94; // "v0.1.1 alpha" +static-property char *options_txt_path = 0x19bc8; // "options.txt" +static-property char *options_txt_fopen_mode_when_loading = 0x19d24; // "w" +static-property char *feedback_vibration_options_txt_name = 0x135d70; // "feedback_vibration" +static-property char *gfx_lowquality_options_txt_name = 0x135d88; // "gfx_lowquality" +static-property char *classic_create_button_text = 0x39bec; // "Create" +static-property char creative_mode_description[31] = 0x104492; // "Unlimited resources and flying" +static-property char survival_mode_description[34] = 0x104470; // "Mobs, health and gather resources" +static-property char *text_wrapping_delimiter = 0x253d0; // " \n\t\r" \ No newline at end of file