Commit Graph

  • 50e36adb6b Make sure cameraIsMoving returns false for the callbacks at the end of a camera path. Andrzej Kapolka 2006-02-22 01:22:28 +00:00
  • 46f61df574 Bugfix: Black screen on furniture rearranging: Mike Thomas 2006-02-21 19:53:26 +00:00
  • 105f0c5470 Whoops, needed to finish the re-refactor. Michael Bayne 2006-02-20 23:55:32 +00:00
  • 971b0bd079 Boolean.parseBoolean() was apparently introduced in 1.5. Yay for orthogonality. Michael Bayne 2006-02-20 23:43:57 +00:00
  • a4fff6494f Define the schema in code, fixed up some bugs. Michael Bayne 2006-02-20 22:41:59 +00:00
  • 9d9bebd092 Created a database backed implementation of the runtime config services. Michael Bayne 2006-02-20 21:59:54 +00:00
  • b33ae477ac Started refactorying the config object registry so that we can make a database-backed implementation to replace the Java preferences backed version. Michael Bayne 2006-02-20 19:39:38 +00:00
  • ea0a3dce06 Well, it compiles. It's not functional, there are still large holes in the implementation. Ray Greenwell 2006-02-20 03:53:04 +00:00
  • d63ffd9108 Added a note about fucked-up access control in ActionScript. Maybe this explains why they put all subclasses of Event in the same package. Ray Greenwell 2006-02-20 03:08:25 +00:00
  • 7a80c5cb43 Got compiling working under Linux, now correcting various errors. Checkpoint. Ray Greenwell 2006-02-20 02:38:56 +00:00
  • f8c8f6e983 Some stuff. Ray Greenwell 2006-02-20 01:03:56 +00:00
  • 7a353e6722 Checkpoint. Ray Greenwell 2006-02-19 23:35:22 +00:00
  • bb379347f0 The readField()/writeField() methods are for marshalling objects that have basic streamers defined for them (String, Integer, Boolean) and not other arbitrary objects. Ray Greenwell 2006-02-19 03:19:54 +00:00
  • 97953e7668 More progress. Ray Greenwell 2006-02-18 02:37:14 +00:00
  • 74c35b6d65 More progress. Ray Greenwell 2006-02-17 05:11:31 +00:00
  • cd7e127bc6 Marking another invocation listener where we don't care there's no response. Mike Thomas 2006-02-17 01:08:01 +00:00
  • 7d46f81392 The problem was that setQuad was being called in the second constructor after updateRenderState in the third constructor, so the quad's render state didn't include the alpha state. I changed it so that updateRenderState is called in setQuad. Andrzej Kapolka 2006-02-15 22:19:36 +00:00
  • bbc4dcad31 Added toString() to TimeFunction; moved AlphaState onto the quad being faded rather than the node containing the quad, which shouldn't really make a difference. Michael Bayne 2006-02-15 21:01:39 +00:00
  • 892bdce01d Old man Occam came a knockin'. Ray Greenwell 2006-02-15 04:05:40 +00:00
  • 174fa1b9c6 Use PrivilegedExceptionAction to do privileged actions that might throw an exception. Ray Greenwell 2006-02-15 04:04:24 +00:00
  • 1d36299e3c Some work on streaming. Ray Greenwell 2006-02-15 01:41:14 +00:00
  • 28ac720b98 Moved avoid animation tracking into a helper class. Ray Greenwell 2006-02-14 22:17:52 +00:00
  • 9faa866dba Added a method that exists in VirtualMediaPanel. Ray Greenwell 2006-02-14 22:15:55 +00:00
  • f449e2e77d Changed Exceptions to InvocationExceptions to invoke translation of error reason messages. Mike Thomas 2006-02-14 21:57:39 +00:00
  • 402de06e07 Added float-based weighted random selection function. Mike Thomas 2006-02-14 21:46:53 +00:00
  • ccce88790a Function wasn't informing listener of failures. Mike Thomas 2006-02-14 21:46:28 +00:00
  • 4d7fb64b8c More progress. Ray Greenwell 2006-02-14 04:07:02 +00:00
  • 8366c150f4 Progress on the presents client. Ray Greenwell 2006-02-13 22:07:50 +00:00
  • ad7e4f6be6 Added a helper class for sliding windows onto and off of the screen. Modified the fade effect to automatically remove itself when it's done. Michael Bayne 2006-02-10 04:45:12 +00:00
  • 85d56cceec Some more progress. I still need to work on the Streaming, but I've figured out how to do a bit of introspection which will be necessary when streaming an array. Started working on the client classes, did ClientObserver and SessionObserver stuff using flash's event notification system. Ray Greenwell 2006-02-10 03:44:20 +00:00
  • 132dad93d2 Added a mechanism to skip to the end of the current camera path. It's sort of a hack in that it just fakes an update to the path as if 100 seconds had elapsed, but that essentially does just what we want and is so simple. Michael Bayne 2006-02-10 02:24:58 +00:00
  • 0bd48b4b6a Provide default translations for the one Parlor game message. Michael Bayne 2006-02-09 19:22:34 +00:00
  • 90063d85cc Missed a spot (there's no 'throws' in actionscript..). Ray Greenwell 2006-02-09 03:40:16 +00:00
  • 3f9c6c6081 Beginnings of the ActionScript 3.0 client: checkpoint checkin. There's a long way to go and I think I need to rethink the way streaming will work, but this is a start. These classes all compile under the flex environment. Ray Greenwell 2006-02-09 03:33:58 +00:00
  • fe47f6a478 Float.MIN_VALUE is the smallest positive value, not the smallest negative value. Andrzej Kapolka 2006-02-08 00:03:28 +00:00
  • 4849d344e1 Added optional target orientation to PanPath. Andrzej Kapolka 2006-02-07 22:37:40 +00:00
  • 44bc8722eb Removed redundant call to onFrameChange. Andrzej Kapolka 2006-02-07 21:45:08 +00:00
  • 593ee3a54d Added an explicit axis parameter (as opposed to using the up vector at each time step) to avoid camera roll. Andrzej Kapolka 2006-02-07 21:43:26 +00:00
  • d822c597b3 Allow the FadeInOutEffect to be used on arbitrary quads. Michael Bayne 2006-02-07 01:33:46 +00:00
  • e9be71fdf2 JME uses a separate Z order to determine how to sort ortho geometry. Michael Bayne 2006-02-06 02:33:16 +00:00
  • 6f90df64f8 Added getFrameTime(). Michael Bayne 2006-02-06 02:32:42 +00:00
  • 965b44d253 Updated standard source header. Created a time function mechanism that can be used to easily plug in different methods of smoothly varying a value over time. Michael Bayne 2006-02-06 01:40:44 +00:00
  • f749460fe7 Minor rearrangement. Michael Bayne 2006-02-05 23:08:55 +00:00
  • 17987537f4 Provide a convenient method for indicating that a listener does not need to be responded to. It turns out that a listener may not be a marshaller if a server entity is calling a service request method directly. The convenience method handles this and is also cleaner looking for callers. Ray Greenwell 2006-02-04 03:49:53 +00:00
  • 12a4f4bb7e Oops, we need to be able to add and remove observers. Michael Bayne 2006-02-04 03:30:44 +00:00
  • 428afd4ca0 Add support for being notified when a camera path is complete. Michael Bayne 2006-02-04 03:24:44 +00:00
  • 47f0772412 Protect against NPE if we try to send cards to an absent player. Ray Greenwell 2006-02-03 19:11:20 +00:00
  • 2f611366d9 Send the oid of the applicable game with the Hand. Ray Greenwell 2006-02-03 19:09:49 +00:00
  • 39565a6d92 Occam's razor. Ray Greenwell 2006-02-03 01:02:41 +00:00
  • 56b985beb4 Added a method to reset the camera's orientation. Andrzej Kapolka 2006-01-31 00:05:34 +00:00
  • 63b4a49773 Added a tension parameter to control the sharpness of the curve. Andrzej Kapolka 2006-01-30 19:50:10 +00:00
  • eb2635770e Commented out extremely common and innocuous log entry. Ray Greenwell 2006-01-30 19:18:11 +00:00
  • e81084a588 Added spline path for camera. Andrzej Kapolka 2006-01-28 01:35:08 +00:00
  • 21181e8ba3 Don't dirty our bounds if setLocation() is called with our current location. This could possibly break something that depended on the old behavior, so we'll have to watch for broken things and make them right. Ray Greenwell 2006-01-27 03:28:04 +00:00
  • 3dde8d448a Fix up the way we create our display to play nicely with the JmeCanvasApp. Michael Bayne 2006-01-25 20:31:47 +00:00
  • abb941223d Protect our servers from a certain DOS attack: telling the server that you're sending a giant array and having it try to allocate it. Ray Greenwell 2006-01-25 02:39:18 +00:00
  • dfc8112277 Split out fading sprite capability from the CardSprite class so it can be extended and used elsewhere. Mike Thomas 2006-01-24 19:46:34 +00:00
  • 765fdc8edf Optimization: grow ourselves to the needed capacity prior to fully reading elements off the stream to avoid repeatedly allocating storage arrays and copying or rehashing the elements. Ray Greenwell 2006-01-23 23:08:02 +00:00
  • d38c31027c Fix some stylistic stuff. Mike Thomas 2006-01-23 21:11:15 +00:00
  • c866377681 Bugfix - This MAY be the elusive sync bug(s). Puzzle controller queues progress events, then sends them periodicially on a tick. The round-id at the time of the tick is used to make sure stale events aren't sent. BUT, the queue never used to be cleared when the round changed, so stale events already in the queue could still be sent. Now clearing queue on round change. Mike Thomas 2006-01-23 19:09:45 +00:00
  • b994d709d3 A possible fix for someone who is having problems with the card flipping: http://forums.puzzlepirates.com/community/mvnforum/viewthread?thread=30539&firstunread=yes Ray Greenwell 2006-01-20 01:25:05 +00:00
  • 73e0a05b5f An internal error should always be accompanied by a log message. We could rely on the adpater user to sort that out, but it's easier to just log things here and save everyone time and effort. Michael Bayne 2006-01-19 22:45:11 +00:00
  • 96f017fc3e Added getCards() convenience method. Ray Greenwell 2006-01-19 21:50:53 +00:00
  • 94ee4c7e9f Fixed two last cases of ignored listeners that ice testing has uncovered. Ray Greenwell 2006-01-19 01:50:42 +00:00
  • 918c61c77e Another place where we ignore a listener. Ray Greenwell 2006-01-19 01:43:12 +00:00
  • 78f7b7f3e0 Avoid logging spurious warnings about ignored listeners that weren't really ignored, but just never got responded to due to a bigger problem. (The bigger problems are already logged.) Ray Greenwell 2006-01-19 01:40:05 +00:00
  • 60c204a93a Added a method that can be called to indicate that a response will intentionally not be sent to the listener. Ray Greenwell 2006-01-19 00:53:35 +00:00
  • e2cfd1de80 Added getPartyGameType, similar to the method in PartyGameConfig. Ray Greenwell 2006-01-18 22:15:05 +00:00
  • 573125d3d1 Use the standard chat command handling instead of hacking in our own support. Michael Bayne 2006-01-18 19:39:34 +00:00
  • d67825b213 Provide an easy way to add to toString() info. Ray Greenwell 2006-01-17 23:28:21 +00:00
  • bf5fff9ee1 Don't forcibly render layer components that are not currently visible; added a mechanism for layer components that know they will never be "under-rendered" to avoid the expense of forced rendering on every tick. Michael Bayne 2006-01-16 21:21:22 +00:00
  • 7f98cac7a8 - Revamped PartyGameConfig so that it can report which type of party game it is (seated or free-for-all) or if it's not a party game after all (which the old interface supported and we may need in the future). - Cleaned up the setting of table occupants to make the extension in yohoho cleaner. - tables are now party-game aware and will do the right thing with the occupants list. - simplified Table.equals() and added a corresponding hashCode(), because two objects that are equals() must give the same hashCode. Ray Greenwell 2006-01-13 01:52:36 +00:00
  • bf45bb876e Added ability for card sprites to be flipped to reveal a different card's image (such as from the card-back to a front). This is done by gradually scaling horizontally to no width, then scaling back up with the new image. Mike Thomas 2006-01-09 21:45:06 +00:00
  • 965dc959e5 Fixed le booch. Michael Bayne 2006-01-06 04:44:05 +00:00
  • 207a1f9e1a Switch to the stylesheet world. Michael Bayne 2006-01-06 04:42:39 +00:00
  • 2ef4dc2a22 Added methods to set animation repeat type in addition to active state and speed. Andrzej Kapolka 2006-01-04 23:08:48 +00:00
  • 1918b8adac Had grammatical beans above the frank. Michael Bayne 2005-12-21 23:25:41 +00:00
  • 6180e15b5f Created a full-screen fade in out effect. I ended up deciding not to do anything special for full-screen effects. They will be added to the interface node and should set their z order to a positive value to render above the UI and a negative value to render below it. Otherwise we don't really need to impose a whole lot of structure. Michael Bayne 2005-12-21 23:25:07 +00:00
  • 3ac76f7d9e Added showingStatistics(). Michael Bayne 2005-12-21 19:46:34 +00:00
  • 82bcdc13f9 Allow statistics to be toggled on and off at runtime. Michael Bayne 2005-12-21 19:41:07 +00:00
  • 4324149cdb We queue ourselves up every time an event comes in, so we should only process one event when our run() method is called and then let other (non-distributed object) things get their chance to run in proper order. Michael Bayne 2005-12-21 19:30:39 +00:00
  • 7ecb150627 Oops. Fixed memory leak in FrameInterval by calling cancel if we're not repeating. Mike Thomas 2005-12-21 02:14:36 +00:00
  • 852620bea4 Regenerated marshallers with new response-tracking code. Ray Greenwell 2005-12-21 02:12:57 +00:00
  • 4cb18bd5ab Wrote code to help automatically detect bugs. Have invocation marshallers track whether someone ever ended up responding to the client: if they get garbage collected without ever doing so (and they're not the base class InvocationMarshaller, which can only report errors), log an informative error message. Ray Greenwell 2005-12-21 02:10:38 +00:00
  • 5a57753d84 New client-side version of the Interval class which runs as a FrameParticipant, using the FrameManager's timing mechanism. Mike Thomas 2005-12-21 01:48:15 +00:00
  • fac90ce23d Split out announcement of a player elimination to its own function so we can override it for games where normal announcement doesn't make sense. Mike Thomas 2005-12-21 00:52:30 +00:00
  • 5225eb2a43 Changed handleStateChange() to stateDidChange() to be more consistent with gameDidStart(), etc. and with the new GameManager.stateDidChange(). Michael Bayne 2005-12-20 21:01:36 +00:00
  • 7a64be94f2 Goodbye, NestableIOException. Ray Greenwell 2005-12-20 02:09:18 +00:00
  • c7d36f9705 Changed AWAITING_PLAYERS to PRE_GAME; factored some code into stateDidChange(). Michael Bayne 2005-12-20 01:45:02 +00:00
  • ecc5c40e73 Added support for handling filesets of config files to be parsed. Michael Bayne 2005-12-19 19:09:00 +00:00
  • ecfe79eb35 Cope with invalid character descriptors more gracefully. Michael Bayne 2005-12-15 22:14:37 +00:00
  • 51d349295e Codified a common pattern into a helper class. Michael Bayne 2005-12-15 04:20:22 +00:00
  • fa1f5a0dd0 Added getClosest() for finding the closest direction in a list to one specified. I'm not sure I'll actually end up needing this, but it's handy for what I'm currently toying with. Ray Greenwell 2005-12-15 02:49:28 +00:00
  • 94abde8293 Made getActionSequence() public. Ray Greenwell 2005-12-15 02:48:02 +00:00
  • 547ace1187 Added isRandomValidTarget used for selecting a new random target. Mark Johnson 2005-12-09 23:29:48 +00:00
  • 12c9f86735 Add additional type of orientation to ArcPath - NONE - which keeps us from reorienting sprites following the path. Mike Thomas 2005-12-08 21:59:12 +00:00
  • db5de88da2 Added capability to get translated (in x and y) versions of Arc and Line Paths. Mike Thomas 2005-12-08 19:42:11 +00:00
  • 04c13820ef Added ability to override hand-sorting on the card panel. Mike Thomas 2005-12-08 19:41:12 +00:00
  • 8381da7cab Have board summaries always update before being broadcast. Don't generate a summary for every change to a player's board. Mark Johnson 2005-12-07 19:19:11 +00:00
  • 23087de145 Added a shutdown() method that removes us as a ChatFilter. Ray Greenwell 2005-12-06 00:54:02 +00:00