feat: limitar modo BOIDS a escenarios con ≤1.000 bolas

Pulsar B en escenarios 6-8 (o custom >1K) no activa boids y muestra
notificación. Cambiar de escenario estando en BOIDS queda bloqueado
si el destino supera BOIDS_MAX_BALLS (= SCENE_BALLS_5).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-21 01:13:17 +01:00
parent e1f6fd0f39
commit 9ae851d5b6
3 changed files with 25 additions and 0 deletions

View File

@@ -269,6 +269,9 @@ class Engine {
// PostFX helper
void applyPostFXPreset(int mode);
// Boids: comprueba si un escenario tiene ≤ BOIDS_MAX_BALLS bolas
bool isScenarioAllowedForBoids(int scenario_id) const;
// GPU helpers
bool loadGpuSpriteTexture(size_t index); // Upload one sprite texture to GPU
void recreateOffscreenTexture(); // Recreate when resolution changes