aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-05 13:09:13 +1000
committerDavid Walter Seikel2012-02-05 13:09:13 +1000
commitb8ac69f1c3e21822b1d4e0713b2d77331f29c9aa (patch)
treebc9c7396edfadc3b65312865749239839ef032d7 /LuaSL/src/LuaSL.h
parentMerge doneParsing(), it's only used once. (diff)
downloadSledjHamr-b8ac69f1c3e21822b1d4e0713b2d77331f29c9aa.zip
SledjHamr-b8ac69f1c3e21822b1d4e0713b2d77331f29c9aa.tar.gz
SledjHamr-b8ac69f1c3e21822b1d4e0713b2d77331f29c9aa.tar.bz2
SledjHamr-b8ac69f1c3e21822b1d4e0713b2d77331f29c9aa.tar.xz
Turn on the script running stuff, clean out the now excess tests, then move the runner to it's own file.
Diffstat (limited to 'LuaSL/src/LuaSL.h')
-rw-r--r--LuaSL/src/LuaSL.h9
1 files changed, 6 insertions, 3 deletions
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 @@
13#include <Edje.h> 13#include <Edje.h>
14#include <stdio.h> 14#include <stdio.h>
15#include <ctype.h> 15#include <ctype.h>
16 16
17#define WIDTH (1024) 17#define WIDTH (1024)
18#define HEIGHT (768) 18#define HEIGHT (768)
19 19
@@ -41,7 +41,7 @@
41// NEVER change this 41// NEVER change this
42typedef enum 42typedef enum
43{ 43{
44 FALSE = 0, 44 FALSE = 0,
45 TRUE = 1 45 TRUE = 1
46} boolean; 46} boolean;
47#endif 47#endif
@@ -60,9 +60,12 @@ typedef struct
60boolean compilerSetup(gameGlobals *game); 60boolean compilerSetup(gameGlobals *game);
61boolean compileLSL(gameGlobals *game, char *script, boolean doConstants); 61boolean compileLSL(gameGlobals *game, char *script, boolean doConstants);
62 62
63void runnerSetup(gameGlobals *game);
64void runnerTearDown(gameGlobals *game);
65void runLuaFile(gameGlobals *game, const char *filename);
66
63void loggingStartup(gameGlobals *game); 67void loggingStartup(gameGlobals *game);
64char *getDateTime(struct tm **nowOut, char *dateOut, time_t *tiemOut); 68char *getDateTime(struct tm **nowOut, char *dateOut, time_t *tiemOut);
65float timeDiff(struct timeval *now, struct timeval *then); 69float timeDiff(struct timeval *now, struct timeval *then);
66 70
67#include "LuaSL_LSL_tree.h" 71#include "LuaSL_LSL_tree.h"
68