summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-08-25 13:12:47 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-08-25 13:12:47 (EDT)
commit2931d9b2f5ba35ebda905f4594d82d1b8f124336 (patch)
tree643f4694f586ce34ce07e0e695e16346c397692d
parent91af279237bc74e3e76833a694b24c37249b501d (diff)
downloadoverworld-rpg-2931d9b2f5ba35ebda905f4594d82d1b8f124336.zip
overworld-rpg-2931d9b2f5ba35ebda905f4594d82d1b8f124336.tar.gz
overworld-rpg-2931d9b2f5ba35ebda905f4594d82d1b8f124336.tar.bz2
init(): Initialize bindings
-rw-r--r--src/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c
index 21ffb85..5a1f1a0 100644
--- a/src/init.c
+++ b/src/init.c
@@ -20,6 +20,7 @@
#include <SDL_image.h>
#include "init.h"
#include "logging.h"
+#include "scripting/bindings.h"
void
init(void)
@@ -33,6 +34,9 @@ init(void)
if (IMG_Init(IMG_INIT_PNG) != IMG_INIT_PNG) {
err(1, "Failed to initialize SDL_Image (%s)", IMG_GetError());
}
+
+ debug("Initializing script bindings...");
+ bindings_init();
}
void