aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL/LuaSL_LSL_tree.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-23 13:22:36 +1000
committerDavid Walter Seikel2014-05-23 13:22:36 +1000
commitf97c73bd1e43a0eb32ad8dc43fc28f6e40b28f38 (patch)
treedf45770acc4a26d56e45bc7ae3420cddb6522d15 /src/LuaSL/LuaSL_LSL_tree.h
parentTODO-- (diff)
downloadSledjHamr-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 'src/LuaSL/LuaSL_LSL_tree.h')
-rw-r--r--src/LuaSL/LuaSL_LSL_tree.h10
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
56typedef void (*outputToken) (FILE *file, outputMode mode, LSL_Leaf *content); 56typedef 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
66typedef enum 58typedef enum
67{ 59{
68 LSL_NONE = 0, 60 LSL_NONE = 0,
@@ -409,7 +401,7 @@ typedef struct
409 401
410 402
411boolean compilerSetup(gameGlobals *ourGlobals); 403boolean compilerSetup(gameGlobals *ourGlobals);
412boolean compileLSL(gameGlobals *ourGlobals, Ecore_Con_Client *client, char *SID, char *script, boolean doConstants); 404boolean compileLSL(LuaCompiler *lCompiler, gameGlobals *ourGlobals, Ecore_Con_Client *client, char *SID, char *script, boolean doConstants);
413void burnLeaf(void *data); 405void burnLeaf(void *data);
414 406
415LSL_Leaf *addBlock(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right); 407LSL_Leaf *addBlock(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right);