aboutsummaryrefslogtreecommitdiffstats
path: root/include/YAGE/yage.hpp
blob: cec03d00daf7aad6ebe89d9bd5f383ad5827ad89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef YAGE_HPP
#define YAGE_HPP

#include "camera2d.hpp"
#include "glslprogram.hpp"
#include "imageloader.hpp"
#include "inputmanager.hpp"
#include "iomanager.hpp"
#include "picopng.hpp"
#include "resourcemanager.hpp"
#include "spritebatch.hpp"
#include "texture.hpp"
#include "vertex.hpp"
#include "window.hpp"

#include <SDL2/SDL.h>

#include <stdexcept>

namespace yage
{

bool init()
{
	if(SDL_Init(SDL_INIT_VIDEO))
	{
		return false;
	}
	return true;
}

void quit()
{
	SDL_Quit();
}

};

#endif