diff options
author | David Walter Seikel | 2014-05-23 13:22:36 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-23 13:22:36 +1000 |
commit | f97c73bd1e43a0eb32ad8dc43fc28f6e40b28f38 (patch) | |
tree | df45770acc4a26d56e45bc7ae3420cddb6522d15 /src/LuaSL/LuaSL_LSL_tree.h | |
parent | TODO-- (diff) | |
download | SledjHamr-f97c73bd1e43a0eb32ad8dc43fc28f6e40b28f38.zip SledjHamr-f97c73bd1e43a0eb32ad8dc43fc28f6e40b28f38.tar.gz SledjHamr-f97c73bd1e43a0eb32ad8dc43fc28f6e40b28f38.tar.bz2 SledjHamr-f97c73bd1e43a0eb32ad8dc43fc28f6e40b28f38.tar.xz |
Rewrite the LuaSL script running stuff (twice lol), plus much related tweakage and cleanups.
Diffstat (limited to '')
-rw-r--r-- | src/LuaSL/LuaSL_LSL_tree.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/LuaSL/LuaSL_LSL_tree.h b/src/LuaSL/LuaSL_LSL_tree.h index 1021be8..fca31db 100644 --- a/src/LuaSL/LuaSL_LSL_tree.h +++ b/src/LuaSL/LuaSL_LSL_tree.h | |||
@@ -55,14 +55,6 @@ typedef enum | |||
55 | 55 | ||
56 | typedef void (*outputToken) (FILE *file, outputMode mode, LSL_Leaf *content); | 56 | typedef void (*outputToken) (FILE *file, outputMode mode, LSL_Leaf *content); |
57 | 57 | ||
58 | //#ifndef FALSE | ||
59 | //typedef enum | ||
60 | //{ | ||
61 | // FALSE = 0, | ||
62 | // TRUE = 1 | ||
63 | //} boolean; | ||
64 | //#endif | ||
65 | |||
66 | typedef enum | 58 | typedef enum |
67 | { | 59 | { |
68 | LSL_NONE = 0, | 60 | LSL_NONE = 0, |
@@ -409,7 +401,7 @@ typedef struct | |||
409 | 401 | ||
410 | 402 | ||
411 | boolean compilerSetup(gameGlobals *ourGlobals); | 403 | boolean compilerSetup(gameGlobals *ourGlobals); |
412 | boolean compileLSL(gameGlobals *ourGlobals, Ecore_Con_Client *client, char *SID, char *script, boolean doConstants); | 404 | boolean compileLSL(LuaCompiler *lCompiler, gameGlobals *ourGlobals, Ecore_Con_Client *client, char *SID, char *script, boolean doConstants); |
413 | void burnLeaf(void *data); | 405 | void burnLeaf(void *data); |
414 | 406 | ||
415 | LSL_Leaf *addBlock(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right); | 407 | LSL_Leaf *addBlock(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right); |