diff options
author | UbitUmarov | 2016-09-17 15:45:11 +0100 |
---|---|---|
committer | UbitUmarov | 2016-09-17 15:45:11 +0100 |
commit | 3f9f10529548599d1810ca8a630734586ed3fa9d (patch) | |
tree | c889183859774ec4eb1032af2502ecf294b505cd /OpenSim/Region | |
parent | stop using legacy storeterrain in scene.cs (diff) | |
download | opensim-SC_OLD-3f9f10529548599d1810ca8a630734586ed3fa9d.zip opensim-SC_OLD-3f9f10529548599d1810ca8a630734586ed3fa9d.tar.gz opensim-SC_OLD-3f9f10529548599d1810ca8a630734586ed3fa9d.tar.bz2 opensim-SC_OLD-3f9f10529548599d1810ca8a630734586ed3fa9d.tar.xz |
add to databases a table to store baked terrain.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/ISimulationDataService.cs | 9 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs | 10 |
2 files changed, 17 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ISimulationDataService.cs b/OpenSim/Region/Framework/Interfaces/ISimulationDataService.cs index 13358cb..d5e3f7a 100644 --- a/OpenSim/Region/Framework/Interfaces/ISimulationDataService.cs +++ b/OpenSim/Region/Framework/Interfaces/ISimulationDataService.cs | |||
@@ -64,12 +64,19 @@ namespace OpenSim.Region.Framework.Interfaces | |||
64 | List<SceneObjectGroup> LoadObjects(UUID regionUUID); | 64 | List<SceneObjectGroup> LoadObjects(UUID regionUUID); |
65 | 65 | ||
66 | /// <summary> | 66 | /// <summary> |
67 | /// Store a terrain revision in region storage | 67 | /// Store terrain in region storage |
68 | /// </summary> | 68 | /// </summary> |
69 | /// <param name="ter">HeightField data</param> | 69 | /// <param name="ter">HeightField data</param> |
70 | /// <param name="regionID">region UUID</param> | 70 | /// <param name="regionID">region UUID</param> |
71 | void StoreTerrain(TerrainData terrain, UUID regionID); | 71 | void StoreTerrain(TerrainData terrain, UUID regionID); |
72 | 72 | ||
73 | /// <summary> | ||
74 | /// Store baked terrain in region storage | ||
75 | /// </summary> | ||
76 | /// <param name="ter">HeightField data</param> | ||
77 | /// <param name="regionID">region UUID</param> | ||
78 | void StoreBakedTerrain(TerrainData terrain, UUID regionID); | ||
79 | |||
73 | // Legacy version kept for downward compabibility | 80 | // Legacy version kept for downward compabibility |
74 | void StoreTerrain(double[,] terrain, UUID regionID); | 81 | void StoreTerrain(double[,] terrain, UUID regionID); |
75 | 82 | ||
diff --git a/OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs b/OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs index e09f775..4940a28 100644 --- a/OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs +++ b/OpenSim/Region/Framework/Interfaces/ISimulationDataStore.cs | |||
@@ -75,12 +75,20 @@ namespace OpenSim.Region.Framework.Interfaces | |||
75 | List<SceneObjectGroup> LoadObjects(UUID regionUUID); | 75 | List<SceneObjectGroup> LoadObjects(UUID regionUUID); |
76 | 76 | ||
77 | /// <summary> | 77 | /// <summary> |
78 | /// Store a terrain revision in region storage | 78 | /// Store a terrain in region storage |
79 | /// </summary> | 79 | /// </summary> |
80 | /// <param name="ter">HeightField data</param> | 80 | /// <param name="ter">HeightField data</param> |
81 | /// <param name="regionID">region UUID</param> | 81 | /// <param name="regionID">region UUID</param> |
82 | void StoreTerrain(TerrainData terrain, UUID regionID); | 82 | void StoreTerrain(TerrainData terrain, UUID regionID); |
83 | 83 | ||
84 | /// <summary> | ||
85 | /// Store baked terrain in region storage | ||
86 | /// </summary> | ||
87 | /// <param name="ter">HeightField data</param> | ||
88 | /// <param name="regionID">region UUID</param> | ||
89 | void StoreBakedTerrain(TerrainData terrain, UUID regionID); | ||
90 | |||
91 | |||
84 | // Legacy version kept for downward compabibility | 92 | // Legacy version kept for downward compabibility |
85 | void StoreTerrain(double[,] terrain, UUID regionID); | 93 | void StoreTerrain(double[,] terrain, UUID regionID); |
86 | 94 | ||