aboutsummaryrefslogtreecommitdiffstats
path: root/yage/yage.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-09-20 00:29:45 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-09-20 00:29:45 +0100
commit39ca43ca3b24dcae76e1283ec8af4a16c845e2b7 (patch)
treed3aa095fa982695ffc3e621f62797a041ac36cb3 /yage/yage.h
parent34396f0483d94229e3a315e5eeb90c77c1425273 (diff)
downloadYAGE-39ca43ca3b24dcae76e1283ec8af4a16c845e2b7.tar.gz
YAGE-39ca43ca3b24dcae76e1283ec8af4a16c845e2b7.zip
More tests and adding spritesheet support
Diffstat (limited to 'yage/yage.h')
-rw-r--r--yage/yage.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/yage/yage.h b/yage/yage.h
index 286d4784..f20aff06 100644
--- a/yage/yage.h
+++ b/yage/yage.h
@@ -50,19 +50,13 @@ namespace yage
*
* @return Returns true if the initialization was successful.
*/
-bool init()
-{
- return SDL_Init(SDL_INIT_VIDEO);
-}
+extern bool init();
/** Quit and cleanup yage
*
* SDL2 needs to clean itself up.
*/
-void quit()
-{
- SDL_Quit();
-}
+extern void quit();
} // namespace yage