Changelog

This commit is contained in:
Sam 2021-03-22 18:49:05 -04:00
parent 356bb5baee
commit 7ede94b4c9
2 changed files with 13 additions and 1 deletions

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New Skills for Climbing: Climbing Speed and Climbing Cost - New Skills for Climbing: Climbing Speed and Climbing Cost
- Pickaxes (can be used to collect gems and mine weak rock) - Pickaxes (can be used to collect gems and mine weak rock)
- You can now jump out of rolls for a slight jump boost
### Changed ### Changed

View File

@ -2,7 +2,8 @@ use super::*;
use crate::audio::sfx::SfxEvent; use crate::audio::sfx::SfxEvent;
use common::{ use common::{
comp::{ comp::{
bird_small, humanoid, quadruped_medium, quadruped_small, Body, CharacterState, PhysicsState, bird_small, humanoid, quadruped_medium, quadruped_small, Body, CharacterState, InputKind,
PhysicsState,
}, },
states, states,
terrain::BlockKind, terrain::BlockKind,
@ -184,6 +185,7 @@ fn maps_roll() {
recover_duration: Duration::default(), recover_duration: Duration::default(),
roll_strength: 0.0, roll_strength: 0.0,
immune_melee: false, immune_melee: false,
ability_info: empty_ability_info(),
}, },
timer: Duration::default(), timer: Duration::default(),
stage_section: states::utils::StageSection::Buildup, stage_section: states::utils::StageSection::Buildup,
@ -345,3 +347,12 @@ fn determines_relative_volumes() {
assert!(quadruped_small < quadruped_medium); assert!(quadruped_small < quadruped_medium);
assert!(bird_small < quadruped_small); assert!(bird_small < quadruped_small);
} }
fn empty_ability_info() -> states::utils::AbilityInfo {
states::utils::AbilityInfo {
tool: None,
hand: None,
input: InputKind::Primary,
select_pos: None,
}
}