aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL.h
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL.h')
-rw-r--r--LuaSL/src/LuaSL.h31
1 files changed, 3 insertions, 28 deletions
diff --git a/LuaSL/src/LuaSL.h b/LuaSL/src/LuaSL.h
index 086d1b7..5dfa0eb 100644
--- a/LuaSL/src/LuaSL.h
+++ b/LuaSL/src/LuaSL.h
@@ -23,39 +23,16 @@ typedef struct _script script; // Define this here, so LuaSL_threads.h can use
23typedef struct _gameGlobals gameGlobals; // Define this here, so LuaSL_threads.h can use it. 23typedef struct _gameGlobals gameGlobals; // Define this here, so LuaSL_threads.h can use it.
24 24
25#include "LuaSL_threads.h" 25#include "LuaSL_threads.h"
26#include "LumbrJack.h"
26 27
27 28
28#define WIDTH (1024) 29#define WIDTH (1024)
29#define HEIGHT (768) 30#define HEIGHT (768)
30 31
31#define PC(...) EINA_LOG_DOM_CRIT(game->logDom, __VA_ARGS__)
32#define PE(...) EINA_LOG_DOM_ERR(game->logDom, __VA_ARGS__)
33#define PW(...) EINA_LOG_DOM_WARN(game->logDom, __VA_ARGS__)
34#define PD(...) EINA_LOG_DOM_DBG(game->logDom, __VA_ARGS__)
35#define PI(...) EINA_LOG_DOM_INFO(game->logDom, __VA_ARGS__)
36
37#define PCm(...) EINA_LOG_DOM_CRIT(game.logDom, __VA_ARGS__)
38#define PEm(...) EINA_LOG_DOM_ERR(game.logDom, __VA_ARGS__)
39#define PWm(...) EINA_LOG_DOM_WARN(game.logDom, __VA_ARGS__)
40#define PDm(...) EINA_LOG_DOM_DBG(game.logDom, __VA_ARGS__)
41#define PIm(...) EINA_LOG_DOM_INFO(game.logDom, __VA_ARGS__)
42
43#define D() PD("DEBUG")
44
45// "01:03:52 01-01-1973\n\0"
46#define DATE_TIME_LEN 21
47 32
48#define TABLE_WIDTH 7 33#define TABLE_WIDTH 7
49#define TABLE_HEIGHT 42 34#define TABLE_HEIGHT 42
50 35
51#ifndef FALSE
52// NEVER change this
53typedef enum
54{
55 FALSE = 0,
56 TRUE = 1
57} boolean;
58#endif
59 36
60struct _gameGlobals 37struct _gameGlobals
61{ 38{
@@ -97,11 +74,9 @@ typedef struct
97} scriptMessage; 74} scriptMessage;
98 75
99 76
100void loggingStartup(gameGlobals *game);
101char *getDateTime(struct tm **nowOut, char *dateOut, time_t *tiemOut);
102void scriptSendBack(void * data); 77void scriptSendBack(void * data);
103void sendBack(gameGlobals *game, Ecore_Con_Client *client, const char *SID, const char *message, ...); 78void sendBack(gameGlobals *ourGlobals, Ecore_Con_Client *client, const char *SID, const char *message, ...);
104void sendForth(gameGlobals *game, const char *SID, const char *message, ...); 79void sendForth(gameGlobals *ourGlobals, const char *SID, const char *message, ...);
105float timeDiff(struct timeval *now, struct timeval *then); 80float timeDiff(struct timeval *now, struct timeval *then);
106 81
107#include "LuaSL_LSL_tree.h" 82#include "LuaSL_LSL_tree.h"