strafe-client/lib/deferred_loader/src/lib.rs

35 lines
758 B
Rust
Raw Normal View History

2024-02-13 08:13:04 +00:00
#[cfg(feature="legacy")]
2024-02-14 08:35:11 +00:00
mod roblox_legacy;
#[cfg(feature="legacy")]
mod source_legacy;
2024-02-13 08:13:04 +00:00
#[cfg(feature="roblox")]
mod roblox;
#[cfg(feature="source")]
mod source;
2024-10-01 20:00:54 +00:00
#[cfg(any(feature="roblox",feature="legacy"))]
pub mod rbxassetid;
2024-02-14 03:48:47 +00:00
pub mod texture;
2024-03-13 17:17:59 +00:00
#[cfg(any(feature="source",feature="legacy"))]
2024-02-15 07:45:16 +00:00
pub mod valve_mesh;
2024-03-13 17:17:59 +00:00
#[cfg(any(feature="roblox",feature="legacy"))]
pub mod roblox_mesh;
2024-02-13 08:13:04 +00:00
#[cfg(feature="legacy")]
2024-02-14 08:35:11 +00:00
pub fn roblox_legacy()->roblox_legacy::Loader{
roblox_legacy::Loader::new()
}
#[cfg(feature="legacy")]
pub fn source_legacy()->source_legacy::Loader{
source_legacy::Loader::new()
2024-02-13 08:13:04 +00:00
}
#[cfg(feature="roblox")]
2024-02-14 03:48:47 +00:00
pub fn roblox()->roblox::Loader{
roblox::Loader::new()
2024-02-13 08:13:04 +00:00
}
#[cfg(feature="source")]
2024-02-14 03:48:47 +00:00
pub fn source()->source::Loader{
source::Loader::new()
2024-10-01 20:00:54 +00:00
}