From b8ac69f1c3e21822b1d4e0713b2d77331f29c9aa Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 5 Feb 2012 13:09:13 +1000 Subject: Turn on the script running stuff, clean out the now excess tests, then move the runner to it's own file. --- LuaSL/src/LuaSL.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'LuaSL/src/LuaSL.h') diff --git a/LuaSL/src/LuaSL.h b/LuaSL/src/LuaSL.h index e3b7065..c35b394 100644 --- a/LuaSL/src/LuaSL.h +++ b/LuaSL/src/LuaSL.h @@ -13,7 +13,7 @@ #include #include #include - + #define WIDTH (1024) #define HEIGHT (768) @@ -41,7 +41,7 @@ // NEVER change this typedef enum { - FALSE = 0, + FALSE = 0, TRUE = 1 } boolean; #endif @@ -60,9 +60,12 @@ typedef struct boolean compilerSetup(gameGlobals *game); boolean compileLSL(gameGlobals *game, char *script, boolean doConstants); +void runnerSetup(gameGlobals *game); +void runnerTearDown(gameGlobals *game); +void runLuaFile(gameGlobals *game, const char *filename); + void loggingStartup(gameGlobals *game); char *getDateTime(struct tm **nowOut, char *dateOut, time_t *tiemOut); float timeDiff(struct timeval *now, struct timeval *then); #include "LuaSL_LSL_tree.h" - -- cgit v1.1