diff --git a/assets/voxygen/element/icons/2haxe_m1.vox b/assets/voxygen/element/icons/2haxe_m1.vox new file mode 100644 index 0000000000..cbbb685c06 Binary files /dev/null and b/assets/voxygen/element/icons/2haxe_m1.vox differ diff --git a/assets/voxygen/element/icons/2haxe_m2.vox b/assets/voxygen/element/icons/2haxe_m2.vox new file mode 100644 index 0000000000..cee2dd8470 Binary files /dev/null and b/assets/voxygen/element/icons/2haxe_m2.vox differ diff --git a/assets/voxygen/element/icons/debug_wand_m1.vox b/assets/voxygen/element/icons/debug_wand_m1.vox new file mode 100644 index 0000000000..65e9808fa1 Binary files /dev/null and b/assets/voxygen/element/icons/debug_wand_m1.vox differ diff --git a/assets/voxygen/element/icons/debug_wand_m2.vox b/assets/voxygen/element/icons/debug_wand_m2.vox new file mode 100644 index 0000000000..4d04e746e6 Binary files /dev/null and b/assets/voxygen/element/icons/debug_wand_m2.vox differ diff --git a/assets/voxygen/voxel/sprite/flowers/flower_pink_4.vox b/assets/voxygen/voxel/sprite/flowers/flower_pink_4.vox index cbb78e1f09..02af3de2bc 100644 Binary files a/assets/voxygen/voxel/sprite/flowers/flower_pink_4.vox and b/assets/voxygen/voxel/sprite/flowers/flower_pink_4.vox differ diff --git a/voxygen/src/hud/img_ids.rs b/voxygen/src/hud/img_ids.rs index d4873f5093..0c7fb13710 100644 --- a/voxygen/src/hud/img_ids.rs +++ b/voxygen/src/hud/img_ids.rs @@ -80,7 +80,10 @@ image_ids! { twohsword_m2: "voxygen.element.icons.2hsword_m2", twohhammer_m1: "voxygen.element.icons.2hhammer_m1", twohhammer_m2: "voxygen.element.icons.2hhammer_m2", - + twohaxe_m1: "voxygen.element.icons.2haxe_m1", + twohaxe_m2: "voxygen.element.icons.2haxe_m2", + flyingrod_m1: "voxygen.element.icons.debug_wand_m1", + flyingrod_m2: "voxygen.element.icons.debug_wand_m2", //////////////////////////////////////////////////////////////////////// diff --git a/voxygen/src/hud/minimap.rs b/voxygen/src/hud/minimap.rs index a6805166d2..c0b5bcdd4e 100644 --- a/voxygen/src/hud/minimap.rs +++ b/voxygen/src/hud/minimap.rs @@ -15,6 +15,7 @@ widget_ids! { mmap_frame_bg, mmap_location, mmap_button, + zone_display_bg, zone_display, } } @@ -149,6 +150,11 @@ impl<'a> Widget for MiniMap<'a> { Text::new(state.last_region_name.as_ref().unwrap_or(&"".to_owned())) .mid_top_with_margin_on(ui.window, 200.0) .font_size(80) + .color(Color::Rgba(0.0, 0.0, 0.0, fade)) + .set(state.ids.zone_display_bg, ui); + Text::new(state.last_region_name.as_ref().unwrap_or(&"".to_owned())) + .top_left_with_margins_on(state.ids.zone_display_bg, -2.5, -2.5) + .font_size(80) .color(Color::Rgba(1.0, 1.0, 1.0, fade)) .set(state.ids.zone_display, ui); } diff --git a/voxygen/src/hud/skillbar.rs b/voxygen/src/hud/skillbar.rs index 71e41d5494..d492e76277 100644 --- a/voxygen/src/hud/skillbar.rs +++ b/voxygen/src/hud/skillbar.rs @@ -15,6 +15,8 @@ widget_ids! { struct Ids { death_message_1, death_message_2, + death_message_1_bg, + death_message_2_bg, level_text, next_level_text, xp_bar_mid, @@ -215,13 +217,27 @@ impl<'a> Widget for Skillbar<'a> { Text::new("You Died") .mid_top_with_margin_on(ui.window, 60.0) .font_size(40) + .color(Color::Rgba(0.0, 0.0, 0.0, 1.0)) + .set(state.ids.death_message_1_bg, ui); + Text::new(&format!( + "Press {:?} to respawn.", + self.global_state.settings.controls.respawn + )) + .mid_bottom_with_margin_on(state.ids.death_message_1, -30.0) + .font_size(15) + .color(Color::Rgba(0.0, 0.0, 0.0, 1.0)) + .set(state.ids.death_message_2_bg, ui); + + Text::new("You Died") + .top_left_with_margins_on(state.ids.death_message_1_bg, -2.0, -2.0) + .font_size(40) .color(CRITICAL_HP_COLOR) .set(state.ids.death_message_1, ui); Text::new(&format!( "Press {:?} to respawn.", self.global_state.settings.controls.respawn )) - .mid_bottom_with_margin_on(state.ids.death_message_1, -30.0) + .top_left_with_margins_on(state.ids.death_message_2_bg, -1.5, -1.5) .font_size(15) .color(CRITICAL_HP_COLOR) .set(state.ids.death_message_2, ui); @@ -354,9 +370,11 @@ impl<'a> Widget for Skillbar<'a> { Button::image(match self.stats.equipment.main { Some(Item::Tool { kind, .. }) => match kind { Tool::Sword => self.imgs.twohsword_m1, - _ => self.imgs.twohhammer_m1, + Tool::Hammer => self.imgs.twohhammer_m1, + Tool::Axe => self.imgs.twohaxe_m1, + _ => self.imgs.flyingrod_m1, }, - _ => self.imgs.twohhammer_m1, + _ => self.imgs.flyingrod_m1, }) // Insert Icon here .w_h(38.0 * scale, 38.0 * scale) .middle_of(state.ids.m1_slot_bg) @@ -374,9 +392,11 @@ impl<'a> Widget for Skillbar<'a> { Button::image(match self.stats.equipment.main { Some(Item::Tool { kind, .. }) => match kind { Tool::Sword => self.imgs.twohsword_m2, - _ => self.imgs.twohhammer_m2, + Tool::Hammer => self.imgs.twohhammer_m2, + Tool::Axe => self.imgs.twohaxe_m2, + _ => self.imgs.flyingrod_m2, }, - _ => self.imgs.twohhammer_m2, + _ => self.imgs.flyingrod_m2, }) // Insert Icon here .w_h(38.0 * scale, 38.0 * scale) .middle_of(state.ids.m2_slot_bg) diff --git a/voxygen/src/scene/terrain.rs b/voxygen/src/scene/terrain.rs index 2f10ee1383..5d00b99698 100644 --- a/voxygen/src/scene/terrain.rs +++ b/voxygen/src/scene/terrain.rs @@ -499,7 +499,7 @@ impl Terrain { ( (BlockKind::ShortGrass, 3), make_model( - "voxygen.voxel.sprite.grass.grass_short_3", + "voxygen.voxel.sprite.grass.grass_short_4", Vec3::new(-6.0, -6.0, 0.0), ), ),