YAGE
v0.1.1
Yet Another Game Engine
yage.h
Go to the documentation of this file.
1
/* ----------------------------------------------------------------------------
2
* yage.h
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_YAGE_H
15
#define YAGE_YAGE_H
16
17
#include "
camera2d.h
"
18
#include "
glslprogram.h
"
19
#include "
imageloader.h
"
20
#include "
inputmanager.h
"
21
#include "
iomanager.h
"
22
#include "
picopng.h
"
23
#include "
resourcemanager.h
"
24
#include "
spritebatch.h
"
25
#include "
texture.h
"
26
#include "
vertex.h
"
27
#include "
window.h
"
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
yage::init
bool init()
Initializes YAGE.
Definition:
yage.h:47
inputmanager.h
yage::quit
void quit()
Quit and cleanup YAGE.
Definition:
yage.h:56
window.h
imageloader.h
texture.h
iomanager.h
vertex.h
resourcemanager.h
camera2d.h
picopng.h
spritebatch.h
glslprogram.h
yage
Project namespace.
Definition:
body.cpp:13
include
YAGE
yage.h
Generated on Sun Sep 3 2017 13:06:10 for YAGE by
1.8.13