recuperat el hit_stop al ser colpejat per un globo (modificable al fitxer de parametres)
This commit is contained in:
@@ -26,6 +26,8 @@ void initParam()
|
||||
param.game.name_entry_idle_time = 10;
|
||||
param.game.name_entry_total_time = 60;
|
||||
param.game.speed = 15;
|
||||
param.game.hit_stop = true;
|
||||
param.game.hit_stop_ms = 300;
|
||||
precalculateZones();
|
||||
|
||||
// SCOREBOARD
|
||||
@@ -171,6 +173,16 @@ bool setParams(const std::string &var, const std::string &value)
|
||||
param.game.name_entry_total_time = std::stoi(value);
|
||||
}
|
||||
|
||||
else if (var == "game.hit_stop")
|
||||
{
|
||||
param.game.hit_stop = stringToBool(value);
|
||||
}
|
||||
|
||||
else if (var == "game.hit_stop_ms")
|
||||
{
|
||||
param.game.hit_stop_ms = std::stoi(value);
|
||||
}
|
||||
|
||||
// FADE
|
||||
else if (var == "fade.color")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user