Enhance animation and control tests; improve rendering and shape loading validation

- Added tests for player animations in animation_archive_tests to ensure all animations are loaded correctly.
- Updated entity_dispatch_entry_tests to validate animation direction updates and added tests for sixteen-direction animations.
- Expanded isometric_controls_tests with comprehensive key event handling and action requests for various controller states.
- Improved map_renderer_tests by adding viewport rendering tests to compare unbounded and bounded views.
- Enhanced shape_archive_tests to validate shape frame loading and decoding consistency.
This commit is contained in:
Maddo 2026-10-07 00:18:08 +02:00
commit a76b071049
28 changed files with 1608 additions and 154 deletions

View file

@ -43,4 +43,16 @@ Use these rules when running shell commands from this workspace.
- Prefer explicit PowerShell cmdlets over aliases in reusable commands.
- Avoid commands that rely on interactive input.
- Prefer one focused command per terminal invocation so failures are easier to attribute.
- When posting HTTP form data from PowerShell, prefer compact one-line request bodies over multiline literal blocks in the shared shell.
- When posting HTTP form data from PowerShell, prefer compact one-line request bodies over multiline literal blocks in the shared shell.
# GitHub Copilot Instructions for PowerShell
**Environment:** I am using **Windows** and all terminal commands *must* be compatible with **PowerShell** (or **PowerShell Core/PS7**).
**CRITICAL COMMAND SYNTAX:**
* **NEVER** use `&&` for command chaining.
* **ALWAYS** use the **semicolon (`;`)** for chaining or separating multiple commands on a single line.
* **Good Example:** `npm install; npm start`
* **Bad Example (Avoid):** `npm install && npm start`
* Prefer built-in PowerShell cmdlets (e.g., `Get-ChildItem` instead of `ls` or `dir`) whenever possible, or use common aliases like `ls` if they are working.
* Use Windows-style backslashes for paths and quote paths with spaces.