Commit Graph

  • 9233719363 Modified to support tile immutability and new media architecture; auto fringer now generates fully stamped fringe tiles rather than tiles with a list of images to be painted every time. Michael Bayne 2003-01-13 22:55:12 +00:00
  • b9be0aef92 Tiles are now immutable, so the DisplayMisoScene becomes the arbiter of whether or not a traverser can traverse a tile. Michael Bayne 2003-01-13 22:53:56 +00:00
  • 5c055d21a6 Revamped to support new media architecture. Added tunability to in-memory action cache. Michael Bayne 2003-01-13 22:53:04 +00:00
  • e400ba5be6 Resources are unpacked and cached in a temporary directory on the filesystem. This should speed up subsequent loads as they won't have to be decompressed. Michael Bayne 2003-01-13 22:50:36 +00:00
  • 100aa3ace3 Major media subsystem revamp: - All images are loaded through the image manager - Architected to allow the use of prepared or unprepared images (and volatile images when the day comes that they support alpha) - Tunable caches for images and tiles - Resource manager caches unpacked resources on the filesystem - Various and sundry other cleanups Michael Bayne 2003-01-13 22:49:47 +00:00
  • 8743be2131 Enhanced which(). Michael Bayne 2003-01-13 18:38:05 +00:00
  • d02a247d76 Added a which(). Michael Bayne 2003-01-13 18:36:18 +00:00
  • db201a29bd Moved native library compilation into a separate target. Walter Korman 2003-01-12 02:15:25 +00:00
  • 7953fb0b24 Oops; use the install target as the main target so that we only rebuild things when it's actually necessary to do so. Walter Korman 2003-01-12 02:06:10 +00:00
  • 786f6f8a63 Build the native linux keyboard library as part of the normal compilation task and place it in dist/lib/i686-Linux. Walter Korman 2003-01-12 02:04:19 +00:00
  • 4956ed66ae Added and commented out debug logging. Walter Korman 2003-01-12 01:19:58 +00:00
  • 3bf267fc26 Fixed javadoc typo. Walter Korman 2003-01-12 01:19:33 +00:00
  • 494fc1a620 Ignore the dll. Walter Korman 2003-01-12 01:19:05 +00:00
  • de6c4371b9 Initial version of linux (working) and Windows (not yet working) native libraries for enabling and disabling keyboard auto-repeat. Restored auto-repeating in our own KeyboardManager, and disabled the interval used to differentiate between a "real" and "fake" key repeat since we believe we can now do without it. Walter Korman 2003-01-12 00:26:39 +00:00
  • a91061cb30 Use SwingUtil.refresh(). Walter Korman 2003-01-11 01:03:02 +00:00
  • 0c246fcef7 Have to call mayLeavePlace() in a couple of other places. Fixed documentation for it in PlaceController. Michael Bayne 2003-01-09 02:46:58 +00:00
  • 4abcc6a87c Need that in the delegate as well. Michael Bayne 2003-01-09 00:27:26 +00:00
  • 318d16647f Added mayLeavePlace(). Michael Bayne 2003-01-09 00:26:56 +00:00
  • 125a0c4fef updated to reflect new home of ImageIOLoader Ray Greenwell 2003-01-08 05:17:35 +00:00
  • d595a2fab8 Added a version of composeMaskedImage() that takes a Shape object to use as the mask. Ray Greenwell 2003-01-08 04:28:13 +00:00
  • 1ce6951cb6 Repackaged a few things in media: sounds stuff went into media.sound and image stuff went into media.image. Michael Bayne 2003-01-08 04:09:03 +00:00
  • ab915c9633 Close our input stream when we're done with it. Michael Bayne 2003-01-07 07:55:58 +00:00
  • 2807056a44 Close the InputStream instances we get from the resource manager after we're done loading images from them. Michael Bayne 2003-01-07 07:55:24 +00:00
  • 6bde1765d1 Don't rebuild our component bundles if they're not out of date. Michael Bayne 2003-01-07 00:59:21 +00:00
  • 8c3d8048a0 Need to taint username. Michael Bayne 2003-01-06 00:24:32 +00:00
  • 3c2a65441c Make sure to clear out any previous cluster object subscription business when we receive notice that we've successfully subscribed to a new cluster object. Walter Korman 2003-01-03 23:07:00 +00:00
  • 183e25307f Catch and report any exceptions game managers may throw while being ticked. Walter Korman 2003-01-03 02:47:33 +00:00
  • ebd50b80f5 Tick all game managers every five seconds to allow them to engage in any activity that isn't driven by player actions. Walter Korman 2003-01-03 02:35:41 +00:00
  • de0ea7b464 Dump a stack if we can't find our invocation receiver registration. Michael Bayne 2003-01-02 22:08:30 +00:00
  • 76abfba3c3 An animation that does nothing but hang around for a specified period of time. Michael Bayne 2002-12-29 04:32:14 +00:00
  • a8fc75ca27 Freak out in an orderly and informative manner rather than NPEing if we go to composite a set of action frames and one of the character components has no individual action frames for the requested action. Michael Bayne 2002-12-23 20:33:19 +00:00
  • 0ec3f9e425 Old program for testing our image loading speed. We will want to investigate the possibility in the future of uncompressing our images into a local cache on the client and loading from there because it is about 10 times faster to load uncompressed images. Michael Bayne 2002-12-23 20:32:28 +00:00
  • eb6ce32141 Fixed up init() call. Michael Bayne 2002-12-23 19:08:57 +00:00
  • 4c39fb3fb8 Log our low-level stack traces when we get them because I've seen at least one instance of the nested exception failing to log anything useful when it is reported at a higher level and we're seeing failures in the low-level streamable decoding code which need debugging. Michael Bayne 2002-12-23 00:40:39 +00:00
  • 6c3d9fba65 More goddamned fiddling to attempt to respond gracefully to any of the wide variety of fucked up situations that might occur: Michael Bayne 2002-12-22 19:16:31 +00:00
  • f7786e0737 Make the actual InetAddress instance available. Michael Bayne 2002-12-22 19:13:38 +00:00
  • f13bfa62aa Allow the state of the server report to be logged in a custom manner. Michael Bayne 2002-12-22 07:27:20 +00:00
  • 8ceb0e09e7 Made the connection's IP address available to interesting parties. Michael Bayne 2002-12-22 06:36:30 +00:00
  • 7f531557be Notes. Michael Bayne 2002-12-21 01:37:29 +00:00
  • 3b86a9c669 Support implicit Object[] handling as well as Object handling. Michael Bayne 2002-12-21 00:44:25 +00:00
  • f04e98f481 We may be passing Object in directly in which case we have no super class. Michael Bayne 2002-12-21 00:44:03 +00:00
  • 48823b10f9 More revamped serialization cleanup. Michael Bayne 2002-12-20 23:41:27 +00:00
  • ee9049fe3e Factored out code for events that all shared a name; removed hand-serialization code for fields which are now handled automatically. Michael Bayne 2002-12-20 23:29:04 +00:00
  • 70a79f48e9 Bye bye to all the hand-serialization code. Yay! Michael Bayne 2002-12-20 23:28:24 +00:00
  • 00baff9000 Handle Object fields by using readObject() and writeObject() to serialize them assuming they'll contain either a primitive type or an instance of Streamable. Michael Bayne 2002-12-20 23:27:52 +00:00
  • a63d7446dd It turns out that we can make protected and private fields accessible to the object serialization code which means that we can automatically serialize said data members. Hooray! Michael Bayne 2002-12-20 23:27:12 +00:00
  • 2fe2311e06 We override serialVersionUID in ComponentClass so we may as well do it in PriorityOverride as well. Michael Bayne 2002-12-19 21:44:12 +00:00
  • 822dabef8c added a way to remove observers Ray Greenwell 2002-12-18 23:14:23 +00:00
  • 41fe126611 Make sure that we remove ourselves as a listener even if our unknown and untrustable derived class freaks out in gameDidEnd(). Michael Bayne 2002-12-16 05:31:00 +00:00
  • cbbda03e23 Added convenience class to facilitate performing a one-time server-side action when a game ends. Walter Korman 2002-12-16 05:06:58 +00:00
  • 6b273dbf0a Finished up custom render order support. Michael Bayne 2002-12-16 03:08:39 +00:00
  • 3807953a55 Added MediaPanel.clearAnimations(), fixed up comments and removed unnecessary SpriteManager.clearSprites(). Walter Korman 2002-12-15 23:12:37 +00:00
  • b35f81cb62 A little more analysis revealed that we can avoid attempting to resume a user's session if their client object is not yet resolved. When it does, their session will be "started" for the first time and everything will work itself out. Michael Bayne 2002-12-15 18:32:19 +00:00
  • aeab40a411 Let's be using the same code to enter a scene. Michael Bayne 2002-12-14 01:51:00 +00:00
  • 1c4503efe5 Added toString(DisplayMode). Walter Korman 2002-12-13 04:37:27 +00:00
  • 90b76f1417 Added a toArray() method. Michael Bayne 2002-12-13 02:07:27 +00:00
  • 90a919720a Removed code to disallow adding an observer more than once since the observer list now takes care of that. Walter Korman 2002-12-12 23:56:36 +00:00
  • 96888709ff Not to call addClientObserver() since we extend BasicDirector which already does that for us. Walter Korman 2002-12-12 23:55:31 +00:00
  • ce8fe382a3 Use observer lists, and remove code to disallow adding observers more than once since the observer list now takes care of that. Walter Korman 2002-12-12 23:54:27 +00:00
  • 3d2e98f7da Fixed typo in comments. Tried to resist due to negligibility of typo, but the perfectionist in me got the better of, me. Walter Korman 2002-12-12 22:27:25 +00:00
  • d6f5a4da4d Added support for fully qualified translation messages which will be fetched from the message bundle embedded in the fully qualified key even if they are being translated within the context of another message bundle. Michael Bayne 2002-12-12 22:24:51 +00:00
  • df30c37892 Log a more informative message when we catch an exception. Michael Bayne 2002-12-12 19:00:25 +00:00
  • d79a6970e1 Need a package qualifier because this config file is meant to be overridden. Michael Bayne 2002-12-12 18:36:13 +00:00
  • 8d5ba037f1 Added necessary jockeying to cause ant not to freak out if JAVA_LIBS is not set. Michael Bayne 2002-12-12 07:30:18 +00:00
  • 18c7b2cf6f Complain loudly about listeners or subscribers that try to add themselves more than once. Use testAndAddEqual() where appropriate now that testAndAdd() doesn't use object equality. Michael Bayne 2002-12-12 00:30:47 +00:00
  • 1b27d90286 Initial version of runtime miso scene business. Walter Korman 2002-12-11 23:07:21 +00:00
  • 2fde0b7117 Made to implement the RuntimeSpotScene interface as was surely intended. Walter Korman 2002-12-11 23:06:24 +00:00
  • 3ccbb4ad5b Whitespace change. Walter Korman 2002-12-11 23:05:07 +00:00
  • 26065cef4a A test sound. Michael Bayne 2002-12-10 21:37:10 +00:00
  • 64ab1e11ae Got the sound manager test app mostly working again. Michael Bayne 2002-12-10 21:36:53 +00:00
  • a2c3741b2b A few things: Michael Bayne 2002-12-10 21:36:33 +00:00
  • 8943daf060 Revamped frame test to use new nio-based framing services. Michael Bayne 2002-12-10 19:38:56 +00:00
  • fd9a06a388 We don't need a SocketChannel. A ReadableByteChannel will suffice. Michael Bayne 2002-12-10 19:33:22 +00:00
  • 26ed72d109 Report an error rather than NPEing if we resume a session with a null _clobj. Michael Bayne 2002-12-09 17:19:04 +00:00
  • 3b09893292 The end of more font hackery. Michael Bayne 2002-12-09 05:13:45 +00:00
  • 100739bff5 Removed font hackery now that we've understood and fixed the "font bug", which turned out to be due to improper restoring of the anti-aliasing setting in graphics contexts. Walter Korman 2002-12-09 05:00:48 +00:00
  • 8ef2721d73 Fixed javadoc typo. Walter Korman 2002-12-09 04:44:33 +00:00
  • ee83234bee Removed unused imports. Walter Korman 2002-12-09 04:42:54 +00:00
  • 5e81502af3 Track and report our average number of dirty regions per tick. Michael Bayne 2002-12-08 02:49:53 +00:00
  • 8ab0623a9c Refuse to allow a frame participant to be added more than once; enhanced FPS display, made it possible for frame participants to add to the performance status string. Also modified perf status to be double buffered. It's not repainting exactly properly at the moment; soon to be remedied. Michael Bayne 2002-12-08 02:49:12 +00:00
  • 42110dc8da Remove invocation receiver mappings from the receivers table when they are unregistered. Flush invocation listener mappings after an expiry period if they were not already removed by virtue of receiving a response. Michael Bayne 2002-12-08 02:18:50 +00:00
  • 6caca5fe5a Added code to easily disable the sound manager. Michael Bayne 2002-12-07 22:41:10 +00:00
  • d60e6a69d8 Implemented code to handle the rather complicated circumstance of not being able to send a message immediately to the client due to it being too large or the client's outgoing networking buffer being full for some other reason (many messages sent very quickly or client that's reading messages slowly). Michael Bayne 2002-12-07 22:33:04 +00:00
  • 53d4108602 Added temporary fringe debug logging so that we can assess time and memory usage. Walter Korman 2002-12-07 02:30:37 +00:00
  • e45ba41b0f Realized that the icon manager is caching icon tilesets, not icons themselves, and accordingly dramatically reduced the cache size and fixed comment. Walter Korman 2002-12-07 02:13:00 +00:00
  • eda77a227d Use an LRUHashMap to cache icons. Walter Korman 2002-12-07 02:09:45 +00:00
  • acaf39b070 Estimate memory usage in bytes rather than pixel area, assuming an int per pixel for now. Walter Korman 2002-12-07 02:04:32 +00:00
  • ea545bcb66 Log the size of the cache along with its efficiency. Walter Korman 2002-12-07 01:10:25 +00:00
  • be34314e1a Report image cache performance in all relevant places. Walter Korman 2002-12-07 01:00:58 +00:00
  • 8c5d490b53 Use an LRUHashMap to cache images, and limit caching to 30 images. Periodically log cache efficiency and estimated image size. Walter Korman 2002-12-07 00:58:00 +00:00
  • 1558a6ec57 Throttle our action cache performance reports to once every 30 seconds. Michael Bayne 2002-12-07 00:49:36 +00:00
  • 5373597143 Removed caching of tile coordinates as it was too fragile. It is easy to forget to update a sprite's tile coordinates when updating its screen coordinates and only TilePath could be used for sprites in the view and generally a huge pain was incurred to avoid what isn't very expensive which is to calculate a sprite's tile coordinates from its screen coordinates when that sprite is involved in a repaint. Michael Bayne 2002-12-05 23:06:30 +00:00
  • ee8eda46bb Have to check that the user exists in sessionConnectionClosed() before setting their status to disconnected; don't have to check that the user exists in sessionDidEnd(). Michael Bayne 2002-12-05 16:39:21 +00:00
  • 0749a20e6e Rejiggered endSession() so that overridden sessionDidEnd() methods can call super.sessionDidEnd() and still do things with the client object at the termination of the session. Michael Bayne 2002-12-05 16:20:45 +00:00
  • acae62db72 Remove the frame rate logging because we have a handy dandy visual display now. Michael Bayne 2002-12-04 23:21:25 +00:00
  • 28ee999426 Added facility for displaying the current frame rate information within the frame buffer, and a debug chord (Alt+Shift+F) to toggle the display. Walter Korman 2002-12-04 22:07:28 +00:00
  • b7e24b0b63 Fixed javadoc comment. Walter Korman 2002-12-04 22:04:46 +00:00
  • 83d9cf3363 added versions of lock() and unlock() that take a list of sound keys to operate on. Ray Greenwell 2002-12-04 21:42:34 +00:00
  • fc14518506 Removed verbose logging. Walter Korman 2002-12-04 03:01:12 +00:00
  • e91215b689 Explicitly pass along the client object to sessionConnectionClosed() because it will have been cleared out of _clobj by the time said method is called if it is called as a part of a terminated session. Michael Bayne 2002-12-04 02:47:03 +00:00