Small Tweaks
This commit is contained in:
parent
f25a2adcef
commit
6cfc1a7e20
@ -23,6 +23,7 @@
|
|||||||
* `Force Survival Mode Inventory UI` (Disabled By Default)
|
* `Force Survival Mode Inventory UI` (Disabled By Default)
|
||||||
* `Force Survival Mode Inventory Behavior` (Disabled By Default)
|
* `Force Survival Mode Inventory Behavior` (Disabled By Default)
|
||||||
* `Maximize Creative Mode Inventory Stack Size` (Disabled By Default)
|
* `Maximize Creative Mode Inventory Stack Size` (Disabled By Default)
|
||||||
|
* Rename `Disable Buggy Held Item Caching` Feature Flag To `Fix Held Item Caching`
|
||||||
* Add Milk Buckets
|
* Add Milk Buckets
|
||||||
* Implement Crafting Remainders
|
* Implement Crafting Remainders
|
||||||
* Improve Death Messages
|
* Improve Death Messages
|
||||||
|
@ -64,6 +64,6 @@ FALSE Food Overlay
|
|||||||
TRUE Add Splashes
|
TRUE Add Splashes
|
||||||
TRUE Display Date In Select World Screen
|
TRUE Display Date In Select World Screen
|
||||||
TRUE Optimized Chunk Sorting
|
TRUE Optimized Chunk Sorting
|
||||||
TRUE Disable Buggy Held Item Caching
|
TRUE Fix Held Item Caching
|
||||||
TRUE Add Reborn Info To Options
|
TRUE Add Reborn Info To Options
|
||||||
FALSE Track FPS
|
FALSE Track FPS
|
@ -578,7 +578,7 @@ static void glColor4f_injection(__attribute__((unused)) GLfloat red, __attribute
|
|||||||
line_width = strtof(custom_line_width, nullptr);
|
line_width = strtof(custom_line_width, nullptr);
|
||||||
} else {
|
} else {
|
||||||
// Guess
|
// Guess
|
||||||
line_width = 2 / Gui_InvGuiScale;
|
line_width = 1.5f / Gui_InvGuiScale;
|
||||||
}
|
}
|
||||||
// Clamp Line Width
|
// Clamp Line Width
|
||||||
float range[2];
|
float range[2];
|
||||||
@ -959,7 +959,7 @@ void init_misc() {
|
|||||||
overwrite_calls(Player_stopUsingItem, Player_stopUsingItem_injection);
|
overwrite_calls(Player_stopUsingItem, Player_stopUsingItem_injection);
|
||||||
|
|
||||||
// Fix invalid ItemInHandRenderer texture cache
|
// Fix invalid ItemInHandRenderer texture cache
|
||||||
if (feature_has("Disable Buggy Held Item Caching", server_disabled)) {
|
if (feature_has("Fix Held Item Caching", server_disabled)) {
|
||||||
// This works by forcing MCPI to always use the branch that enables using the
|
// This works by forcing MCPI to always use the branch that enables using the
|
||||||
// cache, but then patches that as well to do the opposite
|
// cache, but then patches that as well to do the opposite
|
||||||
uchar ensure_equal_patch[] = {0x07, 0x00, 0x57, 0xe1}; // "cmp r7, r7"
|
uchar ensure_equal_patch[] = {0x07, 0x00, 0x57, 0xe1}; // "cmp r7, r7"
|
||||||
|
Loading…
Reference in New Issue
Block a user