* Reimplementing Terrain as Region Modules

* New method involves interfaces for
** Terrain Paint Brushes (ie raise brush, lower brush, etc)
** Terrain Flood Brushes (ie raise area, lower area, etc)
** Terrain Effects (ie erosion, etc) [= W.I.P, not committed]
* Provided sample implementation for Raise Paint and Raise Area brushes.
This commit is contained in:
Adam Frisby
2008-02-26 14:51:13 +00:00
parent 9f5586890a
commit eae7be1e36
3 changed files with 81 additions and 0 deletions

View File

@@ -39,6 +39,16 @@ using libsecondlife;
namespace OpenSim.Region.Environment.Modules.Terrain
{
public interface ITerrainPaintableEffect
{
void PaintEffect(ITerrainChannel map, double x, double y, double strength);
}
public interface ITerrainFloodEffect
{
void FloodEffect(ITerrainChannel map, Boolean[,] fillArea, double strength);
}
/// <summary>
/// A new version of the old Channel class, simplified
/// </summary>