From 26841886fc9177bcd5e6ed75f3ef8b83bc986977 Mon Sep 17 00:00:00 2001 From: "Jakob L. Kreuze" Date: Tue, 29 May 2018 14:53:51 -0400 Subject: Update README --- README.md | 7 ------- src/fmt.rs | 16 +++++++++++----- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 08f9f2e..d193770 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,6 @@ Additionally, existing source ports such as [EDuke32][2] which are built upon Ken Silverman's codebase are filled with legacy cruft and are subject to the restrictions of the BUILD license. -No, I'm not on a zealous [RIIR][3] crusade. I'm mostly using this as an -opportunity to learn about Rust and its ecosystem. Even if you have reservations -about Rust, I'm willing to bet that you'd still prefer this to something written -in Java. - # Roadmap @@ -22,9 +17,7 @@ in Java. - [ ] Implement a VOX parser. - [ ] Implement a PALETTE.DAT parser. - [ ] Implement a TABLES.DAT parser. -- [ ] Get Jon St. John to insult me in person (in Duke's voice). [1]: https://blood-wiki.org/index.php/BloodGDX [2]: http://eduke32.com/ -[3]: https://github.com/ansuz/RIIR diff --git a/src/fmt.rs b/src/fmt.rs index 2129b55..e3a077f 100644 --- a/src/fmt.rs +++ b/src/fmt.rs @@ -142,8 +142,17 @@ impl GroupManager { Ok(()) } - // TODO: Conventional paths for OSX and Windows from EDuke32's - // G_AddSearchPaths. + // TODO: Implement the following additional search paths: + // - The "standard" paths for OSX (See G_AddSearchPaths) + // - The "standard" paths for Windows (See G_AddSearchPaths) + // - Those specified on the command-line. + // - See the CommandPaths and CommandGrps globals in common.cpp + // - The "app dir" on OSX. + // - PROPERLY add the CWD. + // - $HOME/apps/rebuild/ (?) + // - $HOME/.config/rebuild/ + // - Those specified via DUKE3DGRP environment variable. + // - See JBF 20031220 fn init_search_paths(&mut self) { // Initial base paths that don't need a $HOME expansion. let directories = vec![ @@ -176,7 +185,6 @@ impl GroupManager { } } - // What's the .MAP / .ART file format? // // Go to my Build Source Code Page and download BUILDSRC.ZIP. I have a text file @@ -187,7 +195,6 @@ impl GroupManager { // } - // impl Art { // pub fn new(data: &[u8]) -> Result> { // let len = data.len(); @@ -211,7 +218,6 @@ impl GroupManager { // } // } - #[cfg(test)] mod tests { use super::*; -- cgit v1.3