aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/love
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-13 14:42:20 +1000
committerDavid Walter Seikel2014-05-13 14:42:20 +1000
commit29f3fe70aeb5f566864c7868f7c89483547e92b4 (patch)
treec142966809d5b0d67104e12c8b7ed5d61417dab8 /src/love
parentOops, left this laying around, no longer needed. (diff)
downloadSledjHamr-29f3fe70aeb5f566864c7868f7c89483547e92b4.zip
SledjHamr-29f3fe70aeb5f566864c7868f7c89483547e92b4.tar.gz
SledjHamr-29f3fe70aeb5f566864c7868f7c89483547e92b4.tar.bz2
SledjHamr-29f3fe70aeb5f566864c7868f7c89483547e92b4.tar.xz
Extantz calls love, and love calls LuaSL, and clean out the need for scripts to twiddle the Lua paths.
Diffstat (limited to 'src/love')
-rw-r--r--src/love/love.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/love/love.c b/src/love/love.c
index b0d1c05..6a3cdaa 100644
--- a/src/love/love.c
+++ b/src/love/love.c
@@ -11,6 +11,8 @@ Dedicated to my girl Boots, coz she means the world to me.
11#include <Ecore_File.h> 11#include <Ecore_File.h>
12#include <Edje.h> 12#include <Edje.h>
13 13
14#include <unistd.h>
15
14#include "LumbrJack.h" 16#include "LumbrJack.h"
15#include "Runnr.h" 17#include "Runnr.h"
16 18
@@ -377,6 +379,11 @@ int main(int argc, char **argv)
377 char *programName = argv[0]; 379 char *programName = argv[0];
378 boolean badArgs = FALSE; 380 boolean badArgs = FALSE;
379 int result = EXIT_FAILURE; 381 int result = EXIT_FAILURE;
382 char buf[PATH_MAX];
383
384 sprintf(buf, "%s/LuaSL &", PACKAGE_BIN_DIR);
385 system(buf);
386 sleep(1);
380 387
381 memset(&ourGlobals, 0, sizeof(gameGlobals)); 388 memset(&ourGlobals, 0, sizeof(gameGlobals));
382 ourGlobals.address = "127.0.0.1"; 389 ourGlobals.address = "127.0.0.1";