Commit Graph

1717 Commits

Author SHA1 Message Date
Michael Bayne 639a4baaea Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1720 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 00:55:01 +00:00
Michael Bayne bdd49a4b3f Moved clientObjectDidChange() into SessionObserver because anyone
observing the session is likely to need to know about that sort of thing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1719 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 00:54:39 +00:00
Michael Bayne d8af715498 Keep the sceneId of the currently occupied scene in the body object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1718 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 00:54:06 +00:00
Michael Bayne ba4985053f Revamped "persona selection" support. Things now actually work, and in as
sensible a way as we can hope for.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1717 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-19 23:36:59 +00:00
Michael Bayne 0df0ec348d Gracefully report an error rather than NPEing if an event is posted to an
object that no longer has an omgr reference (has been destroyed).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1716 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-19 16:38:03 +00:00
Michael Bayne 7d8c848454 Whoopskidoodle.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1715 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 22:06:54 +00:00
Michael Bayne 5c2ae9efea Added working hashCode() and equals().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1714 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 21:58:30 +00:00
Michael Bayne ae1375ca7b Updates to reflect changed APIs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1713 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 20:09:55 +00:00
Michael Bayne ea471aeacc No chokey if we have no game object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1712 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 19:26:05 +00:00
Michael Bayne 8b7e880d3c Not to log the whole user object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1711 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 18:40:20 +00:00
Michael Bayne e4aad9213a Not to do the fiddly business with game state constants.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1710 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 18:33:20 +00:00
Walter Korman acf21c5908 Rejiggered things to provide facilities for checking whether a game is in
play, rather than whether a game is over.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1709 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 04:01:29 +00:00
Michael Bayne 9fb0de8e29 Miso scene revamp to more cleanly deal with object tiles and their
associated metrics. Also fixed render order handling such that any
overlapping object tiles are rendered in the order that they are added to
the scene. This gives us control over what to do in situations that are
impossible to determine based on object footprint alone.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1708 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 02:32:57 +00:00
Walter Korman 4fa88cd501 Fixed javadoc typo.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1707 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 01:10:27 +00:00
Michael Bayne 70b2f7f494 Slightly less expensive jockeying to ensure that we do the right thing
when starting up and being told to switch to frame zero.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1706 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 22:18:42 +00:00
Ray Greenwell bed0c21515 make sure to paint the first frame when starting an animation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1705 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 22:06:26 +00:00
Ray Greenwell 6a64d45eed bugfixes
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1704 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 21:58:25 +00:00
Ray Greenwell 2d93950835 stop when we get to the end.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1703 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 21:58:12 +00:00
Michael Bayne 234d7d6971 Removed crack pipe, inserted call to super.clone().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1702 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 21:29:26 +00:00
Michael Bayne 80ac8a280f Whoops, need to be a bit more careful with the tile cache.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1701 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 21:17:15 +00:00
Michael Bayne 7f64ab9007 Report Java serialization leg-not-feely business.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1700 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 21:05:35 +00:00
Michael Bayne a5bba441be An MFI implementation that obtains its source frames from a tileset.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1699 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:39:03 +00:00
Michael Bayne 3d9eb3edac Cache the tiles that have been fetched from this tileset.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1698 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:38:42 +00:00
Michael Bayne 369900bf1a Formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1697 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:21:19 +00:00
Michael Bayne fc261655b3 Created an animation that can be used to display a simple sequence of
frames.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1696 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:08:21 +00:00
Michael Bayne 963dfe16a8 Created an mechanism for more sophisticated sequencing of animation
frames.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1695 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:07:28 +00:00
Michael Bayne 2e7fd00214 Added setLocation() and reset().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1694 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:06:58 +00:00
Michael Bayne c08067ac1f Added convenience constructor for simple single frame image sprite.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1693 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 19:14:59 +00:00
Michael Bayne 380fa50610 Moved MultiFrameImage and friends from media.sprite into media.util
because they'll be used for both sprites and animations.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1692 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 19:11:13 +00:00
Michael Bayne 88e423bdfa Created a path for moving things along the arc of a circle or ellipse.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1691 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 04:00:37 +00:00
Michael Bayne 9ee8dde710 Added Ramanujan's formula for an approximation of the circumference of an
ellipse. I didn't end up using it in the ArcPath, but it will surely come
in handy eventually.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1690 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 04:00:09 +00:00
Michael Bayne 311846fced Created simple app for testing new types of path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1689 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 03:59:27 +00:00
Michael Bayne 90d0503cba Created TimedPath to factor out code common to paths that effect
themselves in a fixed period of time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1688 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 03:59:05 +00:00
Ray Greenwell 5e286e5bab added TIME_SEQUENTIAL animation mode which shows frame 0 first, and
for the full duration.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1687 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 02:34:05 +00:00
Michael Bayne bf239bde95 Update the username in the body object when it is changed in the client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1686 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 01:23:09 +00:00
Michael Bayne ce424d616d Useful debugging info.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1685 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-16 23:34:55 +00:00
Michael Bayne fc1232b98b Added means by which client's username can be changed (very carefully).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1684 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-16 23:34:25 +00:00
Michael Bayne 1c753c5816 Catch and report image decoding errors when obtaining sub-image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1683 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-13 20:27:05 +00:00
Michael Bayne 73213d71a3 Use DObject.postMessage().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1682 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-13 06:42:42 +00:00
Michael Bayne bb0bd7cc52 Added convenience method for posting a message event to a distributed
object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1681 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-13 06:41:34 +00:00
Michael Bayne 8d0e764485 Whoops! addTo not update.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1680 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-13 05:11:59 +00:00
Michael Bayne ba88c02650 We need to clone the occupant info *every* time we update it, even the
first time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1679 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-13 05:08:00 +00:00
Michael Bayne 05522ebf66 Allow padding to be specified for sprite icons.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1678 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-13 04:50:31 +00:00
Ray Greenwell 6419d06f3c Fixed offscreen determination.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1677 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-13 00:51:19 +00:00
Michael Bayne 335ef8eb05 New occupant info handling facilities that prevent rapid fire modifiers
from stepping on one anothers' toes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1676 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-13 00:20:43 +00:00
Ray Greenwell 530188e5f2 Don't clone the occupantinfo when changing the location, just change it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1675 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-12 23:04:04 +00:00
Michael Bayne 84cc48b2a0 Report the bundle we're generating (still not excellent progress
reporting, but better than none at all).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1674 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-12 21:11:16 +00:00
Michael Bayne d287fa7195 Catch tile exceptions and report them instead of giving birth to a sizable
member of the bovine community.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1673 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-12 21:10:31 +00:00
Michael Bayne 55e7bfcbb8 Report the bundle source file we're processing as we go.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1672 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-11 20:28:05 +00:00
Michael Bayne 442e9b26bd Not to freak out completely if we encounter an error trimming a tileset
image.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1671 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-11 19:31:40 +00:00