dreamwell_engine/lib.rs
1// Dreamwell Engine v1.0.0 — Pure-logic game engine library.
2//
3// Contains all deterministic, platform-independent logic for the Dreamwell
4// simulation engine. No SpacetimeDB dependency. Compiles natively on any
5// target. Unit-testable via `cargo test -p dreamwell-engine`.
6//
7// Module categories:
8// Core types: ids, transform, hierarchy, scene, material, lighting, events
9// Simulation: authority, canon, chronoshift, hash, spatial, tile, validation
10// Content: game_object, waymark, input, physics
11// Import: fbx (feature-gated)
12
13// ── Core types ──────────────────────────────────────────────────────────
14pub mod events;
15pub mod hierarchy;
16pub mod ids;
17pub mod lighting;
18pub mod material;
19pub mod prelude;
20pub mod scene;
21pub mod transform;
22
23// ── Simulation ──────────────────────────────────────────────────────────
24pub mod authority;
25pub mod canon;
26pub mod chronoshift;
27pub mod hash;
28pub mod spatial;
29pub mod tile;
30pub mod validation;
31
32// ── Content & game objects ──────────────────────────────────────────────
33pub mod content;
34pub mod game_object;
35pub mod input;
36pub mod physics;
37pub mod waymark;
38
39// ── Avatar core ───────────────────────────────────────────────────────
40pub mod avatar;
41
42// ── Import support ──────────────────────────────────────────────────────
43pub mod fbx;
44
45// ── SDK: .dream file format ─────────────────────────────────────────────
46pub mod dream_file;
47
48// ── Loom: scene orchestrator ───────────────────────────────────────────
49pub mod loom;
50
51// ── Zone runtime ──────────────────────────────────────────────────────
52pub mod zone;
53
54// ── Topology re-export ──────────────────────────────────────────────────
55pub use waymark::topology::TopologyLayer;
56
57// ── Authority re-exports (backward compat) ──────────────────────────────
58pub use authority::{
59 AuthorPermission, AuthorityLevel, AuthorityMode, ContentLicense, ContentType, GdprExportManifest,
60 RevenueShareConfig, SimulationTier,
61};