mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-12 09:59:05 +02:00
minedmap: write info.json file with tilemap metadata
With this change, the new minedmap implementation can generate all necessary data for the frontend to work.
This commit is contained in:
parent
429b7888f6
commit
757f6ff166
5 changed files with 143 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
mod common;
|
||||
mod metadata_writer;
|
||||
mod region_processor;
|
||||
mod tile_mipmapper;
|
||||
mod tile_renderer;
|
||||
|
@ -9,6 +10,7 @@ use anyhow::Result;
|
|||
use clap::Parser;
|
||||
|
||||
use common::Config;
|
||||
use metadata_writer::MetadataWriter;
|
||||
use region_processor::RegionProcessor;
|
||||
use tile_mipmapper::TileMipmapper;
|
||||
use tile_renderer::TileRenderer;
|
||||
|
@ -27,7 +29,8 @@ fn main() -> Result<()> {
|
|||
|
||||
let regions = RegionProcessor::new(&config).run()?;
|
||||
TileRenderer::new(&config).run(®ions)?;
|
||||
TileMipmapper::new(&config).run(®ions)?;
|
||||
let tiles = TileMipmapper::new(&config).run(®ions)?;
|
||||
MetadataWriter::new(&config).run(tiles)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue