aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix selection rectangle stroke width for screen-space renderingMartin Kagamino Lehoux2026-05-07
| | | | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Remove Taskfile, clean up README and AGENTS.mdMartin Kagamino Lehoux2026-05-07
| | | | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Migrate tasks from Taskfile to mise.tomlMartin Kagamino Lehoux2026-05-07
| | | | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Add viewport/camera system with pan, zoom, and world-space cursor conversionMartin Kagamino Lehoux2026-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 fontMartin Kagamino Lehoux2026-03-01
|
* Show available shortcutsMartin Kagamino Lehoux2026-03-01
|
* fix: prevent entities from overlapping when arriving at the same cellMartin Kagamino Lehoux2026-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 updateMartin Kagamino Lehoux2026-02-27
|
* Selection is now SelectableMartin Kagamino Lehoux2026-02-17
|
* TODO listMartin Kagamino Lehoux2026-01-30
|
* Extracted TODOsMartin Kagamino Lehoux2026-01-15
|
* First integration testMartin Kagamino Lehoux2026-01-15
|
* 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.
* Basic tasks definitionsMartin Kagamino Lehoux2025-09-25
|
* Get time from GameMartin Kagamino Lehoux2025-09-25
|
* Unify selection code and unselectMartin Kagamino Lehoux2025-09-25
|
* Improve selection codeMartin Kagamino Lehoux2025-09-25
|
* feat: Draw bottom bannerMartin Kagamino Lehoux2025-07-25
|
* refactor: ECS boundsMartin Kagamino Lehoux2025-07-25
|
* feat: Draw spawn targetMartin Kagamino Lehoux2025-07-25
|
* refactor: ECS patrol orderMartin Kagamino Lehoux2025-07-25
|
* feat: Selection with priorityMartin Kagamino Lehoux2025-07-25
|
* fix: More up-to-date moveMapMartin Kagamino Lehoux2025-07-24
|
* refactor: Extract closestMartin Kagamino Lehoux2025-07-24
|
* refactor: Props based entity builder for evolutivityMartin Kagamino Lehoux2025-07-24
|
* refactor: Early return moveMartin Kagamino Lehoux2025-07-24
|
* 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
|
* Export draw logicMartin Kagamino Lehoux2025-07-09
|
* Entity buildersMartin Kagamino Lehoux2025-07-09
|
* Profiling setupMartin Kagamino Lehoux2025-07-09
|
* Spawn unitsMartin Kagamino Lehoux2025-07-09
|
* Allow diagonal moveMartin Kagamino Lehoux2025-07-08
|
* Really decrease resource countMartin Kagamino Lehoux2025-07-08
|
* Regroup drawingMartin Kagamino Lehoux2025-07-07
|
* Simple refactorMartin Kagamino Lehoux2025-07-05
|
* Simple refactorMartin Kagamino Lehoux2025-07-04
|
* Display resource countMartin Kagamino Lehoux2025-07-04
|
* Upgrade goMartin Kagamino Lehoux2025-07-04
|
* FmtMartin Kagamino Lehoux2025-07-04
|
* Refactor into packagesMartin Kagamino Lehoux2025-07-04
|
* Some pretty refactoringMartin Kagamino Lehoux2025-07-04
|
* Find a ne wpath to resource when blockedMartin Kagamino Lehoux2025-07-04
|
* refactor: Rename constMartin Kagamino Lehoux2023-10-09
|
* feat(order): Gather resourcesMartin Kagamino Lehoux2023-10-06
|
* feat: Add window iconMartin Kagamino Lehoux2023-10-06
|
* fix(order): Start move of unselected units in orderMartin Kagamino Lehoux2023-10-06
|
* feat(selection): Use circle for unitsMartin Kagamino Lehoux2023-10-06
|
* fix(move): Draw move from startMartin Kagamino Lehoux2023-10-06
|