mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Updated changelog
This commit is contained in:
parent
db741fe4c0
commit
657ac45288
@ -22,6 +22,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Stealth stat values on (some) armors
|
- Stealth stat values on (some) armors
|
||||||
- All new dismantling interface found at your nearest dismantling staion
|
- All new dismantling interface found at your nearest dismantling staion
|
||||||
- Wearable headgear, including hood, crown, bandanas
|
- Wearable headgear, including hood, crown, bandanas
|
||||||
|
- Bomb sprites (can be exploded with arrows or other explosions)
|
||||||
|
- Campfire waypoints in towns
|
||||||
|
- Arbitrary volume entities
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@ use crate::{
|
|||||||
consts::{AIR_DENSITY, WATER_DENSITY},
|
consts::{AIR_DENSITY, WATER_DENSITY},
|
||||||
make_case_elim,
|
make_case_elim,
|
||||||
terrain::{Block, BlockKind, SpriteKind},
|
terrain::{Block, BlockKind, SpriteKind},
|
||||||
volumes::dyna::Dyna,
|
|
||||||
};
|
};
|
||||||
use rand::prelude::SliceRandom;
|
use rand::prelude::SliceRandom;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
@ -245,13 +244,15 @@ pub mod figuredata {
|
|||||||
#[test]
|
#[test]
|
||||||
fn test_ship_manifest_entries() {
|
fn test_ship_manifest_entries() {
|
||||||
for body in super::ALL_BODIES {
|
for body in super::ALL_BODIES {
|
||||||
assert!(
|
if let Some(entry) = body.manifest_entry() {
|
||||||
VOXEL_COLLIDER_MANIFEST
|
assert!(
|
||||||
.read()
|
VOXEL_COLLIDER_MANIFEST
|
||||||
.colliders
|
.read()
|
||||||
.get(body.manifest_entry())
|
.colliders
|
||||||
.is_some()
|
.get(entry)
|
||||||
);
|
.is_some()
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ use common::{
|
|||||||
generation::EntityInfo,
|
generation::EntityInfo,
|
||||||
npc::{self, get_npc_name},
|
npc::{self, get_npc_name},
|
||||||
resources::{BattleMode, PlayerPhysicsSettings, Time, TimeOfDay},
|
resources::{BattleMode, PlayerPhysicsSettings, Time, TimeOfDay},
|
||||||
terrain::{Block, BlockKind, SpriteKind, TerrainChunkSize, TerrainGrid},
|
terrain::{Block, BlockKind, SpriteKind, TerrainChunkSize},
|
||||||
uid::Uid,
|
uid::Uid,
|
||||||
vol::{ReadVol, RectVolSize},
|
vol::{ReadVol, RectVolSize},
|
||||||
Damage, DamageKind, DamageSource, Explosion, LoadoutBuilder, RadiusEffect,
|
Damage, DamageKind, DamageSource, Explosion, LoadoutBuilder, RadiusEffect,
|
||||||
@ -1302,10 +1302,9 @@ fn handle_make_volume(
|
|||||||
_action: &ChatCommand,
|
_action: &ChatCommand,
|
||||||
) -> CmdResult<()> {
|
) -> CmdResult<()> {
|
||||||
use comp::body::ship::figuredata::VoxelCollider;
|
use comp::body::ship::figuredata::VoxelCollider;
|
||||||
use rand::prelude::*;
|
|
||||||
|
|
||||||
//let () = parse_args!(args);
|
//let () = parse_args!(args);
|
||||||
let mut pos = position(server, target, "target")?;
|
let pos = position(server, target, "target")?;
|
||||||
let ship = comp::ship::Body::Volume;
|
let ship = comp::ship::Body::Volume;
|
||||||
let sz = Vec3::new(15, 15, 15);
|
let sz = Vec3::new(15, 15, 15);
|
||||||
let collider = {
|
let collider = {
|
||||||
|
@ -52,6 +52,7 @@ use core::{
|
|||||||
use guillotiere::AtlasAllocator;
|
use guillotiere::AtlasAllocator;
|
||||||
use hashbrown::HashMap;
|
use hashbrown::HashMap;
|
||||||
use specs::{saveload::MarkerAllocator, Entity as EcsEntity, Join, LazyUpdate, WorldExt};
|
use specs::{saveload::MarkerAllocator, Entity as EcsEntity, Join, LazyUpdate, WorldExt};
|
||||||
|
use std::sync::Arc;
|
||||||
use treeculler::{BVol, BoundingSphere};
|
use treeculler::{BVol, BoundingSphere};
|
||||||
use vek::*;
|
use vek::*;
|
||||||
|
|
||||||
@ -4785,7 +4786,7 @@ impl FigureMgr {
|
|||||||
&mut self.col_lights,
|
&mut self.col_lights,
|
||||||
vk,
|
vk,
|
||||||
inventory,
|
inventory,
|
||||||
vol.clone(),
|
Arc::clone(vol),
|
||||||
tick,
|
tick,
|
||||||
player_camera_mode,
|
player_camera_mode,
|
||||||
player_character_state,
|
player_character_state,
|
||||||
|
@ -10,7 +10,6 @@ use common::{
|
|||||||
vol::ReadVol,
|
vol::ReadVol,
|
||||||
};
|
};
|
||||||
use std::{convert::TryFrom, sync::Arc};
|
use std::{convert::TryFrom, sync::Arc};
|
||||||
use vek::*;
|
|
||||||
|
|
||||||
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
|
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
|
||||||
pub struct VolumeKey {
|
pub struct VolumeKey {
|
||||||
@ -39,7 +38,7 @@ impl anim::Skeleton for VolumeKey {
|
|||||||
) -> anim::Offsets {
|
) -> anim::Offsets {
|
||||||
let scale_mat = anim::vek::Mat4::scaling_3d(1.0 / 11.0);
|
let scale_mat = anim::vek::Mat4::scaling_3d(1.0 / 11.0);
|
||||||
|
|
||||||
let bone = base_mat * scale_mat; // * anim::vek::Mat4::<f32>::identity();
|
let bone = base_mat * scale_mat;
|
||||||
|
|
||||||
*(<&mut [_; Self::BONE_COUNT]>::try_from(&mut buf[0..Self::BONE_COUNT]).unwrap()) = [
|
*(<&mut [_; Self::BONE_COUNT]>::try_from(&mut buf[0..Self::BONE_COUNT]).unwrap()) = [
|
||||||
anim::make_bone(bone),
|
anim::make_bone(bone),
|
||||||
|
Loading…
Reference in New Issue
Block a user