| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Add Input abstraction between ebiten and simulation update | Martin Kagamino Lehoux | 2026-05-07 |
| | | | | | | | | | | Introduces Input snapshot struct collected once per tick via CollectInput, and UpdateSimulation(Input) as the ebiten-free simulation entrypoint. Integration tests now drive the game through simulated inputs rather than direct method calls. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | ||
| * | Change patrol shortcut from A to Q | Martin Kagamino Lehoux | 2026-05-07 |
| | | | | | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | ||
| * | Fix selection rectangle stroke width for screen-space rendering | Martin Kagamino Lehoux | 2026-05-07 |
| | | | | | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | ||
| * | Remove Taskfile, clean up README and AGENTS.md | Martin Kagamino Lehoux | 2026-05-07 |
| | | | | | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | ||
| * | Migrate tasks from Taskfile to mise.toml | Martin Kagamino Lehoux | 2026-05-07 |
| | | | | | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | ||
| * | Add viewport/camera system with pan, zoom, and world-space cursor conversion | Martin Kagamino Lehoux | 2026-05-07 |
| | | | | | | | | | | | | | | | | | - New camera.go: Camera struct with arrow-key pan, scroll-wheel zoom toward cursor, middle-mouse drag, exponential velocity decay, and world-bounds clamping - Layout() now returns screen dimensions (960x640) instead of world size so the camera GeoM transform drives all rendering - All world entities, halos, text, path lines and spawn target converted via camera transform in draw.go; banners remain in screen space - selection.go: separate startScreen field so the drag-select box draws in screen space while selection logic stays in world space - Banner heights and font sizes scaled down to fit the 640px logical screen - Three new integration tests: ScreenToWorld round-trip, bounds clamping, zoom-toward-cursor stability Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | ||
| * | Switch font to Cinzel variable font | Martin Kagamino Lehoux | 2026-03-01 |
| | | |||
| * | Show available shortcuts | Martin Kagamino Lehoux | 2026-03-01 |
| | | |||
| * | fix: prevent entities from overlapping when arriving at the same cell | Martin Kagamino Lehoux | 2026-03-01 |
| | | | | | | | | | | | | Update UpdateMoveSystem to maintain the moveMap as entities move within a tick. When an entity snaps to a grid cell: - Block the new cell in the moveMap immediately - Unblock the old cell Before snapping, check if the target cell was already claimed by another entity earlier in the same tick. If so, repath instead of overlapping. | ||
| * | Agents update | Martin Kagamino Lehoux | 2026-02-27 |
| | | |||
| * | Selection is now Selectable | Martin Kagamino Lehoux | 2026-02-17 |
| | | |||
| * | TODO list | Martin Kagamino Lehoux | 2026-01-30 |
| | | |||
| * | Extracted TODOs | Martin Kagamino Lehoux | 2026-01-15 |
| | | |||
| * | First integration test | Martin Kagamino Lehoux | 2026-01-15 |
| | | |||
| * | refactor: transition to struct-of-arrays ECS architecture | Martin Kagamino Lehoux | 2026-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. | ||
| * | Basic tasks definitions | Martin Kagamino Lehoux | 2025-09-25 |
| | | |||
| * | Get time from Game | Martin Kagamino Lehoux | 2025-09-25 |
| | | |||
| * | Unify selection code and unselect | Martin Kagamino Lehoux | 2025-09-25 |
| | | |||
| * | Improve selection code | Martin Kagamino Lehoux | 2025-09-25 |
| | | |||
| * | feat: Draw bottom banner | Martin Kagamino Lehoux | 2025-07-25 |
| | | |||
| * | refactor: ECS bounds | Martin Kagamino Lehoux | 2025-07-25 |
| | | |||
| * | feat: Draw spawn target | Martin Kagamino Lehoux | 2025-07-25 |
| | | |||
| * | refactor: ECS patrol order | Martin Kagamino Lehoux | 2025-07-25 |
| | | |||
| * | feat: Selection with priority | Martin Kagamino Lehoux | 2025-07-25 |
| | | |||
| * | fix: More up-to-date moveMap | Martin Kagamino Lehoux | 2025-07-24 |
| | | |||
| * | refactor: Extract closest | Martin Kagamino Lehoux | 2025-07-24 |
| | | |||
| * | refactor: Props based entity builder for evolutivity | Martin Kagamino Lehoux | 2025-07-24 |
| | | |||
| * | refactor: Early return move | Martin Kagamino Lehoux | 2025-07-24 |
| | | |||
| * | fix: main move cancels orders | Martin Kagamino Lehoux | 2025-07-24 |
| | | |||
| * | Spawn target for newly spawned units | Martin Kagamino Lehoux | 2025-07-09 |
| | | |||
| * | Extract entity main action | Martin Kagamino Lehoux | 2025-07-09 |
| | | |||
| * | Export draw logic | Martin Kagamino Lehoux | 2025-07-09 |
| | | |||
| * | Entity builders | Martin Kagamino Lehoux | 2025-07-09 |
| | | |||
| * | Profiling setup | Martin Kagamino Lehoux | 2025-07-09 |
| | | |||
| * | Spawn units | Martin Kagamino Lehoux | 2025-07-09 |
| | | |||
| * | Allow diagonal move | Martin Kagamino Lehoux | 2025-07-08 |
| | | |||
| * | Really decrease resource count | Martin Kagamino Lehoux | 2025-07-08 |
| | | |||
| * | Regroup drawing | Martin Kagamino Lehoux | 2025-07-07 |
| | | |||
| * | Simple refactor | Martin Kagamino Lehoux | 2025-07-05 |
| | | |||
| * | Simple refactor | Martin Kagamino Lehoux | 2025-07-04 |
| | | |||
| * | Display resource count | Martin Kagamino Lehoux | 2025-07-04 |
| | | |||
| * | Upgrade go | Martin Kagamino Lehoux | 2025-07-04 |
| | | |||
| * | Fmt | Martin Kagamino Lehoux | 2025-07-04 |
| | | |||
| * | Refactor into packages | Martin Kagamino Lehoux | 2025-07-04 |
| | | |||
| * | Some pretty refactoring | Martin Kagamino Lehoux | 2025-07-04 |
| | | |||
| * | Find a ne wpath to resource when blocked | Martin Kagamino Lehoux | 2025-07-04 |
| | | |||
| * | refactor: Rename const | Martin Kagamino Lehoux | 2023-10-09 |
| | | |||
| * | feat(order): Gather resources | Martin Kagamino Lehoux | 2023-10-06 |
| | | |||
| * | feat: Add window icon | Martin Kagamino Lehoux | 2023-10-06 |
| | | |||
| * | fix(order): Start move of unselected units in order | Martin Kagamino Lehoux | 2023-10-06 |
| | | |||
