aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Interface (follow)
Commit message (Collapse)AuthorAgeFilesLines
* More OSSL function name normalization, this time for osParcelSetDetails.Marck2010-12-111-1/+2
|
* Normalization of OSSL function names.Marck2010-12-101-7/+12
| | | | | | | | | | | | | | | | | Added the following replacement functions for compliance to the OSSL standards stated on the wiki: osGetTerrainHeight osSetTerrainHeight osGetSunParam osSetSunParam osSetPenColor The functions that do not comply to the standard give a warning when used but work normally otherwise. The graphics primitive drawing command "PenColor" has also been added as well as dynamic texture parameter "bgcolor" as an alternative to "bgcolour". The following two functions have been renamed because they are not enabled yet aynway: osWindParamSet => osSetWindParam osWindParamGet => osGetWindParam
* Add osUnixTimeToTimestamp()Justin Clark-Casey (justincc)2010-11-171-0/+1
| | | | | This allows an input unix time to be converted to an llGetTimeStamp() format. Thanks Thomax.
* Add osTeleportOwner.Marck2010-11-161-0/+3
| | | | | | | This provides the same functionality as osTeleportAgent but without the griefing potential. Region owners need not be concerned about the use of this function because it only allows to do what is already possible with the world map. The intended use is with HUDs. For example, a list of (hypergrid) destinations could be made available for quick access. Signed-off-by: Melanie <melanie@t-data.com>
* Add lsClearWindlightScene() to the lightshare module to remove WL settingsMelanie2010-11-031-0/+1
| | | | from a region and allow normal day cycles to be reestablished
* Adding osFunctions for light projectionBlueWall2010-10-171-0/+3
| | | | | | | | | | | | | | | | | | | | | Set the projection parameters in the host prim ... osSetProjectionParam(bool Enabled, key TextureMaskUUID, float FOV, float Focus, float Ambiance); Set the projection parameters in a target prim ... osSetProjectionParam(ikey target uuid, bool Enabled, key TextureMaskUUID, float FOV, float Focus, float Ambiance); Threat Level very high Signed-off-by: Melanie <melanie@t-data.com>
* properly expose prim media LSL functions to scriptsJustin Clark-Casey (justincc)2010-07-261-0/+3
| | | | | scripts using these functions should now compile but I don't know how well the methods themselves work yet llSetPrimMedia(), at least, appears to have problems when a current url is set for a face that doesn't yet have a texture
* Rename CM files to LSMelanie Thielker2010-06-111-1/+1
|
* Rename cm* function set to ls* (for LightShare)Melanie Thielker2010-06-111-3/+3
|
* Clone cmGetAvatarList into osGetAvatarList for more generic use.Melanie Thielker2010-06-111-0/+1
|
* Add two new osFunctions:Melanie Thielker2010-06-022-0/+7
| | | | | list osGetPrimititveParams(key prim, list rules); osSetPrimitiveParams(key prim, list rules);
* Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master2010-05-131-0/+4
| | | | joins parcels in an area, osParcelSubdivide splits parcels in an area, osParcelSetDetails sets parcel name, description, owner and group owner. Join and Subdivide methods in LandChannel are exposed.
* First attempt at fixing mantis #4641. It's better but there are now some ↵Diva Canto2010-03-311-1/+1
| | | | | | issues with permissions. (looks like my commit is going to touch CM files, I'm going to let it do it - eof only)
* Add missing licenses. Change relicensed LightShare module to proper BSDMelanie2010-03-311-1/+28
| | | | licensing.
* Adding the LightShare module and scripting API. This code was written byMelanie2010-03-311-0/+21
| | | | TomMeta and was contributed by Meta7.
* - implementing server 1.38 functionsunknown2010-03-061-0/+4
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Formatting cleanup. Add copyright headers.Jeff Ames2010-01-041-1/+1
|
* Adds osKickUser and osSetSpeedunknown2009-12-311-0/+4
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* * Implements OSSL function: osGetSimulatorMemory - returns the current ↵Adam Frisby2009-12-131-0/+2
| | | | | | | | amount of memory allocated to the simulator process (Moderate Threat Level). * Cleans redundant information out of the Simulator Version. Versions now look like: "OpenSimulator 0.6.9(dev) Unix/Mono" * [Minor] additional log info for MySQLInventoryData
* Added osGetRegionStats() function, to return a number of sim statisticsJeff Lee2009-11-261-0/+1
|
* Change osTeleportAgent parameters from long to int. That numerical range isMelanie2009-11-251-1/+1
| | | | | not even supported by the underlying type, so there is no need to ask for a type the script can not even supply.
* Apply patch http://opensimulator.org/mantis/view.php?id=4369Justin Clark-Casey (justincc)2009-11-121-4/+6
| | | | Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
* Add modSendCommand function (note, this is a new API module, using the APIMelanie2009-11-101-0/+46
| | | | extension mechanism, it's not a osFunction!
* Thank you, Intari, for a patch that implements the missing pieces ofMelanie2009-09-221-1/+1
| | | | | | | | Http-in and makes the host name for URL generation configurable. Applied with changes: llGetSimulatorHostname was not changed, because the change breaks existing behavior and carries a data exposure risk. That value needs to be configurable, the proposed fixed change is not acceptable.
* addition of a new script function osSetParcelSIPAddress(string SIPAddress), ↵Rob Smart2009-09-181-0/+1
| | | | | | | | now including iVoiceModule This patch allows the land owner to dynamically set the SIP address of a particular land parcel from script. This allows predetermined SIP addresses to be used, making it easier to allow non OpenSim users to join a regions voice channel. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
* - making font name used by VectorRenderModule configurable: can be setdr scofield (aka dirk husemann)2009-08-311-0/+1
| | | | | | | | | | | via [VectorRender] font_name = "Comic Sans MS" in OpenSim.ini - adding osSetFontName OSSL function
* Implements osDrawPolygon, similar to already implemented osDrawFilledPolygonArthur Valadares2009-08-281-0/+1
|
* Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows ↵Arthur Valadares2009-08-251-0/+1
| | | | | | using arrow, diamond, round and flat caps. * Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
* Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing ↵Arthur Valadares2009-08-211-0/+1
| | | | | | functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far. * Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
* * Fleshes more of NPCModule out.Adam Frisby2009-08-211-0/+6
| | | | | | | | | * Implements some OSSL commands: key osNpcCreate(string user, string name, vector position, key cloneFrom); void osNpcMoveTo(key npc, vector position); void osNpcSay(key npc, string message); void osNpcRemove(key npc); * Untested. Requires ThreatLevel.High.
* Formatting cleanup.Jeff Ames2009-08-091-2/+2
|
* Thank you, Godfrey, for a patch that implements osGetLinkPrimitiveParamsMelanie2009-08-071-0/+2
| | | | | | | Fixes Mantis #3979 Applied with changes. Changed ThreatLevel to High since all discovery functions are a high threat. Overriding that is the responsibility of the grid owner.
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-06-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change addresses two issues: [1] It adds a flag field to the blendface call which allows the caller to indicate whether or not the generated asset is temporary, and whether or not the asset being replaced should be explicitly retired fromt the memory cache. The decimal values correspond to: 0 - Permanent asset, do not expire old asset 1 - Permanent asset, expire old asset 2 - Temporary asset, do not expire old asset 3 - Temporary asset, expire old asset '3' corresponds to the default behavior seen today, and is the continued behavior of the non-blendface calls. [2] The dynamic texture routines are highly-asynchronous and can be scheduled simultaneously on a multi-core machine. The nature of the texture management interfaece is such that updates may be lost, and the nature of asynchornous operation means that they may be processed out of order. A lock has been added to ensure that updates are at least atomic. No attempt has been made to enforce ordering. The lock applies to the SceneObjectPart being updated and is held for the lifetime of the TextureEntry used to carry texture updates (the one instance carries all faces supported by the prim). Users of these services should remember that the dynamic texture call is asynchronous and control will be returned *before* the texture update has actually occurred. As a result, a isubsequent GetTexture call may not return the expected asset id. A script must wait for the corresponding TEXTURE_CHANGED event before retrieving any texture information.
* From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-06-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds oar file date and time (UTC) meta data to an oar file when it is created. It also adds a unique ID, though this id does not in anyway identify the machine that the oar file was created on. When an oar file with this meta data is loaded this extra information is saved with the region settings and available via LSL through: - osLoadedCreationDate() - osLoadedCreationTime() - osLoadedCreationID() If there is no meta data these fields will be blank. Subsequent oar file loads will erase the information for the previous oar file load. Persistence has only been implemented for MySQL, the other backends need updating. Overall this allows us to much more easily identify the specific version of software that clients are using. Its very straightforward to edit the oar file to change the ID string to be something more human friendly. Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql required for the MySQL DB migration. btw I had a chat with justincc about this a few weeks ago since he wrote the oar file import/export and he sounded happy to accept something that included date/time information but didn't want anything that would silently leak private information like machine names.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-012-2/+2
| | | | LICENSE.txt.
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-05-221-0/+4
| | | | | | | | | | Changes to support client-side image pre-caching in the region. This commit adds an additional calling sequence to the DynamicTexture data and URL calls. The new interface allows a dynamic image to be loaded into a specific object face (rather than the mandatory ALL_SIDES supported today. This is in part fulfilment of ticket #458.
* Add interface, stub implementation and Charles Krinke2009-05-131-0/+1
| | | | | script stub for llGetHTTPHeader().
* Add interface, implementation stub andCharles Krinke2009-05-131-0/+1
| | | | | script stub for llGetFreeURLs().
* Remove incorrect semicolonCharles Krinke2009-05-131-0/+1
|
* Add interface, stubbed implementation andCharles Krinke2009-05-131-0/+1
| | | | | script stub for llRequestSecureURL().
* Added interface, stub implementation and scriptCharles Krinke2009-05-131-0/+1
| | | | | stub for llRequestURL().
* Add interface, stub and bare implmentation for llHTTPResponse().Charles Krinke2009-05-131-0/+1
|
* Thank you, Orion_Shamroy, for a patch to expand notecard readingMelanie Thielker2009-04-271-0/+1
| | | | | | | capabilities in OSSL. Fixes Mantis #3543
* Thank you, Orion_Shamroy, for a patch that adds osGetNotecardLine andMelanie Thielker2009-04-271-0/+4
| | | | | | | osGetNumberOfNotecardLines Fixes Mantis #2942
* Terrain changes done via osTerrainSetHeight aren't shown immediately to the ↵Homer Horwitz2009-04-191-2/+7
| | | | | | | | | | 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.
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2009-04-091-0/+2
| | | | | | | | | | | The attached patch implements osKey2Name and osName2Key which converts between a UUID key for an avatar and an avatar name and vice-versa. osKey2Name is similar to llKey2Name except that it will work even if the avatar being looked up is not in the same region as the script.
* Thank you kindly, MCortez for a patch that:Charles Krinke2009-03-311-0/+5
| | | | | | | | | | | | With some support from HomerH, this patch adds support for Wind Model plugins via the mono.Addin framework. * Adds console & OSSL access to Wind Parameters * Adds plug-in support for custom wind models * Provides two example Wind Model plug-ins Documentation for the wind module is temporarily located at http://code.google.com/p/flotsam/wiki/CoreWindModule [^] -- will move this documentation to http://opensimulator.org [^] after the patch has been committed.
* - adding osGetAgents() which returns a list of all avatars in the regionDr Scofield2009-03-261-0/+1
| | | | | | | | in which the script is running. - found a bag of space characters under my desk, thought i'd donate them to the JSON OSSL function (aka clean up)
* Thank you, mcortez, for patch to add functionality to the sun module.Melanie Thielker2009-03-201-0/+5
| | | | | | Fixes Mantis #3313
* Thank you, mcortez, for a patch that fixes a number of long standingMelanie Thielker2009-03-131-0/+2
| | | | | | | issues with the sun module. Fixes Mantis #3295