Commit Graph

  • 3bd6b15304 Added a convenient method to get the PartyGameType. Ray Greenwell 2007-02-10 03:33:31 +00:00
  • bde4a67bed Backend changes to support party games. This will force us to migrate soon to a OID-based player indexing system. Ray Greenwell 2007-02-10 03:32:55 +00:00
  • 71b9ba2827 There was some code in here to not change the turn when only one player is left. Go ahead and don't start the turn when there are no players, and don't change it when there are 1 or LESS. Ray Greenwell 2007-02-10 03:31:47 +00:00
  • d902b2ed81 Fix NPE when purging a party game. Ray Greenwell 2007-02-10 03:26:46 +00:00
  • 26c6274289 Remove debugging. Ray Greenwell 2007-02-10 01:52:20 +00:00
  • 729335a4a5 The table system now supports the party game types better. The creator of a party game isn't joining, but I think that's a problem with the msoy client... Ray Greenwell 2007-02-10 01:36:06 +00:00
  • e6c3bc3dd2 Fixed doc. Ray Greenwell 2007-02-10 01:32:35 +00:00
  • f8bf896e22 Quick fix to how objects are tested before being sent in a message. We used to compare them against the Object class, but that doesn't work well in the presence of multiple application domains. So instead we check for the presence of parent classes. Robert Zubeck 2007-02-09 21:42:13 +00:00
  • 69f47e8ed2 Out out, damned question marks. Dave Hoover 2007-02-05 21:22:28 +00:00
  • 0c1044b651 A little UI love for the # of players slider. Ray Greenwell 2007-02-02 22:15:48 +00:00
  • 4e10f48a3b Config -> PrefsConfig. Michael Bayne 2007-01-31 01:33:16 +00:00
  • 525cffcf5a Config -> PrefsConfig; avoid matching a deprecated method. Michael Bayne 2007-01-31 00:50:18 +00:00
  • f139e30daa Annouce a player's game over *in* playerGameDidEnd() rather than after because a natural thing to do in playerGameDidEnd() is replacePlayer() the departed player with an AI but if we wait until after playerGameDidEnd() to announce it, we end up announcing the departure of the newly configured AI. Michael Bayne 2007-01-29 18:07:33 +00:00
  • a8108fdaa0 Extend from Canvas so that the chat overlay scrollbar works. Ray Greenwell 2007-01-29 00:14:51 +00:00
  • 570a8267d2 - Retain a reference to our panel in didInit(). - Cleanup. Ray Greenwell 2007-01-28 21:47:34 +00:00
  • 4079b25024 Out! Out! Michael Bayne 2007-01-25 19:37:30 +00:00
  • a7f1058eaa In these glorious modern times, we can tell the compiler about deprecation in addition to the documentation system. Michael Bayne 2007-01-25 19:37:21 +00:00
  • bb1b7ea333 Make a note as to why we're keeping this so that I don't see it and think "Hey! That can be removed!" Ray Greenwell 2007-01-24 23:12:22 +00:00
  • 609452c291 Don't recurse infinitely calling createLabel with the same args over and over. Casting host to a Component seems to make java find the appropriate other function to call. Dave Hoover 2007-01-24 22:55:11 +00:00
  • 3307994221 Our host need not be a MediaPanel, but we'll preserve the MediaPanel signature because no doubt much code exists in the wild that is compiled against that signature. Michael Bayne 2007-01-24 19:32:48 +00:00
  • 51fc3964bc On second thought, we'll take care of calling javadoc first. Jonathan Le Plastrier 2007-01-24 02:44:37 +00:00
  • a568110d1d We want our javadocs in the snapshot as well. Jonathan Le Plastrier 2007-01-24 02:27:34 +00:00
  • db7d7bd472 Let's build our snapshot into dist/ and not use ../snapshot as our temp directory. Jonathan Le Plastrier 2007-01-24 00:54:54 +00:00
  • 1245defe65 Actually substitute keywords (these files are chock full of stale $Id$ tags) Dave Hoover 2007-01-24 00:22:09 +00:00
  • 054c4469f3 Changes to match alterations to abjectscript's StreamableArrayList. Ray Greenwell 2007-01-22 19:59:06 +00:00
  • f347723abe Changes stemming from a changed MediaContainer. Ray Greenwell 2007-01-18 00:37:54 +00:00
  • 29bec533d8 Documented the events currently being dispatched. Ray Greenwell 2007-01-12 23:10:30 +00:00
  • ae26fb8bcd Fill out PropertySetEvent's toString() for easier debugging. Ray Greenwell 2007-01-12 19:15:46 +00:00
  • ba5b931adc Fixed some wee bugs: calling setProperty() with an array was encoding it as byte[][], even when an index was passed in. Messages of arrays were also encoding as byte[][] for the server, even though the server doesn't care about messages. Ray Greenwell 2007-01-12 19:14:22 +00:00
  • a6de2c9bc6 Added isConnected(). Ray Greenwell 2007-01-10 19:51:49 +00:00
  • ee8f636d7e Allow subclasses to create custom backends. Andrzej Kapolka 2007-01-10 06:16:37 +00:00
  • 9695c3ef3a Moved default field deserialization code into separate method to allow subclasses to read additional fields. Andrzej Kapolka 2007-01-09 21:23:38 +00:00
  • 6d2ecb8f67 Don't generate a TypeError if we're not in an EZGame environment. Ray Greenwell 2007-01-08 23:37:11 +00:00
  • 08d317b329 Added rescued documentation from the old EZGame class. Ray Greenwell 2007-01-06 01:58:43 +00:00
  • 1078ac796f Buildfix. Ray Greenwell 2007-01-06 01:57:17 +00:00
  • 00e2c45f01 Mostly kinda fixed up keyboard issues for EZGames. They can add their keyboard listeners directly to the GameControl object to receive global key events. Ray Greenwell 2007-01-06 01:44:05 +00:00
  • 3b08974f73 Revamped EZGame to work over the security boundary. Ray Greenwell 2007-01-05 18:59:08 +00:00
  • 86a879a725 Type safety Dave Hoover 2006-12-27 07:55:38 +00:00
  • 5f144bc8a9 Delete jar files when cleaning. Michael Bayne 2006-12-15 23:21:59 +00:00
  • bbfcf85775 Remove giant obnoxious game-blocking chat display. Ray Greenwell 2006-12-08 03:43:37 +00:00
  • 4536556ba9 Removed debugging. Ray Greenwell 2006-11-30 23:42:27 +00:00
  • e60e58c8b8 Use where, improved warning when we receive a playerReady() from a non-player. Michael Bayne 2006-11-28 18:27:58 +00:00
  • 52febf265b Allow the TableManager to be configured to create subclasses of Table. Commented out unneeded flash client code in Table. Ray Greenwell 2006-11-17 23:24:14 +00:00
  • c7ff0391a6 Skip the XML bits if we don't have the XML writer. Michael Bayne 2006-11-16 23:39:47 +00:00
  • 4ce9c6f87d New libs.dir business. Michael Bayne 2006-11-16 23:13:11 +00:00
  • a8740d3b94 Use distlib.dir. Michael Bayne 2006-11-16 21:27:16 +00:00
  • 0fb8e4e693 Steer newbies away from stupid decisions. Michael Bayne 2006-11-15 22:41:27 +00:00
  • 0b8b31aaa6 Prevent server spew when multiple EZGame clients attempt to end the game. Ray Greenwell 2006-11-15 21:03:51 +00:00
  • 3dd3c857fa Fixed SQL for saving cookies. Handy syntax, that "insert ... on duplicate key" stuff. Ray Greenwell 2006-11-15 20:48:49 +00:00
  • ccb530d8c7 Cookie fixes. Ray Greenwell 2006-11-15 20:47:57 +00:00
  • cff4238b3e Updates to EZGame to allow games to store 'user cookies'. Then intention is that other games besides EZGame may use this as well, so it's semi-separated, but for now it's part of EZGame. Ray Greenwell 2006-11-15 03:01:49 +00:00
  • a4ae0dd2dc Regenerated with new templates. Ray Greenwell 2006-11-15 02:56:12 +00:00
  • 1b0317cef8 We need these libs too, when we 'ant genservice'. Ray Greenwell 2006-11-14 03:26:20 +00:00
  • aefd823e72 Explicitly import com.samskivert.swing things, as jdk1.6 contains javax.swing.GroupLayout. Ray Greenwell 2006-11-08 00:21:26 +00:00
  • d231214e59 Make the logging optional. Michael Bayne 2006-11-03 00:15:46 +00:00
  • 515f2d6be5 Implemented Collections.shuffle(). Ray Greenwell 2006-11-01 03:56:12 +00:00
  • f8ddf4d7c9 Restored correct behavior in a non-fallthrough way. Ray Greenwell 2006-10-26 23:40:48 +00:00
  • 16f070f69c Falling through is a dangerous pattern, let's not do it. Michael Bayne 2006-10-26 23:11:56 +00:00
  • e9fe2aab01 Use project.dir. Michael Bayne 2006-10-14 00:07:53 +00:00
  • 73292de817 Updated snapshot target. Michael Bayne 2006-10-13 22:43:01 +00:00
  • 5094eeebce Added proper 'snapshot' target. Michael Bayne 2006-10-13 22:34:00 +00:00
  • e063e9c98a Define an includable Ant XML file with our library dependencies. Michael Bayne 2006-10-13 22:29:23 +00:00
  • 306ebf3169 Build file changes to make Vilya work with the new build world order. Michael Bayne 2006-10-13 02:14:07 +00:00
  • f81adbda02 Do we really need a stack trace here? I don't think so. Andrzej Kapolka 2006-10-13 01:56:55 +00:00
  • 45350177e1 Moved the Percentiler test over as well, added preambles. Andrzej Kapolka 2006-10-12 22:52:17 +00:00
  • c978fe70e8 Moved Percentiler to Vilya so that we can use it in Bang. Andrzej Kapolka 2006-10-12 22:42:45 +00:00
  • 6c0f497eef Use new ChatDisplay interface. Michael Bayne 2006-10-10 21:48:51 +00:00
  • 2717fd3b24 Allow tables to be started (by the creator) when there are at least the minimum players present. Ray Greenwell 2006-10-06 02:13:20 +00:00
  • 3caec3d8bc New method sig to match auto-generated stuff Ray Greenwell 2006-10-06 01:52:17 +00:00
  • 0f313b908a Regenerated with proper InvocationService.InvocationListener handling. Michael Bayne 2006-10-06 01:49:08 +00:00
  • 7e3e8b981d Regenerated more actionscript service business. Ray Greenwell 2006-10-06 01:40:52 +00:00
  • 77e22d65fc Some ActionScript conversion updates. Michael Bayne 2006-10-06 00:35:00 +00:00
  • 469e15e58e ActionScript versions of the Card stuff and Zone stuff. The Card stuff is non-trivial and shouldn't entirely be trusted until it's actually used for something. Michael Bayne 2006-10-06 00:22:41 +00:00
  • 2b05717226 Added ActionScript wiry uppy to genservice and a genascript task (though that one is a bit limited at the moment). Michael Bayne 2006-10-06 00:21:33 +00:00
  • 1ad2584a17 Rebuilt various bits using the code generator. Annotated some Java sources along the way. Michael Bayne 2006-10-05 21:00:38 +00:00
  • 0ecfaac648 Added EZGame.getPlayerCount(). Ray Greenwell 2006-10-05 01:45:16 +00:00
  • cdbc9dcfb0 Import Hashable, add needed override. Michael Bayne 2006-10-05 01:03:58 +00:00
  • 451218a1a4 Updated using the code generator. Michael Bayne 2006-10-05 00:47:20 +00:00
  • a8fa272219 I justed checked this in in the other order, but somehow it insists on coming out in this order now. This should not be non-deterministic. Reflection should give me the methods in the order they are declared in the Java class so I don't know what the major malfunction is here, but if it keeps up I'm going to fucking alphabetize them and be done with it. Michael Bayne 2006-10-05 00:37:35 +00:00
  • b96d28cd1a Overwrote with generated versions (which are the same but in different orders). Michael Bayne 2006-10-05 00:32:20 +00:00
  • 6f9136d109 A few comments. Ray Greenwell 2006-10-05 00:30:15 +00:00
  • 8b8a8120c2 Added some ActionScript annotations. Michael Bayne 2006-10-05 00:16:25 +00:00
  • 910bb8be5b We should be able to pass ByteArrays around using the EZGame kit. Ray Greenwell 2006-10-04 23:32:17 +00:00
  • 0767b42f37 Starting to rebuild with the ActionScript generator. Michael Bayne 2006-10-04 21:26:04 +00:00
  • 022f77a08b We'll be needing a proper controller. Michael Bayne 2006-10-04 21:10:22 +00:00
  • 51281a9d49 Let's just call clearOccupant() clearOccupantByOid() to avoid differences between the Java and ActionScript version since ActionScript doesn't support method overloading. We only have to observe this limitation in Streamable classes. Michael Bayne 2006-10-04 21:10:00 +00:00
  • d896041553 Regenerated with updated templates. Michael Bayne 2006-10-04 20:48:15 +00:00
  • 5c1ac0f17d This is now defined in our superclass. Michael Bayne 2006-10-04 03:18:01 +00:00
  • 1459306393 We need to send the tick out with a different message identifier because otherwise the EZGameController will try to unmarshall the value. The marshalling/unmarshalling is purely clientside, the server doesn't understand how to do it, so it must dispatch a different event that just contains a nice normal integer. Ray Greenwell 2006-10-02 21:11:10 +00:00
  • f48a48436d Regeneration of generated files. Ray Greenwell 2006-10-02 07:46:47 +00:00
  • a32f71bcda Let's name the method the way gendobj wants to. Ray Greenwell 2006-10-02 07:43:48 +00:00
  • 6472cf6f80 Added tick services to EZGame. Ray Greenwell 2006-10-02 07:39:31 +00:00
  • a82fc55fa4 We don't want to force a restart if we're not supposed to, but we really don't want to veto it either. This could end up on the penders with the very thing we're waiting for, at which point vetoing that game restart would be bad and result in the puzzle not starting up. Mike Thomas 2006-09-29 18:28:59 +00:00
  • 7fd42fc729 Trashed GameService, use the new manager caller. (This was changed in Java a few weeks back.) Ray Greenwell 2006-09-27 23:57:48 +00:00
  • 33031417aa Set the snap interval, we wouldn't want to start a game with only a fractional portion of one player! Ray Greenwell 2006-09-27 23:57:05 +00:00
  • 2f8a14bdb8 Use a library method to check equality with possible nulls. Ray Greenwell 2006-09-26 02:38:19 +00:00
  • 4364576283 Streaming error found. Ray Greenwell 2006-09-26 00:51:54 +00:00
  • d673b120be We need not to define createPlaceObject() so that backwards compatibility is preserved with old games that only override getPlaceObjectClass(). Nothing should be using PuzzleObject directly anyway. Michael Bayne 2006-09-25 05:22:55 +00:00
  • b0d148f107 Allow "draw" text to be provided as well. Also nixed the green because it was really ugly... Michael Bayne 2006-09-25 04:06:35 +00:00
  • 6611e60c1c We cannot check this here - the cluster is guaranteed to be size == 0 on the first insertion since we can't have called addBody until the constructor finishes. It used to be in objectAvailable which worked because it happened after the addBody calls were allowed to happen. Mike Thomas 2006-09-19 20:56:20 +00:00