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/ITerrainLoader.cs | |
parent | * Patch from XenReborn to make remove-region work properly without needing to... (diff) | |
download | opensim-SC_OLD-7693a7dac9e6b4c8ed6d4028e210c611ad9d01ce.zip opensim-SC_OLD-7693a7dac9e6b4c8ed6d4028e210c611ad9d01ce.tar.gz opensim-SC_OLD-7693a7dac9e6b4c8ed6d4028e210c611ad9d01ce.tar.bz2 opensim-SC_OLD-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/ITerrainLoader.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Terrain/ITerrainLoader.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/ITerrainLoader.cs b/OpenSim/Region/Environment/Modules/Terrain/ITerrainLoader.cs index 992ed1e..c718a32 100644 --- a/OpenSim/Region/Environment/Modules/Terrain/ITerrainLoader.cs +++ b/OpenSim/Region/Environment/Modules/Terrain/ITerrainLoader.cs | |||
@@ -31,6 +31,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain | |||
31 | { | 31 | { |
32 | public interface ITerrainLoader | 32 | public interface ITerrainLoader |
33 | { | 33 | { |
34 | string FileExtension { get; } | ||
34 | ITerrainChannel LoadFile(string filename); | 35 | ITerrainChannel LoadFile(string filename); |
35 | ITerrainChannel LoadFile(string filename, int fileStartX, int fileStartY, int fileWidth, int fileHeight, int sectionWidth, int sectionHeight); | 36 | ITerrainChannel LoadFile(string filename, int fileStartX, int fileStartY, int fileWidth, int fileHeight, int sectionWidth, int sectionHeight); |
36 | void SaveFile(string filename, ITerrainChannel map); | 37 | void SaveFile(string filename, ITerrainChannel map); |