diff options
author | Adam Frisby | 2008-04-27 23:54:16 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-27 23:54:16 +0000 |
commit | 7693a7dac9e6b4c8ed6d4028e210c611ad9d01ce (patch) | |
tree | 05e4de1f05ce98a74e85519b6c252b49193519c7 /OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs | |
parent | * Patch from XenReborn to make remove-region work properly without needing to... (diff) | |
download | opensim-SC-7693a7dac9e6b4c8ed6d4028e210c611ad9d01ce.zip opensim-SC-7693a7dac9e6b4c8ed6d4028e210c611ad9d01ce.tar.gz opensim-SC-7693a7dac9e6b4c8ed6d4028e210c611ad9d01ce.tar.bz2 opensim-SC-7693a7dac9e6b4c8ed6d4028e210c611ad9d01ce.tar.xz |
* Added String(FileExtension) property to ITerrainLoader to allow us to determine which file extension this loader is capable of handling.
* Added ITerrainLoader import capability to Terrain Plugins module - this allows you to write new terrain format plugins without modifying the terrain module directly.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs index 9f9edbc..2a4a8f8 100644 --- a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs +++ b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs | |||
@@ -107,6 +107,11 @@ namespace OpenSim.Region.Environment.Modules.Terrain.FileLoaders | |||
107 | throw new NotImplementedException(); | 107 | throw new NotImplementedException(); |
108 | } | 108 | } |
109 | 109 | ||
110 | public string FileExtension | ||
111 | { | ||
112 | get { return ".ter"; } | ||
113 | } | ||
114 | |||
110 | public ITerrainChannel LoadFile(string filename, int x, int y, int fileWidth, int fileHeight, int w, int h) | 115 | public ITerrainChannel LoadFile(string filename, int x, int y, int fileWidth, int fileHeight, int w, int h) |
111 | { | 116 | { |
112 | throw new NotImplementedException(); | 117 | throw new NotImplementedException(); |