changed to native line ending encoding

This commit is contained in:
Sean Dague
2007-07-16 15:40:11 +00:00
parent d216f5779c
commit 2a3c79df83
1462 changed files with 82970 additions and 82969 deletions

View File

@@ -1,50 +1,50 @@
using System;
using libTerrain;
using OpenSim.Terrain;
/// <summary>
/// A Demonstration Filter
/// </summary>
public class DemoFilter : ITerrainFilter
{
public void Filter(Channel heightmap, string[] args)
{
Console.WriteLine("Hello world");
}
public string Register()
{
return "demofilter";
}
public string Help()
{
return "demofilter - Does nothing\n";
}
}
public class SineFilter : ITerrainFilter
{
public void Filter(Channel heightmap, string[] args)
{
double max = heightmap.findMax();
for (int x = 0; x < heightmap.w; x++)
{
for (int y = 0; y < heightmap.h; y++)
{
heightmap.set(x,y,((Math.Sin(heightmap.get(x,y) * Convert.ToDouble(args[1])) + 1) / 2) * max);
}
}
}
public string Register()
{
return "sinefilter";
}
public string Help()
{
return "sinefilter <theta> - Converts the heightmap to the functional output of a sine wave";
}
using System;
using libTerrain;
using OpenSim.Terrain;
/// <summary>
/// A Demonstration Filter
/// </summary>
public class DemoFilter : ITerrainFilter
{
public void Filter(Channel heightmap, string[] args)
{
Console.WriteLine("Hello world");
}
public string Register()
{
return "demofilter";
}
public string Help()
{
return "demofilter - Does nothing\n";
}
}
public class SineFilter : ITerrainFilter
{
public void Filter(Channel heightmap, string[] args)
{
double max = heightmap.findMax();
for (int x = 0; x < heightmap.w; x++)
{
for (int y = 0; y < heightmap.h; y++)
{
heightmap.set(x,y,((Math.Sin(heightmap.get(x,y) * Convert.ToDouble(args[1])) + 1) / 2) * max);
}
}
}
public string Register()
{
return "sinefilter";
}
public string Help()
{
return "sinefilter <theta> - Converts the heightmap to the functional output of a sine wave";
}
}

View File

@@ -1,5 +1,5 @@
Not all of the files in this directory are licensed under the BSD license. Some of these files come with the Second Life viewer and are considered licensed under a Creative Commons License.
These files are:
Not all of the files in this directory are licensed under the BSD license. Some of these files come with the Second Life viewer and are considered licensed under a Creative Commons License.
These files are:
- avataranimations.xml (Derivative work of viewerart.ini, Creative Commons Attribution+Share-Alike v2.5 License)

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Copyright(C) 2002-2007 Linden Lab, OpenSim Developers -->
<!-- Based on viewerart.ini packaged with the viewer. -->
<!-- This file is a derivative work of the above while it contains default animation UUIDs -->
<!-- Licensed under a creative commons license (By-SA) http://creativecommons.org/licenses/by-sa/2.5/ -->
<animations>
<animation name="STAND">2408fe9e-df1d-1d7d-f4ff-1384fa7b350f</animation>
<animation name="WALK">6ed24bd8-91aa-4b12-ccc7-c97c857ab4e0</animation>
<animation name="FLY">aec4610c-757f-bc4e-c092-c6e9caf18daf</animation>
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Copyright(C) 2002-2007 Linden Lab, OpenSim Developers -->
<!-- Based on viewerart.ini packaged with the viewer. -->
<!-- This file is a derivative work of the above while it contains default animation UUIDs -->
<!-- Licensed under a creative commons license (By-SA) http://creativecommons.org/licenses/by-sa/2.5/ -->
<animations>
<animation name="STAND">2408fe9e-df1d-1d7d-f4ff-1384fa7b350f</animation>
<animation name="WALK">6ed24bd8-91aa-4b12-ccc7-c97c857ab4e0</animation>
<animation name="FLY">aec4610c-757f-bc4e-c092-c6e9caf18daf</animation>
</animations>

View File

@@ -1,5 +1,5 @@
<configuration>
<dllmap os="osx" dll="openjpeg-libsl.dll" target="libopenjpeg-1.1.0.dylib" />
<dllmap os="!windows,osx" cpu="x86-64,ia64" dll="openjpeg-libsl.dll" target="libopenjpeg-1.0.0-x86_64.so" />
<dllmap os="!windows,osx" cpu="x86" dll="openjpeg-libsl.dll" target="libopenjpeg-1.0.0.so" />
</configuration>
<configuration>
<dllmap os="osx" dll="openjpeg-libsl.dll" target="libopenjpeg-1.1.0.dylib" />
<dllmap os="!windows,osx" cpu="x86-64,ia64" dll="openjpeg-libsl.dll" target="libopenjpeg-1.0.0-x86_64.so" />
<dllmap os="!windows,osx" cpu="x86" dll="openjpeg-libsl.dll" target="libopenjpeg-1.0.0.so" />
</configuration>