acabat amb balloon_formations.txt
This commit is contained in:
@@ -151,7 +151,7 @@ auto BalloonFormations::parseBalloonLine(const std::string& line, const std::map
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
int creation_time = evaluateExpression(tokens[6], variables);
|
||||
int creation_time = CREATION_TIME + evaluateExpression(tokens[6], variables);
|
||||
|
||||
return BalloonFormationParams(x + desp, y, vel_x, type, size, creation_time);
|
||||
} catch (const std::exception&) {
|
||||
@@ -249,7 +249,6 @@ void BalloonFormations::loadDefaultFormations() {
|
||||
const int DEFAULT_POS_Y = param.game.play_area.rect.h - BALLOON_SPAWN_HEIGHT;
|
||||
const int X4_0 = param.game.play_area.rect.x;
|
||||
const int X4_100 = param.game.play_area.rect.w - BALLOON_SIZE[3];
|
||||
constexpr int CREATION_TIME = 300;
|
||||
|
||||
// Formación básica #00
|
||||
std::vector<BalloonFormationParams> basic_formation = {
|
||||
|
||||
Reference in New Issue
Block a user