Commit Graph

37 Commits

Author SHA1 Message Date
lancej
f5b3b9789f * Fixed order of two fields in CompressedUpdateHandler
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@494 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 19:28:07 +00:00
lancej
866195f5d5 * Minor fix to CompressedUpdateHandler that I forgot
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@490 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 09:45:18 +00:00
lancej
e8eb6ba469 * More updates to CompressedUpdateHandler
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@489 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 09:40:21 +00:00
lancej
0643565725 * Added decoding of SpecialCode&0x10 data in CompressedUpdateHandler.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@488 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 09:25:01 +00:00
lancej
5c970e3c7b * Added PCode for trees and grass.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@487 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 05:03:32 +00:00
lancej
9b7904a671 * Added PCode for Avatars.
* Changed UpdateHandler to decide object type by PCode instead of ObjectData length.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@486 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 04:46:04 +00:00
John Hurliman
50fe8cf480 Added a catch for PCode 255 to lower the debug spew
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@480 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 23:56:10 +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
w7cook
7cfa95780c Revert change that should not have been checked in.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@471 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 18:38:38 +00:00
w7cook
8b98485d41 Fixed problem where only one image could be uploaded.
Also check for conversion errors, allow more types of 
files to be converted. Finally, use TryParse to avoid
exceptions in converting from strings to numbers.



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@470 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 18:01:50 +00:00
John Hurliman
1463df36dd * Added addition overload to LLVector3
* Added multiplication overload to LLQuaternion
* Basic tree/foliage detection in ObjectManager
* Updated primexport to bring it up to speed with sceneviewer
* Implemented the logging callback in SecondLife, and added LogLevel.Debug

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@467 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 12:40:44 +00:00
John Hurliman
4e6dfab206 Removing the memory leak introduced in r461 (libsecondlife isn't responsible for tracking avatars)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@463 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 23:27:30 +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
Michael Cortez
d44fd1ee4e + AvatarManager & ObjectManager no longer assume each avatar seen is a new avatar, at least for ObjectUpdatePackets -- the other object packets still need to check for existing avatars before adding new ones.
+ Added back in KakaduWrap because the jasper wrapper doesn't support TGA/TIFF to J2C (yet) -- so it's needed for uploads

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@461 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 20:33:15 +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
f08abed21e * Added texture animation support for TextureEntry
* Modified CompressedUpdateHandler to parse more unknown fields

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@413 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-28 01:01:02 +00:00
John Hurliman
3c08ee0252 Added a new Login() method that doesn't need a dictionary, and a RequestObjects() function in ObjectManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@407 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-27 12:35:57 +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
John Hurliman
9830bf85e4 On a mad coding spree.
* Implemented AvatarManager, added the async functions
* Rebuilt the key2name functionality
* Fixed and cleaned up a lot of the teleporting code
* More functions implemented in GroupManager
* Renamed SecondLife.Avatar to SecondLife.Self
* Updated the groupmanager example to list group members
* Renamed Form1.cs to AnimationSample.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@386 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 11:16:26 +00:00
John Hurliman
59edffffe7 Converted libsecondlife to .NET 2.0, using generic containers exclusively
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@362 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 05:53:58 +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
John Hurliman
1477bcbaa0 Fixed the colon-in-strings bug that was introduced a few commits back
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@328 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-18 07:24:11 +00:00
John Hurliman
f47477c9e0 * Initial support for ObjectUpdateCompressed packets
* Typecast only once in the main ParcelPropertiesHandler block
* Handle the new colons in region and avatar names

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@326 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-18 07:02:24 +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
577f4f6c1a Upgrading all the project files, updating keywords.txt/message_template.msg, removing unused files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@231 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-30 00:19:01 +00:00
John Hurliman
46745a6ccf Sanity check for ObjectUpdate texture parsing, and commented some debug messages out
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@206 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-19 07:32:41 +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
76697c990c Removed .NET 2.0 specific code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@194 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-16 06:27:27 +00:00
John Hurliman
8ac9a090bf * Calculates the W value of the normalized rotation quaternion in ObjectUpdates
* CompressedUpdateHandler callback added
* Added function comments
* Registered events for the rest of the object packets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@193 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-16 03:15:27 +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
b64f1a820d Initial outline for object (prim and avatar) support
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@169 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-04 19:52:14 +00:00