Hotfix: Resolve Skin Editor and Direct Connect Menu Overlap - v2.1.1

This commit is contained in:
Michael Howard 2026-04-23 19:06:20 -05:00
parent 23f941247d
commit 2bdfbd9fbc
7 changed files with 12 additions and 7 deletions

View File

@ -13,7 +13,11 @@ MorriCraft is a high-performance voxel engine built with C++ and Raylib. It feat
## Version History
### v2.1.0 - Personalization & Stability (Latest)
### v2.1.1 - Interface Isolation (Latest)
* **Menu Collision Fix**: Resolved a state conflict where the Direct Connect menu would draw over the Skin Editor.
* **State Hardening**: Correctly isolated all menu drawing blocks to prevent visual "hijacking" of new interfaces.
### v2.1.0 - Personalization & Stability
* **Integrated Skin Editor**: Personalize your shirt and pants colors directly from the Options menu.
* **Network Skin Sync**: Custom skin colors are now synchronized between all players via an updated handshake protocol.
* **Enhanced World Sync**: Increased chunk rebuild priority and optimized block update broadcasting for real-time consistency.

Binary file not shown.

View File

@ -1 +1 @@
v2.1.0
v2.1.1

Binary file not shown.

View File

@ -1 +1 @@
v2.1.0
v2.1.1

View File

@ -780,7 +780,7 @@ int main(void)
// By default, windows have minimize, maximize, and close buttons on the top bar.
SetConfigFlags(FLAG_WINDOW_RESIZABLE | FLAG_VSYNC_HINT);
InitWindow(screenWidth, screenHeight, "MorriCraft v2.1.0");
InitWindow(screenWidth, screenHeight, "MorriCraft v2.1.1");
LoadConfig();
SetExitKey(KEY_NULL); // Prevent ESC from closing the window
@ -1766,6 +1766,7 @@ int main(void)
}
DrawRectangleRec(doneBtn, GREEN);
DrawTextEx(customFont, "SAVE", (Vector2){ doneBtn.x + 35, doneBtn.y + 10 }, 20, 1.0f, WHITE);
} else if (currentState == CONNECT_MENU) {
DrawRectangle(0, 0, currentWidth, currentHeight, (Color){ 0, 0, 0, 220 });
int cw = 500, ch = 350;
Rectangle cBox = { (float)currentWidth/2 - cw/2, (float)currentHeight/2 - ch/2, (float)cw, (float)ch };
@ -1867,8 +1868,8 @@ int main(void)
DrawTexturePro(titleTexture, sourceRec, destRec, origin, 0.0f, WHITE);
EndMode2D();
// Show Version Number (v2.1.0) in Red
DrawTextEx(customFont, "v2.1.0", (Vector2){ (float)currentWidth - 140, (float)currentHeight - 40 }, 22, 1.0f, RED);
// Show Version Number (v2.1.1) in Red
DrawTextEx(customFont, "v2.1.1", (Vector2){ (float)currentWidth - 140, (float)currentHeight - 40 }, 22, 1.0f, RED);
// --- PLAYER NAME POPUP (IF MISSING) ---
if (playerName == "") {

View File

@ -1 +1 @@
v2.1.0
v2.1.1