From aa9cdee46fea21ad50b70a4513aa39aebe280b7f Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 27 Jul 2017 23:21:23 +0100 Subject: Adding initial docs --- yage_8hpp_source.html | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 yage_8hpp_source.html (limited to 'yage_8hpp_source.html') diff --git a/yage_8hpp_source.html b/yage_8hpp_source.html new file mode 100644 index 00000000..008aa384 --- /dev/null +++ b/yage_8hpp_source.html @@ -0,0 +1,79 @@ + + + + + + + +YAGE: include/YAGE/yage.hpp Source File + + + + + + + + + +
+
+ + + + + + +
+
YAGE +
+
Yet Another Game Engine
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
yage.hpp
+
+
+
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 
31 bool init()
32 {
33  if(SDL_Init(SDL_INIT_VIDEO))
34  {
35  return false;
36  }
37  return true;
38 }
39 
40 void quit()
41 {
42  SDL_Quit();
43 }
44 
45 };
46 
47 #endif
Definition: camera2d.hpp:17
+
+ + + + -- cgit