aboutsummaryrefslogtreecommitdiff
path: root/order.go
Commit message (Collapse)AuthorAge
* Add examples catalog with subcommand dispatchMartin Kagamino Lehoux2026-06-06
| | | | | | | | | - Extract game engine from package main to engine/ library package - Create examples/ package with registry, Entry type, and BuilderDeps - Register default world as an example (moved from main()) - Add combat example: two teams of units facing each other - Rewrite main.go as thin dispatch: go run . example [name] - Update README with examples catalog one-liner
* refactor: transition to struct-of-arrays ECS architectureMartin Kagamino Lehoux2026-01-15
| | | | | | | - Replace individual Entity structs with centralized component slices in Game struct (SoA layout). - Implement bitmask-based component lookup (CM_Position, CM_Move, etc.). - Convert logic from object-oriented Update() methods to standalone Systems (UpdateMoveSystem, UpdateGatherSystem, UpdateSpawnSystem). - Update rendering, selection, and input handling to iterate over component arrays.
* fix: main move cancels ordersMartin Kagamino Lehoux2025-07-24
|
* Spawn target for newly spawned unitsMartin Kagamino Lehoux2025-07-09
|
* Extract entity main actionMartin Kagamino Lehoux2025-07-09
|
* FmtMartin Kagamino Lehoux2025-07-04
|
* feat(order): Gather resourcesMartin Kagamino Lehoux2023-10-06
|
* fix(move): Keep current path during move if it still appliesMartin Kagamino Lehoux2023-10-02
|
* feat: Patroling orderMartin Kagamino Lehoux2023-09-19