Commit Graph

47 Commits

Author SHA1 Message Date
Michael Bayne c1dcc614f7 Clean up marshalling a bit.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@913 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-01 23:43:45 +00:00
Michael Bayne a0a1a48057 Have to separately alloc and init now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@878 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-19 04:16:02 +00:00
Michael Bayne c6b0638e9e Apparently, we need an explicit protected constructor in the client
context impl inner class.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@877 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-19 04:15:25 +00:00
Michael Bayne ef9c12672e Restructured MiCasaClient such that it could be extended for games that
need a custom (extended) client context.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@876 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-19 04:02:11 +00:00
Michael Bayne b88b5c61e5 Modified the simulator stuff to allow it to be extended with the intent of
providing a specially configured client context for use by the code that
runs in the simulator.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@861 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-16 02:59:08 +00:00
Walter Korman 8c6bc2d129 Map simulant body objects into the server on creation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@843 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-20 01:11:18 +00:00
Walter Korman 7ba9618ac9 Expanded imports and removed obsolete imports and member data.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@842 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-20 01:10:52 +00:00
Walter Korman d4837512f6 Initialize the simulant with the game config as well as their body object.
Have the simulant notify the game object when it's ready rather than doing
it in the SimulatorManager so that game-specific Simulant variants can set
themselves up in timely fashion.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@840 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 23:30:47 +00:00
Walter Korman 0f8a78bf7c Let the game manager know when the simulant is ready for the game to
begin.  Give the simulant body objects their correct username.  Cleaned up
logging.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@838 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 10:02:53 +00:00
Walter Korman 3e1e1dea83 Initial version of game simulator to facilitate game testing. Runs a
client and game server in a single process, creating as many Simulant
players to round out the game as desired.  Still more work to do, but
currently creates simulants, starts up the game, and awaits players.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@837 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 09:32:02 +00:00
Michael Bayne 65401007de Javadoc edits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@816 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 01:06:35 +00:00
Michael Bayne 227a8addfd Handle (by ignoring) the new type information associated with chat
messages.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@808 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 21:47:13 +00:00
Walter Korman af4b1175d7 Use AncestorAdapter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@779 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 16:08:00 +00:00
Walter Korman e5d514aa8a Added facility for setting whether the chat text entry field should
request keyboard focus.  Expanded imports.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@778 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 04:33:53 +00:00
Michael Bayne 4a31725ff2 Allow the specification of the server host via a system property.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@637 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-26 23:46:47 +00:00
Michael Bayne cf51ce8a9c Connect to the server specified by our codebase host.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:43:02 +00:00
Michael Bayne 20d8b968c2 Catch the security exception if our invite-test code chokes on
System.getProperty(). We want to leave it in, but we don't want applets to
complain about it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:42:33 +00:00
Michael Bayne ea6248f99d Only attempt to log off in stop() if we're actually logged on.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@570 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:29:00 +00:00
Michael Bayne 9c781457c6 Revamped logon and logoff handling so that the driver is responsible for
either exiting or closing the window when we logoff rather than the client
or the client controller which don't know if we're in an applet or an
application or something else.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@569 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:21:32 +00:00
Michael Bayne 264a71ddd5 Created a basic applet driver for the MiCasa client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@568 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:03:48 +00:00
Michael Bayne e3767a5241 Added faked login code to the app.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@567 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:03:29 +00:00
Michael Bayne 22ee2981cb Wrapped the jumpOid check in a catch clause in case we're running in an
applet. Removed the faked login code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@566 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:02:57 +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 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 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 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 7844e4db85 Handle system messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@502 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-18 23:55:37 +00:00
Michael Bayne a78728edcb Add /clear for clearing the chat box.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@500 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-18 23:10:32 +00:00
Michael Bayne 46ab6ff6e8 Added ability to remove the "Send" button for chat boxes in cramped
spaces. Modified getPreferredSize() to return a width that isn't
pathologically skinny and to avoid allowing the underlying JTextPane from
requesting a ridiculously large width when it gets a nice long string of
text to display.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@497 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-18 20:52:58 +00:00
Michael Bayne ff8fb2eae7 If the user clicks the close button, logoff only if we're logged on.
Otherwise just exit.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@490 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-18 18:39:40 +00:00
Michael Bayne fba67a6957 Allow username and initial room oid to be forced.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@486 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-18 01:40:40 +00:00
Michael Bayne 3db1a86fac Connect to my machine for now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@482 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-17 23:29:18 +00:00
Michael Bayne 6634eb3fc9 Moved Parlor game stuff into parlor.game package instead of spreading it
across parlor.client, parlor.server and parlor.data.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@437 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 21:08:22 +00:00
Michael Bayne 55093e30f8 Big fat renaming!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@432 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 04:13:33 +00:00
Michael Bayne 5c79f8f082 Sorted out some basic invitation stuff so that we can force an invitation
to take place for testing. Will flesh all the rest out later.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@426 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 20:22:51 +00:00
Michael Bayne 9bb91d5eac Lose the chatbox label.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@422 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 19:49:59 +00:00
Michael Bayne 9249e17d3c Put the logoff button in the side panel. Actually put the main panel in
the UI.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@421 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 19:24:54 +00:00
Michael Bayne e7bc462545 Keep track of a "default" lobby which is presently the first one created.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@420 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 19:24:11 +00:00
Michael Bayne 758bac6f28 Extend PartyClient, do the right thing with our BootstrapData.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@419 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 19:23:50 +00:00
Michael Bayne 8eb3dba6dc Move logoff handling into ClientController.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@418 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 19:23:26 +00:00
Michael Bayne 9884571f6e Moved things into lobby from client. Sorted out a better (but still
temporary) mechanism for getting into the first lobby after we logon.
Other cleanups.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@415 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 18:20:08 +00:00
Michael Bayne f8846ab016 Making things work; moving lobby stuff entirely into lobby; simplifying.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@411 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 17:47:33 +00:00
Michael Bayne 31a0177480 Updated to conform to new place services provided by party. Getting closer
to being able to launch a game.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@406 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 00:48:34 +00:00
Michael Bayne e8071b5ad6 More progress on MiCasa services. Have lobby selection working now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@397 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-04 23:41:44 +00:00
Michael Bayne 7e3805f069 More basic stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@392 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-04 00:29:07 +00:00
Michael Bayne cc53626cab Initial revision of MiCasa game hosting service.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@391 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 23:24:09 +00:00