diff options
-rw-r--r-- | OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs | 5 | ||||
-rw-r--r-- | OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs index 2bda5ba..4f989fa 100644 --- a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -202,6 +202,11 @@ namespace OpenSim.Terrain | |||
202 | resultText += "terrain bake - saves the current terrain into the revert map\n"; | 202 | resultText += "terrain bake - saves the current terrain into the revert map\n"; |
203 | resultText += "terrain csfilter <filename.cs> - loads a new filter from the specified .cs file\n"; | 203 | resultText += "terrain csfilter <filename.cs> - loads a new filter from the specified .cs file\n"; |
204 | resultText += "terrain jsfilter <filename.js> - loads a new filter from the specified .js file\n"; | 204 | resultText += "terrain jsfilter <filename.js> - loads a new filter from the specified .js file\n"; |
205 | foreach (KeyValuePair<string, ITerrainFilter> filter in customFilters.filters) | ||
206 | { | ||
207 | resultText += filter.Value.Help(); | ||
208 | } | ||
209 | |||
205 | return false; | 210 | return false; |
206 | 211 | ||
207 | case "revert": | 212 | case "revert": |
diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs index 6a83c8a..689375d 100644 --- a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs +++ b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs | |||
@@ -15,6 +15,7 @@ namespace OpenSim.Terrain | |||
15 | { | 15 | { |
16 | void Filter(Channel heightmap, string[] args); | 16 | void Filter(Channel heightmap, string[] args); |
17 | string Register(); | 17 | string Register(); |
18 | string Help(); | ||
18 | } | 19 | } |
19 | 20 | ||
20 | public class TestFilter : ITerrainFilter | 21 | public class TestFilter : ITerrainFilter |
@@ -28,6 +29,11 @@ namespace OpenSim.Terrain | |||
28 | { | 29 | { |
29 | return "demofilter"; | 30 | return "demofilter"; |
30 | } | 31 | } |
32 | |||
33 | public string Help() | ||
34 | { | ||
35 | return "demofilter - Does nothing"; | ||
36 | } | ||
31 | } | 37 | } |
32 | 38 | ||
33 | public class FilterHost | 39 | public class FilterHost |