diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/ILandObject.cs | 18 |
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); |