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

#[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_gfx_renderer;
#[cfg(feature = "imgui_integration")] #[macro_use] extern crate cstr_macro;

#[macro_use] extern crate log;
#[macro_use] extern crate gfx;
extern crate gfx_gl;
#[macro_use] extern crate downcast_rs;
extern crate getopts;
extern crate sdl2;
extern crate sdl2_sys;
extern crate hashers;
extern crate bit_set;
extern crate bitarray_set;
extern crate typenum;
extern crate nalgebra_glm as glm;

#[cfg(test)] mod tests;

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