diff --git a/build-linux/MorriCraft b/build-linux/MorriCraft deleted file mode 100755 index 22d1bb6..0000000 Binary files a/build-linux/MorriCraft and /dev/null differ diff --git a/src/main.cpp b/src/main.cpp index 5ac29e3..a4d0e15 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -82,6 +82,8 @@ static std::string currentWorldName = ""; static std::string playerName = "Player"; static bool serverMode = false; +enum MenuState { MAIN_MENU, OPTIONS_MENU, CREATE_WORLD_MENU, LOAD_WORLD_MENU, GAMEPLAY, PAUSE_MENU, CRAFTING_GUI, CHECKING_UPDATES, UPDATE_NOTES, UPDATE_FOUND, DOWNLOADING_UPDATE }; + // Forward Declarations bool IsExposedOptimized(int lx, int ly, int lz, Chunk* chunk, Chunk* nxM, Chunk* nxP, Chunk* nzM, Chunk* nzP); void RebuildChunkRenderList(Chunk* chunk, int cx, int cz); @@ -671,7 +673,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 v1.8.0"); + InitWindow(screenWidth, screenHeight, "MorriCraft v1.9.0"); LoadConfig(); SetExitKey(KEY_NULL); // Prevent ESC from closing the window @@ -713,7 +715,6 @@ int main(void) float playerVelocityY = 0.0f; bool isGrounded = false; - enum MenuState { MAIN_MENU, OPTIONS_MENU, CREATE_WORLD_MENU, LOAD_WORLD_MENU, GAMEPLAY, PAUSE_MENU, CRAFTING_GUI, CHECKING_UPDATES, UPDATE_NOTES, UPDATE_FOUND, DOWNLOADING_UPDATE }; MenuState currentState = CHECKING_UPDATES; MenuState optionsReturnState = MAIN_MENU;