aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
diff options
context:
space:
mode:
authorHomer Horwitz2009-04-19 13:34:28 +0000
committerHomer Horwitz2009-04-19 13:34:28 +0000
commit33e1316cede4f902a97464e521b7522990528cbc (patch)
treea8ff0a94e731b8f6715c96e0afbb928a715434d8 /OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
parentMoved ITerrainModule and ITerainEffect to OpenSim.Region.Framework.Interfaces... (diff)
downloadopensim-SC-33e1316cede4f902a97464e521b7522990528cbc.zip
opensim-SC-33e1316cede4f902a97464e521b7522990528cbc.tar.gz
opensim-SC-33e1316cede4f902a97464e521b7522990528cbc.tar.bz2
opensim-SC-33e1316cede4f902a97464e521b7522990528cbc.tar.xz
Terrain changes done via osTerrainSetHeight aren't shown immediately to the clients in
that region. I decided against sending the terrain on every call to osTerrainSetHeight (which makes it abysmally slow), and added a osTerrainFlush instead, which should be called after all the terrain-changes have been done. Changed some return types to LSL types, too, and removed some end-of-line spaces.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
index cf4e107..de94224 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
@@ -33,6 +33,8 @@ using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
33using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; 33using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
34using LSL_List = OpenSim.Region.ScriptEngine.Shared.LSL_Types.list; 34using LSL_List = OpenSim.Region.ScriptEngine.Shared.LSL_Types.list;
35using LSL_String = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString; 35using LSL_String = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
36using LSL_Integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
37using LSL_Float = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat;
36 38
37namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces 39namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
38{ 40{
@@ -59,8 +61,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
59 string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams, int timer); 61 string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams, int timer);
60 string osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams, 62 string osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams,
61 int timer, int alpha); 63 int timer, int alpha);
62 double osTerrainGetHeight(int x, int y); 64
63 int osTerrainSetHeight(int x, int y, double val); 65 LSL_Float osTerrainGetHeight(int x, int y);
66 LSL_Integer osTerrainSetHeight(int x, int y, double val);
67 void osTerrainFlush();
68
64 int osRegionRestart(double seconds); 69 int osRegionRestart(double seconds);
65 void osRegionNotice(string msg); 70 void osRegionNotice(string msg);
66 bool osConsoleCommand(string Command); 71 bool osConsoleCommand(string Command);