better lighting
This commit is contained in:
parent
805a2713a3
commit
6ed4e17065
75 changed files with 6417 additions and 3667 deletions
|
|
@ -77,6 +77,18 @@ impl ClientChunkState {
|
|||
self.pending.clear();
|
||||
self.pending_messages.clear();
|
||||
}
|
||||
|
||||
pub fn clear_known_vxl(&mut self) {
|
||||
self.known.retain(|id, _| !matches!(id, ChunkId::Vxl(_, _, _)));
|
||||
}
|
||||
|
||||
pub fn clear_known_bsp(&mut self) {
|
||||
self.known.retain(|id, _| !matches!(id, ChunkId::Bsp(_)));
|
||||
}
|
||||
|
||||
pub fn forget(&mut self, id: &ChunkId) {
|
||||
self.known.remove(id);
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for ClientChunkState {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue