Hotfix: Resolve Menu Freeze caused by incorrect brace nesting - v2.1.4
This commit is contained in:
parent
d8f80b9248
commit
d91ad97868
|
|
@ -13,11 +13,11 @@ MorriCraft is a high-performance voxel engine built with C++ and Raylib. It feat
|
||||||
|
|
||||||
## Version History
|
## Version History
|
||||||
|
|
||||||
### v2.1.3 - Stability & Audio Fallback (Latest)
|
### v2.1.4 - Menu Responsiveness (Latest)
|
||||||
* **Linux Stability Fix**: Resolved a critical PulseAudio crash caused by double audio device initialization.
|
* **Logic Fix**: Corrected state machine nesting that caused menu freezing.
|
||||||
* **Procedural Hit Sound**: Implemented a synthesized audio fallback for the hit effect to ensure combat feedback always works.
|
* **Draw Loop Stability**: Ensured global drawing commands are reached in all UI states.
|
||||||
|
|
||||||
### v2.1.2 - Combat Update
|
### v2.1.3 - Stability & Audio Fallback
|
||||||
|
|
||||||
### v2.1.0 - Personalization & Stability
|
### v2.1.0 - Personalization & Stability
|
||||||
* **Integrated Skin Editor**: Personalize your shirt and pants colors directly from the Options menu.
|
* **Integrated Skin Editor**: Personalize your shirt and pants colors directly from the Options menu.
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
v2.1.3
|
v2.1.4
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
v2.1.3
|
v2.1.4
|
||||||
|
|
|
||||||
|
|
@ -2048,7 +2048,8 @@ int main(void)
|
||||||
Color textColor = isHovered ? (Color){ 255, 255, 160, 255 } : (Color){ 220, 220, 220, 255 };
|
Color textColor = isHovered ? (Color){ 255, 255, 160, 255 } : (Color){ 220, 220, 220, 255 };
|
||||||
DrawTextEx(customFont, buttons[i], (Vector2){ (float)textPosX, (float)textPosY }, fontSize, 1.0f, textColor);
|
DrawTextEx(customFont, buttons[i], (Vector2){ (float)textPosX, (float)textPosY }, fontSize, 1.0f, textColor);
|
||||||
}
|
}
|
||||||
} else if (currentState == LOAD_WORLD_MENU) {
|
}
|
||||||
|
} else if (currentState == LOAD_WORLD_MENU) {
|
||||||
targetZoom = 1.0f;
|
targetZoom = 1.0f;
|
||||||
DrawRectangle(0, 0, currentWidth, currentHeight, (Color){ 0, 0, 0, 180 });
|
DrawRectangle(0, 0, currentWidth, currentHeight, (Color){ 0, 0, 0, 180 });
|
||||||
|
|
||||||
|
|
@ -2475,7 +2476,6 @@ int main(void)
|
||||||
activeHotbarSlot = 0;
|
activeHotbarSlot = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Draw Gameplay overlay if we entered gameplay
|
// Draw Gameplay overlay if we entered gameplay
|
||||||
if (currentState == GAMEPLAY || currentState == PAUSE_MENU || currentState == CRAFTING_GUI) {
|
if (currentState == GAMEPLAY || currentState == PAUSE_MENU || currentState == CRAFTING_GUI) {
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
v2.1.3
|
v2.1.4
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue