summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic-interpreter.hpp')
-rw-r--r--src/map/magic-interpreter.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/magic-interpreter.hpp b/src/map/magic-interpreter.hpp
index e040975..21e8d39 100644
--- a/src/map/magic-interpreter.hpp
+++ b/src/map/magic-interpreter.hpp
@@ -226,7 +226,7 @@ typedef struct effect
struct effect *true_branch, *false_branch;
} e_if;
expr_t *e_sleep; /* sleep time */
- unsigned char *e_script;
+ const ScriptCode *e_script;
struct
{
int id;
@@ -497,4 +497,8 @@ typedef struct
effect_t *body;
} proc_t;
+// must be called after itemdb initialisation
+int magic_init(const char *);
+void spell_update_location (invocation_t * invocation);
+
#endif /* !defined (MAGIC_INTERPRETER_H) */