aboutsummaryrefslogtreecommitdiffstats
path: root/yage/yage.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-05-04 18:36:07 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-05-04 18:36:07 +0100
commit09535633913069f4653c270501059c38c2d09a99 (patch)
tree1bf8d22f96461ff0136e7876bfc8adebb306d94f /yage/yage.h
parent2f24449366139c71aa92f041bce15362fe11acba (diff)
downloadYAGE-09535633913069f4653c270501059c38c2d09a99.tar.gz
YAGE-09535633913069f4653c270501059c38c2d09a99.zip
Adding a core component, and removing implementation from yage.h
Diffstat (limited to 'yage/yage.h')
-rw-r--r--yage/yage.h30
1 files changed, 1 insertions, 29 deletions
diff --git a/yage/yage.h b/yage/yage.h
index d5b34603..038acbec 100644
--- a/yage/yage.h
+++ b/yage/yage.h
@@ -12,6 +12,7 @@
/**
* Core includes
*/
+#include "core/core.h"
#include "core/camera.h"
#include "core/iomanager.h"
#include "core/logger.h"
@@ -51,34 +52,5 @@
* it more flexible and efficient.
*/
#include "entity/engine.h"
-/**
- * Project namespace.
- *
- * Avoids collision as all the classes and global functions are wrapped in.
- */
-namespace yage
-{
-
-/**
- *
- */
-extern void glfwErrorCallback(int, const char *);
-
-/**
- * Initializes YAGE.
- *
- * This is there to initialize GLFW, which is the current
- * window manager that is used with OpenGL.
- */
-extern void init();
-
-/**
- * Quit and cleanup YAGE.
- *
- * This also cleans up GLFW after it was initialized.
- */
-extern void quit();
-
-} // namespace yage
#endif