Commit Graph

1393 Commits

Author SHA1 Message Date
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 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
Walter Korman b5fa4d945f Throw an informative exception if we fail to obtain a tile's image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1670 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-11 19:17:55 +00:00
Ray Greenwell 752ee2fe8b added static moveBodyToDefaultPortal()
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1669 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-09 23:22:28 +00:00
Walter Korman b3feaf0852 Catch and rethrow raster format exceptions to facilitate debugging tileset
trimming problems that are likely the result of a bad image file or
tileset description.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1668 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-09 20:26:52 +00:00
Walter Korman dbdfd1bad0 Initial support for creating, joining and starting party games that are
created by a particular player; may be subsequently joined by other
players; and started when any game-specific prerequisites are satisfied by
the creating player submitting a GameService.startPartyGame() request.
We'll likely be adding a bit more soon to allow watching players to join a
party game that hasn't yet started.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1667 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-06 22:52:27 +00:00
Michael Bayne 3d5ae4becb Report the caller rather than their oid for failed service requests.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1666 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-06 01:49:23 +00:00
Walter Korman 6bff0d778a Added getObjectTileBounds() to get the bounds of a particular object in a
scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1663 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-05 02:21:54 +00:00
Walter Korman 153497686f Added addAnimations(Animation[]).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1662 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-23 23:18:14 +00:00
Michael Bayne ff8152ea0c Not to reference the instance variable when we were so kindly passed it as
an argument.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1661 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-23 20:22:09 +00:00
Michael Bayne 9217eac028 Ensure that all players are ready before we allow a game to be started.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1660 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-21 05:22:41 +00:00
Michael Bayne 99edb5cd5e Regenerated services and receivers to fix bugs and use updated templates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1659 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-20 19:38:16 +00:00
Michael Bayne 615383483b Revised use of deprecated methods.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1654 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-20 19:01:08 +00:00
Michael Bayne 9de7ff77ba Added isLocationOccupied() which allows server-side entities to determine
definitively whether or not someone is in a location and/or has it
reserved via a call to getUnoccupiedLocation().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1653 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-20 18:21:45 +00:00
Michael Bayne a08d08850e Provide access to the source file from which a resource bundle was
created.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1652 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-19 23:31:48 +00:00
Michael Bayne 11d84452bb Whoops. Need the right modifiers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1651 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-19 22:58:15 +00:00
Michael Bayne 4cbd454b24 Added serialVersionUID to the various classes we serialize for
configuration reasons to avoid annoying "recompile and nothing works"
phenomenon. We'll opt for the "make incompatible class change and nothing
works" scenario instead.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1650 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-19 22:28:05 +00:00
Walter Korman b4d997a8df Perform actual rectangle intersection to determine whether a chunk is
still visible within the animation bounds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1649 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-19 21:08:51 +00:00
Michael Bayne e8c7ba6084 Not to freak out if some unruly caller sends us null arguments.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1648 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-16 19:31:39 +00:00