Commit Graph

32 Commits

Author SHA1 Message Date
John Hurliman
b467febfde All the PrimObject unit tests succeed now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@579 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 10:53:01 +00:00
John Hurliman
d73699c7db * Unit tests for PrimObject byte and float conversion functions (most of them are broken right now)
* Removed the RezObject function which has been replaced by AddPrim

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@577 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 10:36:43 +00:00
lancej
93b309d61f * Fixed PathEndByte
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@576 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 10:09:28 +00:00
John Hurliman
3c949b36b6 Added a partially complete PrimObject.ToString() to help with debugging
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@575 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 09:56:13 +00:00
John Hurliman
8b0952ccfc * AddTree and AddGrass methods
* Added default constructors for more of the prim parameter classes and initialize them in the default prim constructor. Should reduce null reference issues
* TextureEntry.ToBytes() correctly handles null DefaultTexture

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@572 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 05:36:52 +00:00
John Hurliman
4274589e15 Attempting to fix PathSkew and PathTaper float methods
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@563 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-11 22:54:43 +00:00
lancej
0fcb2e3b72 * Added handling of UpdateFlags.
* Added functions AddPrim, LinkPrims, SetPermissions to ObjectManager.
* Implemented ToBytes for TextureEntry.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@550 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-10 09:50:54 +00:00
John Hurliman
b4e8f38b69 More prim bugfixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@544 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-09 11:44:25 +00:00
John Hurliman
ed52ef559b Fixed several serious bugs in Prims.cs (hopefully)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@543 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-09 11:21:44 +00:00
John Hurliman
d54bbd9232 * Moved all the delegates and enumerations I could find inside of parent classes, part of a major cleanup
* Reverted the PathTaper / PathScale code
* Added small bits of xmldoc here and there, trying to clean up now that we have auto-generating docs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@542 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-09 10:18:03 +00:00
John Hurliman
1a4e5b8b1a Fixed a typo, renamed LLQuaternion.Unit to LLQuaternion.Identity
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@530 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 23:48:27 +00:00
John Hurliman
28ecfa5976 Updated the entire library (where appropriate) to use LLUUID.Zero, LLVector*.Zero, and LLQuaternion.Unit instead of creating new instances of the class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@528 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 23:30:09 +00:00
John Hurliman
f6c570b39c Sceneviewer:
* Enabled prim rendering (oops)
* Added linear taper support
* Slowed down the FPS counter, and disabled it by default. Press '2' to enable/disable it
libsecondlife:
* Improved the accuracy of PrimObject quantize/dequantize functions
* Switched PrimObject.Taper* to use PathScale* instead of the deprecated PathTaper*

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@506 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-05 09:18:14 +00:00
John Hurliman
d140c9dd53 Changed some of the prim functions to return sbyte instead of byte
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@478 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 23:17:05 +00:00
John Hurliman
155683f1c1 * Added RezObject back in
* Removed avatar tracking from ObjectManager
* Added the PCode enum to PrimObject

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@476 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 22:42:36 +00:00
lancej
350e26a9d4 * Added initial decoding of particle system data. Not yet fully functional.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@462 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 21:02:31 +00:00
lancej
e9e9a66437 * Added textures for the Avatar class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@459 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 19:46:21 +00:00
lancej
9ed8e9c3ab * Added decoding of flexible and light data for prims.
* Added another unknown field in CompressedUpdateHandler.
* Reorganized some code in Textures.cs and CompressedUpdateHandler.  CompressedUpdateHandler now dumps data blocks that it fails to decode for easier debugging.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@457 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 08:31:26 +00:00
John Hurliman
ead5a71f34 PrimObject and TextureEntry require a reference to SecondLife now for logging purposes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@424 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-29 08:50:05 +00:00
John Hurliman
0c167bce95 Cleaning up after someone (don't commit random MSVC trash to svn!) and adding some new sceneviewer code (not functional yet)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@423 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-29 08:44:03 +00:00
lancej
e9b47e2f83 Added TextureEntry support and added stuff to CompressedUpdateHandler.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@405 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-27 10:40:04 +00:00
bushing
4fa67d3b35 svn:eol-style native is your friend
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@360 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 02:52:28 +00:00
bushing
2c9080561c It's Party Time\! (r213:HEAD)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@279 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-14 05:13:39 +00:00
John Hurliman
f08e7191dc NetworkManager:
* OnSimDisconnected and OnDisconnected events added
* The Disconnect function is working
* Shutdown() was added to kill the network layer
* Added documentation for the Packet class
* Added a TickCount to Packet for tracking ACK timeouts
* Added a LastReceivedTime to Simulator for tracking disconnects
* Optimized the NeedAck hashtable
* Fixed a potential deadlock during Logout and removed a dodgy goto statement
* Removed the try/catch from Logout to catch bugs
* Added a not-logged-in catch in Logout
* Removed the 1-second sleep from Logout
* Connect returns the connected Simulator object or null now

ObjectManager:
* OnAvatarMoved and OnPrimMoved events are fired now

Prims:
* Minor function clarifications

Avatar:
* Uses the new Connect function for teleporting

Packet:
* Added documentation
* HeaderLength is private now
* Removed the Field() function
* Miscellaneous cleanups

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@195 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 03:03:31 +00:00
John Hurliman
fb49f35d18 Fixed some of the dequantization functions, multi-object support in ObjectUpdate decoding, commented out a debug line
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@188 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-11 09:06:05 +00:00
John Hurliman
ba681fa6f0 Finished the ObjectUpdate field dequantizing, the properties will be usable floats that match up with the SL UI now.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@177 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-10 04:37:10 +00:00
John Hurliman
c746b12bbf OnNewAvatar and OnNewPrim are "done"
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@176 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 16:48:46 +00:00
John Hurliman
3b729fb028 Some progress on the ObjectManager, ImprovedTerseObjectUpdate is parsed now and ObjectUpdate is mostly parsed, the delegates still need to be finalized and called
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@175 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 08:10:43 +00:00
John Hurliman
53a2cfdfd8 * Sanity check for ObjectAdd
* Renamed and attempted to fix the Say/Shout functions

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@64 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-18 02:54:13 +00:00
John Hurliman
c05de6c98a * (Region)Handle is now set for the first logged in region
* Some updates to PrimObject to get ready for object importing and moving

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@61 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-16 22:17:13 +00:00
John Hurliman
323dd3f192 * NetworkManager and circuit optimizations, should receive less resent packets now
* Attempted to add support for ConfirmEnableSimulator, failed, commented it out
* Optimized the callback system

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@59 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-14 20:36:04 +00:00
John Hurliman
4f0d0fcabc * Deleted the 2005 project files (too many syncing issues)
* Added Prims.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@52 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:47:24 +00:00