#include "SDL/SDL.h"
#include "SDL/SDL_image.h"
#include "SDL/SDL_ttf.h"
#include "SDL/SDL_mixer.h"

#include "../functions/surfaces.hpp"
#include "../timer/timer.hpp"

#include <string>
#include <vector>

using namespace std;

#ifndef INSTRUCTIONS_HPP_
#define INSTRUCTIONS_HPP_

const int TUT_CANDLE = 1;
const int TUT_APPLE = 2;

const int TUT_LIGHT = 4;
const int TUT_EAT = 8;

const int TUT_ENEMY = 16;

const int TUT_FLOWER = 32;

const int TUT_BIGFOG = 64;

const int TUT_END = 128;

const int TUT_INTRO = 1;

const int TUT_FLOWER1 = 2;
const int TUT_FLOWER2 = 4;
const int TUT_FLOWER3 = 8;
const int TUT_FLOWER4 = 16;
const int TUT_FLOWER5 = 32;
const int TUT_FLOWER6 = 64;

const int TUT_ENDING = 128;

class instructions{

	private:

		Mix_Chunk* PageSound, *ChapterSound;
		Mix_Music* Music, *BackMusic;



		SDL_Surface* MessageBox;
		int MY;

		std::string line1, line2, line3, line4, line5, line6;

		TTF_Font* font;
		SDL_Color textcolor;

		bool
			Tut_Candle,
			Tut_Apple,
			Tut_Light,
			Tut_Eat,
			Tut_Enemy,
			Tut_Flower,
			Tut_Bigfog,
			Tut_Intro,
			Tut_Flower1,
			Tut_Flower2,
			Tut_Flower3,
			Tut_Flower4,
			Tut_Flower5,
			Tut_Flower6,
			Tut_Ending,
			Tut_End;

	public:

		instructions();
		~instructions();


		void show( SDL_Surface* & screen );

		bool Tutorial( SDL_Surface* & screen, int flag );

		bool show( SDL_Surface* & screen, int flag );

};

#endif /* INSTRUCTIONS_HPP_ */
