diff --git a/.vscode/settings.json b/.vscode/settings.json index f2468ad8..4ac13f83 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -22,7 +22,8 @@ "image cache", "tilemap", "config", - "audio" + "audio", + "i18" ], "rust-analyzer.showUnlinkedFileNotification": false, "rust-analyzer.cargo.extraEnv": { diff --git a/src/cache/data.rs b/src/cache/data.rs index 7aa65565..180d632b 100644 --- a/src/cache/data.rs +++ b/src/cache/data.rs @@ -24,7 +24,6 @@ use crate::prelude::*; use core::ops::{Deref, DerefMut}; -use dashmap::DashMap; #[derive(Default, Debug)] pub struct Cache { diff --git a/src/main.rs b/src/main.rs index e9c21838..e2ff240e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,6 +25,8 @@ // Program grant you additional permission to convey the resulting work. #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release +use luminol::fl; + fn main() { #[cfg(feature = "steamworks")] if let Err(e) = luminol::steam::Steamworks::setup() { diff --git a/src/prelude.rs b/src/prelude.rs index db5b7894..f90abc3d 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -71,3 +71,5 @@ pub use rmxp_types::*; #[cfg(feature = "steamworks")] pub use crate::steam::Steamworks; + +pub use crate::fl; diff --git a/src/windows/script_edit.rs b/src/windows/script_edit.rs index 96f6e705..d8378ae0 100644 --- a/src/windows/script_edit.rs +++ b/src/windows/script_edit.rs @@ -22,7 +22,6 @@ // terms of the Steamworks API by Valve Corporation, the licensors of this // Program grant you additional permission to convey the resulting work. -use crate::fl; pub use crate::prelude::*; /// The script editor.