blob: 31289d644c90509e811ea42ae676037f30ca253c (
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
|
/* ----------------------------------------------------------------------------
* yage.hpp
*
* Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
* See file LICENSE for more details
* ----------------------------------------------------------------------------
*/
#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() { return SDL_Init(SDL_INIT_VIDEO); }
void quit() { SDL_Quit(); }
};
#endif
|