11 #include <SFML/Graphics.hpp>
12 #include <SFML/Audio.hpp>
34 sf::RenderWindow *my_window;
35 sf::Image *my_background_image;
36 sf::Image *my_background_parallax;
37 sf::Image *my_ship_image;
38 sf::Image *my_shoot_image;
39 sf::Image *my_boom_image;
40 sf::Image *my_revive_image;
41 sf::Image *my_bonus_image;
42 std::map<TypeEnnemi* const, sf::Image*> my_ennemies_images;
43 std::map<TypeTir* const, sf::Image*> my_tirs_images;
46 GraphicElement my_background_parallax_sprite, my_background_parallax_sprite2;
53 std::map<MovableElement * const, GraphicElement *> my_elementToGraphicElement;
56 sf::SoundBuffer *my_titlethemeBuffer;
57 sf::SoundBuffer *my_deathmonsterBuffer;
58 sf::SoundBuffer *my_deathbossBuffer;
59 sf::SoundBuffer *my_nextLevelBuffer;
60 sf::SoundBuffer *my_gameoverBuffer;
61 sf::SoundBuffer *my_shotBuffer;
63 sf::Music my_maintheme;
64 sf::Sound my_titletheme;
65 sf::Sound my_deathmonster;
66 sf::Sound my_deathboss;
67 sf::Sound my_nextLevel;
68 sf::Sound my_gameover;
69 sf::Sound my_shotsound;
186 void options(
bool &quit,
int &difficulty,
int &initialLives);