Ray Greenwell
ccbd38f255
Cleaned up some bits that assumed that _pidx was always > 0.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3576 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 23:30:59 +00:00
Michael Bayne
919790557f
Removed debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3575 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 20:32:16 +00:00
Michael Bayne
862ff8a9eb
Catch Throwable because LWJGL kindly throws errors during initialization
...
in addition to exceptions. Yay!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 17:55:52 +00:00
Michael Bayne
56deaa4982
Catch errors when initializing OpenGL and allow them to be displayed to
...
the user.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 17:48:10 +00:00
Andrzej Kapolka
04bd9c768a
Changed AddObjectUpdate to a more general ModifyObjectsUpdate and added a service call to delete an object.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3572 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 03:51:13 +00:00
Michael Bayne
cf3a6e0a91
Allow the reading of the display configuration to be overridden.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3571 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 02:14:55 +00:00
Ray Greenwell
a5844db478
Rather that returning a String[] description, return a List.
...
Subclasses can now easily add their own descriptions on to the beginning
or end of their superclass's descriptions without having to do the
hokey pokey.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3570 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-23 23:17:24 +00:00
Ray Greenwell
fa2f528c10
Cleared just a small portion of the great clouds of crack smoke and made
...
the timers not invalidate _every fucking tick_, even if they're not even
showing!!!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3569 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-20 01:16:32 +00:00
Michael Bayne
a66f06bd3b
Added ability to limit the camera's panning; cleaned up input and mouse
...
handler creation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3568 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-19 18:02:07 +00:00
Michael Bayne
6d3f4c2465
Created LineSegmentPath fixed bug with path completion.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3567 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-19 00:21:28 +00:00
Ray Greenwell
0051fcb302
shutdown() is protected in our superclass, let's not widen access.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3566 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-18 01:04:20 +00:00
Michael Bayne
19ad750acf
A simple standalone converter into JME model format.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3565 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-18 00:00:46 +00:00
Michael Bayne
fcc517c3bf
Use a much larger frustum and don't set up the camera handler to exit our
...
application. We'll do that ourselves thanksverymuch.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3564 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-17 22:46:41 +00:00
Michael Bayne
d059c6288f
Include our media bits in the narya-jme.jar.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3563 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-17 22:46:08 +00:00
Michael Bayne
5c48cd2a1f
The font is no longer included with JME, so we'll stick it here.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3562 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-17 22:45:43 +00:00
Andrzej Kapolka
9213b23ce1
Added ratifyBodyEntry to PlaceManager.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3561 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-17 21:53:53 +00:00
Ray Greenwell
3e3dd1b840
Allow the start or end alpha levels to be outside the normal range so that
...
useful delays can be built into the beginning or end of the animation.
Detect bogus parameters in the constructor and throw an exception to
save developer head-scratching time when the animation doesn't actually
do any fading.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3560 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-17 20:16:31 +00:00
Ted V
94166728a8
Cleaner way to colorize multiframe images generated from tile sets.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3559 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-17 00:42:12 +00:00
Ted V
6acebaa55e
Added multiframe image accessor for tile sets.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3558 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-16 23:38:35 +00:00
Michael Bayne
7a00cd44bf
Allow "escape to exit" functionality to be disabled.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3557 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-16 22:35:56 +00:00
Michael Bayne
b6a8c2be58
Use a more sensible log name; removed unused import.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3556 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-16 22:08:55 +00:00
Michael Bayne
4757af99c6
No longer needed.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3555 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-16 22:08:16 +00:00
Ray Greenwell
a2b8874f46
Allow the userobject access controller to be overridden by ye subclasses.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3554 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-16 18:33:57 +00:00
Michael Bayne
ff3012c5f9
Implement sensible default object access policies at the Crowd level (no
...
one can modify anything, a select few events are allowed on the body
object by the body object's owner only).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3553 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-16 05:17:05 +00:00
Michael Bayne
c2ab172503
Put the basis for the token ring authentication stuff into Narya as we are
...
now using it in Yohoho, Game Gardens and Bang.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3552 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-16 04:51:11 +00:00
Andrzej Kapolka
a40de2ec51
Permit changing media render order as long as we're not in a tick. Removes the need to remove and re-add sprites, which was cancelling their paths.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3551 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-13 22:22:56 +00:00
Michael Bayne
3722bc3697
Updates to work with new BUI auto-attach/detach.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3550 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-12 22:23:55 +00:00
Michael Bayne
677455e5d7
Use colors.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3549 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-12 22:23:34 +00:00
Michael Bayne
367252cf51
Brought up to date with the new world order.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3548 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-12 21:58:12 +00:00
Ted V
c5024298fc
Fixme was fixed implicitly a while back; just cleaning up comments.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3547 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-12 18:51:57 +00:00
Ted V
64de3f4368
Player status is now initialized for all games. (And yes, I tested
...
that initBoard didn't generate some exceptions now that the player
status initialization occurs after board summary initialization. This
occurs in sword fighting and old drinking, for the record.)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3546 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-12 00:51:11 +00:00
Andrzej Kapolka
77a9438c69
Check the size of the hand to make sure the request isn't for an earlier trick.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3545 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-07 01:17:49 +00:00
Michael Bayne
0f4fe33c75
Preserve the event timestamp and modifiers.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3544 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-06 22:50:45 +00:00
Andrzej Kapolka
ff38ec6673
Don't generate InvocationExceptions that don't go to the client; silently ignore requests made after timeouts, generate warnings for other invalid requests.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3543 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-06 22:42:32 +00:00
Michael Bayne
35c3458cd1
Pulled layoutLabel() into a method so we can call it again if we want to
...
change our text.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3542 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-06 03:01:43 +00:00
Michael Bayne
8dec58c227
Don't rotate our scrolling vectors unless we're orbiting the camera.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3541 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-04 02:21:53 +00:00
Michael Bayne
4aa4419c9c
Provide a way to zoom the camera in and out programmatically, added keys
...
to roll the camera forward and back.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3540 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-03 23:45:01 +00:00
Michael Bayne
2caef9416e
Created a simple straight line path, made paths actually work.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3539 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-03 22:48:33 +00:00
Andrzej Kapolka
f8f6c210d6
Changed static constants.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3538 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-03 18:20:57 +00:00
Andrzej Kapolka
43a903c31c
Eliminated the hacky "play card" selection mode, since it's no longer necessary.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3537 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-03 18:18:40 +00:00
Michael Bayne
d6e4fe20c3
Use vsync, we don't like the tearing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3536 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-03 02:39:13 +00:00
Andrzej Kapolka
0793baaf22
Slight changes to cope with lag and unresponsiveness.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3535 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-03 01:49:10 +00:00
Ray Greenwell
ae0547a0ff
Cope with the bug we observed this morning as best we can, shut down
...
the conmgr (and in so doing, the entire server).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3534 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-02 18:52:20 +00:00
Andrzej Kapolka
e16a115575
Always invalidate media on shutdown to avoid remnants.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3533 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-02 00:57:58 +00:00
Michael Bayne
78d32af2f9
Separate our scene graph into user interface and geometry, reflect that in
...
the services we make available via the context. Added a sprite and path
framework not wildly unlike that in media but based around the JME
primitives.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3532 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-01 23:42:46 +00:00
Michael Bayne
6c5dc815eb
addChild() -> add().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3531 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-01 16:16:35 +00:00
Ray Greenwell
bc07aa1afd
Use a dobj transaction to bundle up the events that get dispatched during
...
each card play. More could be done, I just added this quickly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3530 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-30 21:37:59 +00:00
Michael Bayne
357ed12b9f
Switched the chat view and test app over to BUI. Modifide the build script
...
to create a narya-jme.jar file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3529 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-29 03:24:07 +00:00
Ray Greenwell
16322b1422
Added some warnings for illegal DSet operations and added a small
...
optimization in the process.
Previously, we dumped stack on the server if a entry add was illegal but
did nothing for update/remove.
On the client, we complained for updates and (indirectly) adds, but not
removes.
Now we complain everywhere.
And- as an added bonus, on the server we now do only one binary search for
updates and removals. Whee!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3528 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-29 02:30:23 +00:00
Ray Greenwell
f5e5d273e7
Moved ScoreAnimation to parlor/media so that games may make use of it.
...
Removed "puzzle fonts" from the narya library (lived in PuzzleBoardView).
Left convenience methods in PuzzleBoardView for creation ScoreAnimations,
as we like convenience.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3527 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-28 23:17:29 +00:00