summaryrefslogtreecommitdiffstats
path: root/game/client/game.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-03-19 18:07:51 +0500
committeruntodesu <kirill@untode.su>2025-03-19 18:07:51 +0500
commitfddd7f761176bb45cfdd41eeccaeadac22d33ddf (patch)
tree96fdc781f2cd96e769c148e850e411a90ff1ad5b /game/client/game.cc
parent1c138d80ac08dfc48f0916c568f780e15db73834 (diff)
downloadvoxelius-fddd7f761176bb45cfdd41eeccaeadac22d33ddf.tar.bz2
voxelius-fddd7f761176bb45cfdd41eeccaeadac22d33ddf.zip
Fix things and improve worldgen
- Client-side now actually deletes invisible chunks - Improved world generation to use a second noise generator alongside changing how caves are generated (ie what noise they use)
Diffstat (limited to 'game/client/game.cc')
-rw-r--r--game/client/game.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/client/game.cc b/game/client/game.cc
index f7a6349..72e1dc5 100644
--- a/game/client/game.cc
+++ b/game/client/game.cc
@@ -513,8 +513,6 @@ void client_game::update(void)
chunk_mesher::update();
- chunk_visibility::update();
-
client_chat::update();
experiments::update();
@@ -550,6 +548,8 @@ void client_game::update_late(void)
gamepad::update_late();
+ chunk_visibility::update_late();
+
if(client_game::vertical_sync.get_value())
glfwSwapInterval(1);
else glfwSwapInterval(0);