Commit Graph

1591 Commits

Author SHA1 Message Date
Michael Bayne 6d8f304aa3 Old notes, new notes. (Red notes, blue notes?)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1594 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-19 16:00:32 +00:00
Ray Greenwell d22350ff3c Added a version of blend that takes a float argument so that
two colors may be blended at a ratio other than 50-50.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1593 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 23:14:02 +00:00
Michael Bayne f186ef5537 Updates to PRMI design to account for the need to provide a ClientObject
to the server-side implementation of an invocation service.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1592 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 20:56:44 +00:00
Michael Bayne 06ab6c8b90 Initial design of new Presents RMI services to replace invocation
services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1591 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 18:25:57 +00:00
Michael Bayne 9a696b3a24 Split the Narya library into various subsystem-specific .jar files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1590 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 05:31:55 +00:00
Michael Bayne a9ef042dae Debug logging changes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1589 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 00:42:30 +00:00
Michael Bayne e9ceaa6ae9 Marked transient fields accordingly so that the Marshaller doesn't try to
send them over the wire.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1588 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 00:41:59 +00:00
Michael Bayne 7a1a162a0d Changed field marshaller registration to be compatible with DashO-style
field renaming. I'm a bad monkey for overusing reflection.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1587 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 23:05:28 +00:00
Walter Korman f53975fe74 Cache tell request information in the chat director and pass it along to
the various chat displays once we've ascertained success or failure.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1586 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 20:53:31 +00:00
Michael Bayne 34bbab5ee7 More logon translation messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1585 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 18:11:14 +00:00
Michael Bayne bd44038ae2 Formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1584 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 18:11:02 +00:00
Michael Bayne 8559e2eb29 Added auth code for use when the server is operational but not available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1583 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 18:10:04 +00:00
Michael Bayne 9daf7b59bb Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1582 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 01:55:30 +00:00
Michael Bayne 71c392555f Fixed bug in dobj reference management.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1581 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 01:54:33 +00:00
Michael Bayne 18039887b4 Added a debug hook for dumping all objects in the dobj table.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1580 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 01:54:16 +00:00
Michael Bayne 6b9424128d Read both the server and port from system properties.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1579 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-16 05:44:29 +00:00
Michael Bayne a2339cea0b Report the server and port to which we are connecting when we log on.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1578 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-16 05:42:53 +00:00
Michael Bayne cbca08878d Allow the port to be set from the command line (this should probably
instead be hijacked from the actual server setting but this works for
now).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1577 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-15 03:09:29 +00:00
Michael Bayne b1252aab66 Edits and fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1576 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 17:06:52 +00:00
Michael Bayne 2404ea688e Added translations for the MiCasa logon panel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1575 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 17:02:02 +00:00
Michael Bayne 75edbad42f Cleaned up the MiCasa logon panel and services. It's all much more nicely
behaved now.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 17:01:28 +00:00
Michael Bayne 6064ab1750 Provide some basic auth codes so that all users of Presents don't have to
come up with these same codes themselves.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 16:17:45 +00:00
Michael Bayne 78b58a6093 Whoops, typo.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1572 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:50:24 +00:00
Michael Bayne 7a3daa1d2b The simulator should provide a MiCasaContext and generally be a good
MiCasa citizen.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1571 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:49:37 +00:00
Michael Bayne 40cbabe20c Report when the connection fails.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1570 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:49:02 +00:00
Michael Bayne 9cde2eab3e Added a constructor that takes a window title.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1569 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:48:45 +00:00
Michael Bayne 255599b960 Resize the simple frame to fit the place view when it is provided with a
new one.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1568 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 02:02:59 +00:00
Michael Bayne cf8608f20a Enhanced reporting in failure conditions; fixed a problem where attempting
to end the session of a client that was already ended would result in
funny business.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1567 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 01:26:21 +00:00
Michael Bayne ae4267a7d5 Fixed problem with LogoffDispatcher where it was reusing a single instance
for all clients in a non-reentrant manner.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1566 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 01:25:11 +00:00
Michael Bayne 3be1d56ae7 Cleaned up connection handling code so that it deals more robustly and
gracefully with failures; also no longer attempt to send messages to a
connection that has already been closed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1565 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 01:23:45 +00:00
Michael Bayne 6b77216df1 Report some sort of identifying information so that we can differentiate
between connections even on JVMs (like Linux's) that seem to feel no need
to actually return anything sensible from InetAddress.toString().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1564 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 01:22:17 +00:00
Ray Greenwell 86e4745882 Moved SafeScrollPane back
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1563 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-09 21:13:20 +00:00
Michael Bayne 43d6c3de3d Created convenience class for clients that wish to create a JPanel to act
as their PlaceView.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1562 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-09 21:05:33 +00:00
Ray Greenwell 3ff952ee49 Moved SafeScrollPane to com.samskivert.swing
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1561 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-09 17:49:12 +00:00
Michael Bayne b93bcfaa11 When two sprites occupy the same tile, their screen y coordinate is used
instead of their fine coordinates. It achieves the same effect and
alleviates the need to track fine coordinates in the MisoCharacterSprite.

Additionally, IsoSceneView and friends were modified to allow any sprites
to wander their crooked realms, MisoCharacterSprite instances are simply
more efficient because they maintain cached copies of their tile
coordinates whereas other sprites must have their tile location computed
from their screen location whenever they are to be repainted.

At some point in the future, the tile coordinate tracking facilities of
MisoCharacterSprite should be accessed through an interface so that other
spritely entities can cache their tile coordinates if they so desire.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1560 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-08 21:41:30 +00:00
Michael Bayne db0c1b59b8 It's not kosher to set a sprite's location until after it is fully
constructed. The reason being that derived classes want to override things
like updateRenderOrigin() which should be called every time the sprite's
location is set, but if we do it in the base class constructor, a derived
class's updateRenderOrigin() will be called before the derived class's
constructor has been called. This is not good. Neither was the existing
code which simply half-assed a location change by updating the sprite's
origin position but not calling updateRenderOrigin(), leaving things
generally confuzzled.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1559 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-08 21:15:35 +00:00
Walter Korman 6260633ec3 Added a variant of createImage() that takes an existing image to be
rendered into the optimized image.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1558 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-06 00:38:45 +00:00
Walter Korman 627ee5a1db Javadoc fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1557 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-02 23:15:53 +00:00
Walter Korman 4dcb62d186 Make all simulants AI players.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1556 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-02 21:14:23 +00:00
Ray Greenwell a31730278b added hoverObjectWillChange()
fixed bug that happened when HIGHLIGHT_WITH_ACTION was on.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1555 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-29 01:32:28 +00:00
Ray Greenwell 7982e21fc1 Added a primitive mute director to get the ball rolling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1554 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-28 04:09:39 +00:00
Michael Bayne 6d1185c208 Fixed bug in normal rendering, caused the angle to rotate for more
thorough testing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1553 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-28 01:31:11 +00:00
Michael Bayne 00986b3bfd Center the window before displaying.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1552 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-28 01:29:43 +00:00
Michael Bayne 976627a5b9 Test app for GeomUtil.whichSide().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1551 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-28 01:29:32 +00:00
Michael Bayne afeab1ae90 Added convenience versions of the dot product method that assume both
vectors share a common origin; added whichSide() which determines whether
a point is on the left or right hand side of a line.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1550 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-28 01:29:08 +00:00
Ray Greenwell 99f7c227c7 Minor bugfix: fix tile coordinate computation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1549 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-27 01:27:13 +00:00
Michael Bayne e75ae89f22 Various and sundry modifications to clean up orientation handling and add
support for 16 orientations in situations where it is merited.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1548 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-26 23:53:07 +00:00
Michael Bayne d1b428158a Added getOrientation() as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1547 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-26 23:51:06 +00:00
Michael Bayne b1f17bd32d Trimmed the test component set down to a few essentials; updated the
test vessel components.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1546 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-26 21:57:01 +00:00
Michael Bayne c3bbaa3e40 Modified getDirection() to use arc tangent so that it maps angles smoothly
to their nearest compass direction instead of the wacky way it did before.
Also added getFineDirection() along with rotateCW() and rotateCCW() to
rotate through (fine) directions (though coarse directions can be rotated
as well, simply by always requesting two ticks of rotation). Also wrote
some test code to make sure everything works.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1545 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-26 02:54:56 +00:00