aboutsummaryrefslogtreecommitdiff
path: root/client/src/lib.rs
blob: 3c19df7b5cce5b46a225d1d90e1aff5f613cd6ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#![feature(exclusive_range_pattern)]

pub mod client;
pub mod world;

#[cfg(feature = "gamenet_ddnet_0_6")]
pub extern crate gamenet_ddnet as gamenet;
#[cfg(feature = "gamenet_0_5")]
pub extern crate gamenet_teeworlds_0_5 as gamenet;
#[cfg(feature = "gamenet_0_6")]
pub extern crate gamenet_teeworlds_0_6 as gamenet;
#[cfg(feature = "gamenet_0_7")]
pub extern crate gamenet_teeworlds_0_7 as gamenet;


use std::sync::atomic::AtomicBool;

use lazy_static::lazy_static;
lazy_static! {
    pub static ref SHOULD_EXIT: AtomicBool = AtomicBool::new(false);
}