|
@@ -1441,38 +1441,39 @@ int choose_level_bossrush(int* commands)
|
|
|
|
|
|
void setup_level_bossrush(int level, double& shootr, double& poweruprate, int& walls_num, int& refresh_t)
|
|
|
{
|
|
|
+ walls_num = 3;
|
|
|
switch(level) //setting game parameters
|
|
|
{
|
|
|
case 1:
|
|
|
{
|
|
|
- shootr = 0.006;
|
|
|
- refresh_t = (int)(0.09*1E3);
|
|
|
- poweruprate = 0.066;
|
|
|
+ shootr = 0.02;
|
|
|
+ refresh_t = (int)(0.07*1E3);
|
|
|
+ poweruprate = 0.04;
|
|
|
break;
|
|
|
}
|
|
|
case 2:
|
|
|
{
|
|
|
- shootr = 0.009;
|
|
|
- refresh_t = (int)(0.085*1E3);
|
|
|
- poweruprate = 0.05;
|
|
|
+ shootr = 0.02;
|
|
|
+ refresh_t = (int)(0.07*1E3);
|
|
|
+ poweruprate = 0.04;
|
|
|
break;
|
|
|
}
|
|
|
case 3:
|
|
|
{
|
|
|
- shootr = 0.015;
|
|
|
- refresh_t = (int)(0.08*1E3);
|
|
|
- poweruprate = 0.044;
|
|
|
+ shootr = 0.02;
|
|
|
+ refresh_t = (int)(0.07*1E3);
|
|
|
+ poweruprate = 0.04;
|
|
|
break;
|
|
|
}
|
|
|
case 4:
|
|
|
{
|
|
|
- shootr = 0.020;
|
|
|
+ shootr = 0.02;
|
|
|
refresh_t = (int)(0.07*1E3);
|
|
|
poweruprate = 0.04;
|
|
|
+ walls_num = 2;
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- walls_num = 3;
|
|
|
}
|
|
|
|
|
|
void resetbosses(boss* Bosses,boss& boss1,player& player1){
|