Commit Graph

3619 Commits

Author SHA1 Message Date
Michael Bayne b88b142bd3 Added mostRecent() as that's the one we want to display rather than current
which is currently accumulating on the server and always zero on the client.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4224 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-25 23:23:23 +00:00
Michael Bayne 55b7933c5c Get a free toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4223 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-25 23:16:14 +00:00
Michael Bayne d40435b221 Accept and honor the reset parameter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4220 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-25 23:09:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Andrzej Kapolka 86fd2c05ae Use a gray background for contrast in the model viewer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4149 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-25 20:12:20 +00:00
Andrzej Kapolka 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4147 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-24 22:35:17 +00:00
Ray Greenwell 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4145 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-24 01:24:24 +00:00
Ray Greenwell 96f3d8e58e Avoid pointless usage of a server class. The first clue should have been
that it was a server class... ;)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4142 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-23 23:16:14 +00:00
Ray Greenwell 412c02cbaa Whoops! I forgot to check in the new StageLocation class,
also added a log error message to my equals() logic error checking.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4141 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-23 22:12:30 +00:00
Ray Greenwell 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'.

SceneLocation previously extended Location, and there were a lot of places
where they were used somewhat interchangeably, or a SceneLocation and
a regular Location were compared. This shouldn't be done anymore and I've
left in code that should dump stack if it occurs, so that we can spot
these logic errors at runtime.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4140 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-23 21:44:05 +00:00