Commit Graph

  • 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. Michael Bayne 2002-10-21 20:56:21 +00:00
  • 2b345cb8cf Notes! Michael Bayne 2002-10-21 20:54:01 +00:00
  • 7ce6ca340e Clear out clobj when we're logged off; keep cloid up to date; don't claim we're logged on until we're fully logged on (meaning we have our clobj reference). Michael Bayne 2002-10-21 18:04:56 +00:00
  • 5d7123caab Deal gracefully with having no component classes or actions. Walter Korman 2002-10-18 23:47:27 +00:00
  • dda1039dc0 Created changeHoverObject() to consolidate setting a new hover object and do the required changes. Ray Greenwell 2002-10-18 19:44:00 +00:00
  • c69bfc2ca3 use our LRU cache, report stats in debug. Ray Greenwell 2002-10-18 01:32:23 +00:00
  • 3ee6e84676 Now supports loading icons from resource bundles. Michael Bayne 2002-10-17 17:43:21 +00:00
  • 3ec6f9301c Added a method for creating a uniform tileset that loads its source image from a resource bundle. Michael Bayne 2002-10-17 17:42:53 +00:00
  • 8662f12241 Further support for loading images from resource bundles. Michael Bayne 2002-10-17 17:42:20 +00:00
  • c1a56db9c4 added hoverObjectChanged(), does nothing in this class. Ray Greenwell 2002-10-17 02:12:42 +00:00
  • 366111dbfe small optimizations to avoid System.arraycopy() Ray Greenwell 2002-10-17 02:11:58 +00:00
  • efe514eb3b Not to use a double-semicolon. Walter Korman 2002-10-16 23:23:32 +00:00
  • 619ceb03af removed getTightObjectBounds(), unused and possibly buggy. Ray Greenwell 2002-10-16 20:39:46 +00:00
  • 78b0d1eae9 Added loadImage() variant that allows specifying the resource set from which the image is to be loaded. Removed unused imports. Walter Korman 2002-10-16 15:57:12 +00:00
  • a5d00cb1ca - Added hook for adding additional objects to the scene other than those provided by the DisplayMisoScene. - If hover objects are SceneObjects, tell them when we start/stop hovering on them. Ray Greenwell 2002-10-16 01:55:22 +00:00
  • 1c0f405121 added setHovered() so that a SceneObject can be told when it is being hovered over, and can request to have it's object tile repainted. Ray Greenwell 2002-10-16 01:53:57 +00:00
  • 86c9fa82cf if two items are in the same tile, render the sprite on top. Ray Greenwell 2002-10-16 01:53:10 +00:00
  • ff85d1b284 Oops; make getPlayerCount() public, as it was always intended to be. Walter Korman 2002-10-16 00:19:23 +00:00
  • 21c599cd0a Revamped the player array in the game object to allow sparse player arrays that may have one or more null player entries so that party games can create their game with the maximum number of players they support and can use the player index as the player's "seat". Simplified some of the jockeying we had to do when adding and removing players. Complexified some of the turn game management in order to deal properly with the sparse player arrays. Walter Korman 2002-10-15 23:07:23 +00:00
  • 1d7f033586 Set the AI players only after the puzzle's place object is created. Walter Korman 2002-10-15 22:47:48 +00:00
  • 7d092846cd Replaced by com.threerings.util.RandomUtil. Walter Korman 2002-10-15 22:46:43 +00:00
  • be2bc4205b Anally removed Comparator.equals() implementations that overrode Object.equals() with equivalent functionality. Ray Greenwell 2002-10-15 21:01:39 +00:00
  • 107273fce3 More debug logging for future debuggers. Michael Bayne 2002-10-10 00:09:07 +00:00
  • 4bababc95e Removed smoothing for the time being. Now a key up registers immediately, but we are saddled with the key repeat delay for rapid sideways movement. This will eventually all change when we have native libraries for turning off key repeat. Michael Bayne 2002-10-09 08:17:02 +00:00
  • 0292de57cb Added getOccupantInfo by name. Michael Bayne 2002-10-09 06:33:48 +00:00
  • a8e6c46f70 No more flashy flashy. Michael Bayne 2002-10-09 06:33:00 +00:00
  • a8bafced3f Target 80 fps; not to tick rather than not to checkpoint wrt the performance monitor. Michael Bayne 2002-10-09 06:31:38 +00:00
  • 521cb7358e Ignore JTextField's spurious claims to be a validate root. Michael Bayne 2002-10-09 02:35:20 +00:00
  • bb44fedab2 Have to force serialVersionUID to avoid DashO fuckage. Michael Bayne 2002-10-09 00:23:51 +00:00
  • ed52a5a04a Cleaned up time estimation and file progress calculation. Constrain progress notification to once every 2.5 seconds in an attempt to reduce jiggery-pokery when we're just crossing a minute's border and our transfer rate fluctuates slightly. Walter Korman 2002-10-08 23:42:21 +00:00
  • 1684f64408 For our purposes we want A and all derived classes, rather than all classes that extend A. Other perlformattengruven. Michael Bayne 2002-10-08 22:02:13 +00:00
  • dfd499582e Removed vestigal field. Michael Bayne 2002-10-08 22:00:27 +00:00
  • 38000b062b These guys shouldn't be serialized. Michael Bayne 2002-10-08 21:59:09 +00:00
  • a0730067ec Pulled out gobs of Sprite/Animation functionality into AbstractMedia. Pulled out gobs of SpriteManager/AnimationManager functionality into AbstractMediaManager. The big change: sprites can have their render order fine-tuned like animations. Ray Greenwell 2002-10-08 21:03:37 +00:00
  • e804abad30 Scripts for building DashO'd clients. Michael Bayne 2002-10-08 18:46:02 +00:00
  • 6fe29a85af Allow colorizations to be modified in a character descriptor. Michael Bayne 2002-10-07 23:58:29 +00:00
  • 646696e5d0 Report more useful information in this failure case. Michael Bayne 2002-10-07 18:42:21 +00:00
  • b0c1f2ebc5 Allow a safe scroll pane to be constructed without its viewport view (which should be set later via setViewportView()). Michael Bayne 2002-10-06 20:57:36 +00:00
  • d34be8e838 Enhanced error reporting. Michael Bayne 2002-10-06 20:25:05 +00:00
  • 893e3d3aa0 Whoops, clone should obtain the uninitialized cloned object via super.clone() so that it is of the appropriate derived class. I must have picked a bad week to stop sniffing glue. Michael Bayne 2002-10-06 20:24:53 +00:00
  • 061c73c64e Place managers may need a chance to clean up after a failed permissions check; so we give them a callback for such contingencies. Michael Bayne 2002-10-06 03:31:16 +00:00
  • f3385ad3a8 Perform the permissions check. Michael Bayne 2002-10-06 02:37:58 +00:00
  • 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. Michael Bayne 2002-10-06 00:53:15 +00:00
  • 4da35c0f0b Provide a means by which a place manager can check, early in the initialization process, whether or not it actually wants to be created, and allow it to abort the whole deal if it doesn't. Michael Bayne 2002-10-06 00:44:58 +00:00
  • 939e4ce5a9 Enhanced logging. Michael Bayne 2002-10-06 00:44:16 +00:00
  • 96e2afe24f Name our invoker thread just for kicks. Michael Bayne 2002-10-05 23:35:21 +00:00
  • 27d7a59994 Transactions should be started outside the try/finally block that ensures their committal. This prevents double-fuckage if starting the transaction fails (because the finally block would still be executed which would try to end the non-existent transaction, throwing another exception which hides the first). Michael Bayne 2002-10-04 01:33:10 +00:00
  • 9282f15fc3 Sanity checking. Michael Bayne 2002-10-04 01:32:15 +00:00
  • 077d0ee13a Refuse to start a transaction on a non-active DObject. Michael Bayne 2002-10-04 01:31:59 +00:00
  • 0309b23a69 Restructure try/finally blocks to ensure that we don't attempt to release a transaction we were never able to start. Michael Bayne 2002-10-04 01:31:43 +00:00
  • e26fd18b38 Brevity is the soul of a happy log file. Michael Bayne 2002-10-03 17:16:15 +00:00
  • 57e697b600 Handle long fields, report when we don't know the type of a field. Michael Bayne 2002-10-02 20:10:20 +00:00
  • 99dbe3dc76 Added support for nested DObject transactions; clarified documentation. Michael Bayne 2002-10-02 19:29:23 +00:00
  • d49e724693 Don't start up the connection manager until the dobject manager has processed everything put into its queue during the initialization process. Michael Bayne 2002-10-01 05:15:45 +00:00
  • 1ee866e1e5 Added clientObjectDidChange() implementation. Walter Korman 2002-10-01 04:44:40 +00:00
  • 383a1ec550 Made it compile, but not certain it works. Walter Korman 2002-10-01 04:44:23 +00:00
  • 09a2f8e950 Initialize the animation starting time when the animation is first ticked rather than requiring that it be set via setStartTime(). Walter Korman 2002-10-01 04:24:34 +00:00
  • d08589d88a Provide an estimate of the download time remaining when downloading bundles. Walter Korman 2002-09-30 09:36:22 +00:00
  • 5af9b4ac19 Initial version of an animation that allows adding animations sequentially with a specifiable delay between each. Walter Korman 2002-09-30 06:30:47 +00:00
  • 03b1dbe90d Fixed the smallest typo in javadoc. Walter Korman 2002-09-30 06:18:46 +00:00
  • 25bd81e59a Added facilities for disabling the playing of sound without shutting down the sound manager wholeheartedly. Walter Korman 2002-09-30 06:13:36 +00:00
  • 59c522aae5 Updated deprecated references to project. Michael Bayne 2002-09-27 19:02:15 +00:00
  • 7dccce81c5 Account for sprite render priority when sorting sprites. Michael Bayne 2002-09-26 23:35:10 +00:00
  • e2687d5474 Less debug logging. Michael Bayne 2002-09-26 17:49:36 +00:00
  • 4e9acda18d Sort the mappings prior to writing the map file to enhance map file stability wrt diffing. Michael Bayne 2002-09-26 02:08:47 +00:00
  • 3ed25c9bce Sort the damned component map prior to writing it out so that additions are easy to see in a CVS diff. Michael Bayne 2002-09-26 02:05:59 +00:00
  • fd71c2a853 Take into account the x-offset of the rectangle within which the image is being rendered when drawing the right edge of the image. Walter Korman 2002-09-25 21:49:53 +00:00
  • 9acc27d3f3 Not to freak out if we can't load an image. Log an error and return a fake image instead. Michael Bayne 2002-09-25 07:15:16 +00:00
  • 42b22f1acc Experimental alternate toString() formatting style for DObject. Hopefully it will be well liked. Michael Bayne 2002-09-25 03:02:00 +00:00
  • a21ea989e8 No built-in title. Michael Bayne 2002-09-25 03:01:14 +00:00
  • 6fc4c718ab Properly return an explicitly-specified preferred size in getPreferredSize(). Walter Korman 2002-09-24 07:56:25 +00:00
  • 64bb4715cc Added le big hackola, grabNewObjects(), to tide us over until IsoSceneView properly obtains new objects as they are scrolled into view (which I won't be doing for Alpha (tm)). Michael Bayne 2002-09-24 05:33:51 +00:00
  • 0a90590134 Exposed getScene(). Michael Bayne 2002-09-24 05:33:05 +00:00
  • 6c7bee6c1d Logging cleanups. Michael Bayne 2002-09-24 00:51:01 +00:00
  • 6f2da6a584 Use StringUtil and hopefully we'll actually get address information. Michael Bayne 2002-09-24 00:50:27 +00:00
  • ddb9734501 Create an object priorities array if none is specified in the XML. Michael Bayne 2002-09-23 23:53:33 +00:00
  • d675e3f970 Preserve the transparency characteristics when creating an image optimized for display on screen. Michael Bayne 2002-09-23 23:30:23 +00:00
  • 68af441fbf Objects now have explicit render priorities rather than relying on the order in which they were added to the scene (that information is no longer available as objects are reordered arbitrarily once loaded). Michael Bayne 2002-09-23 23:07:11 +00:00
  • 92c8748c7c More progress toward arbitrarily scrollable scenes. The IsoSceneView still requests all objects in God's green earth, but we now have the necessary structures for it to request new objects as they scroll (nearly) into view and for it to abandon objects as they scroll (way) out of view. Michael Bayne 2002-09-23 21:54:50 +00:00
  • 552d73de59 Used to keep around all visible (or nearly visible) objects in a scene. Michael Bayne 2002-09-23 21:53:23 +00:00
  • f7e383d667 Terser toString(). Michael Bayne 2002-09-23 21:52:43 +00:00
  • 82cd152a6f Modified map file serialization to store things in text so that we can easily see what the mappings are and properly diff mappings that are checked into CVS. Michael Bayne 2002-09-23 18:53:01 +00:00
  • 4d94555e09 Added a means for looking up tilesets by name (though you should know which bundle they are in to avoid scanning the whole goddamned lot). Michael Bayne 2002-09-23 18:19:57 +00:00
  • bf25816235 More info (though this message will eventually go the way of the debug). Michael Bayne 2002-09-23 18:19:07 +00:00
  • 689546f785 Removed debug logging. Michael Bayne 2002-09-23 01:35:10 +00:00
  • 361c992ac4 Configuration rethink! There's now much more magic. We simply define distributed objects which contain our configuration parameters; those objects once registered with the ConfObjRegistry will automatically be populated from appropriate stati config files and modifications to those objects (made through the standard admin config interface) will automatically be mirrored out to the preferences that override the values specified in the config files (which override the default values defined in the config object class definitions). Michael Bayne 2002-09-23 01:34:32 +00:00
  • 1caf5bcbdc Added a header and some handy usage labels. Michael Bayne 2002-09-23 01:32:32 +00:00
  • caa5490a89 Handle boolean fields; moved ancestor listener stuff into add/removeNotify(). Michael Bayne 2002-09-23 01:31:49 +00:00
  • 0a503148df if the sequencer is an AnimationFrameSequencer, let it know about us. Ray Greenwell 2002-09-20 21:37:22 +00:00
  • aa715a6a5a AnimationFrameSequencer is a FrameSequencer that wants to know about the Animation it's working for. The enclosed MultiFunciton sequencer can do all sorts of neat stuff. Ray Greenwell 2002-09-20 21:36:53 +00:00
  • e6d5adfb96 removed unneeded import Ray Greenwell 2002-09-20 21:35:32 +00:00
  • e790f98774 an AnimationEvent that indicates that a particular frame or frame sequence index has been reached. Ray Greenwell 2002-09-20 21:35:11 +00:00
  • c1667c3782 Animation manager now takes into account fine grained render order when rendering animations. Michael Bayne 2002-09-20 21:28:20 +00:00
  • 487bbec942 Added call down methods so that derived client instances can react to a changing client object. Michael Bayne 2002-09-20 20:42:37 +00:00
  • 6c9c3d82f0 Changed service field to gameService; added code to clear out game service registration when game goes away. Michael Bayne 2002-09-20 04:53:42 +00:00
  • ed0693a8e7 Clear out our speak service registration when the place object goes away. Michael Bayne 2002-09-20 04:53:14 +00:00
  • 775246906b Added support for clearing out dispatcher registrations. Michael Bayne 2002-09-20 04:52:49 +00:00
  • bb0ae9e187 moved the incrementation of roundId into gameWillStart() Ray Greenwell 2002-09-20 02:30:11 +00:00
  • cecb5fbef5 We'll be needing the -- not the ++. Michael Bayne 2002-09-20 02:19:53 +00:00
  • 7e45b58f50 Modified tick() order to prevent unhappy business if a sprite removes itself in tick(). Michael Bayne 2002-09-20 02:12:33 +00:00