aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ILandObject.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-04-06 17:19:31 +0100
committerJustin Clark-Casey (justincc)2011-04-06 17:19:31 +0100
commitfa202a05e914395d5a1facf8bdadb6a553516bfe (patch)
tree1d503ddd49aa4723b85ecd06d79ef98819252617 /OpenSim/Framework/ILandObject.cs
parentChange some text to make the autoreturn mechanism more obvious, and align wit... (diff)
downloadopensim-SC-fa202a05e914395d5a1facf8bdadb6a553516bfe.zip
opensim-SC-fa202a05e914395d5a1facf8bdadb6a553516bfe.tar.gz
opensim-SC-fa202a05e914395d5a1facf8bdadb6a553516bfe.tar.bz2
opensim-SC-fa202a05e914395d5a1facf8bdadb6a553516bfe.tar.xz
Add method doc to some land bitmap methods in ILandObject.
Also changes prim count tests to use the correct upper region bounds, though the method actually ignores the overage.
Diffstat (limited to 'OpenSim/Framework/ILandObject.cs')
-rw-r--r--OpenSim/Framework/ILandObject.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Framework/ILandObject.cs b/OpenSim/Framework/ILandObject.cs
index 98ea01e..02775e9 100644
--- a/OpenSim/Framework/ILandObject.cs
+++ b/OpenSim/Framework/ILandObject.cs
@@ -82,8 +82,26 @@ namespace OpenSim.Framework
82 void ForceUpdateLandInfo(); 82 void ForceUpdateLandInfo();
83 void SetLandBitmap(bool[,] bitmap); 83 void SetLandBitmap(bool[,] bitmap);
84 84
85 /// <summary>
86 /// Get a land bitmap that would cover an entire region.
87 /// </summary>
88 /// <returns>The bitmap created.</returns>
85 bool[,] BasicFullRegionLandBitmap(); 89 bool[,] BasicFullRegionLandBitmap();
90
91 /// <summary>
92 /// Create a square land bitmap.
93 /// </summary>
94 /// <remarks>
95 /// Land co-ordinates are zero indexed. At the moment, the smallest parcel of land is 4m x 4m, so if the
96 /// region is 256 x 256m (the SL size), the largest land parcel starts at (0,0) and ends at (63,63).
97 /// </remarks>
98 /// <param name="start_x"></param>
99 /// <param name="start_y"></param>
100 /// <param name="end_x"></param>
101 /// <param name="end_y"></param>
102 /// <returns>The bitmap created.</returns>
86 bool[,] GetSquareLandBitmap(int start_x, int start_y, int end_x, int end_y); 103 bool[,] GetSquareLandBitmap(int start_x, int start_y, int end_x, int end_y);
104
87 bool[,] ModifyLandBitmapSquare(bool[,] land_bitmap, int start_x, int start_y, int end_x, int end_y, bool set_value); 105 bool[,] ModifyLandBitmapSquare(bool[,] land_bitmap, int start_x, int start_y, int end_x, int end_y, bool set_value);
88 bool[,] MergeLandBitmaps(bool[,] bitmap_base, bool[,] bitmap_add); 106 bool[,] MergeLandBitmaps(bool[,] bitmap_base, bool[,] bitmap_add);
89 void SendForceObjectSelect(int local_id, int request_type, List<UUID> returnIDs, IClientAPI remote_client); 107 void SendForceObjectSelect(int local_id, int request_type, List<UUID> returnIDs, IClientAPI remote_client);