0e60a76e2b
Interval.Runnable -> Interval.RunBuddy
Ray Greenwell
2005-12-05 19:41:44 +00:00
d57adeca1c
Big fat bernie OccupantInfo revamp. Now:
Michael Bayne
2005-12-03 03:05:06 +00:00
15ea2134e3
New type of CardSprite using the micro-card images.
Mike Thomas
2005-12-03 00:37:30 +00:00
4e179766df
- Update our own summary after our board is set (so that it'll update if we re-enter a game in which we had a non-empty board). - Made updateSelfSummary() public to support a change in yohoho.
Ray Greenwell
2005-12-01 23:54:00 +00:00
9f4f72318f
Don't start the action when we enter the game if we're already knocked out.
Ray Greenwell
2005-11-30 03:45:12 +00:00
dc3cf4aa28
Added a new type of chat message: a UserSystemMessage is a system message triggered by the activity of another user. The other username is provided so that the message can be muted if desired.
Ray Greenwell
2005-11-29 19:33:04 +00:00
9a42f14028
- Added a TeamPuzzleObject that stores teams and targeting information for team based puzzles - Created an overridable method in PuzzleManager to control whether the server will halt when the client and server boards are out of sync during debugging
Mark Johnson
2005-11-29 02:50:37 +00:00
8e35258105
Split off functionality of updating a player's board status and broadcasting it to its own function so that just that can be overridden.
Mike Thomas
2005-11-29 02:46:55 +00:00
852f32696b
More efficient serialization.
Ray Greenwell
2005-11-23 02:24:17 +00:00
1673cf0865
Changed some things around so that we can do operations that may require a round trip to the database after a user has changed user objects: the ClientResolutionListener will get a ResultListener that it should call when its all done.
Ray Greenwell
2005-11-18 02:32:26 +00:00
709c2d94bf
Have the delay path call pathCompleted when it is done. Otherwise it's going to be a very long delay.
Mark Johnson
2005-11-18 00:54:35 +00:00
9e533f3d3d
Added a DelayPath convenience class.
Mark Johnson
2005-11-17 23:56:41 +00:00
38ee3ae362
When a place is loaded, immediately schedule an unload in the future, if applicable, as it will only otherwise get checked when users leave the place. It's possible that we'll load and nobody will ever enter.
Ray Greenwell
2005-11-17 03:29:24 +00:00
91aacbf8a8
Scratch that; go back to using computeRotation.
Andrzej Kapolka
2005-11-16 03:36:29 +00:00
696c790585
Something is wacky with PathUtil.computeRotation, but I can't figure out what. Having tried various tweaks with no success, I finally punted and changed LineSegmentPath to use computeAxisRotation. I also fixed the order of cross products in that method and got rid of a redundant cross product.
Andrzej Kapolka
2005-11-16 02:28:25 +00:00
ee4d43e76f
Here too, _nondb is unsafe.
Ray Greenwell
2005-11-15 03:08:23 +00:00
672368ff92
Created a path for panning the camera.
Michael Bayne
2005-11-11 03:00:12 +00:00
176329e1ed
Various updates to allow a system where a user's visible name is not the same as their authentication name (which we leave in BodyObject.username). This turns out to be simpler than the system we adopted for Yohoho wherein we replace the player's user object after they select a character, but converting to this sort of system is way more work than would be worth it.
Michael Bayne
2005-11-10 23:18:58 +00:00
3c91e33f04
Fixed booched formatting.
Michael Bayne
2005-11-10 02:53:02 +00:00
26511ab165
Added fancy new mode for limiting the camera pan wherein we calculate the intersection of the frustum with the ground plane and restrict that rectangle to the interior of the desired region.
Michael Bayne
2005-11-10 02:40:33 +00:00
263a36e23e
Allow a TableConfig to be set prior to initialization. The configurator will use that as its prototype, and attempt to configure the UI elements to display the values in that config.
Ray Greenwell
2005-11-10 01:19:37 +00:00
e30ef0d8f6
Make sure the camera handler is created in canvas apps.
Andrzej Kapolka
2005-11-09 22:49:37 +00:00
4a1b366cd8
Provide the camera handler rather than the camera.
Michael Bayne
2005-11-09 22:34:15 +00:00
35caa3a79f
Revamped camera handling. We now have a camera handler through which all camera manipulations pass. It can then ensure that the camera remains within zoom and pan boundaries and is generally in the right place. It also handles camera paths, which adjust the camera through the handler. The input handler now has no camera logic but simply wires up camera manipulations to input mechanisms which is much cleaner.
Michael Bayne
2005-11-09 22:30:02 +00:00
86abf1675f
A bunch of business related to moving the camera along paths. Also repackaged camera handling stuff into com.threerings.jme.camera.
Michael Bayne
2005-11-09 20:01:28 +00:00
596d2a4708
blank() -> isBlank().
Michael Bayne
2005-11-09 04:00:16 +00:00
365634146c
Added tool/task to build sphere maps from cube maps.
Andrzej Kapolka
2005-11-07 02:20:13 +00:00
6e9687ac9b
Follow standard guidelines for predicate methods.
Michael Bayne
2005-11-05 02:25:56 +00:00
6cb4345c6c
Added method to get the Locale object that the client is using. This may be different from the default Locale.
Ray Greenwell
2005-11-04 02:16:05 +00:00
52b2a730c4
Enumerate things by package to avoid having ant foolishly blow past the maximum command line size.
Michael Bayne
2005-11-03 21:55:29 +00:00
c733a47eb4
Whoops, missed an obsolete import.
Michael Bayne
2005-11-02 00:19:29 +00:00
74912c63c8
Updates to work with refactored JME input handling.
Michael Bayne
2005-11-02 00:01:26 +00:00
3203ceb380
Cope gracefully if one of our shadow components is booched or missing.
Michael Bayne
2005-11-01 23:36:36 +00:00
eada0b7f50
r58@sally: elizabeth | 2005-10-25 03:59:59 -0700 Changed things around a bit to have the cheesy JabberChat run out of the box: * ChatDirector no longer freaks out when given null message bundles/managers. * MiCasa's ChatPanel is marked with a TODO item to stop passing in null messagebundles and messagemanagers to ChatDirector. * JabberApp and JabberClient have been adjusted to allow the user to specify which chatroom to join from the command line; I plan to implement this using BootstrapData when time permits.
Elizabeth Fong
2005-10-25 11:13:51 +00:00
4dba269585
Finished support for shadows. This is all some seriously complicated shit, but the shadows sure look cool.
Michael Bayne
2005-10-20 22:12:45 +00:00
882868abb4
Changed the way shadow layers will be handled because we only have a list of components when creating our character and we need to be able to determine which shadow layers are needed from the set of active components.
Michael Bayne
2005-10-20 18:10:03 +00:00
18833d7eb7
Added an isPrivate variable to GameObject. Set it if a table game is created as being private.
Ray Greenwell
2005-10-20 07:17:02 +00:00
8ca6e7a17c
Preconcatenate the translation into the transform so that we have that in there for hitTest().
Ray Greenwell
2005-10-19 18:46:49 +00:00
4848a3e2ca
A TransformedMirage is another mirage that is transformed by any AffineTransform.
Ray Greenwell
2005-10-19 18:28:40 +00:00
684834cc87
Report whether this component has an associated shadow.
Michael Bayne
2005-10-19 00:29:07 +00:00
a12b610007
Extend SimpleStreamableObject rather than TrackedStreamableObject.
Ray Greenwell
2005-10-18 00:06:30 +00:00
29c2cfddd1
Some optimizations and cleanup, since sprites are already sorted by render order in our internal list.
Ray Greenwell
2005-10-13 19:00:08 +00:00
dec1b3c6ef
Added a form of pickRandom that accepts a Random object.
Ray Greenwell
2005-10-13 09:19:22 +00:00
bb5e7fed19
Treasure Drop depended on the previous behavior, where if the hover sprite was still hitting it didn't check for a new one. Let's keep the check but instead let's just make sure that we ignore sprites that are non-action or non-hover or are disabled.
Ray Greenwell
2005-10-13 08:54:25 +00:00
aed0f94e50
Fixed my own retarded (broken) implementation of pickRandom. If a list had been passed in with 3 elements and the first one was the 'skip', then the second one would get picked 100% of the time.
Ray Greenwell
2005-10-13 08:52:13 +00:00
b7e6480b6f
The first steps toward supporting shadows and cropping in the character compositing system. These changes will not affect systems (like Yohoho) that don't use said features.
Michael Bayne
2005-10-13 00:00:33 +00:00
bd7c2caab9
Use new Interval.Runnable interface name.
Ray Greenwell
2005-10-12 21:02:18 +00:00
078e131c16
Force us to unsubscribe to our cluster when we log off.
Ray Greenwell
2005-10-12 19:12:37 +00:00
5bd90aa797
Stop using TrackedObjects.
Ray Greenwell
2005-10-11 19:17:43 +00:00
dd2468b140
Javadoc tidying up.
Michael Bayne
2005-10-08 22:21:19 +00:00
0351fa6ddc
Added a bunch of library dependencies.
Michael Bayne
2005-10-07 22:36:26 +00:00
10e32b117f
Made getActionFrames() public.
Michael Bayne
2005-10-05 21:57:34 +00:00
c442ce3023
Allow the sprite action handler to be customized.
Michael Bayne
2005-10-05 05:59:53 +00:00
1a61beac13
Added getComponentRepository().
Michael Bayne
2005-10-05 03:37:58 +00:00
1631093451
No longer insist that we ask the AWT to create optimal images. Instead an interface is provided that does that in a pluggable manner.
Michael Bayne
2005-10-05 01:39:45 +00:00
9c2fccb8eb
Added an optional array to store colorization classes for a character component class. Most users of the Cast system will be recoloring their character components and this allows such users to avoid using the sort of "component constraints" system that Yohoho uses when they don't need all the weird stuff like starter status or activation cost.
Michael Bayne
2005-10-04 20:34:06 +00:00
a9d72cf9c4
My change didn't properly "unhover" the old hover sprite when an overlapping but higher priority hover sprite was entered. Noted a refinement that would make getHit() more correct in the overlapping case.
Michael Bayne
2005-10-02 01:32:05 +00:00
d556c79088
Removed the optimization of not recalculating the hover sprite when we were still over a hover sprite as that prevents things from working properly if hover sprites overlap. This isn't much of a tradeoff as most of the time the mouse is not over a hover sprite in which case it does the full hit testing anyway.
Michael Bayne
2005-10-02 01:27:24 +00:00
f32b2de490
Enumerated legacy services which have class-based providers and regenerated those that do not using the template.
Michael Bayne
2005-09-27 23:09:45 +00:00
e52758ef2c
Allow the specification of legacy services for which provider interfaces should not be generated. Cleaned up the generated provider interface formatting a bit.
Michael Bayne
2005-09-27 23:05:40 +00:00
2d9dffc7ec
Automatically generate the provider interface when generating the FooMarshaller and FooDispatcher. This means we will no longer be able to make FooProvider a class that directly handles FooService methods, but the savings in confusion for first time users of the framework will more than make up for the minor inconvenience.
Michael Bayne
2005-09-27 22:27:04 +00:00
4fbb911d7c
Use a sublist view rather than removing and adding cards one by one.
Andrzej Kapolka
2005-09-27 21:58:10 +00:00
7fb4eafbf8
How have we not previously been screwed by the fact that an Error (like NoSuchMethodError) sticks a fork in the event dispatcher thread?
Michael Bayne
2005-09-27 04:38:33 +00:00
277af53513
We shouldn't be using OidLists to report winners/losers/players knocked out.
Ray Greenwell
2005-09-27 01:50:29 +00:00
484c3ff86d
Wrapped long line.
Michael Bayne
2005-09-26 00:11:02 +00:00
ede0d9f471
Broke out sending the player-ready signal to the server into a method so that it can easily be overridden.
Ray Greenwell
2005-09-23 02:00:52 +00:00
88e72fbbf6
Call endPlayerGame() before we finish the bodyLeft() processing because if the leaving player was the last human player in the room, bodyLeft() will result in a call to placeBecameEmpty() which will shut the game manager down before it has a chance to end the game cleanly as a result of said player leaving.
Michael Bayne
2005-09-22 19:52:58 +00:00
5fe4dc5a37
Allow editing of a field with a pulldown (combobox).
Ray Greenwell
2005-09-21 07:37:55 +00:00
51acbb09f4
Only set the value if it's changed.
Ray Greenwell
2005-09-21 07:36:09 +00:00
c9bd489c0b
Had the beans above the frank.
Michael Bayne
2005-09-21 02:19:53 +00:00
103e145f1d
Updated to reflect changes to JME.
Michael Bayne
2005-09-21 02:11:37 +00:00
7f34a9cfaf
Catch and log runtime exceptions when finishing a move-to request and inform the client that the shit hit the fan so that it's not locked from making any other move requests.
Ray Greenwell
2005-09-16 00:36:21 +00:00
f75d7d6f31
Update to cope with the new JME world order.
Michael Bayne
2005-09-15 20:52:15 +00:00
77a28c401c
Added isRotating(); changed the default camera velocity to be in line with the other velocities.
Michael Bayne
2005-09-09 00:42:15 +00:00
456444da26
Added support for smoothly rotating the camera.
Michael Bayne
2005-09-08 23:45:51 +00:00
f1511a8398
Fixed comment; the same prefix is used for normal-height and low walls.
Andrzej Kapolka
2005-09-07 23:23:06 +00:00
00ae2e251c
Added support for "low" walls/attachments.
Andrzej Kapolka
2005-09-07 23:19:17 +00:00
dd44bb4f69
Removed unneeded and improper Runnable check.
Michael Bayne
2005-09-06 18:32:37 +00:00
5502936535
Instead of relying on toString() returning something sensible, we go back to using the class name but get the appropriate class in the case of RunQueue queued intervals.
Michael Bayne
2005-09-06 18:20:22 +00:00
92e4e9cfaf
There are zillions of invocation dispatchers registered with a multitude of codes. Currently the unit dump that is done once every 15 minutes is chock-full of one-off units. Let us report the short class name of the dispatcher, rather than the code with which an instance is registered.
Ray Greenwell
2005-09-05 05:38:58 +00:00
c3f418d1ac
Changed our frame participant to be a non-anynonmous class to support subclassing it in the SwordController.
Ray Greenwell
2005-09-01 21:52:19 +00:00
d5ec5675d7
Added a comment about possible return values.
Ray Greenwell
2005-08-29 21:42:11 +00:00
91576fcfd3
Life is a lot easier if our observers are notified in the order they are registered rather than in reverse. I'd like to make this change to media.AbstractMedia as well but no doubt zillions of things depend on the current notification ordering for that package.
Michael Bayne
2005-08-25 22:12:07 +00:00
ca04c00c44
Big chat revamp to migrate various useful things from Yohoho like /command handling, chat history support and chat mogrification into the base framework.
Michael Bayne
2005-08-24 21:59:50 +00:00
18fa50cb78
Temporarily use renamed constant.
Michael Bayne
2005-08-24 18:47:21 +00:00
b7f02502aa
Track max queue size and total events dispatched in an extensible stats object that can be (and is) provided to external callers.
Michael Bayne
2005-08-24 18:28:36 +00:00
f39306a793
New bui package.
Michael Bayne
2005-08-23 18:58:24 +00:00
fd05f9aad5
com.jme.bui -> com.jmex.bui.
Michael Bayne
2005-08-23 18:56:36 +00:00
ea646a4d46
Allow subclasses of MisoScenePanel to skip arbitrary scene objects, as opposed to just object without actions.
Andrzej Kapolka
2005-08-23 00:06:52 +00:00
ef65ee5644
Do things in a way more amenable to subclassing.
Michael Bayne
2005-08-22 18:30:07 +00:00
1afa3712fb
Cope with failing to initialize the sound system.
Michael Bayne
2005-08-22 18:29:47 +00:00
97a909c98f
SortedIterator -> Collections.getSortedIterator().
Ray Greenwell
2005-08-15 22:54:45 +00:00
de892e0187
Catch exceptions in a few tender places during creation of a place and try to log information. There was an exception in here somewhere that froze a big tourney last week but the stack trace was optimized out by hotspot (damn thee!). Hopefully this will at least narrow it down, and possibly prevent total brokenness.
Ray Greenwell
2005-08-12 22:22:13 +00:00
6e07b60f48
Fixed code to detect invalid updates to not totally hose everything: it was trying to print where() which failed because it was doing so before all the values were intialized.
Ray Greenwell
2005-08-11 22:33:22 +00:00
b95a8056d1
Let's log a stack trace so that we can see where the damn error is, instead of having an error triggered right after this one that happens to print a stack trace look like the matching stack trace for the original error.
Ray Greenwell
2005-08-11 22:30:40 +00:00
84c5a06d4f
Goodness, let's optimizee the common case: if two name objects ARE the same class and loaded from the same class loader we don't need to do two string compares.
Ray Greenwell
2005-08-11 19:15:24 +00:00
429a655ae8
Re-use one static rectangle for constraint ops. This should be safe if the method in which it's used is only called from the dobj thread.
Ray Greenwell
2005-08-10 01:35:07 +00:00
5fbb02bc34
Decode InvocationRequestEvent information as well.
Michael Bayne
2005-08-08 23:59:27 +00:00