This commit is contained in:
TheBrokenRail 2022-04-12 22:08:27 -04:00
parent 50eb4801a0
commit 8f49c550ba
4 changed files with 25 additions and 1 deletions

View File

@ -1 +1 @@
2.3.3 2.3.4

View File

@ -1,5 +1,22 @@
# Changelog # Changelog
**2.3.4**
* Make Death Messages Customizable Server-Side
* Fix Q-Key Behavior Behavior When Editing Signs
* Add ``Force Touch Inventory`` Feature Flag (Disabled By Default)
* Add ``Fix Pause Menu`` Feature Flag (Enabled By Default)
* Enables Server Visibility Toggle Button
* Options Changes (Not Supported On Legacy)
* Add ``Fix Options Screen`` Feature Flag (Enabled By Default)
* Adds Options Button To Classic UI Start Screen
* Removes Useless Options Toggles
* Fixes Options Toggles' Default Position
* Store Multiple Settings In `options.txt`
* ``Peaceful Mode`` Feature Flag Moved To ``game_difficulty``
* ``Smooth Lighting`` Feature Flag Moved To ``gfx_ao``
* ``Fancy Graphics`` Feature Flag Moved To ``gfx_fancygraphics``
* ``Disable Hosting LAN Worlds`` Feature Flag Moved To ``mp_server_visible_default``
**2.3.3** **2.3.3**
* Add More Blocks To Expanded Creative Inventory * Add More Blocks To Expanded Creative Inventory
* Add AppStream Metadata * Add AppStream Metadata

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -69,6 +69,7 @@ static std::vector<std::string> OptionsFile_getOptionStrings_injection(unsigned
} }
// Get New options.txt Path // Get New options.txt Path
#ifndef MCPI_SERVER_MODE
static char *get_new_options_txt_path() { static char *get_new_options_txt_path() {
static char *path = NULL; static char *path = NULL;
// Path // Path
@ -82,6 +83,12 @@ static char *get_new_options_txt_path() {
__attribute__((destructor)) static void _free_new_options_txt_path() { __attribute__((destructor)) static void _free_new_options_txt_path() {
free(get_new_options_txt_path()); free(get_new_options_txt_path());
} }
#else
static char *get_new_options_txt_path() {
// Block options.txt On Servers
return (char *) "/dev/null";
}
#endif
// Modify Option Toggles // Modify Option Toggles
static void OptionsPane_unknown_toggle_creating_function_injection(unsigned char *options_pane, unsigned char *unknown_object, std::string const& name, unsigned char *option) { static void OptionsPane_unknown_toggle_creating_function_injection(unsigned char *options_pane, unsigned char *unknown_object, std::string const& name, unsigned char *option) {