0.1.0-0-pre.11-fix.5
This commit is contained in:
46
deltas/0.1.0/0-pre.11.fix.5.md
Normal file
46
deltas/0.1.0/0-pre.11.fix.5.md
Normal file
@@ -0,0 +1,46 @@
|
||||
<!-- file: deltas/0.1.0/0-pre.11.fix.5.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# Delta 0.1.0-0-pre.11.fix.5
|
||||
|
||||
## Base
|
||||
|
||||
Base complète Git : `0.1.0-0-pre.11.fix.4`.
|
||||
|
||||
## Motifs
|
||||
|
||||
`0-pre.11.fix.4` n'est pas validée : audit `RUST-FMT-101`, dead code Desktop et contrôle de sortie Android spécifique au renderer insuffisant.
|
||||
|
||||
## Contrat de sortie moteur
|
||||
|
||||
`engine-v1-common` introduit `QuitSource`, `QuitRequest` et `QuitDecision`.
|
||||
|
||||
`EngineGame::quit_requested` retourne `Exit` par défaut. Un jeu peut retourner `Continue` après avoir adapté son état pour implémenter confirmation, pause, navigation, sauvegarde, Hall of Fame ou traitement préalable.
|
||||
|
||||
## SDL3
|
||||
|
||||
Le runtime transmet fermeture de fenêtre, Escape et Back Android au jeu. Android conserve `SDL_ANDROID_TRAP_BACK_BUTTON=1` et reconnaît Back via `Keycode::AcBack` ou `Scancode::AcBack`.
|
||||
|
||||
Le `X` SDL spécifique Android de `fix.4` est retiré.
|
||||
|
||||
## Validation
|
||||
|
||||
```bash
|
||||
cargo fmt --all
|
||||
cargo fmt --all -- --check
|
||||
python3 scripts/audit_rust_workspace_rules.py
|
||||
python3 scripts/audit_markdown_tables.py README.md RULES.md ROADMAP.md CHANGELOG.md docs prompts crates Android deltas history
|
||||
cargo check --workspace
|
||||
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||
cargo test -p engine-v1-common --all-targets --all-features
|
||||
cargo test -p engine-v1-sdl --all-targets --all-features
|
||||
cargo test -p game-snake-poc --all-targets --all-features
|
||||
```
|
||||
|
||||
Smoke Desktop : `Escape -> QuitRequest(Escape) -> Exit`.
|
||||
|
||||
Smoke Android AVD : `Back -> QuitRequest(PlatformBack) -> Exit`.
|
||||
|
||||
Le Galaxy S9+ détecté en `arm64-v8a` peut servir de test physique après rebuild ARM64 et déploiement APK.
|
||||
|
||||
Le POC WASM + Tauri reste volontairement reporté après cette stabilisation.
|
||||
Reference in New Issue
Block a user