aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-core/src/lib.rs
blob: 5ee4e49750c99e2a2ddfabe9e1953a54b4ed560c (plain)
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
//! # RST Node Core
//!
//! RST Node is a real-time strategy game about computers on a
//! network, fighting for dominance against a set of other network
//! operators.  To operate a successful network you need to build
//! infrastructure, compute clusters, and defences on edge nodes.
//!
//! The game architecture is split between the game client and game
//! server.  This library implements all required types and functions
//! to manage this state over a network connection.
//!
//! The main game interface is provided by [GameIf](crate::GameIf),
//! which is them implemented by [Server](crate::server::Server), and
//! [MatchClient](crate::client::MatchClient).

#[macro_use]
extern crate const_env;

pub(crate) mod _loop;

mod _if;
pub use _if::GameIf;

mod _match;
pub use _match::Match;

pub mod config;
pub mod data;
pub mod gens;
pub mod io;
pub mod lobby;
pub mod map;
pub mod mapstore;
pub mod server;
pub mod stats;
pub mod users;
pub mod wire;

pub use identity::Identity as Id;