YAGE  0.02
Yet Another Game Engine
yage.hpp
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * yage.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_HPP
10 #define YAGE_HPP
11 
12 #include "camera2d.hpp"
13 #include "glslprogram.hpp"
14 #include "imageloader.hpp"
15 #include "inputmanager.hpp"
16 #include "iomanager.hpp"
17 #include "picopng.hpp"
18 #include "resourcemanager.hpp"
19 #include "spritebatch.hpp"
20 #include "texture.hpp"
21 #include "vertex.hpp"
22 #include "window.hpp"
23 
24 #include <SDL2/SDL.h>
25 
26 #include <stdexcept>
27 
28 namespace yage {
29 
30 bool init() { return SDL_Init(SDL_INIT_VIDEO); }
31 void quit() { SDL_Quit(); }
32 
33 };
34 
35 #endif
bool init()
Definition: yage.hpp:30
void quit()
Definition: yage.hpp:31
Templated matrix class.
Definition: camera2d.hpp:17