refactor(defaults): renombra VELOCITAT/CANVI_ANGLE/MAX_BALES a anglès

This commit is contained in:
2026-05-24 07:57:12 +02:00
parent d12f24d798
commit 807f71ffa7
12 changed files with 102 additions and 103 deletions
+3 -3
View File
@@ -60,14 +60,14 @@ namespace Systems::Collision {
enemy.destroy();
constexpr float VELOCITAT_EXPLOSIO = 80.0F; // px/s (explosión suave)
constexpr float SPEED_EXPLOSIO = 80.0F; // px/s (explosión suave)
const Vec2 INHERITED_VEL = ENEMY_VEL * Defaults::Physics::Debris::ENEMY_VELOCITY_INHERITANCE;
ctx.debris_manager.explode(
SHAPE,
ENEMY_POS,
0.0F, // angle (rotación interna del enemy)
1.0F, // escala
VELOCITAT_EXPLOSIO,
SPEED_EXPLOSIO,
BRIGHTNESS,
INHERITED_VEL,
0.0F, // sense herència angular: evita que els 5 trossos curvin en bloc
@@ -297,7 +297,7 @@ namespace Systems::Collision {
}
void desactivateOutOfBoundsBullets(
std::array<Bullet, static_cast<std::size_t>(Defaults::Entities::MAX_BALES) * 2>& bullets,
std::array<Bullet, static_cast<std::size_t>(Defaults::Entities::MAX_BULLETS) * 2>& bullets,
Effects::DebrisManager& debris_manager) {
float min_x;
float max_x;