aboutsummaryrefslogtreecommitdiff
path: root/libs/nres/src/lib.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-02-04 23:37:59 +0300
committerValentin Popov <valentin@popov.link>2026-02-04 23:37:59 +0300
commitafe6b9a29b1f4b5f116a96fa42ee929e32e530e3 (patch)
treec0f79ef65772e1d66c9bc2d829e6afc74539131c /libs/nres/src/lib.rs
parent6a46fe98258f471311810c214bdd07fbc557c1ac (diff)
downloadfparkan-afe6b9a29b1f4b5f116a96fa42ee929e32e530e3.tar.xz
fparkan-afe6b9a29b1f4b5f116a96fa42ee929e32e530e3.zip
feat: remove Rust project
Diffstat (limited to 'libs/nres/src/lib.rs')
-rw-r--r--libs/nres/src/lib.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/libs/nres/src/lib.rs b/libs/nres/src/lib.rs
deleted file mode 100644
index 40c0b32..0000000
--- a/libs/nres/src/lib.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-/// First constant value of the NRes file ("NRes" characters in numeric)
-pub const FILE_TYPE_1: u32 = 1936020046;
-/// Second constant value of the NRes file
-pub const FILE_TYPE_2: u32 = 256;
-/// Size of the element item (in bytes)
-pub const LIST_ELEMENT_SIZE: u32 = 64;
-/// Minimum allowed file size (in bytes)
-pub const MINIMUM_FILE_SIZE: u32 = 16;
-
-static DEBUG: std::sync::atomic::AtomicBool = std::sync::atomic::AtomicBool::new(false);
-
-mod converter;
-mod error;
-pub mod reader;
-
-/// Get debug status value
-pub fn get_debug() -> bool {
- DEBUG.load(std::sync::atomic::Ordering::Relaxed)
-}
-
-/// Change debug status value
-pub fn set_debug(value: bool) {
- DEBUG.store(value, std::sync::atomic::Ordering::Relaxed)
-}