Commit Graph

  • 51eb40d77f The natural next step is playersAllHere(), not startGame(). Normally all players report ready and we then call playersAllHere(). If we have partial no-show, playersAllHere() will never have been called, so we want to call that and let that call startGame() (or do custom stuff for games that want to do custom stuff). Michael Bayne 2006-06-06 15:51:48 +00:00
  • 07c2666e8b Temporarily turn Integer keys into just ints. Ray Greenwell 2006-06-06 02:09:01 +00:00
  • a2b6ddd2db Copy useDisplayLists setting to instances. Andrzej Kapolka 2006-06-06 01:43:52 +00:00
  • e3f54a52bb Added ability to quantize animations to a set of preskinned meshes. Andrzej Kapolka 2006-06-06 01:37:34 +00:00
  • cd8c665cf5 Pull out the ClientManager creation so it can more easily be overridden. Mike Thomas 2006-06-06 01:01:07 +00:00
  • 251566b321 - Added TokenRing - Specify override first on overridden methods. Ray Greenwell 2006-06-05 21:28:00 +00:00
  • a442646791 Supress extra debuggy logging. Ray Greenwell 2006-06-02 02:22:11 +00:00
  • 86dd34a0f4 Added the TellHandler. Ray Greenwell 2006-06-01 17:35:23 +00:00
  • 56216c27e8 Would you believe, more type-safety? Michael Bayne 2006-05-31 04:44:21 +00:00
  • 83cffce259 Regenerated object definitions with the new hotness. Michael Bayne 2006-05-31 04:16:57 +00:00
  • 07ee188d82 Properly handle parameterized DSet fields in DObject declarations. Other parameterized types will be easy to add, but I've not yet had occasion to use them. We're all about "just in time" support. Michael Bayne 2006-05-31 04:16:04 +00:00
  • 331c3b285f A whole monkey load of type-safety and the addition of typedClone() which returns a properly typed clone of the DSet in question. Michael Bayne 2006-05-31 04:14:42 +00:00
  • 1ae124d584 Implementing clone() is apparently "required" for subclasses of Event. Ray Greenwell 2006-05-31 02:32:17 +00:00
  • 69c20acd43 Brought things up to date with the latest JME code. Andrzej Kapolka 2006-05-31 02:21:04 +00:00
  • e981a9eed9 Made PlaceView extend flash's IEventDispatcher, wired up something that sorta behaves like our controllers in java. I might be able to make this better. Ray Greenwell 2006-05-31 01:27:13 +00:00
  • 2766a6c1f9 Added a toString(). Ray Greenwell 2006-05-31 01:16:19 +00:00
  • 9e3c46c7a5 Unwrap integers before assigning properties. God, I wish I could just autotranslate at the network layer. Ray Greenwell 2006-05-31 01:15:58 +00:00
  • 77adfc15ec Revamped the basic Presents client to support attempts to connect to the server on multiple ports, falling back from one to the next as appropriate. Michael Bayne 2006-05-30 22:12:15 +00:00
  • a3dfc741c6 Fixed up some event constructors that didn't have zero-arg forms. Ray Greenwell 2006-05-30 21:08:39 +00:00
  • 3a7fe70124 Clear out original-to-copy mapping after creating copy so that we don't prevent the last copy from being garbage collected. Andrzej Kapolka 2006-05-30 16:09:14 +00:00
  • e04f7eb1f8 Unbind buffer from source before we attempt to delete it, allow re-resolving clips waiting to be unloaded. Andrzej Kapolka 2006-05-29 02:53:50 +00:00
  • 6b3aba0225 Allow zero-arg construction (for unserialization). Ray Greenwell 2006-05-27 01:51:33 +00:00
  • 074b7f4547 Added a note about a failed attempt at making things better. Ray Greenwell 2006-05-27 01:04:11 +00:00
  • cdd7a64b04 Renamed some "inner" classes, removed debugging lines. Ray Greenwell 2006-05-26 22:39:31 +00:00
  • fdfce50d01 Checkpoint, I've got an interactive 2d scene mostly working. Ray Greenwell 2006-05-26 21:54:34 +00:00
  • 9c33f1de53 A few bits of cleany/fixy. Ray Greenwell 2006-05-25 22:51:04 +00:00
  • 86fd2c05ae Use a gray background for contrast in the model viewer. Andrzej Kapolka 2006-05-25 20:12:20 +00:00
  • 9b11d03b46 Added a Cloneable interface, fixed up a few bits. Ray Greenwell 2006-05-25 01:18:04 +00:00
  • 4415b88e60 Keep track of the number of bound sources in ClipBuffer so that we don't try to delete a buffer that's still bound to a source. Andrzej Kapolka 2006-05-24 22:35:17 +00:00
  • 0a2dd5b3c7 Go back to exporting only the nodes in the selection when something is selected. Andrzej Kapolka 2006-05-24 21:28:06 +00:00
  • 26c928fc45 Use the valueOf factory methods pretty much everywhere. These are the preferred way to get instances of Boolean, Byte, Short, Character, Integer, Long, Float, and Double object. It's always made sense for Boolean objects, and with 1.5 these factory methods were blessed as the proper way to get instances unless one absolutely needed a distinct object. Ray Greenwell 2006-05-24 01:24:24 +00:00
  • c143e93554 Spot stuff in AbjectScript. Ray Greenwell 2006-05-24 00:20:00 +00:00
  • a6746bc04f Update parser test. Ray Greenwell 2006-05-23 23:22:20 +00:00
  • 96f3d8e58e Avoid pointless usage of a server class. The first clue should have been that it was a server class... ;) Ray Greenwell 2006-05-23 23:16:14 +00:00
  • 412c02cbaa Whoops! I forgot to check in the new StageLocation class, also added a log error message to my equals() logic error checking. Ray Greenwell 2006-05-23 22:12:30 +00:00
  • 99a97622a6 Refactored things so that the whirled.spot Location class is merely an interface and specific games can define their own concept of a location. Portal and SceneLocation now both have a Location instance within them. All the whirled stuff is happy not knowing the details of the Location even though it manages portals and other such goodies. The 'stage' stuff does need to know, and yohoho uses the new StageLocation class that is essentially identical to the old 'Location'. Ray Greenwell 2006-05-23 21:44:05 +00:00
  • 869641562d Removed unneeded line. Ray Greenwell 2006-05-23 21:34:40 +00:00
  • 1e5b2bd08d Allow an offset to be specified for not-quite centered windows. Michael Bayne 2006-05-23 01:02:49 +00:00
  • b13b1a54a4 Type the occupantInfo DSet. Michael Bayne 2006-05-22 22:50:39 +00:00
  • e9294b4a3d Fixed bug with argument handling. Michael Bayne 2006-05-22 17:27:40 +00:00
  • 9d6c809533 Allow the set of ports to be specified for the rejector. Michael Bayne 2006-05-22 16:52:59 +00:00
  • bece90c4a3 Added getRecentFrameRate(). Michael Bayne 2006-05-20 19:43:49 +00:00
  • f7eb18460a Began porting 'whirled'. The basic whirled stuff is here; compiling and working. 'Spot' still to come. Ray Greenwell 2006-05-20 02:18:18 +00:00
  • fb10d38232 Nixed pointless method. Ray Greenwell 2006-05-19 23:23:39 +00:00
  • a22ca8b079 Simplified logging facilities. Ray Greenwell 2006-05-19 22:47:44 +00:00
  • 98bbe02560 Don't freak out preloading clips if the manager failed to initialize. Michael Bayne 2006-05-19 05:11:40 +00:00
  • 7ec9c8d642 Let's name inner classes with an "_" where Java puts a "$", and do automatic name translation for those names. Ray Greenwell 2006-05-19 02:23:47 +00:00
  • a2644d5c04 MessageListener adapter. Ray Greenwell 2006-05-19 02:22:51 +00:00
  • da4e12771f A few twiddlings: - set up the playerStatus array before gameWillStart() so that we can properly note players that abandon ship before the game is going; - fixed some raw collection usage; - fixed some assumptions about IN_PLAY being the only state that means a game is in play. Michael Bayne 2006-05-19 01:56:54 +00:00
  • 0ac15b0e3c Some bits and bobs: there are ResourceBundle and Locale classes in the mx package, use those. The ResourceBundle stuff is not quite working now due to bugs in beta3, but I'll loop back to it later. Ray Greenwell 2006-05-18 22:39:01 +00:00
  • 8de54d537c Update state when buffers are processed so that we know when streams end. Added an isPlaying method to check state. Andrzej Kapolka 2006-05-18 20:55:45 +00:00
  • 9d84542e49 Add support for a base gain level to be applied to all sound effects. Michael Bayne 2006-05-17 19:05:39 +00:00
  • 048338efa4 Pulled out functionality to allow overriding. Mark Johnson 2006-05-17 00:46:56 +00:00
  • 64e87bb907 Added the keys() function to the Map interface, replaced instances of SimpleMap with HashMap. Discarded SimpleMap. Ray Greenwell 2006-05-16 21:06:06 +00:00
  • 4aa8f5a5d5 - Method comments. - Track the size of non-simple keys separately so that we really know when to resize the map. Ray Greenwell 2006-05-16 20:41:04 +00:00
  • f778c1e518 - Created a Map interface. - Renamed HashMap Hashtable, because I wanted a version without ties to mx.* code. User-defined hashing functions may be specified. - Created a subclass of Hashtable called HashMap which uses functions in mx.utils.ObjectUtil to hash non-Hashable complex keys. Ray Greenwell 2006-05-16 19:02:24 +00:00
  • 470c46acf5 Oop, clear complex entries when we clear. Ray Greenwell 2006-05-16 01:53:23 +00:00
  • 8604a4ac6a Various cleanuppery. Ray Greenwell 2006-05-16 01:51:01 +00:00
  • c203c0e861 A HashMap in actionscript that can use arbitrary objects as keys. Internally, three different things may be done for storage: - Simple keys can utilize the Dictionary class, we just use one of those inside the map. - If the key implements Hashable, we can hash it. - Otherwise, use mx.utils.ObjectUtil to generate a hash for any other key and also to compare the keys. Keys are then wrapped in a KeyWrapper object that implements Hashable. This last case will also handle null as a key. Ray Greenwell 2006-05-16 01:49:51 +00:00
  • 0224c33c45 Update streams in reverse order so that they can dispose of themselves safely. Andrzej Kapolka 2006-05-15 04:04:06 +00:00
  • bd8d25b6dd Added arrow key actions for panning the camera as well. Michael Bayne 2006-05-13 03:36:45 +00:00
  • eedebca87e Removed dead import. Ray Greenwell 2006-05-12 18:14:47 +00:00
  • d123c61606 Use the ArrayStreamer to stream regular Arrays as well. Ray Greenwell 2006-05-11 23:58:21 +00:00
  • a9567278ea Added ability to perform simple file queueing. Andrzej Kapolka 2006-05-11 02:09:54 +00:00
  • 790ddafb30 On second thought, cancel that; since we're not unbinding and rebinding, there's no point in keeping the data buffers around. Andrzej Kapolka 2006-05-11 00:01:42 +00:00
  • 10c6d854f5 Added support for Ogg clips, which are decompressed when bound. Andrzej Kapolka 2006-05-10 23:44:11 +00:00
  • b804f12d5d Basic mechanisms for fading in and out. Andrzej Kapolka 2006-05-10 21:12:44 +00:00
  • 164d746072 Turns out they did fix the describeType bugs, but also changed the format of the output. Update code to recognize the new format and stop working around the old bugs. Ray Greenwell 2006-05-10 21:11:56 +00:00
  • e732fe48aa Added support for streaming Ogg files. Cross-fading still to come. Andrzej Kapolka 2006-05-10 19:47:40 +00:00
  • fe3350dc3c More streaming fixups. Ray Greenwell 2006-05-10 02:35:01 +00:00
  • b82108ecea Streaming fixups on the path towards getting things working in beta3. Ray Greenwell 2006-05-10 00:40:15 +00:00
  • e100ef4faf Updated to match API changes in Beta3. InvocationRegistration had a constructor called Registration. I wonder if that was causing the compile error with beta2. Ray Greenwell 2006-05-09 23:03:47 +00:00
  • ff674f818f Beta 3 is out! They removed the built-in StringBuilder class, so I made my own for now that just does what I need it to. Ray Greenwell 2006-05-09 23:01:15 +00:00
  • 8e42599c6d Added method to fast-forward animations, beginnings of support for model variants. Andrzej Kapolka 2006-05-08 23:30:07 +00:00
  • bfa0dd1749 Added light rotation dialog to model viewer. Andrzej Kapolka 2006-05-08 21:48:43 +00:00
  • 7bdf7aba88 Occam's razor. Ray Greenwell 2006-05-08 21:37:54 +00:00
  • 490dab5780 Added an ImageUtil with some basic utility functions. Ray Greenwell 2006-05-08 21:31:24 +00:00
  • 9ead46cc6d Use alternate method to retrieve normals. Andrzej Kapolka 2006-05-08 21:03:30 +00:00
  • 05fe7f8679 Don't choke if getFrequency() returns 0. We may want to check for that specifically as this doesn't do the right thing for something like 50fps, but does anyone actually use less than 60? Michael Bayne 2006-05-08 20:58:48 +00:00
  • f59fbac2f4 Instead of 60, try using the refresh rate as the target FPS. Andrzej Kapolka 2006-05-08 18:06:24 +00:00
  • b31556e388 We need to dispose() our clip buffers on the main thread. Michael Bayne 2006-05-08 16:51:48 +00:00
  • f07c7307c9 Cope if something in the underlying sound system freaks out. Michael Bayne 2006-05-05 23:26:33 +00:00
  • c8fa910ffe Notify listeners that the old animation was cancelled when we start a new one. Andrzej Kapolka 2006-05-05 22:17:36 +00:00
  • 053c1bfe31 Use paint instead of getSnapshot on underlying mirages in composite mirage as it might save us creating an image object. Mike Thomas 2006-05-05 01:30:14 +00:00
  • 81d26ec622 Dispose of graphics object when done in getSnapshot, and use simpler version of drawImage. Mike Thomas 2006-05-05 00:17:42 +00:00
  • 2b98453e38 New type of mirage that simply draws a list of mirages one on top of the other(s). Mike Thomas 2006-05-04 23:41:41 +00:00
  • dac87ee10b Type-safety! Michael Bayne 2006-05-04 05:35:19 +00:00
  • edd74d4014 Removed debug logging. Mark Johnson 2006-05-04 00:39:46 +00:00
  • 47ac305684 Allow the moveTo used while recovering from a failure to get the place object in the SceneDirector to be overriden. The ZoneDirector needs to inform its listeners when a zone change is made during this failure case. Mark Johnson 2006-05-04 00:37:54 +00:00
  • 3db1f2837f Set log file redirect before initializing. Andrzej Kapolka 2006-05-03 21:55:42 +00:00
  • 491caeae20 Moved model compile method from Ant task to an application class to avoid referring to Ant classes in the client jars. Andrzej Kapolka 2006-05-03 21:29:38 +00:00
  • 66a97a25c4 Write viewer output to a log file. Andrzej Kapolka 2006-05-03 20:51:03 +00:00
  • f3bb8d93db Copy the animation list when cloning. Andrzej Kapolka 2006-05-03 00:04:41 +00:00
  • b4eacdbf0e Further low-level tweaking. Andrzej Kapolka 2006-05-02 23:06:38 +00:00
  • 2728af5059 Skinning optimizations: order vertices by weight groups, compute mesh space bone transforms only once per mesh per bone (rather than each time the bone appears in a weight group), low level fiddling. Also changed the exporters to export everything, regardless of what's selected. Andrzej Kapolka 2006-05-02 04:27:49 +00:00
  • 28659209cd Instead of computing model bounds after loading, compute them at compile time and store them with the model. For skinned meshes, run through every frame of every animation as they're compiled in order to find the bounding volume that encloses every deformation. Andrzej Kapolka 2006-05-02 00:17:20 +00:00
  • 0699eb3d1c Added a standard mechanism for customizing the AccessController on a PlaceObject. Created a default AccessController that is slightly more strict than the CrowdServer-wide default in that it only allows place occupants to subscribe to a PlaceObject (a motivated and resourceful player could otherwise listen in on place chat everywhere in the game if they so desired; with a custom client, of course). Michael Bayne 2006-04-30 19:16:05 +00:00
  • 2df0c56f2a Various performance tweaks: cull nodes with no mesh children, allow locking the transforms and bounds of models whose positions will not change, skip/postpone updates for models that aren't in view. Andrzej Kapolka 2006-04-29 03:24:15 +00:00
  • a7bb7bb4dd Changed the SpotScene parser to handle the new Portal, and to cope with Location subclasses as easily as possible. Subclassing the ruleset and returning a different instance for Location should do the trick. Ray Greenwell 2006-04-28 21:27:11 +00:00
  • e2057d362d Add overridable function to potentially allow games to start up even without any humans present if they wish. Defaults to NOT allow that behavior. Mike Thomas 2006-04-28 20:40:04 +00:00