diff options
Diffstat (limited to '')
-rw-r--r-- | LuaSL/src/LuaSL.h | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/LuaSL/src/LuaSL.h b/LuaSL/src/LuaSL.h index f6a5fad..6d495fa 100644 --- a/LuaSL/src/LuaSL.h +++ b/LuaSL/src/LuaSL.h | |||
@@ -49,17 +49,6 @@ typedef enum | |||
49 | 49 | ||
50 | typedef struct | 50 | typedef struct |
51 | { | 51 | { |
52 | char SID[PATH_MAX]; | ||
53 | char fileName[PATH_MAX]; | ||
54 | struct timeval startTime; | ||
55 | float compileTime; | ||
56 | int bugs, warnings; | ||
57 | boolean running; | ||
58 | |||
59 | } script; | ||
60 | |||
61 | typedef struct | ||
62 | { | ||
63 | Ecore_Evas *ee; // Our window. | 52 | Ecore_Evas *ee; // Our window. |
64 | Evas *canvas; // The canvas for drawing directly onto. | 53 | Evas *canvas; // The canvas for drawing directly onto. |
65 | Evas_Object *bg; // Our background edje, also the game specific stuff. | 54 | Evas_Object *bg; // Our background edje, also the game specific stuff. |
@@ -72,6 +61,24 @@ typedef struct | |||
72 | boolean ui; // Wether we actually start up the UI. | 61 | boolean ui; // Wether we actually start up the UI. |
73 | } gameGlobals; | 62 | } gameGlobals; |
74 | 63 | ||
64 | typedef struct | ||
65 | { | ||
66 | char SID[PATH_MAX]; | ||
67 | char fileName[PATH_MAX]; | ||
68 | struct timeval startTime; | ||
69 | float compileTime; | ||
70 | int bugs, warnings; | ||
71 | boolean running; | ||
72 | gameGlobals *game; | ||
73 | Ecore_Con_Client *client; | ||
74 | } script; | ||
75 | |||
76 | typedef struct | ||
77 | { | ||
78 | script *script; | ||
79 | const char message[PATH_MAX]; | ||
80 | } scriptMessage; | ||
81 | |||
75 | 82 | ||
76 | void loggingStartup(gameGlobals *game); | 83 | void loggingStartup(gameGlobals *game); |
77 | char *getDateTime(struct tm **nowOut, char *dateOut, time_t *tiemOut); | 84 | char *getDateTime(struct tm **nowOut, char *dateOut, time_t *tiemOut); |