mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Implemented Treeco's z-only LoD suggestion
This commit is contained in:
parent
5bdc420726
commit
8bf5709ddf
File diff suppressed because it is too large
Load Diff
@ -140,16 +140,17 @@ impl Civs {
|
||||
e * sz as i32 + sz as i32 / 2
|
||||
});
|
||||
|
||||
let mut rng = ctx.reseed().rng;
|
||||
let world_site = match &site.kind {
|
||||
SiteKind::Settlement => WorldSite::from(Settlement::generate(
|
||||
wpos,
|
||||
Some(ctx.sim),
|
||||
&mut ctx.reseed().rng,
|
||||
&mut rng,
|
||||
)),
|
||||
SiteKind::Dungeon => WorldSite::from(Dungeon::generate(
|
||||
wpos,
|
||||
Some(ctx.sim),
|
||||
&mut ctx.reseed().rng,
|
||||
&mut rng,
|
||||
)),
|
||||
};
|
||||
|
||||
|
@ -207,7 +207,7 @@ impl Archetype for House {
|
||||
let floor = make_block(100, 75, 50);
|
||||
let wall = make_block(200, 180, 150).with_priority(facade_layer);
|
||||
let roof = make_block(self.roof_color.r, self.roof_color.g, self.roof_color.b)
|
||||
.with_priority(facade_layer);
|
||||
.with_priority(facade_layer - 1);
|
||||
let empty = BlockMask::nothing();
|
||||
let internal = BlockMask::new(Block::empty(), structural_layer);
|
||||
let end_window = BlockMask::new(
|
||||
|
Loading…
Reference in New Issue
Block a user