YAGE
v0.1.1
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
14
#ifndef YAGE_HPP
15
#define YAGE_HPP
16
17
#include "
camera2d.hpp
"
18
#include "
glslprogram.hpp
"
19
#include "
imageloader.hpp
"
20
#include "
inputmanager.hpp
"
21
#include "
iomanager.hpp
"
22
#include "
picopng.hpp
"
23
#include "
resourcemanager.hpp
"
24
#include "
spritebatch.hpp
"
25
#include "
texture.hpp
"
26
#include "
vertex.hpp
"
27
#include "
window.hpp
"
28
29
#include <SDL2/SDL.h>
30
31
#include <stdexcept>
32
38
namespace
yage
39
{
40
47
bool
init
()
48
{
49
return
SDL_Init(SDL_INIT_VIDEO);
50
}
51
56
void
quit
()
57
{
58
SDL_Quit();
59
}
60
61
}
// namespace yage
62
63
#endif
window.hpp
yage::init
bool init()
Initializes YAGE.
Definition:
yage.hpp:47
yage::quit
void quit()
Quit and cleanup YAGE.
Definition:
yage.hpp:56
spritebatch.hpp
iomanager.hpp
vertex.hpp
picopng.hpp
glslprogram.hpp
inputmanager.hpp
camera2d.hpp
resourcemanager.hpp
texture.hpp
yage
Project namespace.
Definition:
body.cpp:13
imageloader.hpp
include
YAGE
yage.hpp
Generated on Fri Aug 25 2017 14:31:55 for YAGE by
1.8.13