Rename cdgen to psxcdgen_ex to limit scope

This commit is contained in:
Jaby
2022-10-06 20:34:59 +02:00
committed by Jaby
parent 5cce2f370e
commit 65ef5ba673
6 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
[package]
name = "psxcdgen_ex"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cdtypes = {path = "../cdtypes"}
tool_helper = {path = "../tool_helper"}

View File

@@ -0,0 +1 @@
pub mod types;

View File

@@ -0,0 +1,4 @@
fn main() {
println!("Planschbecken");
}

View File

@@ -0,0 +1,30 @@
use cdtypes::types::cdstring::DString;
pub struct CDDesc {
root: Directory
}
pub struct PVD {
}
pub struct Directory {
name: DirectoryName,
lba: Option<usize>,
length: Option<usize>,
data: Vec<Data>,
dirs: Vec<Directory>
}
pub struct Data {
name: FileName,
}
pub struct DirectoryName {
name: DString<8>,
}
pub struct FileName {
name: DString<8>,
ext: DString<3>
}