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
64
65
66
67
68
69
70
71
72
73
#[cfg(test)] extern crate rand;
#[cfg(all(feature = "imgui_base", feature = "opengl", not(feature = "imgui_opengl")))]
compile_error!("You must enable the \"imgui_opengl\" feature to use \"imgui_base\" with \"opengl\".");
#[cfg(all(feature = "imgui_base", feature = "vulkan", not(feature = "imgui_vulkan")))]
compile_error!("You must enable the \"imgui_vulkan\" feature to use \"imgui_base\" with \"vulkan\".");
#[cfg(feature = "graphical_panic")] extern crate backtrace;
#[cfg(feature = "imgui_base")] extern crate imgui;
#[cfg(feature = "imgui_base")] extern crate imgui_sys;
#[cfg(feature = "imgui_opengl")] extern crate imgui_glium_renderer;
#[cfg(feature = "imgui_base")] #[macro_use] extern crate cstr_macro;
#[macro_use] extern crate try_or;
extern crate failure;
#[macro_use] extern crate failure_derive;
#[macro_use] extern crate log;
#[macro_use] extern crate downcast_rs;
extern crate getopts;
extern crate sdl2;
extern crate sdl2_sys;
extern crate audrey;
extern crate alto;
extern crate hashers;
extern crate bit_set;
extern crate bitarray_set;
extern crate typenum;
extern crate cgmath;
#[cfg(feature = "opengl")] #[macro_use] extern crate glium;
#[cfg(feature = "vulkan")] extern crate gfx_hal;
#[cfg(feature = "vulkan")] extern crate gfx_backend_vulkan;
mod thirdparty;
#[cfg(test)] mod tests;
pub mod doglog;
#[cfg(feature = "imgui_base")] mod imgui_handler;
pub mod audio;
pub mod input;
pub mod scene;
pub mod renderer;
pub mod gameloop;