1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#[cfg(feature = "parallel")]
extern crate rayon;
#[macro_use]
extern crate lazy_static;
extern crate typid;
#[macro_use]
extern crate pest_derive;

#[macro_use]
pub mod log;
pub mod app;
pub mod assets;
pub mod error;
pub mod fetch;
pub mod hierarchy;
pub mod prefab;
pub mod state;
#[macro_use]
pub mod localization;
pub mod storage;

#[cfg(test)]
mod tests;

pub mod id {
    pub use typid::*;
}

pub mod ecs {
    pub use shred::Resource;
    pub use shrev::*;
    pub use specs::*;
}

pub mod ignite {
    pub use oxygengine_ignite_types as types;
}

pub mod prelude {
    pub use crate::{
        app::*, assets::prelude::*, ecs::*, fetch::prelude::*, fetch::*, hierarchy::*, id::*,
        localization::*, log::*, prefab::*, state::*, storage::prelude::*, storage::*, Ignite,
        Scalar,
    };
}

#[cfg(feature = "scalar64")]
pub type Scalar = f64;
#[cfg(not(feature = "scalar64"))]
pub type Scalar = f32;

pub use oxygengine_ignite_derive::{ignite_proxy, Ignite};