aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL')
-rw-r--r--LuaSL/Test sim/index.omg2
-rw-r--r--LuaSL/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/index.omg20
-rw-r--r--LuaSL/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/~ball/index.omg1
-rw-r--r--LuaSL/src/LuaSL_runner.c9
4 files changed, 32 insertions, 0 deletions
diff --git a/LuaSL/Test sim/index.omg b/LuaSL/Test sim/index.omg
new file mode 100644
index 0000000..afb422a
--- /dev/null
+++ b/LuaSL/Test sim/index.omg
@@ -0,0 +1,2 @@
1<125.432899,128.229706,3500.5> <0.5,5.,5.> <0.,270.,180.> objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/index.omg
2
diff --git a/LuaSL/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/index.omg b/LuaSL/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/index.omg
new file mode 100644
index 0000000..a2dcaad
--- /dev/null
+++ b/LuaSL/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/index.omg
@@ -0,0 +1,20 @@
1nc .MENUITEMS
2nc .POSITIONS
3nc .PROPS.example
4nc .SEQUENCES.example
5nc .readme
6obj ~ball
7lsl 344fe8d3-97c9-4fec-ab70-a121266a6539 ~memory
8lsl 025b80de-b8de-4571-b699-190bf906c134 ~menucfg
9lsl a22de921-3ccd-4005-9ecc-ef8bb1201b7c ~menu
10lsl 41e4b1ad-3153-4d8a-8c0a-42bb79345dce ~pose
11lsl 04dae926-3663-477d-bcac-ff38ef3fd34d ~poser 1
12lsl 0813b7fb-0641-4831-9531-654da1361ae5 ~poser 2
13lsl 2fc4e9bb-087f-4e1a-b019-fce70d715151 ~poser 3
14lsl a7fa563e-b699-48e2-b27f-7cd3737e5702 ~poser 4
15lsl a3bb1355-bdbb-4c25-8907-437add217f14 ~poser 5
16lsl 3b0abc52-f892-4846-97ae-c4e7b159c644 ~poser
17lsl 9e03bb0c-c48e-4855-8e33-91519bed560e ~pos
18lsl 1a06486b-9e63-4a4c-ad65-7572cda834bd ~props
19lsl c2119303-2a2d-4685-b9e6-6a07797225f4 ~run
20
diff --git a/LuaSL/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/~ball/index.omg b/LuaSL/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/~ball/index.omg
new file mode 100644
index 0000000..ea9d81b
--- /dev/null
+++ b/LuaSL/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/~ball/index.omg
@@ -0,0 +1 @@
lsl 0cfaeafe-ac53-4575-af89-0b79a39522d2 ~ball
diff --git a/LuaSL/src/LuaSL_runner.c b/LuaSL/src/LuaSL_runner.c
index c2bb8f0..32f2c4e 100644
--- a/LuaSL/src/LuaSL_runner.c
+++ b/LuaSL/src/LuaSL_runner.c
@@ -256,5 +256,14 @@ void runnerTearDown(gameGlobals *game)
256 * This code currently pretends that there is a local file based sim object store available. 256 * This code currently pretends that there is a local file based sim object store available.
257 * I think it would be a good idea to abuse the OpenSim cache system to produce that file based object store. 257 * I think it would be a good idea to abuse the OpenSim cache system to produce that file based object store.
258 * It will help with the "damn OpenSim's asset database has to be a bottomless pit" monster design flaw. 258 * It will help with the "damn OpenSim's asset database has to be a bottomless pit" monster design flaw.
259 * Prim contents must all be unique names anyway, and there are SOME constraints on contents names, so probably don't have to do much to convert an item name to a legal file name.
260 * Oops, names can have directory slashes in them. lol
261 * On the other hand, sim objects CAN have the same name.
262 *
263 * So we got sim directories, with an objects directory inside it, with object directories inside that. The object directories have object files in them. This is all like the test setup that is here.
264 * We need metadata. Sim metadata, object metadata, and object contents metadata. That can be done with a "foo.omg" file at each level.
265 * sim/index.omg - the list of object name.UUIDs, their X,Y,Z location, size, and rotation.
266 * sim/objects/objectName_UUID/index.omg - the list of contents names, item UUIDs, asset UUIDs, and types.
267 * sim/objects/objectName/subObjectName - the list of ITS contents names, item UUIDs, asset UUIDs, and types.
259 * 268 *
260*/ 269*/