Commit Graph

131 Commits

Author SHA1 Message Date
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 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 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
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
Walter Korman 43f7fc44c1 Modified simulator server interface to allow initializing the server with
asynchronous notification when initialization is complete.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1431 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-10 19:16:41 +00:00
Michael Bayne 9d1b8a664c Minor fixups to get things running (and to get Atlantissonne working as a
JWS app, whee!).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1380 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-21 04:47:48 +00:00
Michael Bayne c4bc5fb292 No need to prefix things now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1379 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-21 04:46:44 +00:00
Walter Korman 5e273ce72e Made the logoff command a constant.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1378 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-17 21:22:46 +00:00
Michael Bayne b15d38b54d Relegated a shitload of logging to DEBUG status.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1361 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-15 23:54:35 +00:00
Walter Korman 441e21d08c Pack the main frame to fit its components rather than referencing width
and height property values.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1351 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-09 04:39:12 +00:00
Michael Bayne 4ec673e6c2 Localized chat! Server entities may now fake speak and tell messages that
are translated by the client upon receipt. We love to translate.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1319 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-30 17:27:30 +00:00
Walter Korman a97e9db978 Moved remaining client.*Codes classes into their respective data packages
as they are intended to represent codes shared between the client and the
server.  Made correspondingly necessary changes throughout.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1240 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 16:28:05 +00:00
Walter Korman f6fedf5bdf Renamed OccupantManager to OccupantDirector.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 14:38:46 +00:00
Walter Korman 5ec2bdcfe0 Use JPasswordField.getPassword() as per deprecation warning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1234 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-12 16:26:12 +00:00
Walter Korman 093edd4750 Pass along the user password if specified.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1174 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 21:53:17 +00:00
Michael Bayne b486315e47 Revamp! Modified the way configuration is handled.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1166 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-28 22:32:34 +00:00
Walter Korman 984f2cc9f0 Build simulant names with the index counter rather than the simulant size
now that we resolve clients asynchronously.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1147 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 01:30:37 +00:00
Michael Bayne 7ccb9594b9 Changed DSet.Element to DSet.Entry in preparation for the addition of
array element update support. (Arrays have elements, sets have entries.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-18 23:21:26 +00:00
Michael Bayne 1d956214dd Added SessionObserver which is a pared down version of ClientObserver that
only reports logon and logoff.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1117 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-11 19:51:25 +00:00
Michael Bayne 0177f77dfd Regenerated with fixed gendobj.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1098 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 01:06:12 +00:00
Michael Bayne 9e16e87a69 Doris the refactorasaurus. Restructured the whole client object resolution
process so that it can be done by other entities than just the client
management services. Coordination between these parties is managed so that
no toes are stepped on in the course of loading and unloading clients and
everything is generally much nicer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1086 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 05:33:25 +00:00
Michael Bayne dc154423e0 Added code to support the new localized system messages; first by creating
a message manager and making it available to the micasa code and second by
actually using it to translate system messages.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1075 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-26 05:48:11 +00:00
Michael Bayne 5f18acd3d8 Modified distributed object attribute setting such that attributes are
*always* set immediately because after some deliberation, we decided that
doing that led to less unexpectedly annoying behavior than having to wait
for the event to propagate to see the new value.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1062 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-20 23:35:42 +00:00
Michael Bayne 635e9cf930 addObserver -> addClientObserver.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@982 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-09 20:47:11 +00:00
Michael Bayne 5581b3e65b Converted more dobj classes to use the gendobj script. (Had to do a wee
bit of fiddling to accomplish some things that used to be done by hand.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@973 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:55:25 +00:00
Michael Bayne 62c466b95f Changed getContext() to getParlorContext() to prevent naming conflict.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@942 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:58:23 +00:00
Michael Bayne ff97ce2c25 Report the error if we fail to load game config; minor restructuring.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@941 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:57:44 +00:00
Michael Bayne bf049dc1c7 Set up our SimulatorManager on init().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@940 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:57:10 +00:00
Michael Bayne 9e6e07ea61 Extracted the simulator server services out into an implementable
interface so that we can replace the server with a more sophisticated one
when running the simulator.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@938 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:12:42 +00:00
Michael Bayne 8dd6ac2b32 Need to be provided with an omgr rather than referencing it via the
SimulatorServer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@937 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:11:51 +00:00
Michael Bayne 9cafc77659 Modified simulator manager to obtain helper managers at construct time
rather than referencing them through SimulatorServer. This is step on in
eliminating SimulatorServer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@930 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:27:07 +00:00
Michael Bayne a83e512270 Modified DObject.toString() to use fieldsToString() so that all of its
derived classes need not do their own toString()ing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@928 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-04 01:47:20 +00:00
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