diff --git a/README.md b/README.md index 35f6d26..311c007 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/build-linux/MorriCraft b/build-linux/MorriCraft index d37dfc2..c5796d8 100755 Binary files a/build-linux/MorriCraft and b/build-linux/MorriCraft differ diff --git a/build-linux/assets/version.txt b/build-linux/assets/version.txt index 1defe53..826e142 100644 --- a/build-linux/assets/version.txt +++ b/build-linux/assets/version.txt @@ -1 +1 @@ -v2.1.0 +v2.1.1 diff --git a/build-windows/MorriCraft.exe b/build-windows/MorriCraft.exe index 5996fe4..3d37989 100755 Binary files a/build-windows/MorriCraft.exe and b/build-windows/MorriCraft.exe differ diff --git a/build-windows/assets/version.txt b/build-windows/assets/version.txt index 1defe53..826e142 100644 --- a/build-windows/assets/version.txt +++ b/build-windows/assets/version.txt @@ -1 +1 @@ -v2.1.0 +v2.1.1 diff --git a/src/main.cpp b/src/main.cpp index f0d71b6..e5cd9f3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 == "") { diff --git a/version.txt b/version.txt index 1defe53..826e142 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v2.1.0 +v2.1.1