aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-12-10Normalization of OSSL function names.Marck1-9/+62
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
2010-11-25Change all restarting to use the restart module. Remove hardcoded behaviorMelanie1-3/+22
2010-11-17Add osUnixTimeToTimestamp()Justin Clark-Casey (justincc)1-1/+17
This allows an input unix time to be converted to an llGetTimeStamp() format. Thanks Thomax.
2010-11-16Fix osTeleportAgent for hypergrid destinations.Marck1-1/+5
Signed-off-by: Melanie <melanie@t-data.com>
2010-11-16Add osTeleportOwner.Marck1-2/+30
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>
2010-10-17Adding osFunctions for light projectionBlueWall1-0/+42
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>
2010-09-12Formatting cleanup.Jeff Ames1-3/+3
2010-08-16Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto1-2/+0
TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
2010-06-14osGetAvatarList: Use AbsolutePosition instead of the position of the physics ↵Tom Grimshaw1-6/+3
actor, or the avatar disappears when they sit down.
2010-06-11Clone cmGetAvatarList into osGetAvatarList for more generic use.Melanie Thielker1-0/+27
2010-06-02Add two new osFunctions:Melanie Thielker1-0/+16
list osGetPrimititveParams(key prim, list rules); osSetPrimitiveParams(key prim, list rules);
2010-05-30Changes osFunction permissions again. Allow_ with a list of UUIDs now againMelanie Thielker1-16/+51
refers to prim OWNERS. A new option set, Creators_, is added to allow selection by script creator. For existing installs, this means no functional change. The warning from my prior commit doesn't apply anymore.
2010-05-30Changes OSSL Api permissions for the case of UUID list. In 0.6.9, the UUIDsMelanie Thielker1-3/+18
would be the IDs of the prim owners in whose prims these functions would run. This changes it so the UUID is the SCRIPT CREATOR instead. Further, osfunctions limited by uuid will not run if the creator and owner differ and the owner has mod rights on the script. There is still a danger in passing moodifiable scripts to others, as they can insert a harmful function, then remove the mod rights to make it runnable. As before, care needs to be taken, but where it was modable prims that were the risk before, modable scripts are the weak spot now. In cases where prim owner == script creator == script owner, nothing will change.
2010-05-13Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master1-0/+82
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.
2010-03-19Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake1-9/+11
GetAvatars have been removed to consolidate locking and iteration within SceneGraph. All callers which used these to then iterate over presences have been refactored to instead pass their delegates to Scene.ForEachScenePresence(Action<ScenePresence>).
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-1/+1
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+1
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-01-30* HGScene is no more.Diva Canto1-1/+0
* Moved a few key inventory access methods from Scene.Inventory to an IInventoryAccessModule module
2010-01-24Removed obsolete interface IHyperlink.Diva Canto1-13/+4
2010-01-11OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto1-1/+1
2010-01-11minor: formattingJustin Clark-Casey (justincc)1-1/+5
2010-01-10* OMG! All but one references to UserProfileCacheService have been rerouted!Diva Canto1-8/+6
* HG is seriously broken here * Compiles. Untested.
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-79/+79
2009-12-31Adds osKickUser and osSetSpeedunknown1-0/+77
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-15Prevent OSSL from crashing if the sim was loaded from a remote config andMelanie1-3/+3
osGetGridName, osGetGridNick or osGetGridLoginURI is used.
2009-12-13* Mistaken ThreatLevel classification on osGetSimulatorMemory - should have ↵Adam Frisby1-1/+1
been MODERATE.
2009-12-13* Implements OSSL function: osGetSimulatorMemory - returns the current ↵Adam Frisby1-0/+13
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
2009-11-26Added osGetRegionStats() function, to return a number of sim statisticsJeff Lee1-1/+8
2009-11-26Added osGetRegionStats() function, to return a number of sim statisticsJeff Lee1-0/+15
2009-11-25Change osTeleportAgent parameters from long to int. That numerical range isMelanie1-2/+2
not even supported by the underlying type, so there is no need to ask for a type the script can not even supply.
2009-11-17refactor: move most animation methods from ScenePresence into a new ↵Justin Clark-Casey (justincc)1-4/+5
ScenePresenceAnimator class
2009-11-12Apply patch http://opensimulator.org/mantis/view.php?id=4369Justin Clark-Casey (justincc)1-19/+56
Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-5/+2
unknown asset type, and log an error if it ever does happen
2009-11-04Removing EntityBase.RotationJohn Hurliman1-1/+8
2009-10-15Object update prioritization by Jim Greensky of Intel Labs, part one. This ↵John Hurliman1-2/+2
implements a simple distance prioritizer based on initial agent positions. Re-prioritizing and more advanced priority algorithms will follow soon
2009-10-02* Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman1-1/+1
Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)1-5/+5
- adding LandDataSerializer to OAR mechanics
2009-09-26First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto1-10/+15
minimally. A few bugs to catch now.
2009-09-18addition of a new script function osSetParcelSIPAddress(string SIPAddress), ↵Rob Smart1-0/+29
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>
2009-09-09fix: unicode notecards not surviving script treatment (fixes #4119 ---dr scofield (aka dirk husemann)1-4/+4
perhaps).
2009-08-31- making font name used by VectorRenderModule configurable: can be setdr scofield (aka dirk husemann)1-0/+9
via [VectorRender] font_name = "Comic Sans MS" in OpenSim.ini - adding osSetFontName OSSL function
2009-08-28Implements osDrawPolygon, similar to already implemented osDrawFilledPolygonArthur Valadares1-0/+19
2009-08-25Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows ↵Arthur Valadares1-0/+9
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.
2009-08-21Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing ↵Arthur Valadares1-0/+19
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)
2009-08-21* Moves NPC Creation across AppDomains to prevent a major perfomance issue.Adam Frisby1-0/+2
2009-08-21* Fleshes more of NPCModule out.Adam Frisby1-0/+52
* 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.
2009-08-14Remove the script sponsor logic because scripts are timing out again.Melanie1-3/+3
This needs to be looked into. This commit, unfortunately, reinstates a memory leak in regions that see significant script fluctuation, e.g. lots of scripted attachments, or script development.
2009-08-09Formatting cleanup.Jeff Ames1-5/+5
2009-08-07This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)1-2/+2
lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
2009-08-08Update threat level descriptionMelanie1-0/+1