Commit Graph

  • d30119eb65 Do some jiggery pokery to better classify the zillions of Interval$Unit$1 runnables that get added to the dobjmgr queue. Michael Bayne 2005-08-08 23:54:41 +00:00
  • ffec15fdd9 We need to build libunsafe.so for FreeBSD. Michael Bayne 2005-08-08 19:00:33 +00:00
  • 46220291eb Moved the WaveData clip provider into its own class. Michael Bayne 2005-08-05 20:34:35 +00:00
  • d668c91b9b Use the new LRUHashMap removal observer mechanism. Michael Bayne 2005-08-05 20:26:01 +00:00
  • 237419b179 Exclude the openal package unless the lwjgl libraries are present. Michael Bayne 2005-08-05 07:32:33 +00:00
  • 064f18deb7 Fixed comment; added proper cache size adjustment. Michael Bayne 2005-08-05 03:20:14 +00:00
  • 9d3eb07c06 A new sound system based on OpenAL. Only supports sound effects at the moment, but OpenAL has the necessary business to later integrate "streams" of audio (music). Michael Bayne 2005-08-05 03:12:16 +00:00
  • bdfc2a7005 Added a setToken() that takes a boolean, as it can be very convenient. Ray Greenwell 2005-08-04 01:15:17 +00:00
  • 738cf657cb Allow a player to be replaced in an in-play game; properly handle the case in a turn-based game where the turn holder is replaced and update the turnHolder field in a way that doesn't cause the client to think that the turn changed. Michael Bayne 2005-08-03 07:46:54 +00:00
  • a3ca9ba149 Link to the jME API. Michael Bayne 2005-08-03 01:36:34 +00:00
  • dc202b3e8a Let's find out what that invalid argument exception is, should it recur. Ray Greenwell 2005-08-01 18:11:33 +00:00
  • d87ca1d8e1 Avoid some repaints when we can. Ray Greenwell 2005-07-28 21:10:11 +00:00
  • 898a3bf5d5 Not sure if this is a big deal, but it can't hurt: our media panels shouldn't be transparent so that repaints don't travel up past them. (Some were, but I think our repaint manager was keeping paints out of the parents anyway, somehow). Ray Greenwell 2005-07-28 21:08:47 +00:00
  • e438377297 Introspect on our classes in a privileged block so that unsigned code can call ObjectInputStream.defaultReadObject(). Michael Bayne 2005-07-25 17:24:25 +00:00
  • 6c1db160ce Make the default color white. Andrzej Kapolka 2005-07-23 02:10:32 +00:00
  • 67d1ca90c4 Moved the calls to the various layer-painting methods to their own independent method. Andrzej Kapolka 2005-07-23 01:30:35 +00:00
  • 694b7f0f98 Correctly handle the case where a surface (or wall) with things on it is removed and replaced with another surface (wall). Andrzej Kapolka 2005-07-21 23:50:20 +00:00
  • 301c1cbe4d Dispatch the notification that the client failed to logon after we are completely cleaned up so that an immediate attempt to logon using a different configuration will not fail due to the client thinking it's still logged on from the previous failed attempt. Michael Bayne 2005-07-21 20:23:37 +00:00
  • 15528d9055 Multiple ports! Michael Bayne 2005-07-21 19:34:26 +00:00
  • eba31091bb Switch the default port for the Presents system to the DirectPlay port. Michael Bayne 2005-07-21 19:26:05 +00:00
  • 8c94273b69 Allow the connection manager to listen for incoming connections on multiple ports. Michael Bayne 2005-07-21 19:21:33 +00:00
  • 06faee3ef6 Test program for the uid fiddly business. Michael Bayne 2005-07-21 19:10:28 +00:00
  • 06b8f41e66 Added setuid() and setgid() to Unsafe. Michael Bayne 2005-07-21 19:10:08 +00:00
  • 58bf15f3e8 Added persistTo/unpersistFrom methods for persisting updates. Andrzej Kapolka 2005-07-21 02:23:45 +00:00
  • ac22e65145 Enabled some debug logging when STREAM_DEBUG is activated. Removed custom String marshaller as a StreamerMarshaller is used for String fields. Michael Bayne 2005-07-16 01:46:20 +00:00
  • 03411cbd9c Various renamery. Michael Bayne 2005-07-14 03:54:11 +00:00
  • 84361f9f9b - Initialize our timestmap in willStart() (which postdates the original creation of this class). - Track when all the sparks have moved outside the bounds of the animation and end it then. Ray Greenwell 2005-07-14 01:37:34 +00:00
  • 9e7f85e873 Changed removeObject to removeObjects. Andrzej Kapolka 2005-07-13 23:06:12 +00:00
  • 8dd1890a18 - The 'jog' parameter was broken. Fixed it, added xjog and yjog. - Added a 'fade' parameter so that you can decide if you want the fade-out option. - Renamed some other parameters. - Fixed it so that it never paints outside its bounds. - There is wacky broken behavior with the starting x/y velocities that does unexpected things. It should probably be removed and handled by code using this class, but it's called from too many places for me to feel comfortable making that big a change. Ray Greenwell 2005-07-13 00:35:25 +00:00
  • b1ec3ab5b5 Comment fixups. Ray Greenwell 2005-07-07 18:51:35 +00:00
  • fa8ee9f8f8 Added finishResolution(), which is called on the dobj thread to finish up population of the client object. Ray Greenwell 2005-07-07 18:46:38 +00:00
  • 3820456813 Allow subclasses to not create a speak service if they should so desire. Ray Greenwell 2005-07-06 17:47:51 +00:00
  • 9f470a4205 If we end up with a selectable channel in our selection set that we no longer know about, request that it be given the boot when it rears its ugly head. Michael Bayne 2005-07-06 01:00:19 +00:00
  • 90ac82e9c6 Allow a set of classname translations to be configured in an ObjectInputStream to facilitate conversion of serialized data when classes are repackaged. Michael Bayne 2005-07-05 20:02:20 +00:00
  • 595df9ee28 Which game you talkin' 'bout Willis? Michael Bayne 2005-07-05 17:39:48 +00:00
  • b603e6b051 More stuff with ending player games: - If a player leaves, handle the ending of their game in GameManager. - don't start the turn first turn in turn-based games on a missing player - Let derived classes get playerGameDidEnd() even if the game doesn't have statuses. Ray Greenwell 2005-07-01 23:56:54 +00:00
  • e1338dca1e partial fix to 'logged off players automatically win all matches in tourneys' Elizabeth Fong 2005-07-01 00:50:13 +00:00
  • a213847eea Added leavePlace() for games where you are sometimes not in any "place" at all. Michael Bayne 2005-06-30 00:02:13 +00:00
  • c1691c3d0a More path testing to sort out the jitter in the ballistic path at a certain orientation. Michael Bayne 2005-06-29 22:24:48 +00:00
  • 9002162b86 These should be instance local. Michael Bayne 2005-06-29 02:20:34 +00:00
  • 8e5d5c665f Use the default type if none is specified. Michael Bayne 2005-06-29 02:05:56 +00:00
  • dd3bc4f8e7 Fail gracefully if we're missing a tile source image. Michael Bayne 2005-06-28 21:36:45 +00:00
  • ced6c5b826 Optimized the fringe tile creation process (we only create the graphics context once and use it to stamp all fringe fragments). Michael Bayne 2005-06-28 21:19:38 +00:00
  • 6474d7de7e Don't assume we have an image manager or that we care about "compatible" images. Michael Bayne 2005-06-28 21:18:43 +00:00
  • 4c3a6fa88a Looks like we're staying in the jme package as OpenGL's inverted y axis has asserted its nefarious influence. Also modified the code to render the fringe image on top of the original source image as we need a single ground texture, not two images to be rendered one atop the other. Michael Bayne 2005-06-28 21:07:06 +00:00
  • 7a830949a1 Frank <-> beans. Michael Bayne 2005-06-28 18:40:02 +00:00
  • 613dd3633e Converted the fringing code into a more generic form that works directly on buffered images and is not tied to the tile system or the image manager. This could probably even move into the media.tile package. Michael Bayne 2005-06-28 18:28:22 +00:00
  • 7428f885cf Moved getTileHash() into TileUtil. Michael Bayne 2005-06-28 17:42:55 +00:00
  • b52e20864d Added requestFocus(). Michael Bayne 2005-06-27 21:05:01 +00:00
  • 879a0e25e7 Bound the camera into the pan limits on every operation that changes its location. Michael Bayne 2005-06-27 18:44:36 +00:00
  • 12853f5600 Disable the FPS display until we have some way to turn it on and off. Michael Bayne 2005-06-24 22:35:08 +00:00
  • 2c17f3612e Track the number of seconds for which the client is connected at the presents level as it is of interest in pretty much any system. This allows us to do away with one of the time stamps as well. Michael Bayne 2005-06-24 22:10:19 +00:00
  • c38b75ae9a Allow for event driven rotation. Michael Bayne 2005-06-24 21:45:44 +00:00
  • a940d490a8 Switch to filterable log format. Michael Bayne 2005-06-24 20:36:53 +00:00
  • d22b510867 Ixnay on the verbose logging. Michael Bayne 2005-06-24 00:21:38 +00:00
  • f3dec66a8d More geometric jockeying that you can shake a stick at. The LineSegmentPath now orients sprites along the path (and even handles an arbitrary notion of "forward" for the sprite). Michael Bayne 2005-06-23 21:12:17 +00:00
  • 2bf5936317 Fixed the orienting ballistic path, though it doesn't properly handle arbitrarily oriented sprites. They currently have to "point" toward (1, 0, 0) as that is the direction that will be aligned with the velocity. Michael Bayne 2005-06-23 03:49:18 +00:00
  • 732a6512c5 refactored method for client to subscribe to runtime configs from yoweb into narya, since it uses no yohoho-specific code Elizabeth Fong 2005-06-23 01:33:43 +00:00
  • c5b146b65e Catch extra errors, clone visited ObjectInfos used as map keys. Andrzej Kapolka 2005-06-23 01:09:56 +00:00
  • 817d246cb1 Need to exclude JME bits when we don't have the right jar files. Michael Bayne 2005-06-22 23:29:08 +00:00
  • 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. Michael Bayne 2005-06-22 20:35:09 +00:00
  • 8ef2a508c9 Created a specialization of the ballistic path that orients the sprite in the direction of motion as it traverses the path. Michael Bayne 2005-06-22 20:21:45 +00:00
  • 80ac008f24 Prevent array index bounds problems if isOccupiedPlayer gets called with -1 (I saw it happen entering a sword game as a watcher). Ray Greenwell 2005-06-22 19:59:51 +00:00
  • dfa9216b89 Do dat math! Michael Bayne 2005-06-22 18:50:38 +00:00
  • 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. Ray Greenwell 2005-06-22 18:43:43 +00:00
  • 6fbdc4e568 Created a path for ballistic motion and an associated test. Yay for physics. Michael Bayne 2005-06-22 18:26:54 +00:00
  • 264d0e65d5 Handle directional wall constraints, attach only to walls, check space constraints selectively with respect to direction. Andrzej Kapolka 2005-06-21 01:26:06 +00:00
  • 1e311871c3 Don't load tile images on server; just allow/check for null image provider. Andrzej Kapolka 2005-06-20 22:59:07 +00:00
  • 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. Andrzej Kapolka 2005-06-20 21:18:55 +00:00
  • d7fd2f5f67 Resize our OpenGL display when the canvas is resized. Michael Bayne 2005-06-20 18:57:18 +00:00
  • 83d077b1fa Make them thar useful methods publicly available. Michael Bayne 2005-06-18 03:04:04 +00:00
  • 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. Ray Greenwell 2005-06-17 20:25:28 +00:00
  • 5b3f842e44 Always throw a stack trace if an invalid tile is requested, so that we can more easily track down these errors Elizabeth Fong 2005-06-16 19:54:49 +00:00
  • 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. Michael Bayne 2005-06-16 18:24:55 +00:00
  • 1f9d28aa59 A bunch of fiddling to support running JME in an AWT canvas. Michael Bayne 2005-06-16 00:04:09 +00:00
  • 6ce0059b29 Removed special "party" crap related to starting a game after it's been created. A party game starts itself without direct user intervention. Ray Greenwell 2005-06-15 23:46:31 +00:00
  • f9f1307884 Count how many client resolutions are currently being processed at any time. Ray Greenwell 2005-06-15 20:46:36 +00:00
  • 89b51beee2 Read constraints for object tiles. Andrzej Kapolka 2005-06-15 18:54:24 +00:00
  • 97b1085388 Added support for minimumPlayerCount, allowing tables to be started before they're full. Ray Greenwell 2005-06-13 23:47:48 +00:00
  • 8bec395301 Updated documentation. Ray Greenwell 2005-06-13 18:52:33 +00:00
  • eec8a2ceb9 Record our queue size once every five minutes, and do it using a nice happy constant. Michael Bayne 2005-06-13 18:42:29 +00:00
  • 457729fdcb Record the maximum distributed object and invoker queue size every minute to a specific stats log. Michael Bayne 2005-06-13 18:16:56 +00:00
  • 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. Ray Greenwell 2005-06-10 18:10:49 +00:00
  • 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. Ray Greenwell 2005-06-09 22:00:57 +00:00
  • 74b44bc21c Added setUsername(). Michael Bayne 2005-06-08 23:36:27 +00:00
  • 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). Ray Greenwell 2005-06-08 23:20:18 +00:00
  • 78d96849b1 Created an ant task for converting models to JME format. Michael Bayne 2005-06-08 00:03:24 +00:00
  • b9be0dcea7 Broke menu bounds computation out into its own method for use by subclasses. Andrzej Kapolka 2005-06-07 16:43:59 +00:00
  • 62cacd152e Require BUI and JME to build our JME bits. Michael Bayne 2005-06-05 16:41:46 +00:00
  • 853e86e560 This looks suspiciously like a bug. Michael Bayne 2005-06-05 16:41:10 +00:00
  • 0308123c0b Fixed alignment of boolean configs. Ray Greenwell 2005-06-04 01:04:58 +00:00
  • c6ceb654e4 We can do all we need with the DummyDisplaySystem. Eventually I'll be able to turn this into an ant task. Michael Bayne 2005-05-31 23:14:51 +00:00
  • 5a4df194ec Added some methods for controlling animations within a sprite. Michael Bayne 2005-05-31 23:14:08 +00:00
  • 492801b7db Some placeholder makfiles to make things compile without fiddling on ze Macintosh. Michael Bayne 2005-05-28 17:30:29 +00:00
  • a0363c873f Tracked down the source of non-repaintery on the Smack and added a couple of workarounds. Michael Bayne 2005-05-28 17:24:51 +00:00
  • ee20db4390 Added (N choose K) function. Ted V 2005-05-27 23:04:42 +00:00
  • 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. Ray Greenwell 2005-05-27 21:35:07 +00:00
  • 7233c34e0f Call userObjectWillChange prior to informing the caller that the change has been reported. Ray Greenwell 2005-05-27 01:01:26 +00:00
  • 6e0d417169 Moved the announcement of a leaving player to the client, and to yohoho, where the announcement of an entering player is. Ray Greenwell 2005-05-25 20:54:34 +00:00
  • ccbd38f255 Cleaned up some bits that assumed that _pidx was always > 0. Ray Greenwell 2005-05-24 23:30:59 +00:00