diff --git a/CHANGELOG.md b/CHANGELOG.md index 14c6a72f5e..a34bfbec53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - New danari character customizations - Bald hairstyles for humans and danari - AI for sceptre weilders and sceptre cultists in Tier 5 dungeons +- HUD debug info now displays current biome and site ### Changed diff --git a/voxygen/src/hud/mod.rs b/voxygen/src/hud/mod.rs index b5093d4e2a..cff229470b 100644 --- a/voxygen/src/hud/mod.rs +++ b/voxygen/src/hud/mod.rs @@ -239,6 +239,8 @@ widget_ids! { num_lights, num_figures, num_particles, + current_biome, + current_site, graphics_backend, gpu_timings[], @@ -2188,10 +2190,26 @@ impl Hud { .font_size(self.fonts.cyri.scale(14)) .set(self.ids.num_chunks, ui_widgets); + // Type of biome + Text::new(&format!("Biome: {:?}", client.current_biome())) + .color(TEXT_COLOR) + .down_from(self.ids.num_chunks, 5.0) + .font_id(self.fonts.cyri.conrod_id) + .font_size(self.fonts.cyri.scale(14)) + .set(self.ids.current_biome, ui_widgets); + + // Type of site + Text::new(&format!("Site: {:?}", client.current_site())) + .color(TEXT_COLOR) + .down_from(self.ids.current_biome, 5.0) + .font_id(self.fonts.cyri.conrod_id) + .font_size(self.fonts.cyri.scale(14)) + .set(self.ids.current_site, ui_widgets); + // Number of lights Text::new(&format!("Lights: {}", debug_info.num_lights,)) .color(TEXT_COLOR) - .down_from(self.ids.num_chunks, 5.0) + .down_from(self.ids.current_site, 5.0) .font_id(self.fonts.cyri.conrod_id) .font_size(self.fonts.cyri.scale(14)) .set(self.ids.num_lights, ui_widgets);