Commit Graph

3558 Commits

Author SHA1 Message Date
Michael Bayne 817d246cb1 Need to exclude JME bits when we don't have the right jar files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3616 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 23:29:08 +00:00
Michael Bayne 8bfdb79642 Build the tests along with everything else. No longer will they languish
in obscurity. Fixed a couple of out of date bits in the process.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3615 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 20:35:09 +00:00
Michael Bayne 8ef2a508c9 Created a specialization of the ballistic path that orients the sprite in
the direction of motion as it traverses the path.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3614 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 20:21:45 +00:00
Ray Greenwell 80ac008f24 Prevent array index bounds problems if isOccupiedPlayer gets called
with -1 (I saw it happen entering a sword game as a watcher).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3613 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 19:59:51 +00:00
Michael Bayne dfa9216b89 Do dat math!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3612 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 18:50:38 +00:00
Ray Greenwell 681561c4bf Removed backwards compatability with things that don't understand
that we're using a grid bag layout and they should use addControl().
Toybox is updated, and if there's anything else out there it's going
to need to be updated anyway, because it likely extends GameConfigurator
directly which is no longer a component.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3611 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 18:43:43 +00:00
Michael Bayne 6fbdc4e568 Created a path for ballistic motion and an associated test. Yay for
physics.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3610 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 18:26:54 +00:00
Andrzej Kapolka 264d0e65d5 Handle directional wall constraints, attach only to walls, check space constraints selectively with respect to direction.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3609 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-21 01:26:06 +00:00
Andrzej Kapolka 1e311871c3 Don't load tile images on server; just allow/check for null image provider.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3608 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-20 22:59:07 +00:00
Andrzej Kapolka bd017c0237 Added constraint fields to TrimmedObjectTileSet, fixed constraint parsing, added basic constraint handler class, added image manager to StageServer to fix NPE in tile retrieval.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3607 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-20 21:18:55 +00:00
Michael Bayne d7fd2f5f67 Resize our OpenGL display when the canvas is resized.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3606 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-20 18:57:18 +00:00
Michael Bayne 83d077b1fa Make them thar useful methods publicly available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3605 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-18 03:04:04 +00:00
Ray Greenwell 42aaf9d64d Moved team game configuration stuff into the TableConfig, added
a method in Table to return the compressed team indices, added
a new TeamGameManager which can be implemented to have the final
team info communicated to the game manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3604 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-17 20:25:28 +00:00
Elizabeth Fong 5b3f842e44 Always throw a stack trace if an invalid tile is requested, so that we can more easily track down these errors
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3603 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-16 19:54:49 +00:00
Michael Bayne 1ac09300a7 Log board dumps via System.err so that only the main warning message is
prefixed with a timestamp and identifying information. This way the log
processing scripts will treat the dump as an extension of the previous
warning message and not new warnings of their own.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3602 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-16 18:24:55 +00:00
Michael Bayne 1f9d28aa59 A bunch of fiddling to support running JME in an AWT canvas.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3601 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-16 00:04:09 +00:00
Ray Greenwell 6ce0059b29 Removed special "party" crap related to starting a game after it's
been created. A party game starts itself without direct user intervention.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3600 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-15 23:46:31 +00:00
Ray Greenwell f9f1307884 Count how many client resolutions are currently being processed at any time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3599 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-15 20:46:36 +00:00
Andrzej Kapolka 89b51beee2 Read constraints for object tiles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3598 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-15 18:54:24 +00:00
Ray Greenwell 97b1085388 Added support for minimumPlayerCount, allowing tables to be started
before they're full.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3597 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-13 23:47:48 +00:00
Ray Greenwell 8bec395301 Updated documentation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3596 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-13 18:52:33 +00:00
Michael Bayne eec8a2ceb9 Record our queue size once every five minutes, and do it using a nice
happy constant.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3595 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-13 18:42:29 +00:00
Michael Bayne 457729fdcb Record the maximum distributed object and invoker queue size every minute
to a specific stats log.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3594 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-13 18:16:56 +00:00
Ray Greenwell cf5b889be6 The continuing refactor.
- GameConfigurators are no longer JPanels, but rather abstract classes
  that show UI in their own way. There is a SwingGameConfigurator that
  has a panel.
- TableConfigurator is no longer an interface, but is now more closely
  like the GameConfigurator.
- Repackaged some things that were in the wrong place.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3593 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-10 18:10:49 +00:00
Ray Greenwell eae92d8d89 StartAction was never getting called for watchers, so the player index
was not set up correctly. Rather than trying to save the player index
somewhere or have a new method for retrieving it (and knowing if it changes),
just let the PuzzleController worry about all that and simply always
ask it for the index.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3592 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-09 22:00:57 +00:00
Michael Bayne 74b44bc21c Added setUsername().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3591 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-08 23:36:27 +00:00
Ray Greenwell b209ee036d Beginnings of a new unified way of configuring not only puzzles but
associated options depending on the context of the puzzle, for example
the wager, or tournament options. Kept the default layout as a vgroup
for backwards compatability (although I think the only thing that needs
that is the ToyBoxConfigurator, and I've been wanting to make that bad
boy line up nicely for a while now, so this backwards compatible stuff
will only be needed for a short while).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3590 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-08 23:20:18 +00:00
Michael Bayne 78d96849b1 Created an ant task for converting models to JME format.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3589 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-08 00:03:24 +00:00
Andrzej Kapolka b9be0dcea7 Broke menu bounds computation out into its own method for use by subclasses.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3588 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-07 16:43:59 +00:00
Michael Bayne 62cacd152e Require BUI and JME to build our JME bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3587 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-05 16:41:46 +00:00
Michael Bayne 853e86e560 This looks suspiciously like a bug.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3586 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-05 16:41:10 +00:00
Ray Greenwell 0308123c0b Fixed alignment of boolean configs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3585 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-04 01:04:58 +00:00
Michael Bayne c6ceb654e4 We can do all we need with the DummyDisplaySystem. Eventually I'll be able
to turn this into an ant task.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3584 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-31 23:14:51 +00:00
Michael Bayne 5a4df194ec Added some methods for controlling animations within a sprite.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3583 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-31 23:14:08 +00:00
Michael Bayne 492801b7db Some placeholder makfiles to make things compile without fiddling on ze
Macintosh.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3582 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-28 17:30:29 +00:00
Michael Bayne a0363c873f Tracked down the source of non-repaintery on the Smack and added a couple
of workarounds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3581 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-28 17:24:51 +00:00
Ted V ee20db4390 Added (N choose K) function.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3580 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-27 23:04:42 +00:00
Ray Greenwell 3f438188dc Always report something to the user when they try to mute/unmute someone,
report success always when muting, even if nothing changed, but report
that the person wasn't there if an umute fails.
We get bug reports from people who unmute the person but they still can't
hear them and the only thing I can think of is that they are mistyping
the name.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3579 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-27 21:35:07 +00:00
Ray Greenwell 7233c34e0f Call userObjectWillChange prior to informing the caller that the
change has been reported.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3578 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-27 01:01:26 +00:00
Ray Greenwell 6e0d417169 Moved the announcement of a leaving player to the client, and to yohoho,
where the announcement of an entering player is.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3577 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-25 20:54:34 +00:00
Ray Greenwell ccbd38f255 Cleaned up some bits that assumed that _pidx was always > 0.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3576 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 23:30:59 +00:00
Michael Bayne 919790557f Removed debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3575 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 20:32:16 +00:00
Michael Bayne 862ff8a9eb Catch Throwable because LWJGL kindly throws errors during initialization
in addition to exceptions. Yay!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 17:55:52 +00:00
Michael Bayne 56deaa4982 Catch errors when initializing OpenGL and allow them to be displayed to
the user.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 17:48:10 +00:00
Andrzej Kapolka 04bd9c768a Changed AddObjectUpdate to a more general ModifyObjectsUpdate and added a service call to delete an object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3572 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 03:51:13 +00:00
Michael Bayne cf3a6e0a91 Allow the reading of the display configuration to be overridden.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3571 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 02:14:55 +00:00
Ray Greenwell a5844db478 Rather that returning a String[] description, return a List.
Subclasses can now easily add their own descriptions on to the beginning
or end of their superclass's descriptions without having to do the
hokey pokey.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3570 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-23 23:17:24 +00:00
Ray Greenwell fa2f528c10 Cleared just a small portion of the great clouds of crack smoke and made
the timers not invalidate _every fucking tick_, even if they're not even
showing!!!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3569 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-20 01:16:32 +00:00
Michael Bayne a66f06bd3b Added ability to limit the camera's panning; cleaned up input and mouse
handler creation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3568 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-19 18:02:07 +00:00
Michael Bayne 6d3f4c2465 Created LineSegmentPath fixed bug with path completion.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3567 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-19 00:21:28 +00:00