From dec418d1a42b1bf3dbc9e5a3dbb334f155253a7f Mon Sep 17 00:00:00 2001 From: Pfauenauge90 <44173739+Pfauenauge90@users.noreply.github.com> Date: Wed, 25 Sep 2019 11:09:45 +0200 Subject: [PATCH] char selection time and VD changed --- voxygen/src/menu/char_selection/scene.rs | 7 ++++--- voxygen/src/settings.rs | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/voxygen/src/menu/char_selection/scene.rs b/voxygen/src/menu/char_selection/scene.rs index c54a74661f..89943e5177 100644 --- a/voxygen/src/menu/char_selection/scene.rs +++ b/voxygen/src/menu/char_selection/scene.rs @@ -120,7 +120,8 @@ impl Scene { .set_orientation(Vec3::new(client.state().get_time() as f32 * 0.0, 0.0, 0.0)); let (view_mat, proj_mat, cam_pos) = self.camera.compute_dependents(client); - const CHAR_SELECT_TIME_OF_DAY: f32 = 80000.0; // 12*3600 seconds + const VD: f32 = 115.0; //View Distance + const TIME: f64 = 36000.0; // hours*3600 seconds if let Err(err) = renderer.update_consts( &mut self.globals, &[Globals::new( @@ -128,8 +129,8 @@ impl Scene { proj_mat, cam_pos, self.camera.get_focus_pos(), - CHAR_SELECT_TIME_OF_DAY, - 55800.0, + VD, + TIME, client.state().get_time(), renderer.get_resolution(), 0, diff --git a/voxygen/src/settings.rs b/voxygen/src/settings.rs index 7e03831b18..6170507271 100644 --- a/voxygen/src/settings.rs +++ b/voxygen/src/settings.rs @@ -193,7 +193,7 @@ impl Default for AudioSettings { music_volume: 0.4, sfx_volume: 0.6, audio_device: None, - audio_on: false, + audio_on: true, } } }