diff options
Diffstat (limited to '')
-rwxr-xr-x | src/extantz/build.lua | 2 | ||||
-rw-r--r-- | src/extantz/extantz.c | 6 | ||||
-rw-r--r-- | src/extantz/extantz.h | 1 | ||||
-rw-r--r-- | src/extantz/scenri.h | 2 |
4 files changed, 10 insertions, 1 deletions
diff --git a/src/extantz/build.lua b/src/extantz/build.lua index 99362d1..618de3f 100755 --- a/src/extantz/build.lua +++ b/src/extantz/build.lua | |||
@@ -13,7 +13,7 @@ if 'nil' == type(dir) then | |||
13 | dir = workingDir | 13 | dir = workingDir |
14 | end | 14 | end |
15 | 15 | ||
16 | CFLAGS = CFLAGS .. ' -I../../libraries/irrlicht-1.8.1/include -I/usr/X11R6/include -I../GuiLua' | 16 | CFLAGS = CFLAGS .. ' -I../../libraries/irrlicht-1.8.1/include -I/usr/X11R6/include -I../GuiLua -I../love' |
17 | LDFLAGS = LDFLAGS .. ' -L../../libraries/irrlicht-1.8.1/lib/Linux' | 17 | LDFLAGS = LDFLAGS .. ' -L../../libraries/irrlicht-1.8.1/lib/Linux' |
18 | libs = libs .. ' -lIrrlicht -lephysics -lGL -lbz2 -lGuiLua -lwinFang -lRunnr' | 18 | libs = libs .. ' -lIrrlicht -lephysics -lGL -lbz2 -lGuiLua -lwinFang -lRunnr' |
19 | 19 | ||
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 2ccb97c..e611e4d 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -11,6 +11,8 @@ static void on_pixels(void *data, Evas_Object *obj); | |||
11 | int logDom = -1; // Our logging domain. | 11 | int logDom = -1; // Our logging domain. |
12 | globals ourGlobals; | 12 | globals ourGlobals; |
13 | static Eina_Strbuf *serverStream; | 13 | static Eina_Strbuf *serverStream; |
14 | static char *myKey = "12345678-1234-4321-abcd-0123456789ab"; | ||
15 | //static char *myName = "onefang rejected"; | ||
14 | 16 | ||
15 | 17 | ||
16 | 18 | ||
@@ -20,6 +22,10 @@ static Eina_Bool _add(void *data, int type, Ecore_Con_Event_Server_Add *ev) | |||
20 | 22 | ||
21 | PI("Connected to love server."); | 23 | PI("Connected to love server."); |
22 | ourGlobals->server = ev->server; | 24 | ourGlobals->server = ev->server; |
25 | |||
26 | // Pretend we logged in. | ||
27 | strcpy(ourGlobals->uuid, myKey); | ||
28 | |||
23 | if (ourGlobals->LSLGuiMess) ourGlobals->LSLGuiMess->server = ourGlobals->server; | 29 | if (ourGlobals->LSLGuiMess) ourGlobals->LSLGuiMess->server = ourGlobals->server; |
24 | if (ourGlobals->purkle) ourGlobals->purkle->server = ourGlobals->server; | 30 | if (ourGlobals->purkle) ourGlobals->purkle->server = ourGlobals->server; |
25 | 31 | ||
diff --git a/src/extantz/extantz.h b/src/extantz/extantz.h index ca62bdc..1b49f45 100644 --- a/src/extantz/extantz.h +++ b/src/extantz/extantz.h | |||
@@ -235,6 +235,7 @@ typedef struct _globals | |||
235 | GuiLua *LSLGuiMess; | 235 | GuiLua *LSLGuiMess; |
236 | 236 | ||
237 | Ecore_Con_Server *server; | 237 | Ecore_Con_Server *server; |
238 | char uuid[42]; | ||
238 | 239 | ||
239 | } globals; | 240 | } globals; |
240 | 241 | ||
diff --git a/src/extantz/scenri.h b/src/extantz/scenri.h index 7889d22..93b3f16 100644 --- a/src/extantz/scenri.h +++ b/src/extantz/scenri.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef _SCENRI_H_ | 1 | #ifndef _SCENRI_H_ |
2 | #define _SCENRI_H_ | 2 | #define _SCENRI_H_ |
3 | 3 | ||
4 | #include "love.h" | ||
5 | |||
4 | typedef struct _cameraMove | 6 | typedef struct _cameraMove |
5 | { | 7 | { |
6 | float x, y, z; | 8 | float x, y, z; |