mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'treeco/lod-models' into 'master'
Add airship dock and coast town LOD See merge request veloren/veloren!4396
This commit is contained in:
commit
c2bf7c3fc1
BIN
assets/voxygen/lod/airship_dock.obj
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/lod/airship_dock.obj
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/lod/coastal_house.obj
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/lod/coastal_house.obj
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/lod/coastal_workshop.obj
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/lod/coastal_workshop.obj
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -37,6 +37,9 @@ pub enum ObjectKind {
|
|||||||
TerracottaPalace,
|
TerracottaPalace,
|
||||||
TerracottaHouse,
|
TerracottaHouse,
|
||||||
TerracottaYard,
|
TerracottaYard,
|
||||||
|
AirshipDock,
|
||||||
|
CoastalHouse,
|
||||||
|
CoastalWorkshop,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||||
|
@ -126,6 +126,18 @@ impl Lod {
|
|||||||
lod::ObjectKind::TerracottaYard,
|
lod::ObjectKind::TerracottaYard,
|
||||||
make_lod_object("terracotta_yard", renderer),
|
make_lod_object("terracotta_yard", renderer),
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
lod::ObjectKind::AirshipDock,
|
||||||
|
make_lod_object("airship_dock", renderer),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
lod::ObjectKind::CoastalHouse,
|
||||||
|
make_lod_object("coastal_house", renderer),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
lod::ObjectKind::CoastalWorkshop,
|
||||||
|
make_lod_object("coastal_workshop", renderer),
|
||||||
|
),
|
||||||
]
|
]
|
||||||
.into(),
|
.into(),
|
||||||
}
|
}
|
||||||
|
@ -723,6 +723,21 @@ impl World {
|
|||||||
Rgb::black(),
|
Rgb::black(),
|
||||||
lod::ObjectKind::TerracottaYard,
|
lod::ObjectKind::TerracottaYard,
|
||||||
)),
|
)),
|
||||||
|
site2::plot::PlotKind::AirshipDock(_) => Some((
|
||||||
|
site.tile_wpos(plot.root_tile),
|
||||||
|
Rgb::black(),
|
||||||
|
lod::ObjectKind::AirshipDock,
|
||||||
|
)),
|
||||||
|
site2::plot::PlotKind::CoastalHouse(_) => Some((
|
||||||
|
site.tile_wpos(plot.root_tile),
|
||||||
|
Rgb::black(),
|
||||||
|
lod::ObjectKind::CoastalHouse,
|
||||||
|
)),
|
||||||
|
site2::plot::PlotKind::CoastalWorkshop(_) => Some((
|
||||||
|
site.tile_wpos(plot.root_tile),
|
||||||
|
Rgb::black(),
|
||||||
|
lod::ObjectKind::CoastalWorkshop,
|
||||||
|
)),
|
||||||
_ => None,
|
_ => None,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user