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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#![cfg_attr(feature="clippy", feature(plugin))]
#![cfg_attr(feature="clippy", plugin(clippy))]
#![cfg_attr(all(feature = "nightly", test), feature(test))]
extern crate bytes;
extern crate chrono;
extern crate rand;
extern crate noise;
extern crate piston;
extern crate graphics;
extern crate glutin_window;
extern crate opengl_graphics;
#[macro_use]
extern crate gfx;
extern crate gfx_device_gl;
extern crate piston_window;
extern crate camera_controllers;
extern crate vecmath;
extern crate shader_version;
extern crate nalgebra as na;
#[macro_use]
extern crate slog;
extern crate slog_term;
extern crate slog_async;
extern crate shred;
extern crate specs;
extern crate num_traits;
#[macro_use]
extern crate itertools;
#[cfg(test)]
#[macro_use]
extern crate approx;
extern crate froggy;
extern crate arrayvec;
extern crate futures;
#[macro_use]
extern crate serde_derive;
extern crate serde;
extern crate serde_json;
#[cfg(not(target_os="emscripten"))] extern crate tokio_core;
#[cfg(not(target_os="emscripten"))] extern crate tokio_io;
#[cfg(all(feature = "nightly", test))] extern crate test;
pub mod input_adapter;
pub mod grid;
pub mod globe;
pub mod types;
pub mod app;
pub mod window;
pub mod render;
pub mod simple;
pub mod cell_dweller;
pub mod movement;
pub mod camera;
pub mod net;
mod spatial;
pub use spatial::Spatial;
mod auto_resource;
pub use auto_resource::AutoResource;
mod log_resource;
pub use log_resource::LogResource;
mod app_builder;
pub use app_builder::AppBuilder;
#[cfg(test)]
mod integration_tests;