starweaver/
lib.rs

1//! Starweaver: a finite exploration, salvage and gate-building expedition.
2mod content;
3mod fx;
4mod layout;
5mod look;
6pub mod model;
7mod panels;
8mod view;
9use ferravex_arcade::{Color, Conf, Meta, window};
10pub use model::Game;
11
12/// Identity, input hints and the expedition's short field manual.
13pub const META: Meta = Meta {
14    id: "starweaver",
15    title: "Starweaver",
16    subtitle: "Space strategy",
17    controls: "1-5 Panels | Arrows Select | Act Confirm | X Cargo",
18    accent: Color::new(0.41, 0.85, 0.9, 1.),
19    help: &[
20        "Recover three relics, forge their gate parts, then open the gate at Loom.",
21        "Actions cost watches. Watch 52 or zero hull ends the run.",
22        "Survey a sector to unlock its deposits and landmark.",
23        "Loom and Verdant refuel, repair and trade.",
24    ],
25};
26fn conf() -> Conf {
27    window(META.title)
28}
29async fn game() {
30    ferravex_arcade::run::<Game>(META).await;
31}
32ferravex_render::game!(conf, game);