Commit Graph

  • b44864c506 Some fiddling to support a potential wacky project. Michael Bayne 2006-12-19 21:45:43 +00:00
  • ae23946af0 seteuid()/setegid() support Landon Fuller 2006-12-19 20:38:18 +00:00
  • fc284c2e58 Let's use one copy of this identical code Landon Fuller 2006-12-19 19:46:10 +00:00
  • f91aaf6ba1 Mac OS X support Landon Fuller 2006-12-19 19:45:09 +00:00
  • 8c346c4f4f Don't set the other texture buffers for cards that don't support multi-texturing. Andrzej Kapolka 2006-12-19 02:22:03 +00:00
  • 871e38149b Added a new slider mode. Michael Bayne 2006-12-19 01:55:53 +00:00
  • bf6eb30ef6 Whoops added scale caching to the wrong method. Michael Bayne 2006-12-18 04:24:23 +00:00
  • 7b47faa5ed Make it easy to scale a BImage when loading it. Michael Bayne 2006-12-17 23:31:10 +00:00
  • 493e1f1a8b New type of sprite that wraps an animation. This is useful for moving animations. It's also useful, thanks to some wackiness in the MediaPanel for making animations appear in appropriate places in the render order compared to sprites. Mike Thomas 2006-12-16 00:51:03 +00:00
  • e7d9acdad6 Delete jar files when cleaning. Michael Bayne 2006-12-15 23:21:27 +00:00
  • d2aabbcfae Added the ability to stop and reclaim all the sources without fully disposing the sound group. Mark Johnson 2006-12-14 23:00:21 +00:00
  • 11f82ff097 Add hooks so that other fringers can muck around with tiles to do art swapish stuff. Dave Hoover 2006-12-13 21:53:10 +00:00
  • 23f305aa81 Make the first sentence not overlong so as to play nicely with javadoc. Michael Bayne 2006-12-05 07:00:42 +00:00
  • 20021d7eab Fixed typo. Michael Bayne 2006-12-05 06:59:48 +00:00
  • 4ae22890bf Use our surprisingly handy new method. Michael Bayne 2006-12-05 06:58:04 +00:00
  • cd97adf00b Track bounds changes for our underlying sprite in such a way that we dirty things properly if they do. Simply stealing our target sprite's _bounds will not result in the necessary calls to addDirtyRegion() if they change due to calls to setLocation() on our (now unmanaged) target sprite. Michael Bayne 2006-12-05 06:52:54 +00:00
  • 7850123988 Factored some duplicated code into a shared method that can be used to easily and efficiently dirty old and new bounds when our bounds change. Michael Bayne 2006-12-05 06:51:41 +00:00
  • 8286ef88c4 Patch to BobbleAnimation (which we don't seem to use anywhere) from nvanderh. Michael Bayne 2006-12-05 06:25:23 +00:00
  • 562b1f11ab Patch from nvanderh: handle dirtying properly if our bounds change between frames. Michael Bayne 2006-12-05 06:21:33 +00:00
  • e74970ac1e Also need to adjust the path to find localized resource files if we come through the getResource/getImageResource calls that pass us a resource set. Mike Thomas 2006-12-02 01:41:28 +00:00
  • 227108e7fa Cope with the sad bastards who have only one texture unit. Andrzej Kapolka 2006-12-01 20:06:59 +00:00
  • 5fda18ef31 Add two features our multi-locale yohoho is going to need: - Ability to set a locale prefix in which to search for locale-specific images. - Ability to clear the image cache (we want to do this when we switch locales, otherwise we end up with wrong-language images cached.) Mike Thomas 2006-12-01 18:49:09 +00:00
  • 4c61406ea8 Moved Bang's handy ImageCache into our handy JME extensions library. Michael Bayne 2006-11-26 00:11:30 +00:00
  • 8fc51080a8 OK, that wasn't so hard. Enable all of the "quick compare" flags, which force states to be reapplied for every batch when disabled. Andrzej Kapolka 2006-11-17 00:16:59 +00:00
  • 929dd438b8 The viewer is only in tests/. Michael Bayne 2006-11-16 23:38:06 +00:00
  • afaa0153b6 If we don't have xml-writer avoid compiling all the XML scene crap (and unfortunately also the Miso Viewer). Michael Bayne 2006-11-16 23:34:01 +00:00
  • 81cd97edc7 New libs.dir business. Michael Bayne 2006-11-16 23:13:21 +00:00
  • cfe8c0f2df Updated to reflect changes in JME and changed hashCode to hash on the node name instead of the identity, to ensure consistent ordering. Andrzej Kapolka 2006-11-16 23:11:27 +00:00
  • a8e1855207 Use distlib.dir. Michael Bayne 2006-11-16 21:26:58 +00:00
  • c8d5239edc Handle the clear command in a ChatView Mark Johnson 2006-11-09 01:01:51 +00:00
  • 20922a1cf1 Rather than getting the tile count from the raw image each time (as TileSet.getTileCount does for certain tilesets), keep a copy of the number of tiles we're counting. Mike Thomas 2006-11-08 19:11:16 +00:00
  • 46616164f4 Use utility method ArrayUtil.copy. Andrzej Kapolka 2006-11-08 03:07:19 +00:00
  • 95cc9ea2ef Java 1.6 includes a javax.swing.GroupLayout, so be specific about the things we're importing from samskivert. (Our style nowadays is to always explicitely specify imports.) Ray Greenwell 2006-11-07 23:56:07 +00:00
  • 09627624c6 Switch to using JME's serialization mechanism, which promises a degree of version safety (meaning we won't necessarily have to recompile all the models when we add a new field) and should help avoid the frequent binary changes to which Java serialization is prone. Andrzej Kapolka 2006-11-07 03:14:35 +00:00
  • 04a833f169 Obscure password information when we log URLs. Michael Bayne 2006-11-06 23:57:45 +00:00
  • 434c5f86c2 Probably only need one of those. Andrzej Kapolka 2006-11-01 02:17:22 +00:00
  • a7c56949aa Translation for camera position option. Andrzej Kapolka 2006-11-01 02:10:39 +00:00
  • 261bc3a9ee Added option to show camera position. Andrzej Kapolka 2006-11-01 02:09:06 +00:00
  • 61b8e6792a Added the ability to check if a sound is currently playing. Mark Johnson 2006-10-27 18:33:24 +00:00
  • db91a42b05 More juicy fallthrough bug finding. Michael Bayne 2006-10-26 23:09:43 +00:00
  • e1c864ff46 Fixed NPE in model variant handling. Andrzej Kapolka 2006-10-24 20:59:25 +00:00
  • 3f2885496e Switched attribute name from "radpersec" to "velocity". Andrzej Kapolka 2006-10-20 18:43:18 +00:00
  • 7ea2db3111 Updated to match new version of JME. Andrzej Kapolka 2006-10-19 18:35:35 +00:00
  • 4175ec61da Let's allow crop mask images to be optional as well Mark Johnson 2006-10-19 18:29:28 +00:00
  • a2f36abd2b These are not in the shared library directory but rather the project's top-level library directory. Probably we need an alias for that but lib/ will do for now. Michael Bayne 2006-10-19 01:27:07 +00:00
  • 41d9f206d5 Moved the Max exporters here to live with the model code. Andrzej Kapolka 2006-10-18 00:14:16 +00:00
  • 7bf691a518 Protect against negative bounds sizes. Mark Johnson 2006-10-17 21:09:24 +00:00
  • 2c9eb850da Composite masks after generating the shadows so we can mask the shadows Mark Johnson 2006-10-17 20:41:23 +00:00
  • 0dc6586e6a For models with locked transforms (i.e., props), don't bother trying to keep the world bound up-to-date; it won't change, and updateWorldVectors has no effect. Andrzej Kapolka 2006-10-14 00:49:23 +00:00
  • 95500d74f3 Use project.dir. Michael Bayne 2006-10-13 23:59:04 +00:00
  • b95a59c35c Updated snapshot target. Michael Bayne 2006-10-13 22:43:08 +00:00
  • 79901ef5e2 Added proper 'snapshot' target. Michael Bayne 2006-10-13 22:34:05 +00:00
  • 53e5b66308 Out with obsolete file. Michael Bayne 2006-10-13 22:29:34 +00:00
  • a40a420bf6 Define our library dependencies in an includable project XML file. Michael Bayne 2006-10-13 22:25:42 +00:00
  • 69277175c8 Build file changes to make Nenya work with the new build world order. Michael Bayne 2006-10-13 02:13:51 +00:00
  • fd06ed1481 Added support for model variants: subconfigurations with different textures, etc., that share the same mesh and animations. Andrzej Kapolka 2006-10-11 18:42:48 +00:00
  • 3d6aa4cd15 Do the right thing with localtype. Michael Bayne 2006-10-11 00:44:30 +00:00
  • 4206ecd4a7 Implement the new ChatDisplay interface. Michael Bayne 2006-10-10 21:50:26 +00:00
  • c6f1691bb7 OK, in this case the problem existed mostly between my keyboard and my chair. I better get that fixed. Andrzej Kapolka 2006-10-09 21:43:49 +00:00
  • 37e93d30c7 Rather than trying to invert the model transform, just recompute the bounds after temporarily setting the transform to identity. I think there are still issues with JME's bounding volume transformations, but they seem to err on the side of larger bounding volumes. Andrzej Kapolka 2006-10-09 18:53:41 +00:00
  • ead4e4d89d Don't freak out if we're reinitialized. Just replace the resource manager reference and leave the same Handler registered. Michael Bayne 2006-10-06 21:00:18 +00:00
  • 24b2d86f64 It turns out that we can just let our normal RepaintManager stuff repaint the applet. We don't need to do the same restore from back buffer stuff we do for a ManagedJFrame. Michael Bayne 2006-10-06 20:14:01 +00:00
  • a1a7e349bb Don't use Matrix4f.invert; something broke when I updated JME, and the bounds weren't being recorded correctly (hence they were interpreted as out of view when they weren't, and the models failed to appear). Andrzej Kapolka 2006-09-11 17:25:41 +00:00
  • 8eaf39b4f5 Cope with null list when attempting to remove overlays. Andrzej Kapolka 2006-08-29 20:44:32 +00:00
  • 164e646a16 Added a visitor class for performing operations on all instances of Spatial-derived classes in a scene graph. Andrzej Kapolka 2006-08-29 20:12:11 +00:00
  • bb05bd3f3f Use the samskivert Predicate. Ray Greenwell 2006-08-28 18:39:13 +00:00
  • af2f554940 A simple interpolating cubic spline path that assumes that all the points on either the x or y axis are equal and will interpolate the z values. Mark Johnson 2006-08-25 18:30:33 +00:00
  • a529163528 Whoops, fixed typo. Michael Bayne 2006-08-25 05:05:43 +00:00
  • dd7c611975 Various sandbox related fallbacks. Michael Bayne 2006-08-25 05:04:59 +00:00
  • 8d67918087 Missed a spot. Michael Bayne 2006-08-25 00:56:35 +00:00
  • 8fd0175a06 Copy alpha threshold to clones. Andrzej Kapolka 2006-08-25 00:43:37 +00:00
  • 1eff736540 Added options for alpha testing. Andrzej Kapolka 2006-08-25 00:39:45 +00:00
  • 9ed3f62af7 Some further FrameManager wrangling and a proper bridge for managed applets. Michael Bayne 2006-08-25 00:34:18 +00:00
  • 22b867bb61 Use the average of the three triangle vertices (rather than the first vertex) to compute the depth used for sorting. There are still annoying artifacts, but I've already spent too much time exploring all the ways to sort these things. Andrzej Kapolka 2006-08-24 23:27:42 +00:00
  • 8e0bdacd05 No more creation observation. Michael Bayne 2006-08-24 00:42:31 +00:00
  • f8c230df6f Added option to depth-sort the triangles in transparent meshes. I tried to optimize this, and seems reasonably fast, but not fast enough to enable it for all transparent meshes. Hopefully the artists can improve performance by merging meshes together, and we can strike a happy balance between sorting by mesh and sorting by triangles. Andrzej Kapolka 2006-08-23 23:14:38 +00:00
  • 4a4f9755c8 Exclude animation transform targets when locking immobile models. Andrzej Kapolka 2006-08-22 22:20:47 +00:00
  • a6aab0c177 Added options for specifying the filter and mipmap parameters for model textures, as well as for using an emissive map. Andrzej Kapolka 2006-08-22 20:23:42 +00:00
  • f4a6554fd0 Allow a custom chat button to be added to the generic chat view. Michael Bayne 2006-08-21 23:42:29 +00:00
  • f87f335ca7 Added the ability to render meshes in multiple passes with different render states. Cleaned up some formatting. Andrzej Kapolka 2006-08-11 21:46:21 +00:00
  • 7f92496425 Hide nodes not included as targets in an animation. I haven't tested all the units with this; there's a chance some of the animations will have to be re-exported if they mistakenly omit nodes. Andrzej Kapolka 2006-08-03 18:21:28 +00:00
  • 844e2564fd Block keyboard and mouse events before the context is initialized. Andrzej Kapolka 2006-08-03 00:11:02 +00:00
  • 4948b4c2fc Use a different flag than CULL_ALWAYS to indicate that nodes have no mesh descendants so that marker geometries can start effects going. Added an option for controllers to avoid accumulating time when offscreen in order to avoid systems' overcompensating for lost time. Andrzej Kapolka 2006-08-02 23:52:42 +00:00
  • 260b8a8a09 Allow using the model's root node as a controller target. Andrzej Kapolka 2006-07-31 22:00:00 +00:00
  • 6883bf966d Removed the code to get the emitter direction from the geometry normal (in favor of simply using the target's rotation) and added a flag to prevent culling the target. Andrzej Kapolka 2006-07-28 03:15:28 +00:00
  • 5376be6a88 What's everyone's favourite kind of safety? Mark Johnson 2006-07-22 00:35:05 +00:00
  • 6913e5a127 Created an ExtendedTraversalPred that can check if the movement from one tile to another is traversable instead of just the destination being a traversable tile Mark Johnson 2006-07-21 08:23:42 +00:00
  • 005043bf6c Handle CloneNotSupportedException in a standard and most-correct way. Ray Greenwell 2006-07-13 18:08:03 +00:00
  • 62104e811c Cleaned up the snapshot building directives. Michael Bayne 2006-07-12 18:51:08 +00:00
  • 55487df0f9 Need junit jar. Michael Bayne 2006-07-12 18:50:48 +00:00
  • 3f350e1a25 Let's not check in my peculiar symlinking habits. Michael Bayne 2006-07-12 17:32:53 +00:00
  • 1ad58e3553 Use location override for loaded JME files. Andrzej Kapolka 2006-07-11 00:17:45 +00:00
  • 44ddf2f72e Copy sphere map setting to instances. Andrzej Kapolka 2006-07-09 00:47:15 +00:00
  • 70849cb3dd Fixed typo. Michael Bayne 2006-07-05 01:02:05 +00:00
  • 4203ac53f6 Update the render state of the imported JME file after loading it. Andrzej Kapolka 2006-07-01 02:12:51 +00:00
  • 7baf533076 Added an option to use textures as sphere maps (this will require recompiling the models). Andrzej Kapolka 2006-06-28 01:53:09 +00:00
  • ade2d7b79b Allow controllers to specify the name of the node they will attach to, by default use the same name as the controller Mark Johnson 2006-06-27 20:50:08 +00:00
  • 56a74d5f0e - Can start an animation at any frame - Can stat animations running forwards or backwards - Can reverse the flow of an animation - Can pause and resume animations Mark Johnson 2006-06-24 01:21:57 +00:00
  • 2d673038c3 Include NenyaLog in the -media bundle as that's who uses it. Perhaps util and tools should just use the media/Log but we'll leave this for now. Michael Bayne 2006-06-23 22:41:03 +00:00
  • 1d75e3eab6 Include the tools bits (compiled config) into nenya-media. Michael Bayne 2006-06-23 21:28:27 +00:00