1.
18xx introduction
1.1.
Motivation
1.2.
The problem
2.
User guide
2.1.
Modal interface
2.2.
Global keys
2.3.
Default mode
2.4.
Placing and upgrading tiles
2.5.
Placing and removing tokens
2.6.
Selecting optimal routes
2.7.
Example
3.
Developer guide
3.1.
Overview
3.2.
Crates
3.3.
Features
3.4.
Testing
3.5.
Cairo and drawing
3.6.
Hex geometry and styling
3.7.
Tile elements
3.8.
Tile catalogue
3.9.
Connectivity
3.10.
Tokens
3.11.
Maps
3.12.
Trains
3.13.
Finding optimal routes
3.14.
Performance
3.15.
Profiling
3.16.
Determinism
3.17.
18xx games
3.18.
(De)serialisation
3.19.
GTK user interface
4.
To-do list
4.1.
Documentation
4.2.
Implementation
4.3.
Planned features
4.4.
Rust and Cargo
4.5.
Miscellaneous
5.
About this book
6.
References
Light
Rust
Coal
Navy
Ayu
Navigating 18xx: calculating optimal routes
Developer guide
This documentation explains how the
navig18xx
crate is designed and implemented.