diff options
author | Justin Clark-Casey (justincc) | 2012-03-24 02:16:44 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-24 02:16:44 +0000 |
commit | cf61c74e90324e07cb4b15f9c597fef00c047c75 (patch) | |
tree | 25a16f21955b0766b045cc7e2115ff59c338140b /OpenSim/Region/CoreModules/World/Terrain/ITerrainLoader.cs | |
parent | Have the PhysicsParameters module output console command responses (diff) | |
download | opensim-SC_OLD-cf61c74e90324e07cb4b15f9c597fef00c047c75.zip opensim-SC_OLD-cf61c74e90324e07cb4b15f9c597fef00c047c75.tar.gz opensim-SC_OLD-cf61c74e90324e07cb4b15f9c597fef00c047c75.tar.bz2 opensim-SC_OLD-cf61c74e90324e07cb4b15f9c597fef00c047c75.tar.xz |
Give feedback when "terrain save-tile" is not successfully invoked.
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Terrain/ITerrainLoader.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/ITerrainLoader.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/ITerrainLoader.cs b/OpenSim/Region/CoreModules/World/Terrain/ITerrainLoader.cs index 7237f90..d407617 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/ITerrainLoader.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/ITerrainLoader.cs | |||
@@ -38,6 +38,21 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
38 | ITerrainChannel LoadStream(Stream stream); | 38 | ITerrainChannel LoadStream(Stream stream); |
39 | void SaveFile(string filename, ITerrainChannel map); | 39 | void SaveFile(string filename, ITerrainChannel map); |
40 | void SaveStream(Stream stream, ITerrainChannel map); | 40 | void SaveStream(Stream stream, ITerrainChannel map); |
41 | |||
42 | /// <summary> | ||
43 | /// Save a number of map tiles to a single big image file. | ||
44 | /// </summary> | ||
45 | /// <remarks> | ||
46 | /// If the image file already exists then the tiles saved will replace those already in the file - other tiles | ||
47 | /// will be untouched. | ||
48 | /// </remarks> | ||
49 | /// <param name="filename">The terrain file to save</param> | ||
50 | /// <param name="offsetX">The map x co-ordinate at which to begin the save.</param> | ||
51 | /// <param name="offsetY">The may y co-ordinate at which to begin the save.</param> | ||
52 | /// <param name="fileWidth">The number of tiles to save along the X axis.</param> | ||
53 | /// <param name="fileHeight">The number of tiles to save along the Y axis.</param> | ||
54 | /// <param name="regionSizeX">The width of a map tile.</param> | ||
55 | /// <param name="regionSizeY">The height of a map tile.</param> | ||
41 | void SaveFile(ITerrainChannel map, string filename, int offsetX, int offsetY, int fileWidth, int fileHeight, int regionSizeX, int regionSizeY); | 56 | void SaveFile(ITerrainChannel map, string filename, int offsetX, int offsetY, int fileWidth, int fileHeight, int regionSizeX, int regionSizeY); |
42 | } | 57 | } |
43 | } \ No newline at end of file | 58 | } \ No newline at end of file |