Commit Graph

  • 1683eab1b5 Create the somewhat confusingly named MaxValueIntStat -- there's already a MaxIntStat here, which tracks the maximum value that the stat has been incremented by; MaxValueIntStat tracks the maximum value that the stat has ever attained. Tom Conkling 2008-07-24 21:19:20 +00:00
  • 25a657d7c6 apparently we already have a StreamableArrayIntSet; use that instead. Tom Conkling 2008-07-24 20:11:41 +00:00
  • 3c3146d381 fix IntSetStat so that it streams properly. i'm not able to test this code on my machine, so nate will test momentarily and we'll roll back if there are any issues. Tom Conkling 2008-07-24 19:49:13 +00:00
  • 08442682f8 Well, shit. MDB points out something I completely missed: these Flex Library Project files contain an enumerated list of every class in the library. Since there are (as far as I know) only two people currently using Flex Builder, and since these project files are easy to create and maintain locally, lets not deal with keeping a versioned copy up to date every time a file is created, removed or renamed. Nathan Curtis 2008-07-24 16:26:28 +00:00
  • d0100b5e5d Flex Builder project files for Vilya as a Flex Library. Depends on Narya and Nenya's Flex Builder projects. Flex Builder projects don't seem to support exporting libs, or this could depend solely on Nenya. Nathan Curtis 2008-07-23 20:45:18 +00:00
  • edaa96aef3 RatingManagerDelegate -> RatingDelegate (we're not a delegate of a RatingManager, we're a GameManagerDelegate that handles ratings); inject our dependencies. Michael Bayne 2008-07-23 12:35:49 +00:00
  • ae8ec1e2ac StatSet.addToSetStat, for IntSetStats Tom Conkling 2008-07-22 00:39:41 +00:00
  • 624daadcd9 Nix unneeded imports, add @Overrides, remove content-free comments, and rerun code generators. Dave Hoover 2008-07-18 19:02:08 +00:00
  • f30cb74ace Create a notion of a StatModifier which encapsulates a change to a stat. Use this to automatically retry colliding stat modifications in the repository. Michael Bayne 2008-07-18 14:30:17 +00:00
  • faa237b85d Use an ArrayIntSet instead of a HashSet<Integer> as it's way more memory efficient (and almost certainly faster as well for sets of this size). Michael Bayne 2008-07-18 13:21:15 +00:00
  • 74d08d334f Use setModified() instead of modifying our value directly. That way it can be overridden to intercept such things if necessary (it's not necesary in this case, we're just trying to set a good example for future programmers). Michael Bayne 2008-07-18 13:15:38 +00:00
  • d65967c57e Added class documentation. Michael Bayne 2008-07-18 12:37:16 +00:00
  • 4df7526d1a No need to use 'this.' to call methods in the same object. Converted ByteArrayOutputStream to a byte[] once and use that in the three places it's needed. Some other small formatting tweaks. Michael Bayne 2008-07-18 12:34:21 +00:00
  • 701eea2ad2 clarity Tom Conkling 2008-07-17 23:23:21 +00:00
  • 728f0a6519 DepotRepository.updatePartial() expects column names, not ColumnExps Tom Conkling 2008-07-17 23:12:06 +00:00
  • 6d1e687709 not sure where those extra *s came from Tom Conkling 2008-07-17 20:49:43 +00:00
  • 0e74ed2842 Whirled's Passport system is using player stats to award "badges," and a few changes to stats are necessary to allow mutliple clients to safely modify stats simultaneously: Tom Conkling 2008-07-17 20:40:36 +00:00
  • cf1779e8b8 ray points out that IntSetStat's size can also, of course, be stored in a byte Tom Conkling 2008-07-16 20:47:25 +00:00
  • 8f12cff519 per mdb, IntSetStat will store a maximum of 255 entries Tom Conkling 2008-07-16 20:27:17 +00:00
  • 43df45be1a IntStatSet fixes Tom Conkling 2008-07-15 20:57:01 +00:00
  • 007bdc91c8 created IntSetStat Tom Conkling 2008-07-15 20:26:26 +00:00
  • d00c21ae1a Rerun generators. Dave Hoover 2008-07-10 18:39:53 +00:00
  • 7b945dd674 Type our delegate ops instead of restricting our delegates. Michael Bayne 2008-07-10 13:37:10 +00:00
  • 17ffca41e7 Enforce the use of Game{Controller|Manager}Delegates where needed. Michael Bayne 2008-07-10 13:19:52 +00:00
  • fa93b7ccf9 Don't include the scene panel diagram in the whirled jar Charlie Groves 2008-07-07 21:32:23 +00:00
  • 0615b7b2f1 No really, I'm pretty sure we want the AIs to tick more than once per game. Dave Hoover 2008-07-02 00:09:42 +00:00
  • fc2dd9a591 If the config coming in to the configurator is causing the interface to hork, try with an empty one in the hopes that the brokenness can be solved with a fresh start. Charlie Groves 2008-07-01 02:13:30 +00:00
  • 40ffa60f50 Inject depends into Tournies and ToureyManager. Michael Bayne 2008-06-30 13:30:17 +00:00
  • c3162107cf Make it easy for derived classes to start and stop the AI ticker if they need to outside the normal circumstances. Michael Bayne 2008-06-29 15:30:10 +00:00
  • 037be2d16c Removed implicit depends; nixed grouping of AI and game manager ticks into a single interval as that caused problems (which Charlie had to work around) and added unnecessary complexity and indirection. There are not so many games and so many tickers that we need to second guess the efficiency of Interval. Michael Bayne 2008-06-29 14:25:55 +00:00
  • 026a6bb128 Take our depends explicitly. Michael Bayne 2008-06-29 14:20:17 +00:00
  • 00a0a85ea8 These are no longer providerless. Michael Bayne 2008-06-29 14:19:42 +00:00
  • 105ec55f44 Created a SpotSceneRegistry, have that implement SpotService instead of using a concrete provider. Other implicit depends removal and cleanup. Michael Bayne 2008-06-29 14:19:21 +00:00
  • d3b227a13b Have the ZoneRegistry implement ZoneService instead of using a concrete provider. Other injection and cleanup. Michael Bayne 2008-06-29 14:18:10 +00:00
  • 10bdbaa2f3 Inject the SceneRegistry; nix implicit depends. Michael Bayne 2008-06-29 14:17:12 +00:00
  • d2841a3976 Clean up service registry. Michael Bayne 2008-06-29 14:15:26 +00:00
  • 442847c292 Inject depends, use the locator to find bodies. Michael Bayne 2008-06-29 14:15:07 +00:00
  • 0aac6b230d Implicit depends removal. Michael Bayne 2008-06-29 14:13:36 +00:00
  • 5317113b01 Widening, implicit depends removal. Michael Bayne 2008-06-29 14:13:12 +00:00
  • 8f4f4a3e53 Depends injection and other cleanup. Michael Bayne 2008-06-29 14:12:30 +00:00
  • 925a5aa982 Provide TableManager with its dependencies. Michael Bayne 2008-06-29 13:12:35 +00:00
  • 4e3f973f2d Let's put those in a more sensible order. Michael Bayne 2008-06-29 12:58:54 +00:00
  • 9b3b3c0e5a Remove implicit omgr, invmgr and plreg dependencies. Michael Bayne 2008-06-29 12:57:20 +00:00
  • 625cf7fa75 Eliminate implicit invoker dependency. Some Lists, Maps, etc. Michael Bayne 2008-06-29 12:54:50 +00:00
  • c63691ef0e Inject depends. Michael Bayne 2008-06-29 12:47:08 +00:00
  • 8cd2bf8efd Regened services. Michael Bayne 2008-06-29 12:46:26 +00:00
  • 5cc2e4b3f3 Remove games from the ticker if their AI goes rogue so one game blowing up doesn't cause all games to stop ticking Charlie Groves 2008-06-16 06:21:52 +00:00
  • 5c4a033cdc Driveby modernization Charlie Groves 2008-06-15 06:16:38 +00:00
  • 1eed28bba5 We don't need these file lists and groups anymore Jamie Doornbos 2008-06-14 00:25:13 +00:00
  • 7e2110eaf5 Be less promiscuous about swc's here too. Par Winzell 2008-06-13 00:51:46 +00:00
  • 331492a9cd Stop building ABC stuff. This can (almost) all be ripped out if we're successful in our transition. Par Winzell 2008-06-13 00:08:03 +00:00
  • f5f5a625d2 This has been misnamed for quite a while and nobody ever noticed... which presumably means this is a rather unimportant fix. Par Winzell 2008-06-10 15:47:50 +00:00
  • e8b18bc52f Narya exports guice now Charlie Groves 2008-06-09 18:04:14 +00:00
  • d9884d7646 Tell eclipse about guicey jars. Mike Thomas 2008-06-09 17:33:54 +00:00
  • 36c2cc8289 Updated ClientFactory implementations. Use new PlaceManagerDelegate members. Michael Bayne 2008-06-08 20:24:30 +00:00
  • e3dc42daab Use new LocationManager. Some injection in SimulationManager. Michael Bayne 2008-06-08 17:18:55 +00:00
  • d18412aa4c Make the StatRepository injectable. Michael Bayne 2008-06-08 15:46:06 +00:00
  • cf857dedaa Allow the RatingRepository to be injected. Michael Bayne 2008-06-08 15:13:28 +00:00
  • b6bf735bba Provide a Module for the StageServer. Michael Bayne 2008-06-08 10:49:49 +00:00
  • 0a2b8b8f52 Basic Guice compliance. Michael Bayne 2008-06-07 17:45:30 +00:00
  • 2090bcdfeb Regenerated invocation service bits. Michael Bayne 2008-06-06 14:39:03 +00:00
  • f663e36fe6 A missed spot of roundId -> sessionId. Michael Bayne 2008-06-06 14:37:41 +00:00
  • 2890c16224 Back in the wild and wooly days of Puzzle Pirates development, we determined that we needed to be able to tell if one game ended and another one had started so we introduced GameObject.roundId which was a value that was incremented every time the game started. Thus if you had a timer that expired and you wanted to make sure that somehow the game hadn't ended and then been started anew while you were away, you could save the roundId and check it when you woke up. That was all fine and good, except for the poor choice of variable name. Michael Bayne 2008-06-06 14:20:36 +00:00
  • fa7a70eea9 Fixed vilya to rely on maven-ized abc files Jamie Doornbos 2008-06-05 00:08:03 +00:00
  • fd37fb8138 Converted vilya to AscTask using mkgroups approach Jamie Doornbos 2008-05-30 06:29:36 +00:00
  • a133c7c693 Switch to new logging API. Michael Bayne 2008-05-27 20:00:28 +00:00
  • 3b7ef57a20 Use new logging API. Michael Bayne 2008-05-27 19:43:07 +00:00
  • 985f8a4a0a Added a few more vilya classes to abc package for upcoming whirled compilation. includes fixing of unused imports which will not compile under asc Jamie Doornbos 2008-05-23 22:44:27 +00:00
  • edcf2d7162 vilya-abc. thank you and goodnight Jamie Doornbos 2008-05-23 07:12:07 +00:00
  • 1597fc938a Regenerated vilya action script marshallers etc, preparing for abc build Jamie Doornbos 2008-05-23 07:03:27 +00:00
  • 5cf0010d6c Thanks to the extraordinary excellence of the asc script compiler combined with the glorious beauty of GenServiceTask, discovered these stale generated classes (svn blame archaeology tells me ParlorService.TableListener and TableService.TableListener were remove in 2007) Jamie Doornbos 2008-05-23 00:47:50 +00:00
  • 55d16fc0c9 More over the wire class dependency noting. Michael Bayne 2008-05-22 15:35:37 +00:00
  • ae6c542271 Nixement of ze redundant casts. Michael Bayne 2008-05-22 12:08:27 +00:00
  • ea6f8ffa1f Use the new Permission objects. Michael Bayne 2008-05-22 12:03:51 +00:00
  • 7890e26b43 More unit convenience. Michael Bayne 2008-05-18 11:29:31 +00:00
  • eb6ad10295 Let the unit report failure. Michael Bayne 2008-05-18 11:19:33 +00:00
  • 19af9eb71a Indicate that isActivePlayer is a better way to see if a player is in the game than accessing playerStatus directly Charlie Groves 2008-05-16 21:08:26 +00:00
  • 2e8fa57f7c If edits are being made to blocks that are offscreen, just edit the model directly instead of going through the scene block Charlie Groves 2008-05-14 06:32:22 +00:00
  • c6818a167f Allow a scene manager to declare that it isn't persistent and skip updating the scene repository if that's the case Charlie Groves 2008-05-14 06:31:23 +00:00
  • 25bacb93f0 Formatting tweaks; moved that new protected method down with its friends. Michael Bayne 2008-05-09 11:21:46 +00:00
  • 6e5768b64e verbose-stacktraces=true Ray Greenwell 2008-05-07 21:52:59 +00:00
  • 7c34651a0d google-collect moved up to narya Charlie Groves 2008-05-05 21:10:37 +00:00
  • 5cd827ee8c Don't die if the last scene doesn't exist or if it's malformed Charlie Groves 2008-05-05 18:47:40 +00:00
  • ef217c4ea5 playerInRoom -> occupantInRoom. For games that make use of this, all occupants should call it, unless they call playerReady(). Ray Greenwell 2008-05-02 01:50:10 +00:00
  • f044381e2c Clarify the logic in this method to make it clear that there's no way out that does not result in shutdown() being called. Michael Bayne 2008-04-29 19:00:33 +00:00
  • c8f680696d It's a party in here. We have a method that handles checking whether to start up a shutdown interval. Let's override that method and implement GameManager's special requirements instead of overriding an unrelated method and duplicating most of the code from it. Michael Bayne 2008-04-29 18:57:15 +00:00
  • 759050d576 3 things: Sanity, clarity, correctness. Ray Greenwell 2008-04-29 18:33:46 +00:00
  • e3cf4a762d Knock the idleUnloadPeriod down to 0 since GameManagers don't go idle and having a shutdown interval just keeps them resident in memory Charlie Groves 2008-04-29 17:55:03 +00:00
  • 865c5def8b Return a boolean from setBaseTile to indicate if the tile was actually updated Charlie Groves 2008-04-25 00:45:43 +00:00
  • 99ee2f5a5f Allow the minimum distance to be specified in computeEnteringLocation Charlie Groves 2008-04-22 17:35:21 +00:00
  • 4ca129e527 Do some fiddly business to update our roundId locally in gameWillStart so that all pre-game processing can properly know what round it is, but then actually publish that value to the clients so that we can trigger off ROUND_ID to call roundDidStart without having roundDidStart get called before gameDidStart. Michael Bayne 2008-04-22 01:02:05 +00:00
  • de194d5392 Break out the scene manager's method for handling moving to the default portal so that subclasses can override. Mike Thomas 2008-04-19 00:23:07 +00:00
  • 4a7cc53a88 Allow things other than portals to be painted using the portal drawing code Charlie Groves 2008-04-17 18:12:03 +00:00
  • ed027becc4 Get our dependencies either from a local build or Maven. Michael Bayne 2008-04-10 15:47:27 +00:00
  • 47c9418eab @Entity -> @Table. Michael Bayne 2008-04-01 21:39:08 +00:00
  • 99205455e7 Move the common functionality from ObjectEditorDialog and PortalDialog into EditorDialog Charlie Groves 2008-03-26 03:23:40 +00:00
  • 29460ce450 Don't let a player create a new table or join an existing table if they're already sitting at a table. We also enforce this in the UI (though not in certain cases in MSOY at the moment which is how this was uncovered). Michael Bayne 2008-03-24 23:00:09 +00:00
  • c0ce0d188b Allow the no-show timer to be customized. Michael Bayne 2008-03-21 18:17:03 +00:00
  • 828753344d This got broken in the reorg; it's still possible for someone to be asking for scene updates starting farther back than what we know about, so notice that case & return back a null list of updates rather than an incomplete one. Dave Hoover 2008-03-19 17:36:22 +00:00
  • ae4435d389 Actually just go back to returning null. That's what the javadocs say. Michael Bayne 2008-03-18 23:51:51 +00:00