aboutsummaryrefslogtreecommitdiff
path: root/libnres/src/lib.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-02-08 04:11:02 +0300
committerValentin Popov <valentin@popov.link>2025-02-08 04:11:02 +0300
commit8d8653133bf3a12ac58c0e4f34624e9beac11751 (patch)
treeac0831704db9f138a90872b530eabda457db1829 /libnres/src/lib.rs
parent94d2f8a512312b8aff25672760b687e6d90c1ec9 (diff)
downloadfparkan-8d8653133bf3a12ac58c0e4f34624e9beac11751.tar.xz
fparkan-8d8653133bf3a12ac58c0e4f34624e9beac11751.zip
Обновление структуры проекта
Diffstat (limited to 'libnres/src/lib.rs')
-rw-r--r--libnres/src/lib.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/libnres/src/lib.rs b/libnres/src/lib.rs
deleted file mode 100644
index 40c0b32..0000000
--- a/libnres/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)
-}