Commit Graph

9049 Commits (ebb8111f6c414388e2877804295339550f6d0ce2)

Author SHA1 Message Date
Teravus Ovares e592d03843 * Committing what I have on the BulletDotNETPlugin that I have so far.
* It's not ready to try.   It doesn't do what you expect in many ways.
* It throws errors and prints jibberish on the console
* Test it out only if you're brave and you've backed up first.
* The opensim.ini line is physics = BulletDotNETPlugin
2009-04-05 08:35:38 +00:00
diva 3c9cba1627 Added CreateObject(regionhandle, userID, itemID) to post objects that are to be fetched from the user's inventory server and rezzed in the region. Added all code necessary to fetch the item and the asset, and rez it inworld. The access to the item is uncap-ed and unverified -- I may place it later either under a cap or with auth verification. But in this model regions don't have the user's inventory, so they would have to guess the item IDs.
Added safemode config to Standalone Hypergrid, similar effect to AllowRegionAccessToInventory in Inventory Server. Everyone should have these vars set to their default values except me!
2009-04-05 03:27:50 +00:00
Adam Frisby 9a4192d14e * Fixed copyright headers on HyperGrid source files. (Now match the rest of OpenSim, license text is unchanged)
* Added Bitmap[,] to IParcel for MRM
2009-04-05 02:51:10 +00:00
Adam Frisby 51419d21e4 * Minor cosmetic change to SEUser to get Bamboo to initiate another build. (grr)
* Adds basic IParcel interface. Soon to live on World.Parcels{[id],[x,y]}
2009-04-05 01:36:30 +00:00
Adam Frisby dc967b16a4 * Typo in constructor during class rename (whoops!)
* OpenSim is now over 9000.
2009-04-05 01:29:58 +00:00
Adam Frisby f094847c43 * Implements ISocialEntity - this represents the class of "user-like" 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).
2009-04-05 01:28:23 +00:00
Adam Frisby 2e1646d368 * Removes IsPhysical, IsPhantom from IObject, since this is now represented in IObject.Physics.Enabled / IObject.Physics.Phantom instead. 2009-04-04 23:44:37 +00:00
Adam Frisby e120876bd0 Implements on IObjectPhysics:
* SetMomentum
* AddAngularForce
* AddForce
* FloatOnWater
* Force
* Acceleration
* Torque
* Velocity
* RotationalVelocity
* CenterOfMass
* GeometricCenter
* Buoyancy
* Mass (Partial)
* Density (Partial)
2009-04-04 23:32:37 +00:00
Adam Frisby 746729b6ce * Implements IObjectPhysics on SOPObject partially.
* Eg, IObject.Physics.* is now valid syntax and compiles (but will throw NotSupported at runtime)
2009-04-04 23:23:24 +00:00
Adam Frisby 39c3ccb93a * Implements IObjectPhysics, this collects Physics attributes into one 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.
2009-04-04 23:16:19 +00:00
Adam Frisby d758753d7c * More fiddling with MRM IPersistence, now stores <T> instead of Object. 2009-04-04 22:57:53 +00:00
idb 168752b81b Give a meaningful message if terrain save fails because of a file IO error.
Fixes Mantis #3348
2009-04-04 22:26:38 +00:00
Homer Horwitz 13128c4e9d Thanks jonc for a new and better cloud image (for classic clouds).
Fixes Mantis #964. Please remember to clear the viewer cache.
2009-04-04 15:43:16 +00:00
Homer Horwitz 8136cf4075 Thanks jonc, for a patch that adds rendering of classic clouds.
First part of Mantis #964, the necessary clouds image will follow separately.
2009-04-04 15:43:02 +00:00
Homer Horwitz 7acec9860d DST setting wasn't transferred to client, leading to wrong time display. 2009-04-04 14:26:35 +00:00
Homer Horwitz c6283cacac Remove some Mono warnings. 2009-04-04 14:26:24 +00:00
nlin 449bebf16e Preliminary work to support ObjectSpin* packets when user invokes CTRL / SHIFT / MOUSE DRAG on a physical object
Addresses Mantis #3381
2009-04-04 13:13:14 +00:00
Adam Frisby 23193ab538 * Changed IPersistence interface so that passing the MRMBase is unessecary. 2009-04-04 08:36:45 +00:00
Adam Frisby 4e9403e6ef * Renamed Heightmap.Height to Heightmap.Length to avoid confusion about axis.
* 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)
2009-04-04 08:33:58 +00:00
Jeff Ames 5cf7b784ce Add copyright headers, formatting cleanup. 2009-04-04 07:32:41 +00:00
Adam Frisby c3e1756a48 * Removes IObject.Position, IObject.Rotation from IObject
* Adds IObject.WorldPosition and IObject.OffsetPosition - this is equivilent to AbsolutePosition and OffsetPosition in SOP respectively.
* Adds IObject.WorldRotation and IObject.OffsetRotation - as above.
2009-04-04 06:28:55 +00:00
Adam Frisby fcbe7b9ed6 * Drops Heightmap.Get/Heightmap.Set from IHeightmap interface.
* 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.
2009-04-04 05:51:26 +00:00
lbsa71 7f4bf5871d * Proactively fixed bug-potential concerning the fact that m_httpServer property was differently referred to between RegionApplicationBase and all other grid services. 2009-04-03 20:56:36 +00:00
Arthur Valadares 0c544a85dc * Fixes issue where of you force your avatar against a region corner, it gets stuck and NonFinite Avatar messages floods console
Addresses Mantis #3380
2009-04-03 19:20:23 +00:00
Justin Clarke Casey 5146cb7a72 * refactor: Call StatsReporter methods directly rather than through Scene (as WebStatsModule was doing)
* Assume that StatsReporter is always present (possibly as a no-op impl) rather than doing null checks
2009-04-03 17:14:51 +00:00
diva 7322e19212 Added one more delegate to Caps, and a few guards, so that these objects can be used from more than just Scenes. Added the NewFileAgentInvengory cap to HGInventoryService. 2009-04-03 16:08:07 +00:00
Dr Scofield fc1b1bc797 - adding -logconfig option to allow configuration of log4net from
log4net config file other then bin/OpenSim.exe.config
- moving ArgvConfigSource initialization up to allow for configuration
  of XmlConfigurator.Configure()
2009-04-03 12:47:56 +00:00
Adam Frisby 084ffc74c6 * Implements MRM IObject.Say - this is equivilent to llSay
Example:
        public override void Start()
        {
            Host.Object.Say("Hello World!");
        }
2009-04-03 10:42:39 +00:00
Adam Frisby 254d3099f0 * Implements Scene.SimChat(string,...) rather than byte[]. We should probably mark byte[] as obsolete.
* Implements SOPObject.Say for MRM. (Note, not IObject yet)
2009-04-03 10:40:14 +00:00
Adam Frisby 36bc485e7e * MRM Scripts will now no longer disconnect the client if there was an error in compilation or script initialisation.
* Clarified some debug text for MRM Enabling
2009-04-03 10:30:51 +00:00
Adam Frisby 7e91f41535 * Implements "ID" semi-global within MRM scripts. This is tied to the 'state ID' for MRMs.
* Implements IPersistence interface, allows simple KeyValue access for MRM scripts to a more permanent datastore.
2009-04-03 09:22:34 +00:00
Dahlia Trimble 5f4cab6ed3 fix an error in hollow cylinder face number calculation 2009-04-03 08:45:32 +00:00
Melanie Thielker f17732346e Fix a nullref when compiling non-LSL scripts 2009-04-02 16:27:16 +00:00
idb b45ac2bf8e Correct llSetPrimitiveParams to check for a texture in inventory when setting the sculpt map.
This Fixes Mantis #3331
Also corrected the capping calculation in llApplyImpulse and several integer "boolean" comparisons from "== 1" to "!= 0" for true
2009-04-02 10:24:12 +00:00
Dahlia Trimble b42fec5c74 partial support for sculpted prim "inside out" setting 2009-04-02 06:54:48 +00:00
Dahlia Trimble 59a6dfbf5a Correction to "user" example config option for IRC 2009-04-02 03:47:56 +00:00
diva 86c753a6bd More refactoring. This time extracting the client-side of RESTInterregionComms into a RegionClient class. 2009-04-01 23:35:48 +00:00
diva 2e54f277d1 One more bit of refactoring, so this can be used outside region code. 2009-04-01 22:42:44 +00:00
diva 6e368c4b59 Refactoring, no functional changes. Moved ChildAgentDataUpdate data structures from OpenSim.Region.Framework.Scenes back to OpenSim.Framework, so they can be referenced more broadly. This involved having to move the small Animation data structure to OpenSim.Framework too. 2009-04-01 19:50:09 +00:00
lbsa71 958d764172 * Upped trunk version number to 0.6.4 as we just tagged 0.6.4-release 2009-04-01 19:44:46 +00:00
Teravus Ovares 74d5d44373 * Committing patch in mantis 3376 [Patch] Fix a minor animation handling glitch in ScenePresence
* ..
* .. 
* err, okay, this was a stick-buggery April 1st joke by me.   This removes it.   Happy April 1st!
* fixes mantis 3376
2009-04-01 19:04:59 +00:00
Dahlia Trimble 8493123629 Hard code scaled image resolution to 96 dpi prior to sculpt meshing to prevent a mono 2.4 failure. Thanks to cmickeyb for pointing out the failure. 2009-04-01 18:38:51 +00:00
Jeff Ames 99cfcf405b Update svn properties. 2009-04-01 14:50:18 +00:00
Melanie Thielker a1fe54baa0 Add a "user" config option to the IRC module config. Like all other IRC
config options, this has NO default, if you use the IRC module, you MUST
add this setting to your ini file.
2009-04-01 12:28:46 +00:00
Melanie Thielker 76ca096384 Add a PIDFile in [Startup], which the PID will be written to 2009-04-01 12:13:42 +00:00
Adam Frisby 1a25969096 * MRM Adjustments
* 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.
2009-04-01 11:03:42 +00:00
Adam Frisby 5cd70a8c0e * MRM Adjustments
* 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.
2009-04-01 09:31:40 +00:00
Adam Frisby 7eccad05c9 * Adds World.Avatars[] to MRM Scripting. Contains an enumerable array containing IAvatar instances for each avatar in the region.
* Adds Test/TestModule.cs which demonstrates a very quick and simple MRM Test.
2009-04-01 06:55:39 +00:00
lbsa71 0266c344fb * Added NUnit tested utility function GetHashGuid() for future use.
* Did some aligning refactoring of the MD5 and SHA-1 functions.
2009-04-01 06:11:51 +00:00
Adam Frisby 5225e40f9e * Removes some hard-coded magic numbers relating to RegionSize. We now use Constants.RegionSize as expected. (Working towards enlarged or smaller regionsizes that arent multiples of 256m)
* Adds minor functionality to MRM Scripting.
2009-04-01 05:58:07 +00:00