Ray Greenwell
c1a92c761b
Keep track of which locations are portals and don't track users when they
...
move there and prevent more than one user from occupying a portal.
Removed unused method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1449 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-12 07:05:55 +00:00
Ray Greenwell
eadfe2bad1
Don't make the occupant move to the portal location when they traverse it,
...
they'll handle that themselves now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1448 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-12 07:04:41 +00:00
Ray Greenwell
e3df1a5894
Don't request to change locations if we're already there.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1447 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-12 07:03:23 +00:00
Ray Greenwell
b27a863f62
behavior change: null tiles are passable. Hopefully this doesn't break
...
anything, but it was required to make sprites walk off/on-screen.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1446 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-12 07:02:31 +00:00
Ray Greenwell
7de32e1c24
Be compatible with out superclass, LineSegmentPath, if someone
...
calls it's addNode() method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1445 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-12 07:01:29 +00:00
Ray Greenwell
7ffa3087e1
Don't switch to a rest action if null is returned by getRestingAction()
...
(used now in YoCharacterSprite)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1444 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-12 07:00:49 +00:00
Michael Bayne
ad5b77899f
We want to truncate rather than round; it's faster and more consistent
...
with the other math done in the rendering code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1443 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-12 01:11:55 +00:00
Michael Bayne
cfb8c77d2f
If we're using a path to drive the view, we need to let it know when we
...
scroll.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1442 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-12 00:51:24 +00:00
Michael Bayne
d7a41e61d8
We need the ability to instruct the path *not* to scroll with the view
...
(useful when the path is actually operating in virtual coordinates which
are mapped to scrolled view coordinates by the pathable).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1441 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-12 00:49:15 +00:00
Michael Bayne
1a3ad13d6e
Various and sundry revampage to make life easier when scrolling the media
...
panel to follow a path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1440 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-11 21:40:52 +00:00
Michael Bayne
d05d0c8558
Added getPath() to provide access to the path being followed by the
...
sprite.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1439 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-11 05:56:44 +00:00
Michael Bayne
544d2382ad
Extracted position computation into static method.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1438 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-11 02:39:14 +00:00
Michael Bayne
c1ccaac10d
Javadoc fixes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1437 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-11 00:52:37 +00:00
Michael Bayne
916513f306
Modified code that makes view follow path to not require an origin point
...
which was a wacky hack in the first place.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1436 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-11 00:05:31 +00:00
Michael Bayne
4c589d3802
Fixed up to conform to new setPath() signature.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1435 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-11 00:04:43 +00:00
Michael Bayne
cccd28ea9d
Now that paths drive the scrolling of our view, we can go back to the
...
simple line path calculations that don't suffer from the accumulated
rounding errors that our previous method did.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1434 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-11 00:03:30 +00:00
Ray Greenwell
0443a31294
extend SafeInterval
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1433 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-10 21:37:13 +00:00
Walter Korman
7a9946e0ad
Catch and report any exceptions thrown by Component.paint() to allow
...
peacable continued frame painting in cases where a component gets in a bad
way and fails to paint itself happily.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1432 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-10 21:31:56 +00:00
Walter Korman
43f7fc44c1
Modified simulator server interface to allow initializing the server with
...
asynchronous notification when initialization is complete.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1431 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-10 19:16:41 +00:00
Michael Bayne
a74f3e4422
Fixed up the code that outlines uncommitted values in red.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1430 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-07 18:48:41 +00:00
Michael Bayne
60a02f3c39
Wired up the field editor to generate and receive attr changed events.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1429 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-07 17:34:37 +00:00
Michael Bayne
6202c1a463
Beginnings of runtime control panel stuff.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1428 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-07 06:22:24 +00:00
Ray Greenwell
b81ab2f176
added systemMessage() which can optionally queue up a message for
...
when the game starts.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1427 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-06 22:13:56 +00:00
Michael Bayne
89d7a1078c
Handle the conversion from mixed to uppercase of fields like serverURL
...
properly (was generating SERVER_U_R_L, now generates SERVER_URL).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1426 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-06 07:18:10 +00:00
Ray Greenwell
b9ba9b3d66
bugfix: ImageSprites constructed with their frames were hosed and never
...
got drawn.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1425 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-05 23:38:18 +00:00
Michael Bayne
4368463907
Created a SafeInterval that requeues itself on the client invoker thread
...
(the main client thread, which will generally be the AWT thread unless the
client is being used in a situation where there is no AWT) to avoid bad
thread clashy.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1424 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-05 02:50:57 +00:00
Ray Greenwell
b46aa1c1c3
Default all games to rated.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1423 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-05 00:47:13 +00:00
Michael Bayne
67492e13f0
Modified client observer notification process to:
...
a) use an ObserverList in SAFE_IN_ORDER_NOTIFY mode which circumnavigates
any funny business like observers being added or removed while we're
notifying the observers.
b) require that the clients be notified on the main client thread
(generally the AWT thread) by using the invoker; we had a problem
previously where clientDidLogoff() was being called by the communicator's
writer thread which caused all hell to break loose because everything
outside the client networking layer depends on running on the same thread.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1422 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-04 16:34:24 +00:00
Michael Bayne
1b3b5bb794
Wrote tools to ease the process of renaming tilesets.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1421 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-04 02:50:02 +00:00
Walter Korman
c4c8e2297b
Added the notion of a round with an associated round identifier that is
...
incremented whenever the game is reset. Games that don't make use of the
resetting functionality essentially consist of a single round.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1420 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-03 21:08:57 +00:00
Ray Greenwell
bce33033d8
removed setRateGame()
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1419 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-01 23:14:53 +00:00
Ray Greenwell
b900adeeeb
Moved in the setRateGame() method from PuzzleManager; have it set the
...
rated flag in the gameconfig.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1418 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-01 21:21:20 +00:00
Michael Bayne
7d9dc465a0
Updated debugging output.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1417 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 22:14:44 +00:00
Michael Bayne
eb04dd7ea4
Added a method which can be used to determine if an object is currently
...
part of a transaction.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1416 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 20:47:55 +00:00
Michael Bayne
2740e670cb
Modified LinePath so that separate time stamps are kept for the x and y
...
directions, otherwise movement in one direction will unnecessarily reset
the "move stamp" for the other direction in which we didn't actually move.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1415 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 20:47:32 +00:00
Michael Bayne
af28864778
New interface related to repackaged path stuff.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1414 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 07:34:45 +00:00
Michael Bayne
eb8e85c503
Test new path-scrolled media panel.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1413 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 07:34:23 +00:00
Michael Bayne
844b0672f9
Reference path stuff in new package.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1412 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 07:34:11 +00:00
Michael Bayne
823de4a1a0
Added means by which a view can be scrolled to follow a path.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1411 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 07:33:52 +00:00
Michael Bayne
3261cff412
Removed debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1410 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 07:33:33 +00:00
Michael Bayne
ccbc47a7de
Separated path code from sprite code so that we can have other things
...
follow a path (specifically, I want to allow the media panel to be
"scrolled" along a path).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1409 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 03:38:03 +00:00
Ray Greenwell
f448ebe4f1
Create the polygon cache hash with custom parameters to the constructor
...
to optimize memory performance.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1408 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-30 22:21:51 +00:00
Michael Bayne
7c4f86e63a
pathBeginning() and pathCompleted() need to be public so that we can
...
create paths outside the media.sprite package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1407 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-29 23:27:14 +00:00
Michael Bayne
e00610ecdb
Ensure that we're loading our images through a BufferedInputStream.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1406 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-29 18:45:00 +00:00
Michael Bayne
3ff72e8a58
Fixed typo in comment.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1405 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-29 18:44:36 +00:00
Michael Bayne
587e89ef24
Created services for distributing delta times over the network which are
...
interpreted according to a globally established base time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1404 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-28 23:14:06 +00:00
Michael Bayne
9b88def20b
Took out the server ticks business because we're going to do delta times
...
in a more general purpose manner.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1403 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-28 22:54:43 +00:00
Michael Bayne
27866e0541
Moved configuration fiddling into config object.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1402 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-28 22:25:44 +00:00
Michael Bayne
fc0300d80d
Removed debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1401 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-28 22:07:13 +00:00
Michael Bayne
1492561985
Whoops, had that backwards.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1400 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-28 22:06:05 +00:00