aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Implements IObject.Materials[].*Adam Frisby2009-04-093-2/+93
| | | | | * This lets you do things like IObject.Materials[0].Texture = new UUID("0000-...");
* * Implements IGraphics interface for MRM Scripting.Adam Frisby2009-04-096-6/+75
| | | | | | * This allows you to utilize System.Drawing tools on textures within the region. * Example: use System.Drawing.Bitmap to make your texture, then use Host.Graphics.SaveBitmap to make an asset from it in JPEG2K. You can edit (but not overwrite) existing textures using Host.Graphics.LoadBitmap.
* * Adds World.OnNewUser += delegate(IWorld sender, NewUserEventArgs e);Adam Frisby2009-04-092-1/+50
| | | | | * This event fires when a new avatar is created within the Scene. (Internally corresponds to EventManager.OnNewPresence)
* * Limits MRM scripting to Region Master Avatar only.Adam Frisby2009-04-091-1/+4
| | | | | | * This makes MRM scripting ever so slightly more secure. If you have enforced Object Permissions enabled, it may be acceptable to enable MRM within your regions. * Security bug reports on this feature are much appreciated (eg: anyone finding ways around this to execute a MRM as a basic user).
* * World.OnChat no longer fires if there is no chat text (prevents the typing ↵Adam Frisby2009-04-091-2/+3
| | | | animation packet from firing OnChat)
* * Added additional debug testing info to SceneAdam Frisby2009-04-093-6/+56
| | | | | | | * Corrected issue with MRMs where it would attempt to overwrite an already loaded DLL. (and thus fail with cryptic UnauthorizedAccessException.) * Made DrunkenTextAppreciationModule.cs MRM not crash with StackOverflowException * Added some temporary logging to MRM World.*
* * Forgot to commit IEntity in last commit.Adam Frisby2009-04-092-0/+67
| | | | | * Added "DrunkenTextAppreciationModule" Demo MRM - behaves very similarly to the sobriety filter in WoW. ;)
* * Moves Name, GlobalID and WorldPosition into new IEntity interface.Adam Frisby2009-04-095-22/+98
| | | | | | | * Avatar and Object now inherit from IEntity. * Avatar.Position is now Avatar.WorldPosition to match IObject property. * Implements event World.OnChat += delegate(IWorld sender, ChatEventArgs e);
* * Implements retrieving child primitives via World.Objects[id] (MRM)Adam Frisby2009-04-092-5/+13
| | | | | | * Optimizes SceneGraph - fetches on primitives via "GetGroupByPrim" wont search the entire list if the primitive is infact the root. (Core) * Updates Test MRM.
* * Implements IObject.OnTouch += delegate(IObject sender, TouchEventArgs e)Adam Frisby2009-04-092-0/+73
| | | | | * This is equivalent to LSL 'touch(int senders)'
* Add copyright headers, formatting cleanup.Jeff Ames2009-04-067-9/+171
|
* Update svn properties.Jeff Ames2009-04-066-175/+175
|
* * Implements World.Parcels[] array for MRM scripting.Adam Frisby2009-04-065-3/+67
|
* * Adds AutoOAR module, this will automatically OAR your regions every 20 ↵Adam Frisby2009-04-061-0/+5
| | | | | | | | minutes to a directory called "autooar", if enabled. Default disabled. Use [autooar] Enabled=true in OpenSim.ini to enable. * Adds some MRM XMLDOC
* * Fixed copyright headers on HyperGrid source files. (Now match the rest of ↵Adam Frisby2009-04-051-0/+1
| | | | | | | OpenSim, license text is unchanged) * Added Bitmap[,] to IParcel for MRM
* * Minor cosmetic change to SEUser to get Bamboo to initiate another build. (grr)Adam Frisby2009-04-052-2/+16
| | | | | * Adds basic IParcel interface. Soon to live on World.Parcels{[id],[x,y]}
* * Typo in constructor during class rename (whoops!)Adam Frisby2009-04-051-1/+1
| | | | | * OpenSim is now over 9000.
* * Implements ISocialEntity - this represents the class of "user-like" ↵Adam Frisby2009-04-053-1/+48
| | | | | | | objects such as Users, Groups, etc. Destined to be used as the return value of any "Owner" properties. * Implements basic "SEUser" class which implements Avatar/Agent SE functions (primitive).
* * Removes IsPhysical, IsPhantom from IObject, since this is now represented ↵Adam Frisby2009-04-042-13/+0
| | | | in IObject.Physics.Enabled / IObject.Physics.Phantom instead.
* Implements on IObjectPhysics:Adam Frisby2009-04-041-21/+62
| | | | | | | | | | | | | | | | | | * SetMomentum * AddAngularForce * AddForce * FloatOnWater * Force * Acceleration * Torque * Velocity * RotationalVelocity * CenterOfMass * GeometricCenter * Buoyancy * Mass (Partial) * Density (Partial)
* * Implements IObjectPhysics on SOPObject partially.Adam Frisby2009-04-043-7/+116
| | | | | * Eg, IObject.Physics.* is now valid syntax and compiles (but will throw NotSupported at runtime)
* * Implements IObjectPhysics, this collects Physics attributes into one ↵Adam Frisby2009-04-041-0/+32
| | | | | | | | interface, will be referenced on IObject as IObject.Physics.* * Eg; IObject.Physics.Torque = new Vector3(30.0,0.4,0.5); * Maps loosely to internal PhysicsActor class.
* * More fiddling with MRM IPersistence, now stores <T> instead of Object.Adam Frisby2009-04-041-4/+5
|
* * Changed IPersistence interface so that passing the MRMBase is unessecary.Adam Frisby2009-04-042-7/+5
|
* * Renamed Heightmap.Height to Heightmap.Length to avoid confusion about axis.Adam Frisby2009-04-043-3/+35
| | | | | * Added XMLDOC to MRM API code, this means we have usable programming docs being produced here: http://docs.opensimulator.org/namespaceOpenSim_1_1Region_1_1OptionalModules_1_1Scripting_1_1Minimodule.html (eg IObject, IHeightmap, etc)
* Add copyright headers, formatting cleanup.Jeff Ames2009-04-046-5/+140
|
* * Removes IObject.Position, IObject.Rotation from IObjectAdam Frisby2009-04-042-6/+55
| | | | | | * Adds IObject.WorldPosition and IObject.OffsetPosition - this is equivilent to AbsolutePosition and OffsetPosition in SOP respectively. * Adds IObject.WorldRotation and IObject.OffsetRotation - as above.
* * Drops Heightmap.Get/Heightmap.Set from IHeightmap interface.Adam Frisby2009-04-042-5/+28
| | | | | | * Adds Heightmap[x,y] to interface. * MRM Scripts should utilize World.Heightmap[x,y] = 0.0; to replace set, and Val = World.Heightmap[x,y] to get.
* * Implements MRM IObject.Say - this is equivilent to llSayAdam Frisby2009-04-031-0/+8
| | | | | | | | | Example: public override void Start() { Host.Object.Say("Hello World!"); }
* * Implements Scene.SimChat(string,...) rather than byte[]. We should ↵Adam Frisby2009-04-031-0/+11
| | | | | | | probably mark byte[] as obsolete. * Implements SOPObject.Say for MRM. (Note, not IObject yet)
* * MRM Scripts will now no longer disconnect the client if there was an error ↵Adam Frisby2009-04-031-15/+27
| | | | | | | in compilation or script initialisation. * Clarified some debug text for MRM Enabling
* * Implements "ID" semi-global within MRM scripts. This is tied to the 'state ↵Adam Frisby2009-04-035-7/+45
| | | | | | | ID' for MRMs. * Implements IPersistence interface, allows simple KeyValue access for MRM scripts to a more permanent datastore.
* Update svn properties.Jeff Ames2009-04-014-197/+197
|
* * MRM AdjustmentsAdam Frisby2009-04-014-14/+32
| | | | | | | * Renamed 'Material' to PhysicsMaterial (Wood, Glass, Metal, etc.). May want to place in subclass with other physics specific properties. (We however need to support these features in ODE/etc first.) * Renamed Faces to Materials. IObjectFace to IObjectMaterial - this is for clarity for those coming from a 3D Programming background (it also makes more sense if/when we support Meshes in core). Properties and members remain identical. * Added XMLDoc comments to IObject to assist people writing MRMs in XMLDoc aware editors.
* * MRM AdjustmentsAdam Frisby2009-04-014-15/+150
| | | | | | | | * Changes World.Objects from Array IObject[] to IObjectAccessor. * Syntactically identical in most behaviour, however the indexer is now ranges not from 0..Count, but any valid internal LocalID. Additional indexers have been added for UUID. * Example: for(int i=0;i<World.Objects.Count;i++) will not work any more, however foreach(World.Objects) will remain functional. * This prevents us needing to create a list for each access to World.Objects which should [in theory] present a dramatic speed improvement to MRM scripts frequently accessing World.Objects.
* * Adds World.Avatars[] to MRM Scripting. Contains an enumerable array ↵Adam Frisby2009-04-015-1/+73
| | | | | | | containing IAvatar instances for each avatar in the region. * Adds Test/TestModule.cs which demonstrates a very quick and simple MRM Test.
* * Removes some hard-coded magic numbers relating to RegionSize. We now use ↵Adam Frisby2009-04-012-29/+28
| | | | | | | Constants.RegionSize as expected. (Working towards enlarged or smaller regionsizes that arent multiples of 256m) * Adds minor functionality to MRM Scripting.
* From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-03-121-3/+7
| | | | | | | Patch to RegionReady which adds a field which adds to the message whether the region is ready due to a server startup or due to an oar file loading.
* Add copyright headers.Jeff Ames2009-03-0712-12/+336
|
* Update svn properties.Jeff Ames2009-03-0712-845/+845
|
* MRM Scripting ChangesAdam Frisby2009-03-053-8/+8
| | | | | | * Renames MiniRegionModule to MRMModule to make it more distinct from the actual Mini Region Module[s] executed in Scene. * Renames MiniRegionModuleBase to MRMBase for convenience. MRM's need to be adjusted to inherit from MRMBase.
* * Implements a number of members on SOGObject for use with the MRM Script ↵Adam Frisby2009-03-052-15/+166
| | | | | | | Engine API. * It's lag-tacular! :D
* * Fleshed out the MRM Module a little.Adam Frisby2009-03-045-44/+84
| | | | | * Please don't use this yet, it represents a very heavy security risk if you enable it.
* * Whoops. Left MiniModule enabled to anyone. (potential security risk). ↵Adam Frisby2009-03-041-0/+3
| | | | Disabled - edit code to load.
* * More work on MiniRegionModule module.Adam Frisby2009-03-045-0/+275
|
* IObjectFace needs to be public to compile.Mike Mazur2009-03-041-1/+1
|
* * More work on MiniRegionModule module.Adam Frisby2009-03-046-3/+243
|
* * Implementing some interfaces for aformentioned script engine. Ignore this.Adam Frisby2009-03-044-0/+136
|
* cosmetic: adding region name to logging statementDr Scofield2009-02-161-3/+3
|
* Add copyright headers. Minor formatting cleanup. Fix some compiler ↵Jeff Ames2009-02-131-1/+1
| | | | warnings. Fix some m_log declarations.