|
@@ -175,18 +175,22 @@ int main(int argc, char** argv)
|
|
pause = !pause ;
|
|
pause = !pause ;
|
|
break;
|
|
break;
|
|
case SDLK_KP1:
|
|
case SDLK_KP1:
|
|
|
|
+ case SDLK_1:
|
|
std::cout << "Tir basique." << std::endl;
|
|
std::cout << "Tir basique." << std::endl;
|
|
missile = INERT ;
|
|
missile = INERT ;
|
|
break;
|
|
break;
|
|
case SDLK_KP2:
|
|
case SDLK_KP2:
|
|
|
|
+ case SDLK_2:
|
|
std::cout << "Tir d'anticipation rectiligne." << std::endl;
|
|
std::cout << "Tir d'anticipation rectiligne." << std::endl;
|
|
missile = ANG ;
|
|
missile = ANG ;
|
|
break;
|
|
break;
|
|
case SDLK_KP3:
|
|
case SDLK_KP3:
|
|
|
|
+ case SDLK_3:
|
|
std::cout << "Missile d'accélération linéaire." << std::endl;
|
|
std::cout << "Missile d'accélération linéaire." << std::endl;
|
|
missile = ARROW ;
|
|
missile = ARROW ;
|
|
break;
|
|
break;
|
|
case SDLK_KP4:
|
|
case SDLK_KP4:
|
|
|
|
+ case SDLK_4:
|
|
std::cout << "Missile d'accélération électrique (1/r^2)." << std::endl;
|
|
std::cout << "Missile d'accélération électrique (1/r^2)." << std::endl;
|
|
missile = CHARGE ;
|
|
missile = CHARGE ;
|
|
break;
|
|
break;
|