Hotfix: Resolve Skin Editor and Direct Connect Menu Overlap - v2.1.1
This commit is contained in:
parent
23f941247d
commit
2bdfbd9fbc
|
|
@ -13,7 +13,11 @@ MorriCraft is a high-performance voxel engine built with C++ and Raylib. It feat
|
||||||
|
|
||||||
## Version History
|
## 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.
|
* **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.
|
* **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.
|
* **Enhanced World Sync**: Increased chunk rebuild priority and optimized block update broadcasting for real-time consistency.
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
v2.1.0
|
v2.1.1
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
v2.1.0
|
v2.1.1
|
||||||
|
|
|
||||||
|
|
@ -780,7 +780,7 @@ int main(void)
|
||||||
// By default, windows have minimize, maximize, and close buttons on the top bar.
|
// By default, windows have minimize, maximize, and close buttons on the top bar.
|
||||||
SetConfigFlags(FLAG_WINDOW_RESIZABLE | FLAG_VSYNC_HINT);
|
SetConfigFlags(FLAG_WINDOW_RESIZABLE | FLAG_VSYNC_HINT);
|
||||||
|
|
||||||
InitWindow(screenWidth, screenHeight, "MorriCraft v2.1.0");
|
InitWindow(screenWidth, screenHeight, "MorriCraft v2.1.1");
|
||||||
LoadConfig();
|
LoadConfig();
|
||||||
SetExitKey(KEY_NULL); // Prevent ESC from closing the window
|
SetExitKey(KEY_NULL); // Prevent ESC from closing the window
|
||||||
|
|
||||||
|
|
@ -1766,6 +1766,7 @@ int main(void)
|
||||||
}
|
}
|
||||||
DrawRectangleRec(doneBtn, GREEN);
|
DrawRectangleRec(doneBtn, GREEN);
|
||||||
DrawTextEx(customFont, "SAVE", (Vector2){ doneBtn.x + 35, doneBtn.y + 10 }, 20, 1.0f, WHITE);
|
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 });
|
DrawRectangle(0, 0, currentWidth, currentHeight, (Color){ 0, 0, 0, 220 });
|
||||||
int cw = 500, ch = 350;
|
int cw = 500, ch = 350;
|
||||||
Rectangle cBox = { (float)currentWidth/2 - cw/2, (float)currentHeight/2 - ch/2, (float)cw, (float)ch };
|
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);
|
DrawTexturePro(titleTexture, sourceRec, destRec, origin, 0.0f, WHITE);
|
||||||
EndMode2D();
|
EndMode2D();
|
||||||
|
|
||||||
// Show Version Number (v2.1.0) in Red
|
// Show Version Number (v2.1.1) in Red
|
||||||
DrawTextEx(customFont, "v2.1.0", (Vector2){ (float)currentWidth - 140, (float)currentHeight - 40 }, 22, 1.0f, RED);
|
DrawTextEx(customFont, "v2.1.1", (Vector2){ (float)currentWidth - 140, (float)currentHeight - 40 }, 22, 1.0f, RED);
|
||||||
|
|
||||||
// --- PLAYER NAME POPUP (IF MISSING) ---
|
// --- PLAYER NAME POPUP (IF MISSING) ---
|
||||||
if (playerName == "") {
|
if (playerName == "") {
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
v2.1.0
|
v2.1.1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue