Michael Bayne
0b181954df
ImageManager was referencing miso.Log rather than media.Log.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@563 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 22:10:32 +00:00
Michael Bayne
976e219f56
Moved PerformanceMonitor and PerformanceObserver into media.util to remove
...
dependencies of media on miso.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@562 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 22:08:29 +00:00
Walter Korman
66c06781bf
Updated female pirate image.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@561 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 18:07:34 +00:00
Walter Korman
384ce51614
Updated character descriptions to reflect altered animation image
...
layout. Added new female pirate image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@560 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 18:07:13 +00:00
Walter Korman
95d6896ef7
Altered character animations to separate standing image from walking
...
animation images. Created and made use of basic single- and
multi-image implementations of the MultiFrameImage interface.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@559 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 18:06:17 +00:00
Walter Korman
4b58a696ca
Added the ability to specify one portal in a scene as the "default
...
entrance." The default entrance is specially highlighted in the scene
and can be read from and written to XML scene description files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@558 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 16:36:43 +00:00
Walter Korman
63a822862d
Explicitly check to make sure two dirty items occupying the same tile
...
are sprites since that's what we're actually expecting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@557 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 16:35:45 +00:00
Walter Korman
c0e31c9d3b
Don't allow resizing, and don't bother retrieving the tile manager
...
since we don't need it here any more.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@556 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 16:33:20 +00:00
Walter Korman
6ff80f8a92
Don't merge dirty rectangles when moving a sprite if the rectangles
...
don't overlap.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@555 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 03:01:13 +00:00
Walter Korman
c9535eca02
Simplified dirty item render sorting. General clean-up and comments.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@554 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 01:42:49 +00:00
Walter Korman
4b1f7af899
Merge any overlapping dirty rectangles before making them available to
...
outsiders.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@553 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 01:40:26 +00:00
Walter Korman
1dcad7f6b0
Create only a single dirty rectangle when a sprite moves. Cleaned up
...
bounds and rendered bounds discrepancies.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@552 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 01:39:38 +00:00
Michael Bayne
882dc381b0
Added moveBack() which requests to move to the location we occupied
...
immediately previous to our current location.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@551 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 03:10:30 +00:00
Walter Korman
092d96509e
We can't merge dirty rectangles for each dirty item when rendering
...
into a single rectangle, since doing so may cause new areas to be
dirtied that impact portions of other sprites or objects that won't
get properly redrawn. Sigh.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@550 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:33:47 +00:00
Michael Bayne
000463f491
Added a "Go" button to games in progress that can be used to enter those
...
game rooms.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@549 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:26:54 +00:00
Michael Bayne
6cc3631d48
Rearrangements and added code to clean up after tables when their
...
associated games finally go away.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@548 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:14:38 +00:00
Michael Bayne
30185cb814
Shut down the game manager when everyone leaves the room. The game object
...
and manager will simply disappear at that point which means that the game
will be aborted if it hasn't yet been completed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@547 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:00:54 +00:00
Michael Bayne
96b0faff38
Forgot to implement ObjectDeathListener.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@546 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:00:09 +00:00
Michael Bayne
75327a0b40
Scene manager now follows place manager example in requesting an unmap
...
from the scene registry during its shutdown process.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@545 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:58:12 +00:00
Michael Bayne
ac62348afc
Modified shutdown handling such that the place manager now listens for
...
place object death and lets the place registry know to unmap it during its
shutdown process.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@544 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:57:39 +00:00
Walter Korman
c839b61548
More polishing work on scene rendering.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@543 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:55:08 +00:00
Walter Korman
7263ecba95
Added test female pirate character.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@542 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:52:54 +00:00
Michael Bayne
ae114ceae2
Notes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@541 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:40:25 +00:00
Michael Bayne
7a305193ff
Unmap our scene manager when its associated place is destroyed.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@540 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:38:54 +00:00
Michael Bayne
fb587d2190
PlaceManager now downcalls to let derived classes know when it becomes
...
empty. Some derived classes will probably want to commit suicide at that
point.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@539 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:38:01 +00:00
Michael Bayne
bf777349cc
PlaceRegistry now finds out about place destruction and unmaps the place
...
manager accordingly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@538 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:37:24 +00:00
Michael Bayne
57b2e93ac3
Modified DObjectManager.createObject() to not afford optional subscription
...
because subscription no longer means receiving events.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@537 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:36:40 +00:00
Michael Bayne
660fccceb4
Don't log when we're woken up to read data but there's none available.
...
We'll debug that probable Linux JVM bug later.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@536 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:35:37 +00:00
Michael Bayne
15ff048a27
Created mechanism for listeners to hear about object death.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@535 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 23:56:12 +00:00
Michael Bayne
218eea6dc2
Changed TableManager to TableDirector. Will I ever learn?
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@534 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 23:52:01 +00:00
Michael Bayne
ea3964d702
Now uses TableManager to do table management.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@533 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 23:47:33 +00:00
Michael Bayne
a4ceafd268
Extracted server side of table management from the parlor manager and put
...
it into its own table manager class so that each place manager that wishes
to perform table management can instantiate a table manager which can then
more easily track tables for that particular place.
Now handle occupants disappearing from pending tables properly. Still need
to sort out game object life-cycle tracking.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@532 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 23:47:02 +00:00
Michael Bayne
095cbfb970
Stub implementation of handleLeaveFailed().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@531 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 20:26:30 +00:00
Michael Bayne
1849e90797
More progress on table lobby. Everything mostly works. Need to fix up some
...
boundary cases and deal with users and games going away.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@530 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 20:24:10 +00:00
Michael Bayne
246987893d
More progress on table services (can leave a table, things start correctly
...
now, and much much more).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@529 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 20:23:29 +00:00
Michael Bayne
690940db47
ElementUpdatedEvent wasn't registered.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@528 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 20:22:47 +00:00
Michael Bayne
1214056eba
More table services! Yay!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@527 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 02:22:17 +00:00
Walter Korman
64ed794d3d
Removed unnecessary clipping.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@526 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 02:04:07 +00:00
Walter Korman
cb7dd5a521
Added facilities for creating a veritable slew of dummy sprites that
...
walk around at random.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@525 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 02:03:49 +00:00
Walter Korman
53426bc5c4
Initial version.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@524 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 02:01:29 +00:00
Walter Korman
e4a101cfc2
On path completion, clear the path before observers are notified so
...
that they can assign a new path to the sprite should they choose to do
so.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@523 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 01:59:50 +00:00
Michael Bayne
dcf38d7a09
Have to pass a second arg to createPlace().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@522 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-22 23:56:42 +00:00
Michael Bayne
395c8a2a19
Added stubs for invocation service callbacks.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@521 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-22 23:56:25 +00:00
Michael Bayne
dc0df5bdf8
Javadoc updates.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@520 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-22 23:56:01 +00:00
Michael Bayne
6534413551
Have to pass second argument to createPlace().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@519 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-22 23:55:39 +00:00
Walter Korman
c6a2a488d4
Don't allow diagonal steps that are impeded by an impassable tile.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@518 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-22 21:32:13 +00:00
Walter Korman
c7d26cea8e
Fixed scene rendering issues and improved performance.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@517 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-22 18:21:42 +00:00
Walter Korman
7bd5d86c34
Use a mouse adapter to listen to mouse events.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@516 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-22 18:15:57 +00:00
Walter Korman
841f732174
Pass the dirty rectangle for a dirty item to its paint() method so
...
that we can join multiple dirty rectangles for an item into a single
larger item but still rely on the dirty item to know how to paint
itself.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@515 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-22 18:14:57 +00:00
Walter Korman
7d667778b1
We only need the dimensions for creating the offscreen image.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@514 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-22 18:13:51 +00:00