removed useless _ folders

This commit is contained in:
Fred Beckhusen
2015-08-09 16:54:31 -05:00
parent fde850293c
commit 948a44dfba
5204 changed files with 2425579 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<Solution name="v7D_Enh_Landmark2Map">
<Project name="v7D_Enh_Landmark2Map" path="v7D_Enh_Landmark2Map\v7D_Enh_Landmark2Map.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,121 @@
// :CATEGORY:Map
// :NAME:v7D_Enh_Landmark2Map
// :AUTHOR:Void Singer
// :CREATED:2010-02-01 19:36:08.207
// :EDITED:2013-09-18 15:39:09
// :ID:945
// :NUM:1355
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Script (Fast Response Version)
// :CODE:
/*//( v7-D Enhanced Landmark Mapper v1.1f )//*/
/*//-- Requirements:
3 linked Prims (minimum)
1 Named "prev" (this will be your previous landmark button)
1 Named "next" (this will be your next landmark button)
any other prim in the object will trigger the map destination for the
currently displayed Landmark name. Recommended to rename landmarks.
//*/
integer gIdxTgt; /*//-- Index of Target --//*/
list gLstLMs; /*//-- List of Landmarks --//*/
list gLstLoc; /*//-- Listt of Locations--//*/
key gKeySec; /*//-- Key for Security checking dataserver calls --//*/
float gFltTmt = 5.0; /*//-- Float for Timeout (dataserver calls & inventory changes) --//*/
default{
state_entry(){
llOwnerSay( "Rebuilding Database" );
gIdxTgt = llGetInventoryNumber( INVENTORY_LANDMARK );
/*//-- Gab Landmark Names For Display --//*/
if (gIdxTgt){
while(gIdxTgt){
gLstLMs = (list)llGetInventoryName( INVENTORY_LANDMARK, --gIdxTgt ) + gLstLMs;
}
/*//-- Get First LM Location --//*/
gKeySec = llRequestInventoryData( llList2String( gLstLMs, gIdxTgt = (gLstLMs != []) - 1 ) );
/*//-- (gLstLMs != []) == llGetListLength( gLstLMs ) --//*/
/*//-- negative indices would've been nice if they were supported by the Req.Inv.Data call --//*/
llSetTimerEvent( gFltTmt );
}
else{
gLstLMs = (list)"Out Of Order, No Landmarks Present";
gLstLoc = (list)<128.0, 128.0, 0.0>;
state sReady;
}
}
dataserver( key vKeySec, string vStrLoc ){
/*//-- verify we're getting our data, not another scripts --//*/
if (gKeySec == vKeySec){
/*//-- Store Location Vector --//*/
gLstLoc = (list)((vector)vStrLoc) + gLstLoc;
if (gIdxTgt){
/*//-- Get Next LM Location --//*/
gKeySec = llRequestInventoryData( llList2String( gLstLMs, --gIdxTgt ) );
llSetTimerEvent( gFltTmt );
}
else{
/*//-- Clear Timeout Because Timers Cross States --//*/
llSetTimerEvent( 0.0 );
state sReady;
}
}

View File

@@ -0,0 +1,86 @@
// :CATEGORY:Map
// :NAME:v7D_Enh_Landmark2Map
// :AUTHOR:Void Singer
// :CREATED:2010-02-01 19:36:08.207
// :EDITED:2013-09-18 15:39:09
// :ID:945
// :NUM:1356
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Script (Small Code Version)
// :CODE:
/*//( v7-D Enhanced Landmark Mapper v1.1s )//*/
/*//-- Requirements:
3 linked Prims (minimum)
1 Named "prev" (this will be your previous landmark button)
1 Named "next" (this will be your next landmark button)
any other prim in the object will trigger the map destination for the
currently displayed Landmark name. Recommended to rename landmarks.
//*/
integer gIdxTgt; /*//-- Index of Target LM --//*/
string gStrLMN; /*//-- String of Landmark Name --//*/
vector gPosLoc; /*//-- Position of Location --//*/
key gKeySec; /*//-- Key for Security checking dataserver calls --//*/
uUpdateLM( integer vIntCng ){
integer vIntCnt = llGetInventoryNumber( INVENTORY_LANDMARK );
if (vIntCnt){
gIdxTgt = gIdxTgt = (vIntCnt + (gIdxTgt + vIntCng)) % vIntCnt;
/*//-- " + vIntCnt" correct for positive index needed by Req.Inv.Dat. --//*/
/*//-- " % vIntCnt" range limit for current LM count --//*/
gStrLMN = llGetInventoryName( INVENTORY_LANDMARK, gIdxTgt *= (gIdxTgt >= 0) );
/*//-- (gIdxTgt >= 0) to protect against mass deletions of LMs enabling negative indices --//*/
gKeySec = llRequestInventoryData( gStrLMN );
llSetTimerEvent( 5.0 );
}
else{
/*//-- Uh Oh, set a default of current sim, center, ground level --//*/
llSetText( "Out Of Order, No Landmarks Present", <1.0, 0.0, 0.0>, 1.0 );
gPosLoc = <128.0, 128.0, 0.0>;
}
}
default{
state_entry(){
uUpdateLM( 0 );
}

View File

@@ -0,0 +1,8 @@
<Project name="v7D_Enh_Landmark2Map" guid="D847B8EA-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D847B9BF-6C00-1014-B904-200204C60A89">
<Script name="v7D_Enh_Landmark2Map_1.lsl" guid="D847EBC7-6C00-1014-B904-200204C60A89">
</Script>
<Script name="v7D_Enh_Landmark2Map_2.lsl" guid="D848047A-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>