aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-21 18:59:33 +1000
committerDavid Walter Seikel2014-04-21 18:59:33 +1000
commit6099a79ef6397ca80cc892fecbfe7faf5b49cb00 (patch)
treefcfa1ca724cf5e68deddc808ed965ac68c4c4071 /LuaSL
parentConvert LuaSL to use LumbrJack. (diff)
downloadSledjHamr-6099a79ef6397ca80cc892fecbfe7faf5b49cb00.zip
SledjHamr-6099a79ef6397ca80cc892fecbfe7faf5b49cb00.tar.gz
SledjHamr-6099a79ef6397ca80cc892fecbfe7faf5b49cb00.tar.bz2
SledjHamr-6099a79ef6397ca80cc892fecbfe7faf5b49cb00.tar.xz
Move images to the base directory, and point all the special EFL directories to the base.
Diffstat (limited to 'LuaSL')
-rw-r--r--LuaSL/src/LuaSL.h2
-rw-r--r--LuaSL/src/LuaSL_compile.c4
-rw-r--r--LuaSL/src/LuaSL_test.c4
-rw-r--r--LuaSL/src/images/bubble.pngbin4737 -> 0 bytes
-rw-r--r--LuaSL/src/images/bubble_sh.pngbin1600 -> 0 bytes
-rw-r--r--LuaSL/src/images/test.pngbin22869 -> 0 bytes
6 files changed, 5 insertions, 5 deletions
diff --git a/LuaSL/src/LuaSL.h b/LuaSL/src/LuaSL.h
index 5dfa0eb..9055ca8 100644
--- a/LuaSL/src/LuaSL.h
+++ b/LuaSL/src/LuaSL.h
@@ -1,7 +1,7 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2#include "config.h" 2#include "config.h"
3#else 3#else
4#define PACKAGE_EXAMPLES_DIR "." 4//#define PACKAGE_EXAMPLES_DIR "."
5#define __UNUSED__ 5#define __UNUSED__
6#endif 6#endif
7 7
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index afff67f..4a0a42f 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -2119,9 +2119,9 @@ boolean compilerSetup(gameGlobals *ourGlobals)
2119 } 2119 }
2120 2120
2121 // Compile the constants. 2121 // Compile the constants.
2122 snprintf(buf, sizeof(buf), "lua -e 'require(\"LSL\").gimmeLSL()' > %s/constants.lsl", PACKAGE_DATA_DIR); 2122 snprintf(buf, sizeof(buf), "lua -e 'require(\"LSL\").gimmeLSL()' > %s/LuaSL/constants.lsl", PACKAGE_DATA_DIR);
2123 system(buf); 2123 system(buf);
2124 snprintf(buf, sizeof(buf), "%s/constants.lsl", PACKAGE_DATA_DIR); 2124 snprintf(buf, sizeof(buf), "%s/LuaSL/constants.lsl", PACKAGE_DATA_DIR);
2125 compileLSL(ourGlobals, NULL, "FAKE_SID", buf, TRUE); 2125 compileLSL(ourGlobals, NULL, "FAKE_SID", buf, TRUE);
2126 2126
2127 return TRUE; 2127 return TRUE;
diff --git a/LuaSL/src/LuaSL_test.c b/LuaSL/src/LuaSL_test.c
index 51fd902..74236cf 100644
--- a/LuaSL/src/LuaSL_test.c
+++ b/LuaSL/src/LuaSL_test.c
@@ -147,7 +147,7 @@ static Eina_Bool _add(void *data, int type __UNUSED__, Ecore_Con_Event_Server_Ad
147 147
148 ourGlobals->server = ev->server; 148 ourGlobals->server = ev->server;
149 gettimeofday(&startTime, NULL); 149 gettimeofday(&startTime, NULL);
150 snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR); 150 snprintf(buf, sizeof(buf), "%s/LuaSL/Test sim/objects", PACKAGE_DATA_DIR);
151 eina_file_dir_list(buf, EINA_TRUE, dirList_compile, ourGlobals); 151 eina_file_dir_list(buf, EINA_TRUE, dirList_compile, ourGlobals);
152 // Wait awhile, then start sending events for testing. 152 // Wait awhile, then start sending events for testing.
153 ecore_timer_add(0.5, _timer_cb, ourGlobals); 153 ecore_timer_add(0.5, _timer_cb, ourGlobals);
@@ -391,7 +391,7 @@ int main(int argc, char **argv)
391 evas_object_focus_set(ourGlobals.bg, EINA_TRUE); 391 evas_object_focus_set(ourGlobals.bg, EINA_TRUE);
392 392
393 ourGlobals.edje = edje_object_add(ourGlobals.canvas); 393 ourGlobals.edje = edje_object_add(ourGlobals.canvas);
394 snprintf(buf, sizeof(buf), "%s/%s.edj", PACKAGE_DATA_DIR, "LuaSL"); 394 snprintf(buf, sizeof(buf), "%s/LuaSL/%s.edj", PACKAGE_DATA_DIR, "LuaSL");
395 if (!edje_object_file_set(ourGlobals.edje, buf, group)) 395 if (!edje_object_file_set(ourGlobals.edje, buf, group))
396 { 396 {
397 int err = edje_object_load_error_get(ourGlobals.edje); 397 int err = edje_object_load_error_get(ourGlobals.edje);
diff --git a/LuaSL/src/images/bubble.png b/LuaSL/src/images/bubble.png
deleted file mode 100644
index 8fc50f9..0000000
--- a/LuaSL/src/images/bubble.png
+++ /dev/null
Binary files differ
diff --git a/LuaSL/src/images/bubble_sh.png b/LuaSL/src/images/bubble_sh.png
deleted file mode 100644
index b66c1e6..0000000
--- a/LuaSL/src/images/bubble_sh.png
+++ /dev/null
Binary files differ
diff --git a/LuaSL/src/images/test.png b/LuaSL/src/images/test.png
deleted file mode 100644
index fb620d7..0000000
--- a/LuaSL/src/images/test.png
+++ /dev/null
Binary files differ