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

#[cfg(test)] extern crate rand;

#[cfg(feature = "graphical_panic")] extern crate backtrace;

#[cfg(feature = "imgui_integration")] extern crate imgui;
#[cfg(feature = "imgui_integration")] extern crate imgui_sys;
#[cfg(feature = "imgui_integration")] extern crate imgui_glium_renderer;
#[cfg(feature = "imgui_integration")] #[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 glium;
#[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 nalgebra_glm as glm;

mod thirdparty;
#[cfg(test)] mod tests;

pub mod doglog;
#[cfg(feature = "imgui_integration")] mod imgui_handler;
pub mod audio;
pub mod input;
pub mod scene;
pub mod renderer;
pub mod gameloop;