diff options
author | Adam Frisby | 2008-02-26 14:51:13 +0000 |
---|---|---|
committer | Adam Frisby | 2008-02-26 14:51:13 +0000 |
commit | eae7be1e36733580f67da742403147701f8a8d08 (patch) | |
tree | 4d47b6673fe246b96f8f34bb3a4e74ef2649a35f /OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs | |
parent | * Another slight tweak to the Voice Chat engine - crash caused by switching t... (diff) | |
download | opensim-SC_OLD-eae7be1e36733580f67da742403147701f8a8d08.zip opensim-SC_OLD-eae7be1e36733580f67da742403147701f8a8d08.tar.gz opensim-SC_OLD-eae7be1e36733580f67da742403147701f8a8d08.tar.bz2 opensim-SC_OLD-eae7be1e36733580f67da742403147701f8a8d08.tar.xz |
* 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.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs b/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs index 1b765eb..4f8b377 100644 --- a/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs +++ b/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs | |||
@@ -39,6 +39,16 @@ using libsecondlife; | |||
39 | 39 | ||
40 | namespace OpenSim.Region.Environment.Modules.Terrain | 40 | namespace OpenSim.Region.Environment.Modules.Terrain |
41 | { | 41 | { |
42 | public interface ITerrainPaintableEffect | ||
43 | { | ||
44 | void PaintEffect(ITerrainChannel map, double x, double y, double strength); | ||
45 | } | ||
46 | |||
47 | public interface ITerrainFloodEffect | ||
48 | { | ||
49 | void FloodEffect(ITerrainChannel map, Boolean[,] fillArea, double strength); | ||
50 | } | ||
51 | |||
42 | /// <summary> | 52 | /// <summary> |
43 | /// A new version of the old Channel class, simplified | 53 | /// A new version of the old Channel class, simplified |
44 | /// </summary> | 54 | /// </summary> |