diff options
author | BlueWall | 2012-01-12 21:06:27 -0500 |
---|---|---|
committer | BlueWall | 2012-01-12 21:06:27 -0500 |
commit | acbff305f5a9b96dcd0b1534e165f3184a2cfe33 (patch) | |
tree | 477e5515a242880b35bf108e4b74241820eb27d3 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | Move some interfaces to a more apropriate place (diff) | |
parent | Change the default osNpcCreate() to create an 'owned' npc rather than an 'uno... (diff) | |
download | opensim-SC-acbff305f5a9b96dcd0b1534e165f3184a2cfe33.zip opensim-SC-acbff305f5a9b96dcd0b1534e165f3184a2cfe33.tar.gz opensim-SC-acbff305f5a9b96dcd0b1534e165f3184a2cfe33.tar.bz2 opensim-SC-acbff305f5a9b96dcd0b1534e165f3184a2cfe33.tar.xz |
Merge branch 'master' of /home/opensim/var/repo/opensim
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index b58cf57..176dc56 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -606,6 +606,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
606 | 606 | ||
607 | public const int OS_NPC_SIT_NOW = 0; | 607 | public const int OS_NPC_SIT_NOW = 0; |
608 | 608 | ||
609 | public const int OS_NPC_CREATOR_OWNED = 0x1; | ||
610 | public const int OS_NPC_NOT_OWNED = 0x2; | ||
611 | |||
609 | public const string URL_REQUEST_GRANTED = "URL_REQUEST_GRANTED"; | 612 | public const string URL_REQUEST_GRANTED = "URL_REQUEST_GRANTED"; |
610 | public const string URL_REQUEST_DENIED = "URL_REQUEST_DENIED"; | 613 | public const string URL_REQUEST_DENIED = "URL_REQUEST_DENIED"; |
611 | 614 | ||
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index a94392a..0c05ea4 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -488,9 +488,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
488 | return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom); | 488 | return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom); |
489 | } | 489 | } |
490 | 490 | ||
491 | public key osNpcCreateOwned(string user, string name, vector position, key cloneFrom) | 491 | public key osNpcCreate(string user, string name, vector position, key cloneFrom, int options) |
492 | { | 492 | { |
493 | return m_OSSL_Functions.osNpcCreateOwned(user, name, position, cloneFrom); | 493 | return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom, options); |
494 | } | 494 | } |
495 | 495 | ||
496 | public key osNpcSaveAppearance(key npc, string notecard) | 496 | public key osNpcSaveAppearance(key npc, string notecard) |