mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Further LOD object additions
- Airship dock - Coastal house - Coastal workshop
This commit is contained in:
parent
794af0207a
commit
948e7e646f
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,
|
||||
TerracottaHouse,
|
||||
TerracottaYard,
|
||||
AirshipDock,
|
||||
CoastalHouse,
|
||||
CoastalWorkshop,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
|
@ -126,6 +126,18 @@ impl Lod {
|
||||
lod::ObjectKind::TerracottaYard,
|
||||
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(),
|
||||
}
|
||||
|
@ -723,6 +723,21 @@ impl World {
|
||||
Rgb::black(),
|
||||
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,
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user