Fix Newlines
This commit is contained in:
parent
51bbad15f4
commit
6ae475785e
@ -107,4 +107,3 @@ void init_atlas() {
|
||||
overwrite_call((void *) 0x1e21c, (void *) InventoryPane_renderBatch_Tesselator_color_injection);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -171,4 +171,3 @@ void init_benchmark() {
|
||||
media_disable_vsync();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -372,4 +372,3 @@ void init_bucket() {
|
||||
misc_run_on_language_setup(Language_injection);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -238,4 +238,3 @@ void init_cake() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -46,4 +46,3 @@ void init_camera() {
|
||||
overwrite_call((void *) 0x87dc4, (void *) TripodCamera_tick_Level_addParticle_call_injection);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -99,4 +99,3 @@ void init_chat() {
|
||||
patch((void *) 0x6b4c0, message_limit_patch);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -153,4 +153,3 @@ void _init_chat_ui() {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -17,4 +17,3 @@ void _patch_bcm_host_calls() {
|
||||
overwrite_call((void *) 0x12618, (void *) do_nothing); // vc_dispmanx_element_add
|
||||
overwrite_call((void *) 0x12624, (void *) do_nothing); // vc_dispmanx_update_submit_sync
|
||||
}
|
||||
|
||||
|
@ -140,4 +140,3 @@ void compat_request_exit() {
|
||||
// Request
|
||||
exit_requested = 1;
|
||||
}
|
||||
|
||||
|
@ -38,4 +38,3 @@ void _patch_egl_calls() {
|
||||
patch((void *) 0x12504, nop_patch); // eglDestroySurface #2
|
||||
overwrite_call((void *) 0x12594, (void *) eglCreateContext_injection); // eglCreateContext
|
||||
}
|
||||
|
||||
|
@ -27,4 +27,3 @@ void _patch_x11_calls() {
|
||||
overwrite_call((void *) 0x132a4, (void *) XGetWindowAttributes_injection); // XGetWindowAttributes
|
||||
overwrite_call((void *) 0x132d4, (void *) XTranslateCoordinates_injection); // XTranslateCoordinates
|
||||
}
|
||||
|
||||
|
@ -173,4 +173,3 @@ void init_creative() {
|
||||
patch((void *) 0x8e104, maximize_stack_patch);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -144,4 +144,3 @@ void init_death() {
|
||||
unsigned char ldr_r0_24_patch[4] = {0x24, 0x00, 0x90, 0xe5}; // "ldr r0, [r0, #0x24]"
|
||||
patch((void *) 0x8799c, ldr_r0_24_patch);
|
||||
}
|
||||
|
||||
|
@ -27,4 +27,3 @@ bool _feature_has(const char *name) {
|
||||
// Return
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -52,4 +52,3 @@ void init_fps() {
|
||||
misc_run_on_tick(print_fps);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -76,4 +76,3 @@ void init_game_mode() {
|
||||
patch((void *) 0x6dc70, server_patch);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,4 +31,3 @@ void init_home() {
|
||||
unsigned char nop_patch[4] = {0x00, 0xf0, 0x20, 0xe3}; // "nop"
|
||||
patch((void *) 0xe0ac, nop_patch);
|
||||
}
|
||||
|
||||
|
@ -40,4 +40,3 @@ __attribute__((constructor)) static void init() {
|
||||
init_benchmark();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -63,4 +63,3 @@ void _init_attack() {
|
||||
overwrite_call((void *) 0x8fc24, (void *) Player_attack_Inventory_getSelected_injection);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,4 +31,3 @@ void _init_bow() {
|
||||
fix_bow = feature_has("Fix Bow & Arrow", server_disabled);
|
||||
input_run_on_tick(_handle_bow);
|
||||
}
|
||||
|
||||
|
@ -28,4 +28,3 @@ static void _handle_open_crafting(Minecraft *minecraft) {
|
||||
void _init_crafting() {
|
||||
input_run_on_tick(_handle_open_crafting);
|
||||
}
|
||||
|
||||
|
@ -78,4 +78,3 @@ void _init_drop() {
|
||||
enable_drop = feature_has("Bind \"Q\" Key To Item Dropping", server_disabled);
|
||||
input_run_on_tick(_handle_drop);
|
||||
}
|
||||
|
||||
|
@ -57,4 +57,3 @@ void init_input() {
|
||||
media_set_raw_mouse_motion_enabled(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -115,4 +115,3 @@ void _init_misc() {
|
||||
input_run_on_tick(_handle_back);
|
||||
input_run_on_tick(_handle_mouse_grab);
|
||||
}
|
||||
|
||||
|
@ -97,4 +97,3 @@ void _init_toggle() {
|
||||
overwrite_calls(ParticleEngine_render, ParticleEngine_render_injection);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -183,4 +183,3 @@ void _init_misc_api() {
|
||||
// Handle Key Presses
|
||||
overwrite_calls(Gui_handleKeyPressed, Gui_handleKeyPressed_injection);
|
||||
}
|
||||
|
||||
|
@ -97,4 +97,3 @@ void _init_misc_logging() {
|
||||
// Disable stdout Buffering
|
||||
setvbuf(stdout, nullptr, _IONBF, 0);
|
||||
}
|
||||
|
||||
|
@ -247,7 +247,7 @@ static void LoginPacket_read_injection(LoginPacket_read_t original, LoginPacket
|
||||
// formatting functionality.
|
||||
static RakNet_RakString *RakNet_RakString_injection(RakNet_RakString *rak_string, const char *format, ...) {
|
||||
// Call Original Method
|
||||
return RakNet_RakString_constructor(rak_string, "%s", format);
|
||||
return rak_string->constructor("%s", format);
|
||||
}
|
||||
|
||||
// Print Error Message If RakNet Startup Fails
|
||||
@ -997,4 +997,3 @@ void init_misc() {
|
||||
_init_misc_logging();
|
||||
_init_misc_api();
|
||||
}
|
||||
|
||||
|
@ -133,4 +133,3 @@ void init_multiplayer() {
|
||||
overwrite_virtual_calls(RakNetInstance_pingForHosts, RakNetInstance_pingForHosts_injection);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -247,4 +247,3 @@ void init_options() {
|
||||
// UI
|
||||
_init_options_ui();
|
||||
}
|
||||
|
||||
|
@ -104,4 +104,3 @@ HOOK(fopen64, FILE *, (const char *filename, const char *mode)) {
|
||||
// Return File
|
||||
return file;
|
||||
}
|
||||
|
||||
|
@ -20,4 +20,3 @@ dirent *readdir(DIR *dirp) {
|
||||
new_dirent.d_type = original->d_type;
|
||||
return &new_dirent;
|
||||
}
|
||||
|
||||
|
@ -104,4 +104,3 @@ void screenshot_take(char *home) {
|
||||
free(screenshots);
|
||||
free(pixels);
|
||||
}
|
||||
|
||||
|
@ -594,4 +594,3 @@ void init_server() {
|
||||
set_and_print_env("MCPI_RENDER_DISTANCE", "Tiny");
|
||||
set_and_print_env("MCPI_USERNAME", get_motd().c_str());
|
||||
}
|
||||
|
||||
|
@ -35,4 +35,3 @@ bool ServerProperties::get_bool(std::string const& name, std::string const& def)
|
||||
}
|
||||
return is_true(def);
|
||||
}
|
||||
|
||||
|
@ -55,4 +55,3 @@ void init_sign() {
|
||||
// Handle Backspace
|
||||
overwrite_calls(Common_sdl_key_to_minecraft_key, sdl_key_to_minecraft_key_injection);
|
||||
}
|
||||
|
||||
|
@ -142,4 +142,3 @@ void _init_skin_loader() {
|
||||
// Log
|
||||
DEBUG("Skin Server: %s", get_skin_server().c_str());
|
||||
}
|
||||
|
||||
|
@ -95,4 +95,3 @@ void init_skin() {
|
||||
_init_skin_loader();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -377,4 +377,3 @@ void _sound_resolve_all() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -125,4 +125,3 @@ void init_sound() {
|
||||
overwrite_calls(SoundEngine_init, SoundEngine_init_injection);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,4 +20,3 @@ void run_tests() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -297,4 +297,3 @@ bool TextInputBox::isFocused() {
|
||||
void TextInputBox::setMaxLength(int max_length) {
|
||||
m_maxLength = max_length;
|
||||
}
|
||||
|
||||
|
@ -54,4 +54,3 @@ void TextInputScreen::setup(Screen_vtable *vtable) {
|
||||
delete self->m_textInputs;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -21,4 +21,3 @@ void init_textures() {
|
||||
// Disable Texture Loading
|
||||
overwrite_virtual_calls(AppPlatform_linux_loadTexture, AppPlatform_linux_loadTexture_injection);
|
||||
}
|
||||
|
||||
|
@ -259,4 +259,3 @@ void _init_textures_lava(bool animated_water_param, bool animated_lava_param, bo
|
||||
animated_fire = animated_fire_param;
|
||||
overwrite_call((void *) 0x170b4, (void *) Textures_addDynamicTexture_injection);
|
||||
}
|
||||
|
||||
|
@ -236,4 +236,3 @@ void init_textures() {
|
||||
// Load Textures
|
||||
overwrite_virtual_calls(AppPlatform_linux_loadTexture, AppPlatform_linux_loadTexture_injection);
|
||||
}
|
||||
|
||||
|
@ -166,4 +166,3 @@ void init_title_screen() {
|
||||
srand(time(nullptr));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -106,4 +106,3 @@ void init_touch() {
|
||||
unsigned char outline_patch[4] = {(unsigned char) (block_outlines ? !touch_gui : touch_gui), 0x00, 0x50, 0xe3}; // "cmp r0, #0x1" or "cmp r0, #0x0"
|
||||
patch((void *) 0x4a210, outline_patch);
|
||||
}
|
||||
|
||||
|
@ -35,4 +35,3 @@ void init_version() {
|
||||
// Log
|
||||
INFO("Starting Minecraft: Pi Edition (%s)", version_get());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user