Commit Graph

4143 Commits

Author SHA1 Message Date
Andrzej Kapolka 3fcc53f1b9 Make this method public, as it's now an override of a public method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4201 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-20 20:10:42 +00:00
Andrzej Kapolka dc3bcddeb1 Added basic JME import dialog to model viewer. With the latest version
of LWJGL, the AWT canvas releases its OpenGL context after rendering.  
Rather than redesign all event handling to take place in the update 
method, I put in a hack to grab the context back.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4200 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-20 19:36:23 +00:00
Ray Greenwell 694152013c Added toHex(uint).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4199 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-20 19:21:10 +00:00
Michael Bayne 78a8d6fe62 Nix superfluous log message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4198 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-17 23:12:21 +00:00
Michael Bayne 9e0eac5944 Handle non-Joonix file paths properly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4197 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-17 05:07:26 +00:00
Mark Johnson d2b9e351ba Genericized StreamableArrayList
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4196 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-17 00:31:25 +00:00
Ray Greenwell b378bda604 Log a warning for unhandled commands.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4195 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-16 01:22:43 +00:00
Ray Greenwell b9509e434e Utility method for creating a menu item that will post controller commands.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4194 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-16 01:22:25 +00:00
Ray Greenwell 1ce4f4a7e4 More StringBuffer -> StringBuilder.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4193 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-13 23:06:48 +00:00
Michael Bayne 6c8b75af98 We call into a library that expects StringBuffers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4192 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-13 23:06:44 +00:00
Ray Greenwell 79c6427c21 StringBuffer -> StringBuilder.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4191 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-13 22:42:20 +00:00
Ray Greenwell 3e4ff3564d Moved this general-purpose flash/mx class here, from the msoy project.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4190 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-13 21:03:25 +00:00
Andrzej Kapolka c90819ca69 .xml -> .mxml
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4189 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-13 18:46:45 +00:00
Michael Bayne 6deb8cd2cf RandomUtil moved to samskivert library.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4188 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-13 18:03:48 +00:00
Ray Greenwell f7983050e9 Modernized something that must have been around prior to the ability to
post Runnables to the omgr queue.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4187 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-12 23:07:25 +00:00
Ray Greenwell f6dd283b2a Implemented positionRect and supporting functions.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4186 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-09 20:59:32 +00:00
Ray Greenwell 17abf35d05 DisplayUtil, mostly placeholder now, but I'll write the rest of this method
tomorrow.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4185 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-09 01:59:32 +00:00
Ray Greenwell d948eb4f37 Added a really basic Config class for storing prefs clientside,
wired it up.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4184 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-08 22:12:19 +00:00
Ray Greenwell e6e96c25fc Ported over the automatic port-retrying code, but had to modify some things
due to differences in the way flash throws errors (and apparently can't
re-use a socket object).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4183 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-08 21:44:27 +00:00
Andrzej Kapolka e6cad91066 When transforming bones into mesh space to deform the skin, use the
mesh's transform in the reference position rather than its current 
transform.  Otherwise, when we try to scale the mesh up, the bones get 
scaled down, and the scale goes away.  Also fixed a couple minor bugs in 
the viewer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4182 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-08 01:45:40 +00:00
Michael Bayne 7090277d99 Revamped the frame manager to support operating on non-JFrames where our Window
and our RootPaneContainer might be different things (the Window would naturally
contain the RootPaneContainer but wouldn't necessarily be the same component).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4181 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-07 21:54:12 +00:00
Andrzej Kapolka 04af1ed28a Added support for animation sequences to the model viewer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4180 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-07 20:15:19 +00:00
Andrzej Kapolka fab75fbd21 Added camera panning and recenter command to model viewer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4179 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-07 19:35:06 +00:00
Ray Greenwell e541cf3db3 More generically clone ourselves.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4178 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-07 18:48:47 +00:00
Andrzej Kapolka 6c6061c62a Fixed lighting (i.e., removed it) on pivot rendering.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4177 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-07 18:29:53 +00:00
Andrzej Kapolka b7ca8f50f4 Changed animations to allow support for morph style (linear blend
between deformed meshes) and flipbook style (simple switch between 
deformed meshes) in addition to skin style (meshes deformed in real 
time).  Currently, the resolution is the same as the animation frame 
rate.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4176 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-06 23:00:43 +00:00
Michael Bayne 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).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4175 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-06 15:51:48 +00:00
Ray Greenwell 07c2666e8b Temporarily turn Integer keys into just ints.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4174 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-06 02:09:01 +00:00
Andrzej Kapolka a2b6ddd2db Copy useDisplayLists setting to instances.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4173 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-06 01:43:52 +00:00
Andrzej Kapolka e3f54a52bb Added ability to quantize animations to a set of preskinned meshes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4172 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-06 01:37:34 +00:00
Mike Thomas cd8c665cf5 Pull out the ClientManager creation so it can more easily be overridden.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4171 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-06 01:01:07 +00:00
Ray Greenwell 251566b321 - Added TokenRing
- Specify override first on overridden methods.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4170 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-05 21:28:00 +00:00
Ray Greenwell a442646791 Supress extra debuggy logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4169 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-02 02:22:11 +00:00
Ray Greenwell 86dd34a0f4 Added the TellHandler.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4168 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-01 17:35:23 +00:00
Michael Bayne 56216c27e8 Would you believe, more type-safety?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4167 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 04:44:21 +00:00
Michael Bayne 83cffce259 Regenerated object definitions with the new hotness.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4166 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 04:16:57 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4165 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 04:16:04 +00:00
Michael Bayne 331c3b285f A whole monkey load of type-safety and the addition of typedClone() which
returns a properly typed clone of the DSet in question.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4164 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 04:14:42 +00:00
Ray Greenwell 1ae124d584 Implementing clone() is apparently "required" for subclasses of Event.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4163 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 02:32:17 +00:00
Andrzej Kapolka 69c20acd43 Brought things up to date with the latest JME code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4162 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 02:21:04 +00:00
Ray Greenwell 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4161 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 01:27:13 +00:00
Ray Greenwell 2766a6c1f9 Added a toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4160 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 01:16:19 +00:00
Ray Greenwell 9e3c46c7a5 Unwrap integers before assigning properties. God, I wish I could just
autotranslate at the network layer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4159 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 01:15:58 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4158 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-30 22:12:15 +00:00
Ray Greenwell a3dfc741c6 Fixed up some event constructors that didn't have zero-arg forms.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4157 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-30 21:08:39 +00:00
Andrzej Kapolka 3a7fe70124 Clear out original-to-copy mapping after creating copy so that we don't
prevent the last copy from being garbage collected.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4156 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-30 16:09:14 +00:00
Andrzej Kapolka e04f7eb1f8 Unbind buffer from source before we attempt to delete it, allow
re-resolving clips waiting to be unloaded.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4155 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-29 02:53:50 +00:00
Ray Greenwell 6b3aba0225 Allow zero-arg construction (for unserialization).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4154 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-27 01:51:33 +00:00
Ray Greenwell 074b7f4547 Added a note about a failed attempt at making things better.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4153 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-27 01:04:11 +00:00
Ray Greenwell cdd7a64b04 Renamed some "inner" classes, removed debugging lines.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4152 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-26 22:39:31 +00:00