Tweak Text Wrapping
This commit is contained in:
parent
3132f9442d
commit
56d93f0150
@ -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();
|
||||
|
@ -62,3 +62,4 @@ Python API!
|
||||
Raspberry Pi!
|
||||
It's alive!
|
||||
Now with cake!
|
||||
The bug attractor!
|
@ -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"
|
Loading…
Reference in New Issue
Block a user