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

3
Lag_meter/Lag_meter.sol Normal file
View File

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

View File

@@ -0,0 +1,6 @@
<Project name="Lag_meter" guid="D7EDA100-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D7EDA1F8-6C00-1014-B904-200204C60A89">
<Script name="Lag_meter_1.lsl" guid="D7EDBE2C-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>

View File

@@ -0,0 +1,68 @@
// :CATEGORY:Lag Meter
// :NAME:Lag_meter
// :AUTHOR:Anonymous
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:38:56
// :ID:451
// :NUM:607
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// The script
// :CODE:
float lag;
string lagStr;
integer decimalsAccuracy = 3;
string percentageLag()
{
lag = 1 - llGetRegionTimeDilation();
lag *= 100;
lagStr = (string)lag;
list cheat = llParseString2List(lagStr, ["."], []);
lagStr = llList2String(cheat, 0);
string decimals = llGetSubString(llList2String(cheat, 1), 0, decimalsAccuracy - 1);
string text = lagStr+"."+decimals+"%";
return text;
}
string getFPS()
{
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;
}
default