#ifndef H_MEDIAVARS
#define H_MEDIAVARS
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <string>
#define XYZ
#ifndef THISISTHEMAIN_CPP
#undef XYZ
#define XYZ extern
#endif

XYZ double point_distance(double x1, double y1, double x2, double y2);
XYZ double point_direction(double x1, double y1, double x2, double y2);
XYZ void draw_text(double x, double y, std::string str, double scale = 1);

XYZ bool soundIsMuted;

//			SOUND

XYZ sf::SoundBuffer bfrChase;
XYZ sf::Sound *sndChase;

XYZ sf::SoundBuffer bfrDestroy;
XYZ sf::Sound *sndDestroy;

XYZ sf::SoundBuffer bfrGetBrain;
XYZ sf::Sound *sndGetBrain;

XYZ sf::SoundBuffer bfrHurt;
XYZ sf::Sound *sndHurt;

XYZ sf::SoundBuffer bfrGetHeart;
XYZ sf::Sound *sndGetHeart;

XYZ sf::SoundBuffer bfrFall;
XYZ sf::Sound *sndFall;

//			GRAPHICS

XYZ sf::Image imgPlayer0;
XYZ sf::Sprite *sprPlayer0;
XYZ sf::Image imgPlayer1;
XYZ sf::Sprite *sprPlayer1;
XYZ sf::Image imgPlayer2;
XYZ sf::Sprite *sprPlayer2;

XYZ sf::Image imgPlayerWithBrain0;
XYZ sf::Sprite *sprPlayerWithBrain0;
XYZ sf::Image imgPlayerWithBrain1;
XYZ sf::Sprite *sprPlayerWithBrain1;
XYZ sf::Image imgPlayerWithBrain2;
XYZ sf::Sprite *sprPlayerWithBrain2;


XYZ sf::Image imgSign;
XYZ sf::Sprite *sprSign;

XYZ sf::Image imgBrick;
XYZ sf::Sprite *sprBrick;

XYZ sf::Image imgUnderBrick;
XYZ sf::Sprite *sprUnderBrick;

XYZ sf::Image imgBrain;
XYZ sf::Sprite *sprBrain;

XYZ sf::Image imgShadow;
XYZ sf::Sprite *sprShadow;

XYZ sf::Image imgHole;
XYZ sf::Sprite *sprHole;

XYZ sf::Image imgUnderHole;
XYZ sf::Sprite *sprUnderHole;

XYZ sf::Image imgExclaim;
XYZ sf::Sprite *sprExclaim;

XYZ sf::Image imgQuestion;
XYZ sf::Sprite *sprQuestion;

XYZ sf::Image imgBrainBubble;
XYZ sf::Sprite *sprBrainBubble;

XYZ sf::Image imgZombieGhost;
XYZ sf::Sprite *sprZombieGhost;

XYZ sf::Image imgHeart;
XYZ sf::Sprite *sprHeart;

XYZ sf::Image imgHeartFade;
XYZ sf::Sprite *sprHeartFade;

XYZ sf::Image imgGrass;
XYZ sf::Sprite *sprGrass;

XYZ sf::Image imgUnderGrass;
XYZ sf::Sprite *sprUnderGrass;

XYZ sf::Image imgFont;
XYZ sf::Sprite *sprFont;

XYZ sf::Image imgDoor;
XYZ sf::Sprite *sprDoor;

XYZ sf::Image imgLose;
XYZ sf::Sprite *sprLose;

XYZ sf::Image imgTitle;
XYZ sf::Sprite *sprTitle;

XYZ sf::Image imgStory1;
XYZ sf::Sprite *sprStory1;

XYZ sf::Image imgStory2;
XYZ sf::Sprite *sprStory2;

XYZ sf::Image imgWin;
XYZ sf::Sprite *sprWin;

XYZ sf::Image imgWinHasBrain;
XYZ sf::Sprite *sprWinHasBrain;

XYZ sf::Image imgWinStory;
XYZ sf::Sprite *sprWinStory;

XYZ sf::Image imgSoundOn;
XYZ sf::Sprite *sprSoundOn;

XYZ sf::Image imgSoundOff;
XYZ sf::Sprite *sprSoundOff;
#endif