Commit Graph
9 Commits
Author SHA1 Message Date
irrlichtandClaude Opus 5 64a6e1d42d Rewrite notes for the single-player architecture
Drop protocol.md; rewrite the tick-loop note around the game-loop-driven sim
and the intent model; rewrite the roadmap (network items removed, sim/game
crate layout, save/load and NPC blocking added); fix crate paths in the
remaining notes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-18 23:00:19 +02:00
irrlichtandClaude Opus 5 f594f12f35 Embed the sim in the game binary; drop networking
The client becomes the game: it owns a Sim instance and advances it with a
fixed-timestep accumulator (24 Hz ticks, rendering at frame rate). Rendering,
pathfinding and collision read the World directly instead of a chunk cache.

Sim::pending (window slot maps, late rule, horizon) is replaced by one intent
per entity for the next movement window — set_action replaces, executing the
window consumes. The whole client prediction/reconciliation machinery
(tick estimation, RTT lead, retraction, replay) is gone with the latency it
was built for; click-to-move now syncs the route against the sim position
after every window.

Removed: server, netsim, shared (wire types), client/net.rs. client renamed
to game. Headless tests cover the intent model.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-18 22:56:30 +02:00
irrlichtandClaude Opus 5 303c587aee Extract headless sim crate from server
Move chunk, entity, world, map, sim and load_world into a new sim library
crate together with the game rules from shared (player_action, action_delta,
delta_action, step_allowed, tile_collidable, tick constants). shared keeps
only the wire types and re-exports the rules, so server and client compile
unchanged. First step toward a local single-player build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-18 22:52:10 +02:00
irrlichtandClaude Opus 5 5610c2c343 Point pbio dependency at git.bnd.wtf
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-18 22:50:44 +02:00
irrlicht a2196feb78 current state 2026-09-18 22:41:20 +02:00
irrlicht 5cc156992f Smooth lerping 2026-07-17 22:58:00 +02:00
irrlicht 674cf91ef3 Pathfinding and re-pickup of the project 2026-07-16 21:08:30 +02:00
irrlicht 5c8494961c CSV-Map loading 2026-06-17 10:28:32 +02:00
irrlicht fd02ed6d8b Resumed to project. INIT 2026-06-17 08:23:13 +02:00