Commit Graph

4161 Commits

Author SHA1 Message Date
Michael Bayne 012549d177 Differentiate between interactive reports and periodically generated reports.
Only reset our accumulating counters for the periodic reports.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4219 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-25 23:03:51 +00:00
Michael Bayne 091fda3e77 Revamped stats tracking so that it all happens on the same reporting interval.
Turned off the very verbose unit profiles as we don't currently use them. Wired
up SIGUSR1 to dump a report to the log.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4218 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-25 22:47:42 +00:00
Ray Greenwell 459f12ded5 Copy Java's valueOf factory method for primitive wrapper classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4217 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-24 23:03:07 +00:00
Michael Bayne 2382fb5cd6 This was moved into Nenya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4216 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 21:51:02 +00:00
Michael Bayne 6424adf26d More log fixing. The tools package will move to Nenya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4215 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 19:40:55 +00:00
Michael Bayne ecac8e0f6d Move to our new Java logging based logging style which also fixes a conflict
between logging in the Narya util package and the Nenya util package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4214 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 19:32:51 +00:00
Ray Greenwell f6f3c89fe0 Moved to vilya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4213 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 19:20:52 +00:00
Ray Greenwell 9136cd4bce appendectomy
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4212 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 19:14:38 +00:00
Michael Bayne 0638ba824d We don't need the rsrc directory in Narya. It's resource free!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4211 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 19:06:37 +00:00
Michael Bayne c01703dc3f Whirled lives in Vilya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4210 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 18:35:30 +00:00
Michael Bayne c0a244cb8d Hold onto your hats kids, it's the biggest little refactor this side of the
Pecos. I'll sort out the per-project niggling bits in just a moment.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 18:12:45 +00:00
Michael Bayne 5ceed9c8b2 Nix the use of enum which is freaking out Proguard/Retroweaver. We'll sort it
out later when we're not in the middle of an Ice release.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4208 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-21 19:43:50 +00:00
Michael Bayne 2f3ecdf86d Some backwards compatibility bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4207 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-21 08:40:20 +00:00
Michael Bayne 0d887c9ede Cope with a lack of a KeyboardManager, base our idle check time on our minimum
idle time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4206 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-21 08:14:45 +00:00
Michael Bayne 85d60b6520 Factored out the idle tracking code from Yohoho.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4205 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-21 07:23:23 +00:00
Ray Greenwell aa5f38be5d Changed the way the Authenticator is created.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4204 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-21 03:47:32 +00:00
Mark Johnson 8093513183 Have play call StartObserver.soundStarted with a null sound when the
sound fails to play for any reason.  We use the StartObserver to time 
other effects with sounds, however if the sound isn't going to play, we 
still want the other effects to go ahead.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4203 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-21 02:49:46 +00:00
Ray Greenwell 6a8fcd80b7 Added a method to ensure a particular capacity for client preferences.
We'll call this with a big fat number whenever a non-guest logs in. The
first time we ask, the user will authorize the big fat storage, and it will
never ask again. Hopefully we can make it look like part of the login...


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4202 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-21 01:02:26 +00:00
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