Static World Gen and Display for the Overworld #5

Merged
msrd0 merged 21 commits from overworld-house-gen into main 2024-07-06 20:23:25 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit f7e65c6cbb - Show all commits

View file

@ -65,6 +65,7 @@ impl AssetsWriter {
) -> io::Result<()> { ) -> io::Result<()> {
for (group_name, group) in &root.groups { for (group_name, group) in &root.groups {
writeln!(file, "{indent}mod {group_name} {{")?; writeln!(file, "{indent}mod {group_name} {{")?;
writeln!(file, "{indent}\t#[allow(clippy::wildcard_imports)]")?;
writeln!(file, "{indent}\tuse super::*;")?; writeln!(file, "{indent}\tuse super::*;")?;
write_assets_struct(file, group, &format!("{indent}\t"))?; write_assets_struct(file, group, &format!("{indent}\t"))?;
writeln!(file, "}}")?; writeln!(file, "}}")?;

View file

@ -1,6 +1,6 @@
#![warn(rust_2018_idioms)] #![warn(rust_2018_idioms)]
#![forbid(clippy::wildcard_imports, elided_lifetimes_in_paths, unsafe_code)] #![deny(clippy::wildcard_imports)]
#[allow(dead_code, unused_variables)] #![forbid(elided_lifetimes_in_paths, unsafe_code)]
mod assets { mod assets {
include!(env!("ASSETS_RS")); include!(env!("ASSETS_RS"));