SDL_Surface *load_image( std::string filename )
{
//The image that's loaded
SDL_Surface* loadedImage = NULL;
//The optimized image that will be used
SDL_Surface* optimizedImage = NULL;
//Load the image
loadedImage = IMG_Load( filename.c_str() );
//Return the optimized image
return loadedImage;
if( x >= 564 && x <= 767 && y >= 213 && y <= 245 )
{
image = load_image("\Homescreen\Start Game.png");
apply_surface(0,0,image,screen);
SDL_Flip(screen);
}