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="Prim_Counter__Lag_display">
<Project name="Prim_Counter__Lag_display" path="Prim_Counter__Lag_display\Prim_Counter__Lag_display.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,156 @@
// :CATEGORY:Prim Calculator
// :NAME:Prim_Counter__Lag_display
// :AUTHOR:Jamie Galliard
// :CREATED:2011-12-10 03:10:41.670
// :EDITED:2013-09-18 15:39:00
// :ID:651
// :NUM:887
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Prim_Counter__Lag_display
// :CODE:
// Author: Jamie Galliard
// This program is free software; you can redistribute it and/or modify it.
// License information must be included in any script you give out or use.
// by [[Jamie Galliard]], code released to the public domain under GNU GPL version 3.0 license.
// you are free to use, but not sell this script. If included in your product, the script
// must me full perm.
// Please leave any authors credits intact in any script you use or publish.
////////////////////////////////////////////////////////////////////
//
// May not be sold with explicit permission from Jamie Galliard.
// script may not be modified without permission from Jamie Galliard
//
// Most of this comes from the Second Life LSL Portal [ http://wiki.secondlife.com/wiki/LSL_Portal ]
// And I am sure this could be all be optimized.
integer decimals_accuracy = 2;
integer prim_ammount;
float prim_used;
float prim_max;
integer switch;
list parcel;
string parcel_owner;
string Lag()
{
float lag=1-llGetRegionTimeDilation();
lag*=100;
string lagStr=(string)lag;
list cheat=llParseString2List(lagStr,["."],[]);
lagStr=llList2String(cheat,0);
string text = lagStr + "%";
return text;
}
string FPS()
{
float fps=llGetRegionFPS();
string str=(string)fps;
list cheat=llParseString2List(str,["."],[]);
str=llList2String(cheat,0);
string decimals=llGetSubString(llList2String(cheat,1),0,1);
string text = str + "." + decimals;
return text;
}
string getFPS()
{
float fps = llGetRegionTimeDilation();
string str = (string)fps;
list cheat = llParseString2List(str, ["."], []);
str = llList2String(cheat, 0);
string decimals = llGetSubString(llList2String(cheat, 1), 0, 1);
string text = str + "." + decimals;
return text;
}
string percent(float in)
{
string str = (string)in;
list cheat = llParseString2List(str, ["."], []);
str = llList2String(cheat, 0);
return str;
}
light(integer on) // Set between Green and Black for On and Off.
{
if (on)
{
llSetLinkPrimitiveParamsFast(-2,[PRIM_POINT_LIGHT, TRUE, <0, 1, 0>, 1.0, 0.5, 0.75, PRIM_FULLBRIGHT, ALL_SIDES, TRUE, PRIM_COLOR, ALL_SIDES, <0,1,0>, 1]);

View File

@@ -0,0 +1,6 @@
<Project name="Prim_Counter__Lag_display" guid="D8BE45C4-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D8BE46B5-6C00-1014-B904-200204C60A89">
<Script name="Prim_Counter__Lag_display_1.lsl" guid="D8BE6EE3-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>