Commit Graph

141 Commits

Author SHA1 Message Date
Ray Greenwell b295fb2630 Regenerated with non-NPEing code.Regenerated with non-NPEing code.Regenerated with non-NPEing code.Regenerated with non-NPEing code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3300 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-01-08 22:05:00 +00:00
Michael Bayne 61c0dde5d5 Regenerated the distributed objects with the new clone happy bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3295 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-01-05 06:46:11 +00:00
Michael Bayne 55a0ab91f7 Regenerated our DObject derivations in the new world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3288 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-28 03:51:29 +00:00
Ray Greenwell bd80c348eb The great Interval revamp.
There is no more SafeInterval, instead Intervals can be constructed with a RunQueue to use for expiring.
PresentsDObjectMgr implements RunQueue.
Client has a getRunQueue() method to get the client side RunQueue.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3283 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-22 19:23:00 +00:00
Michael Bayne 03c590b6cf Removed old debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3273 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-14 20:12:59 +00:00
Michael Bayne d04e068d9b Use the custom class loader, though the way MiCasa works, the custom class
loader approach can't work. But it's useful to set a proper example.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3256 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 20:06:36 +00:00
Michael Bayne d492d541b3 Create our game configurator directly rather than returning a class and
forcing the caller to instantiate it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3248 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 21:24:33 +00:00
Michael Bayne a04e23e025 Regenerated our marshaller and dispatcher classes with the new Java-based
generator. It handles inner classes slightly differently and prepends a
project-specific header to the generated classes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 04:47:40 +00:00
Ray Greenwell 90621e78de Moved standard puzzle chat up to the game level, so that all games
can broadcast chat messages on their object..


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3237 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 00:21:46 +00:00
Michael Bayne 8451c39797 Added missing copyright headers to the .dobj files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3218 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-17 23:16:56 +00:00
Michael Bayne 1bc67db023 Cope with a CrowdContext if that's all we need.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3216 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-15 01:47:52 +00:00
Ray Greenwell 4fda6a2fcb Allow specification of a personality type along with the skill level
when setting up AIs.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3164 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-22 19:27:54 +00:00
Michael Bayne a9720fd905 LGPLed the library. Hello world.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3099 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 02:21:06 +00:00
Michael Bayne 1f8c4578b7 LGPLed the library. Hello world.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3098 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 02:12:55 +00:00
Michael Bayne 94a855d59e Allow configuration to be passed on the command line.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3097 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 01:41:21 +00:00
Michael Bayne a2ae7d499d Track more objects!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3091 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-23 21:05:04 +00:00
Michael Bayne 031331a5c3 Regenerated from service definitions.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3037 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-22 13:57:44 +00:00
Michael Bayne 32dee3cbaf 405 modified source files and 17,367 lines of diffs later we now enforce
more discipline when handling names in our code base. Any user entered
name should find its way into a Name object as soon as it comes out of a
text field or whatnot, and stay that way until it makes its way into a
text field or into a database record (for which String objects are vastly
simpler because of JORA magic).

Dear God, let me never again make a change this large for the rest of my
mortal life.

Unfortunately, this means we have to keep an eye out for funny business
pretty much everywhere. However, since we will absolutely want to test
market stalls and so forth on Azure, we'll have an opportunity to iron out
any funny business that might fall under the radar during our internal
testing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2980 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-06 11:29:19 +00:00
Michael Bayne d618d3c771 Eclipse suggested cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2971 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-02-25 14:50:28 +00:00
Ray Greenwell 796c953c89 Window.show() is deprecated in jdk 1.5, replaced with setVisible(true).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2965 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-02-22 18:55:26 +00:00
Michael Bayne e8c355dff8 Obtain our system properties in a security manager aware manner.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2940 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-24 05:58:16 +00:00
Michael Bayne f8664ab2b5 Some tweaks to the simulator services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2900 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-10 03:31:41 +00:00
Michael Bayne cb9ed7030d Provide a config instance.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2865 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 17:51:56 +00:00
Ray Greenwell 5f515133c3 Chat revamp, phase 2.
- FeedbackMessage has been subsumed into SystemMessage, which now has three
  modes: INFO, FEEDBACK, or ATTENTION.
- Cleaned up methods for sending those system messages.
  - on the server: sendInfo(), sendFeedback(), sendAttention()
  - on the client: displayInfo(), displayFeedback(), displayAttention().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2635 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-04 02:50:19 +00:00
Ray Greenwell d3f3995cb7 Allow an optional ResultListener to be passed into requestTell that will
tell us whether or not the tell succeeded.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2632 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-03 23:36:18 +00:00
Ray Greenwell 40afe3cb94 Chat revamp, phase 1.
- Repackaged crowd/chat
- All messages are delivered to the client via ChatMessage messages,
  including tells.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2631 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-03 21:41:33 +00:00
Michael Bayne 2c94e12490 Regenerated DObject definitions with new policy.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2514 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-30 22:45:57 +00:00
Michael Bayne a59aa8f94d Get our listen port from a server property if specified.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2370 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-01 04:00:54 +00:00
Michael Bayne 56b0012782 Use Comparable for the to be removed distributed set key.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2290 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-26 17:54:56 +00:00
Michael Bayne c1638b9bf3 Brevify log message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2205 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-21 22:10:18 +00:00
Walter Korman a91061cb30 Use SwingUtil.refresh().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-11 01:03:02 +00:00
Michael Bayne 48823b10f9 More revamped serialization cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2079 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-20 23:41:27 +00:00
Walter Korman b90d5e4b85 Renamed ClientController to SimulatorController.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1935 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 19:54:05 +00:00
Walter Korman 828fd80951 Minor restructuring to allow derived simulator applications to specialize
their logon behaviour to suit their needs.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1932 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 01:42:28 +00:00
Michael Bayne c53a6f59b1 Add support for clearing a place view when it goes away so that we can
better manage multiple outstanding place views.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1929 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-08 09:31:59 +00:00
Ray Greenwell 59fbad181c the 'force' argument to ChatDisplay.clear() is now implied.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1927 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-08 07:28:23 +00:00
Ray Greenwell c3743cd98c change to ChatDisplay.clear() method signature
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1851 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:34:43 +00:00
Walter Korman 4b97ff9916 Fixed typo in javadoc.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 02:05:26 +00:00
Michael Bayne bb489caf39 New OccupantObserver signature.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1836 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 01:25:18 +00:00
Michael Bayne a0e9044e93 Config clean up and unification. The base servers were doing more than
they needed to and when all that was stripped away, they didn't really
need their own config files.

Now what little config they need is provided by the users of these basic
services so that said users can make their own decisions about where to
obtain configuration information.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1820 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-21 20:56:21 +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
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 bdd49a4b3f Moved clientObjectDidChange() into SessionObserver because anyone
observing the session is likely to need to know about that sort of thing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1719 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 00:54:39 +00:00
Michael Bayne ba4985053f Revamped "persona selection" support. Things now actually work, and in as
sensible a way as we can hope for.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1717 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-19 23:36:59 +00:00
Michael Bayne 99edb5cd5e Regenerated services and receivers to fix bugs and use updated templates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1659 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-20 19:38:16 +00:00
Michael Bayne 3dfc8404c8 The simulator server now extends the MiCasa server since it lives in the
MiCasa package and aught to support the testing of Parlor-based games.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1647 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-15 23:21:45 +00:00
Michael Bayne e54a4d41f4 The great invocation services rethink of 2002! Rearchitected the remote
method invocation services and converted everything to the new style.
Could this be my biggest checkin ever?


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1642 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-14 19:08:01 +00:00
Walter Korman 4481c5f835 Added facilities for clearing the chat displays. Minor documentation
editing and reformatting.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1641 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-14 00:48:57 +00:00
Ray Greenwell ef52f31ad4 Created client-side message objects which are the only thing passed
to the newly simplified ChatDisplay interface, which now has but one method.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1620 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-26 20:35:02 +00:00
Michael Bayne b7b44f5f14 Added basic framework for providing game configuration interfaces that can
be used by a matchmaking interface when setting up a game.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1617 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-25 23:20:22 +00:00