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
53
54
55
56
57
58
59
60
61
62
63
// ! Olive backend
#[path = "backend/b.rs"]
mod b;
//pub mod bcore;
// ! Banana backend
#[path = "backend/a.rs"]
mod a;
//pub mod acore;
// ! core
pub mod core;

// ! libs
#[path = "libs/cursor.rs"]
pub mod cursor;
#[path = "libs/escape/escape.rs"]
pub mod escape;
#[path = "libs/keycode.rs"]
pub mod keycode;
#[path = "libs/keyin.rs"]
pub mod keyin;
#[path = "libs/sys/sys.rs"]
mod sys;
#[path = "libs/terminal.rs"]
pub mod terminal;

// ! map
#[path = "map/loader.rs"]
pub mod loader;
#[path = "map/sprite.rs"]
pub mod sprite;

// ! misc
#[path = "misc/check.rs"]
pub mod check;
#[path = "misc/colour.rs"]
pub mod colour;
// ! physics
#[path = "physics/collision.rs"]
pub mod collision;
#[path = "physics/particle.rs"]
pub mod particle;
#[path = "physics/physics.rs"]
pub mod physics;

// ! UI
#[path = "UI/ui.rs"]
pub mod ui;

// ! TEST
#[path = "test/test.rs"]
mod test;
#[cfg(test)]
mod tests {
    use crate::test;
    #[test]
    fn test() {
        test::t();
    }
    #[test]
    fn test2() {
        test::check_const();
    }
}