summaryrefslogtreecommitdiffstats
path: root/src/script.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-08-25 02:05:53 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-08-25 02:05:53 (EDT)
commit17df899481f5e2017c644d0ac555d190bde63e05 (patch)
treedf9c7b4a112c055ddd651c829bdfe8d8e764d15e /src/script.h
parent986355f3862efa32df9cadbabd19decbbf6aba61 (diff)
downloadoverworld-rpg-17df899481f5e2017c644d0ac555d190bde63e05.zip
overworld-rpg-17df899481f5e2017c644d0ac555d190bde63e05.tar.gz
overworld-rpg-17df899481f5e2017c644d0ac555d190bde63e05.tar.bz2
Manage scripts as resources
Diffstat (limited to 'src/script.h')
-rw-r--r--src/script.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/script.h b/src/script.h
index 662c8ea..5362a8b 100644
--- a/src/script.h
+++ b/src/script.h
@@ -19,14 +19,8 @@
#ifndef SCRIPT_H
#define SCRIPT_H
-#include <lua.h>
+#include "resources/script.h"
-struct script {
- const char *path;
- lua_State *lua_state;
-};
-
-struct script *script_load(const char *path);
void script_call(struct script *s, const char *func);
#endif