Commit Graph

3977 Commits

Author SHA1 Message Date
Andrzej Kapolka f703f1aab3 Various fixes, added support for model instancing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4035 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 23:22:45 +00:00
Ray Greenwell ba72823bcc I'm trying to fix the inconsistent line error so that this can be
checked out elsewhere.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4034 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 20:54:56 +00:00
Ray Greenwell 4b384ce89e re-add
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4033 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 20:43:37 +00:00
Ray Greenwell 82488226d4 remove/re-add
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4032 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 20:43:03 +00:00
Ray Greenwell 92f86774ba Fixed integer overflow that caused incorrect quantization of large images,
or an image with a lot of a particular color.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4031 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 20:35:28 +00:00
Andrzej Kapolka f5161d833c Run writeTransform on each node, not on the node set itself.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4030 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 18:30:46 +00:00
Ray Greenwell efefdaa312 Updated method documentation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4029 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 02:04:06 +00:00
Ray Greenwell cd8f168452 Create controllers in the new way (actionscript wants to be all growed up
just like uncle Java!).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4028 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 01:58:44 +00:00
Andrzej Kapolka a0ff0d1457 Skinned animation now works, although there are still some optimizations
to be made.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4027 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 01:36:19 +00:00
Michael Bayne fdf0fa27d3 Revamped PlaceConfig to instantiate the PlaceController directly instead of
looking it up by name which creates PITA when we want to obfuscate and strip
out unused code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4026 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 01:32:41 +00:00
Michael Bayne 137cdfa8dd Flush our log output after every line.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4025 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 01:31:54 +00:00
Ray Greenwell 4bc2481662 Added serialVersionUID.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4024 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 00:39:11 +00:00
Michael Bayne 67c42dda0b Just fail to freak out, don't fail to load shadows at all.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4023 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-14 21:52:06 +00:00
Michael Bayne 40d78e44d3 Freak not out if we have no shadow frames to composite.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4022 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-14 21:49:11 +00:00
Michael Bayne 79be7ebd1b Added support for observing sound resolution; type-safetified.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4021 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-14 18:34:08 +00:00
Andrzej Kapolka 3c6ac7ac67 Further progress: texturing, compiling animations.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4020 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-14 03:26:50 +00:00
Ray Greenwell fc2870f7e5 Moved to msoy area.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4019 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-14 02:05:19 +00:00
Ray Greenwell 6fb248e739 Removed import of nonexistant class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4018 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-14 02:04:56 +00:00
Andrzej Kapolka 39ca0f4ed9 Further progress on model revamp. Now loading and viewing static
models.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4017 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-13 20:47:06 +00:00
Michael Bayne fe8f95b15b Let's do it the Greenwell way and save a compare.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4016 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-13 05:33:21 +00:00
Mark Johnson 6b9700bebc Null pointer checking goodness
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4015 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-13 00:48:25 +00:00
Michael Bayne 2fad609d6e Allow shadows to be omitted without generating a warning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4014 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-12 22:05:33 +00:00
Andrzej Kapolka bb32d03c66 Checkpoint checkin for new model exporting/loading/animating code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4013 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-12 03:34:10 +00:00
Michael Bayne 4aa1971f30 Typey typey.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4012 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-11 22:09:59 +00:00
Michael Bayne 1a705e2b55 Type safety.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4011 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-11 22:04:10 +00:00
Michael Bayne ccfd3bdb7c We need Retroweaver in here.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4010 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-10 22:59:27 +00:00
Michael Bayne fdc77887f5 Use the Retroweaver verifier to ensure we're not calling unweavable 1.5 library
methods.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4009 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-10 21:58:03 +00:00
Michael Bayne ad49401543 Proguard fucks up if we use clone(). There's no apparent way to find out why it
magically booches and causes an IncompatibleClassChangeError, so we're just
going to work around it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4008 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-10 20:16:44 +00:00
Michael Bayne 5a2583470c Brought code in line with changes to Samskivert. I have not started to
genericize Narya data structures, nor make the existing code type safe. That's
going to be an extremely large project.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4007 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-10 08:59:30 +00:00
Michael Bayne 02b59f33c9 Target 1.5 and added Retroweaver directive.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4006 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-10 02:44:33 +00:00
Michael Bayne efb3a6c54e A properly parameterized StreamableHashMap. Yay!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4005 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-10 02:42:23 +00:00
Michael Bayne 8d91fa9e7f Don't log a stack trace here.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4004 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-10 01:22:39 +00:00
Ray Greenwell 3cef4b5cec Prevent NPE when we process a pong that was destined for a different
DeltaCalculator.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4003 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-07 18:52:24 +00:00
Ray Greenwell 127eebf9a6 Moved to msoy repository.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4002 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-06 23:15:36 +00:00
Ray Greenwell 64d7f32178 Lots of debug logging, some casting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4001 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-06 20:05:28 +00:00
Michael Bayne f7f9056ed2 Fall back to resource files before falling back to the classpath.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4000 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-05 19:40:12 +00:00
Michael Bayne 8177c1d410 Initialize our resource directory in the constructor so that clients that use
the resource_dir system property can start loading resources based on that
before they call initBundles().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3999 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-04 19:22:43 +00:00
Michael Bayne ead3a989b2 Use the new FileUtil method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3998 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-04 18:46:42 +00:00
Ray Greenwell 492bde538f Added a note about singleton classes.
I'm just whinging, really.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3997 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-04 17:35:10 +00:00
Michael Bayne aec7a1ece2 Allow the resource manager to be run in "don't unpack yer bundles" mode.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3996 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-04 03:22:24 +00:00
Michael Bayne 58bf16e804 Exclude test class files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3995 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-04 02:51:42 +00:00
Michael Bayne 2cc2e5fd00 Made it possible to make extended use of the playerStatus array.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3994 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-02 18:39:25 +00:00
Michael Bayne c696896f10 Allow the view to be restricted to a particular type of chat.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3993 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-31 18:15:32 +00:00
Michael Bayne 4911947a8e Robustness++.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3992 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-30 23:53:52 +00:00
Ray Greenwell fb913a6bba Go back to using the median value for our delta estimate.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3991 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-30 19:06:40 +00:00
Ray Greenwell 981deb3b6b Fixed two bugs with delta calculation:
- if a pong response took more than 5 seconds to receive, another ping
  would be sent. When the pong finally arrived the delta would be
  calculated using the most recently sent ping.
  Fix: don't send more pings while waiting on a pong.
- After a pong is received, the _deltas array is mangled while
  calculating the server delta, making subsequent pongs possibly
  overwrite earlier calculated deltas.
  Fix: calculate using a copy.

Also, changed the delta calculation to be the mean of the deltas rather
than the median. Left code in to do it both ways if this change was not
kosher...


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3990 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-30 01:08:32 +00:00
Ray Greenwell 07bc269f59 Bugfix for something that may never be needed in the wild: when an
AuthingConnection is replaced by a RunningConnection we need to transfer
over any associated overflow queue to the new connection object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3989 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-30 00:09:55 +00:00
Andrzej Kapolka 4dc5202558 Update camera before scene graph. That way, nodes (like the unit status
display) can adjust to the camera position in their update 
methods without being a frame out of date.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3988 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-29 19:42:58 +00:00
Michael Bayne 581242814c Allow this chat view to be used with any speak service.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3987 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-29 01:01:59 +00:00
Ray Greenwell 16a28de8bc Report from brown team, engaged in Operation Slam Your Dick in a Door:
"Still purple and bruised, sir!"

I'm working around more bugs. In theory everything should log in and join
the chat room, but the browser crashes- every single time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3986 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-28 23:17:52 +00:00