Ray Greenwell
86c9fa82cf
if two items are in the same tile, render the sprite on top.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1804 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-16 01:53:10 +00:00
Walter Korman
ff85d1b284
Oops; make getPlayerCount() public, as it was always intended to be.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1803 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-16 00:19:23 +00:00
Walter Korman
21c599cd0a
Revamped the player array in the game object to allow sparse player arrays
...
that may have one or more null player entries so that party games can
create their game with the maximum number of players they support and can
use the player index as the player's "seat". Simplified some of the
jockeying we had to do when adding and removing players. Complexified
some of the turn game management in order to deal properly with the sparse
player arrays.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1802 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-15 23:07:23 +00:00
Walter Korman
1d7f033586
Set the AI players only after the puzzle's place object is created.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1801 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-15 22:47:48 +00:00
Walter Korman
7d092846cd
Replaced by com.threerings.util.RandomUtil.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1800 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-15 22:46:43 +00:00
Ray Greenwell
be2bc4205b
Anally removed Comparator.equals() implementations that overrode
...
Object.equals() with equivalent functionality.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1799 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-15 21:01:39 +00:00
Michael Bayne
107273fce3
More debug logging for future debuggers.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1798 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-10 00:09:07 +00:00
Michael Bayne
4bababc95e
Removed smoothing for the time being. Now a key up registers immediately,
...
but we are saddled with the key repeat delay for rapid sideways movement.
This will eventually all change when we have native libraries for turning
off key repeat.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1797 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-09 08:17:02 +00:00
Michael Bayne
0292de57cb
Added getOccupantInfo by name.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1796 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-09 06:33:48 +00:00
Michael Bayne
a8e6c46f70
No more flashy flashy.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1795 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-09 06:33:00 +00:00
Michael Bayne
a8bafced3f
Target 80 fps; not to tick rather than not to checkpoint wrt the
...
performance monitor.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1794 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-09 06:31:38 +00:00
Michael Bayne
521cb7358e
Ignore JTextField's spurious claims to be a validate root.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1793 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-09 02:35:20 +00:00
Michael Bayne
bb44fedab2
Have to force serialVersionUID to avoid DashO fuckage.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1792 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-09 00:23:51 +00:00
Walter Korman
ed52a5a04a
Cleaned up time estimation and file progress calculation. Constrain
...
progress notification to once every 2.5 seconds in an attempt to reduce
jiggery-pokery when we're just crossing a minute's border and our transfer
rate fluctuates slightly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1791 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-08 23:42:21 +00:00
Michael Bayne
1684f64408
For our purposes we want A and all derived classes, rather than all
...
classes that extend A. Other perlformattengruven.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1790 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-08 22:02:13 +00:00
Michael Bayne
dfd499582e
Removed vestigal field.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1789 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-08 22:00:27 +00:00
Michael Bayne
38000b062b
These guys shouldn't be serialized.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1788 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-08 21:59:09 +00:00
Ray Greenwell
a0730067ec
Pulled out gobs of Sprite/Animation functionality into AbstractMedia.
...
Pulled out gobs of SpriteManager/AnimationManager functionality into
AbstractMediaManager.
The big change: sprites can have their render order fine-tuned like
animations.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1787 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-08 21:03:37 +00:00
Michael Bayne
e804abad30
Scripts for building DashO'd clients.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1786 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-08 18:46:02 +00:00
Michael Bayne
6fe29a85af
Allow colorizations to be modified in a character descriptor.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1785 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-07 23:58:29 +00:00
Michael Bayne
646696e5d0
Report more useful information in this failure case.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1784 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-07 18:42:21 +00:00
Michael Bayne
b0c1f2ebc5
Allow a safe scroll pane to be constructed without its viewport view
...
(which should be set later via setViewportView()).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1783 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-06 20:57:36 +00:00
Michael Bayne
d34be8e838
Enhanced error reporting.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1782 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-06 20:25:05 +00:00
Michael Bayne
893e3d3aa0
Whoops, clone should obtain the uninitialized cloned object via
...
super.clone() so that it is of the appropriate derived class. I must have
picked a bad week to stop sniffing glue.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1781 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-06 20:24:53 +00:00
Michael Bayne
061c73c64e
Place managers may need a chance to clean up after a failed permissions
...
check; so we give them a callback for such contingencies.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1780 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-06 03:31:16 +00:00
Michael Bayne
f3385ad3a8
Perform the permissions check.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1779 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-06 02:37:58 +00:00
Michael Bayne
37c4f866fd
No longer do we set the players in an explicit call to
...
GameManager.setPlayers(), now it is simply provided as part of the game
config object which is cleaner and makes the information available during
the initialization and permissions checking phases.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1778 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-06 00:53:15 +00:00
Michael Bayne
4da35c0f0b
Provide a means by which a place manager can check, early in the
...
initialization process, whether or not it actually wants to be created,
and allow it to abort the whole deal if it doesn't.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1777 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-06 00:44:58 +00:00
Michael Bayne
939e4ce5a9
Enhanced logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1776 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-06 00:44:16 +00:00
Michael Bayne
96e2afe24f
Name our invoker thread just for kicks.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1775 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-05 23:35:21 +00:00
Michael Bayne
27d7a59994
Transactions should be started outside the try/finally block that ensures
...
their committal. This prevents double-fuckage if starting the transaction
fails (because the finally block would still be executed which would try
to end the non-existent transaction, throwing another exception which
hides the first).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1774 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-04 01:33:10 +00:00
Michael Bayne
9282f15fc3
Sanity checking.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1773 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-04 01:32:15 +00:00
Michael Bayne
077d0ee13a
Refuse to start a transaction on a non-active DObject.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1772 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-04 01:31:59 +00:00
Michael Bayne
0309b23a69
Restructure try/finally blocks to ensure that we don't attempt to release
...
a transaction we were never able to start.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1771 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-04 01:31:43 +00:00
Michael Bayne
e26fd18b38
Brevity is the soul of a happy log file.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1770 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-03 17:16:15 +00:00
Michael Bayne
57e697b600
Handle long fields, report when we don't know the type of a field.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1769 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-02 20:10:20 +00:00
Michael Bayne
99dbe3dc76
Added support for nested DObject transactions; clarified documentation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1768 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-02 19:29:23 +00:00
Michael Bayne
d49e724693
Don't start up the connection manager until the dobject manager has
...
processed everything put into its queue during the initialization process.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1767 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-01 05:15:45 +00:00
Walter Korman
1ee866e1e5
Added clientObjectDidChange() implementation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1766 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-01 04:44:40 +00:00
Walter Korman
383a1ec550
Made it compile, but not certain it works.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1765 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-01 04:44:23 +00:00
Walter Korman
09a2f8e950
Initialize the animation starting time when the animation is first ticked
...
rather than requiring that it be set via setStartTime().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1764 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-01 04:24:34 +00:00
Walter Korman
d08589d88a
Provide an estimate of the download time remaining when downloading
...
bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1763 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-30 09:36:22 +00:00
Walter Korman
5af9b4ac19
Initial version of an animation that allows adding animations sequentially
...
with a specifiable delay between each.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1762 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-30 06:30:47 +00:00
Walter Korman
03b1dbe90d
Fixed the smallest typo in javadoc.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1761 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-30 06:18:46 +00:00
Walter Korman
25bd81e59a
Added facilities for disabling the playing of sound without shutting down
...
the sound manager wholeheartedly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1760 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-30 06:13:36 +00:00
Michael Bayne
59c522aae5
Updated deprecated references to project.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1759 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-27 19:02:15 +00:00
Michael Bayne
7dccce81c5
Account for sprite render priority when sorting sprites.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1758 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-26 23:35:10 +00:00
Michael Bayne
e2687d5474
Less debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1757 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-26 17:49:36 +00:00
Michael Bayne
4e9acda18d
Sort the mappings prior to writing the map file to enhance map file
...
stability wrt diffing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1756 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-26 02:08:47 +00:00
Michael Bayne
3ed25c9bce
Sort the damned component map prior to writing it out so that additions
...
are easy to see in a CVS diff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1755 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-26 02:05:59 +00:00