d398c84a7b
Pass the mouse event so that other information can be obtained.
Michael Bayne
2003-04-19 00:25:13 +00:00
f0a1bf2311
Don't can all mouse button 1 presses; allow objects without actions to become the hover object if derived classes really want it (like the editor).
Michael Bayne
2003-04-18 23:19:13 +00:00
ffb9e3b4e4
Added code to enable bounds checking of calls to index. Not enabled by default because we can generally figure it out from the NPE and this gets called a crapload so we don't want to negatively impact performance.
Michael Bayne
2003-04-18 23:18:30 +00:00
6e967c699c
Was calculating footprint dimensions incorrectly.
Michael Bayne
2003-04-18 23:17:33 +00:00
7d58b4ed93
Fixed incorrect argument ordering.
Michael Bayne
2003-04-18 22:59:18 +00:00
81f90d1ee6
Fix bounding polygon calculation.
Michael Bayne
2003-04-18 22:59:04 +00:00
a4d16abb4c
Added code to support scene editing: adding and removing objects, updating base and fringe tiles.
Michael Bayne
2003-04-18 18:33:31 +00:00
3a7f7f6bdb
Allow an object to be relocated (which requires recalculation of our cached screen bounds, etc.).
Michael Bayne
2003-04-18 18:33:07 +00:00
1182241d57
Removed highlighting code; cleaned up some other stuff.
Michael Bayne
2003-04-18 18:32:24 +00:00
50bf565485
Canned setBaseTiles().
Michael Bayne
2003-04-18 18:31:21 +00:00
27184f6ddd
Fixed bug in footprint calculation.
Michael Bayne
2003-04-18 18:30:57 +00:00
d5701962a3
The big fat bernie revamp! Er, big fat miso revamp rather:
Michael Bayne
2003-04-17 19:21:17 +00:00
3de98670db
Give scene managers the opportunity to do something when a player traverses a portal and give them the ability to position the player other than on top of the entering portal when entering.
Michael Bayne
2003-04-17 19:17:07 +00:00
025cb91668
Ensure that any media inserted between the call to tick() and the call to renderAllMedia() is ticked in all circumstances and ticked exactly once.
Michael Bayne
2003-04-15 21:27:22 +00:00
7aeae0d4c3
Change removeAnimation() to abortAnimation(); that's what is happening.
Michael Bayne
2003-04-15 00:39:20 +00:00
3bdeed559f
- Do time math with the last timestamp rather then precomputing the next timestamp so that we can switch frame rate on the fly. - added setLength() to use a subset of the sequence - added setResetOnInit() so that the sequencer can be swapped into a new animation without being reset if desired.
Ray Greenwell
2003-04-14 20:36:16 +00:00
c0f4ed2777
progress towards duty feedbackers
Ray Greenwell
2003-04-14 17:16:23 +00:00
bae9fdf1e0
Exorcised scene width and height; make models unbounded by default; cleaned up AStarPathUtil.
Michael Bayne
2003-04-12 02:14:52 +00:00
d933605343
Moved object handling into base MisoSceneModel, created new SectionedMisoSceneModel for storing info on a section of a larger scene.
Michael Bayne
2003-04-12 02:14:10 +00:00
98e48001dc
Added bound().
Michael Bayne
2003-04-12 02:06:35 +00:00
a8c6d62913
Immediately update our scene location when we are requested to track a pathable.
Michael Bayne
2003-04-12 01:26:29 +00:00
1bf86bf495
Cope with lack of game object in a few methods.
Michael Bayne
2003-04-11 21:29:21 +00:00
baa595d65c
Not to freak out if we don't yet have _playerOids.
Michael Bayne
2003-04-11 21:22:30 +00:00
fca168018e
Don't freak out if we can't load our source image.
Michael Bayne
2003-04-11 18:48:05 +00:00
5dd245dadf
Make sure our socket connection is closed if authentication fails.
Michael Bayne
2003-04-10 22:02:59 +00:00
ef04c6e873
Track time spent invoking units and report it in the server report log.
Michael Bayne
2003-04-10 21:04:55 +00:00
1b1c38c998
Added tracking and reporting of messages sent and received; shaved 20 off loc by combining message dispatch into one method.
Michael Bayne
2003-04-10 18:12:16 +00:00
36624d96ac
Finally got around to making compound events actually stick together until they arrive at the client. Mmm... network efficiency++.
Michael Bayne
2003-04-10 17:48:42 +00:00
2a554f1569
Added support for object streaming debugging.
Michael Bayne
2003-04-10 17:47:45 +00:00
9c113eb8dc
Not to choke if we get passed a null image.
Michael Bayne
2003-04-09 22:02:20 +00:00
6ea4264eb4
If we fail to load an image, create a blank one in its stead.
Michael Bayne
2003-04-09 22:02:05 +00:00
46b8aace97
Don't log a bunch of crap for sounds that are missing during a LOCK unless verbose logging is turned on.
Ray Greenwell
2003-04-08 20:30:44 +00:00
758d0a4456
Give mute feedback
Ray Greenwell
2003-04-08 02:49:43 +00:00
77633366cc
Handle not finding a music player for a song gracefully.
Ray Greenwell
2003-04-08 01:46:16 +00:00
d987d66bf3
Whatever reason we had for assuming all off-screen tiles are passable, that can't possibly be the right way to handle it. If you can't get there by staying on the screen, you're not going.
Michael Bayne
2003-04-07 23:53:41 +00:00
4e1b4a00d8
Allow turning off the rendering of objects.
Michael Bayne
2003-04-07 23:32:47 +00:00
036104a7d5
If there's no base tile, it sure as hell ain't passable.
Michael Bayne
2003-04-07 22:04:39 +00:00
8d49b3cf7c
Log message edits.
Michael Bayne
2003-04-07 21:50:04 +00:00
7c2c067439
Fill in black if there's no base tile at all.
Michael Bayne
2003-04-07 21:43:00 +00:00
8663535d5a
Exclude the experimental music players.
Michael Bayne
2003-04-06 04:36:01 +00:00
728ddcf575
only log that the queue is full (and the full damn contents of the queue) when verbose logging is on.
Ray Greenwell
2003-04-05 20:48:04 +00:00
1b29c23f6e
Check and fail if a DSet is modified while we are iterating over it.
Michael Bayne
2003-04-05 20:30:44 +00:00
628bc34eef
Make sure we have clips before we try to pick one at random.
Michael Bayne
2003-04-05 19:00:28 +00:00
02081105c8
cut down on the amount of logging we do for missing sounds (unless verbose logging is turned on.)
Ray Greenwell
2003-04-05 03:38:41 +00:00
34528419a0
We'll be needin' to use them tileset global colorizations if we got 'em.
Michael Bayne
2003-04-05 01:52:58 +00:00
2c4c2d6b92
- only play the default sound for missing sounds if verbose sound event logging is turned on. - Expire PLAY requests if they are not processed within 400ms.
Ray Greenwell
2003-04-04 22:34:59 +00:00
ad266a629e
Added ability to fetch a tileset with specific colorizations.
Michael Bayne
2003-04-04 19:36:21 +00:00
dca70506f0
Cluster oid turns out to be zero when we don't have one, not -1.
Michael Bayne
2003-04-04 05:44:47 +00:00
b2c24763ba
Logging to help debug repeated subscription to cluster objects.
Michael Bayne
2003-04-03 22:16:51 +00:00
1942314cc1
Log our validations when debugging.
Michael Bayne
2003-04-02 03:59:17 +00:00
1abea4cf12
Report the file we actually tried to load from the jar just for kicks.
Michael Bayne
2003-04-01 19:33:07 +00:00
a59aa8f94d
Get our listen port from a server property if specified.
Michael Bayne
2003-04-01 04:00:54 +00:00
cb6d73e98c
needsPaint() will only be called by the FrameManager *after* it has just called tick(), therefore we don't need to incorporate _tickPaintPending into our determinations. Additionally, we need to clear _tickPaintPending if we return false from this method because we won't get painted in that case and won't clear it in paint().
Michael Bayne
2003-04-01 03:38:03 +00:00
c8b14399c7
Added getColorizer() to allow derived classes to provide a colorizer for use when obtaining object tiles.
Michael Bayne
2003-04-01 02:17:58 +00:00
927be852bd
Added support for providing colorization assignments when fetching tiles.
Michael Bayne
2003-04-01 02:16:28 +00:00
f870b025b8
Make our intended location available.
Michael Bayne
2003-03-31 22:54:09 +00:00
b20a6633b9
Modify the dobjmgr and invoker such that they process the rest of their queue and then shutdown.
Michael Bayne
2003-03-31 04:11:24 +00:00
b009981c5f
Refuse repeat shutdown requests.
Michael Bayne
2003-03-31 04:11:01 +00:00
b9f4c24a7a
Allow 10 milliseconds to elapse before we'll register another ctrl-c rather than just 1.
Michael Bayne
2003-03-31 04:10:03 +00:00
59cb9f21e5
Add directives to build libsignal.
Michael Bayne
2003-03-31 02:12:31 +00:00
23ec0c58ec
Shut down all nice and happy like when we get a ctrl-c.
Michael Bayne
2003-03-31 02:10:37 +00:00
5f160cbd3a
Whipped up some native code to allow signals to be caught and handled from within Java (on Linux anyway). We dig it the most baby!
Michael Bayne
2003-03-31 02:10:04 +00:00
34cd22cc18
Need to register as a shutdowner.
Michael Bayne
2003-03-30 21:27:23 +00:00
f275f57a3b
Make shutdown() an instance method so that it can be augmented.
Michael Bayne
2003-03-30 21:27:13 +00:00
057a5458ad
Have the client manager let the clients know that they are being shutdown.
Michael Bayne
2003-03-30 21:04:18 +00:00
1655f680aa
Added a mechanism for participating in server shutdown.
Michael Bayne
2003-03-30 20:40:47 +00:00
dea75fde0d
Added some debug logging.
Michael Bayne
2003-03-30 19:45:58 +00:00
0a5714b661
Safety first!
Michael Bayne
2003-03-30 19:38:56 +00:00
4c74d96eee
Add facilities for vetoing a start cluster request.
Michael Bayne
2003-03-30 03:33:52 +00:00
19354e55af
Added shout chat mode.
Michael Bayne
2003-03-30 02:53:05 +00:00
3ac861d72b
Better toString().
Michael Bayne
2003-03-30 02:52:53 +00:00
a79b771411
Formatting.
Michael Bayne
2003-03-30 02:52:41 +00:00
fe88ce14a6
Checkus sanitorium.
Michael Bayne
2003-03-30 02:19:56 +00:00
17b3922946
Rewrote the iso sorting algorithm yet again. Now it's less efficient but actually works. (Or so we hope.) Yay!
Michael Bayne
2003-03-30 02:15:13 +00:00
73b16bc018
Updated render sorting diagram.
Michael Bayne
2003-03-30 02:13:02 +00:00
c69a7b0f7c
Allow the frame to be constructed with a graphics configuration.
Michael Bayne
2003-03-30 00:00:00 +00:00
9c54590c92
We're not generating that colorization for our health. We need to return it to the caller!
Michael Bayne
2003-03-29 02:30:14 +00:00
30b02ababe
Cleaned up the code to be more sensible.
Michael Bayne
2003-03-27 23:45:04 +00:00
5c0879a964
Whoops, spoke to soon. That wasn't really a bug, just a misunderstanding.
Michael Bayne
2003-03-27 23:25:59 +00:00
8876bd90e4
Fixed a bug pointed out by Muffy. We love more eyes on the code!
Michael Bayne
2003-03-27 23:20:55 +00:00
f0ef1a95bb
Don't resubscribe if nothing changed.
Michael Bayne
2003-03-27 17:24:55 +00:00
9532dbe02a
Whoops, have to add them in the proper order otherwise the target walks over to the person who started the cluster rather than vice versa.
Michael Bayne
2003-03-27 17:13:38 +00:00
dfe0e7aa5e
Report to the caller (by excepting) when a cluster is full; demoted log messages to debug.
Michael Bayne
2003-03-27 16:45:30 +00:00
5bf27ca281
Whoops, wrong error code.
Michael Bayne
2003-03-27 16:04:26 +00:00
07a426fe9b
Make cluster extend Rectangle so that we get all of its lovely methods.
Michael Bayne
2003-03-27 15:57:47 +00:00
c8b1404483
New error code.
Michael Bayne
2003-03-27 00:10:29 +00:00
4be173c19f
More cluster fiddly.
Michael Bayne
2003-03-27 00:10:08 +00:00
d29fef39ba
Added getFootprint().
Michael Bayne
2003-03-26 23:42:41 +00:00
3ebff402de
Provide an extensible way (what a fancy way to describe a protected method) for validating whether a body can stand at their requested location.
Michael Bayne
2003-03-26 22:34:24 +00:00
0c6a54380a
Added canAddBody() and locationForBody().
Michael Bayne
2003-03-26 18:18:29 +00:00
590c993599
Include the bounds in the cluster rather than a center and an occupant count. The client can figure out the occupants if it needs them.
Michael Bayne
2003-03-26 02:37:08 +00:00
5d6883c75c
Revamped location and cluster handling so that we can implement the fancy new dynamic cluster system all good and proper.
Michael Bayne
2003-03-26 02:06:06 +00:00
a3ff1486e0
Regenerated minus the ever changing timestamps.
Michael Bayne
2003-03-26 01:35:41 +00:00
253079107c
Make object base dimensions available without having to instantiate an object tile.
Michael Bayne
2003-03-26 00:18:55 +00:00
a8ca78bde2
toArray now returns Object[] instead of Object
Ray Greenwell
2003-03-26 00:16:03 +00:00
0bd5d6728c
Whoops, left in some debug logging.
Michael Bayne
2003-03-25 23:06:51 +00:00
0b0757b98c
Fixed up the goddamned repaint fuckola. Fucking pain in the ass, all this Swing, AWT and frame manager interaction.
Michael Bayne
2003-03-25 23:05:58 +00:00
b281725f29
Characters must be oriented with a valid direction code.
Michael Bayne
2003-03-25 20:53:16 +00:00
be1f2eb1fc
Further whipping of dynamic clusters into shape.
Michael Bayne
2003-03-25 19:28:59 +00:00
b66e0d2584
Keep track of whether or not anything was painted each frame and avoid the extra effort of copying the back buffer to the screen if nothing actually changed.
Michael Bayne
2003-03-25 19:06:54 +00:00