ef52f31ad4
Created client-side message objects which are the only thing passed to the newly simplified ChatDisplay interface, which now has but one method.
Ray Greenwell
2002-07-26 20:35:02 +00:00
ea5e5adbad
Pay our respects to Chapter 12 of the JLS.
Michael Bayne
2002-07-26 16:00:19 +00:00
07d02f772a
fixed it from horking repeatedly on my machine
Ray Greenwell
2002-07-26 00:16:47 +00:00
b7b44f5f14
Added basic framework for providing game configuration interfaces that can be used by a matchmaking interface when setting up a game.
Michael Bayne
2002-07-25 23:20:22 +00:00
d06aeb2cc7
Shut the server down if we were unable to initialize it.
Michael Bayne
2002-07-25 20:24:02 +00:00
1877aacb3b
Report the port to which we attempted to bind in the event of a bind failure.
Michael Bayne
2002-07-25 20:23:25 +00:00
22b001eb73
Added support for falling back to a "default" action image for components that do not have an image specificly for a particular action sequence. In the future, I'd like to at least provide a mechanism for specifying on a per action sequence basis which action sequence to fall back to in the event that a component is missing imagery for that sequence. Then the default mecahism could be used without forcing all action sequences for a particular class of components to be exactly alike.
Michael Bayne
2002-07-24 22:24:05 +00:00
be8b5ea243
Make the default orientation SOUTHWEST since that's orientation zero and if we have no other orientations then to request anything but orientation zero causes things to freak out. (This will be fixed but it's going to require a fair bit of work that I don't have time to do right now.)
Michael Bayne
2002-07-24 22:19:50 +00:00
146014344e
Don't append clips to the queue if we didn't start up successfully.
Walter Korman
2002-07-24 21:39:43 +00:00
f930d53cdd
Initial primitive sound manager that provides facilities for >gasp< playing sounds.
Walter Korman
2002-07-24 21:28:10 +00:00
4e55c7dc0e
Updates relating to the new streamable world order.
Michael Bayne
2002-07-23 05:56:53 +00:00
a55a36e766
No need to do this business by hand any longer.
Michael Bayne
2002-07-23 05:55:40 +00:00
0a8d4ad20b
Need to include new io package in narya-base.jar.
Michael Bayne
2002-07-23 05:55:25 +00:00
eb0f92fcef
Brought things into line with new streaming world order.
Michael Bayne
2002-07-23 05:54:53 +00:00
c3191b9170
Brought code into line with the new streaming world order.
Michael Bayne
2002-07-23 05:52:49 +00:00
2330afc3cd
New object streaming code is born!
Michael Bayne
2002-07-23 05:42:34 +00:00
2601ab2321
Old object streaming code goes bye-bye.
Michael Bayne
2002-07-23 05:41:59 +00:00
ffb030d40a
Added temporary hack workaround to keep text input fields from rendering themselves with an incorrect font.
Walter Korman
2002-07-23 03:52:23 +00:00
2c666df5cf
Fetch the password from a system property as well.
Michael Bayne
2002-07-23 03:17:50 +00:00
7d7624fc67
Need to synchronize on the lock object before calling download() so that we don't accidentally notify ourselves nigh-immediately (e.g., if things are already entirely up to date) before we've begun waiting on the lock object on the calling thread.
Walter Korman
2002-07-22 23:19:23 +00:00
71c7a488c9
byte'd chat mode code
Ray Greenwell
2002-07-22 22:54:04 +00:00
5c5038690b
Added support for think and emote.
Ray Greenwell
2002-07-22 22:26:26 +00:00
af8b7bf237
Allow plus or minus five seconds in modification time when comparing source and destination files for differences since Windows (and probably other platforms) doesn't set the file modification time to the precise time requested. Don't notify the observer when we're finished downloading all files until we've finished all of our work with the file. Check the return value from the call to setLastModified().
Walter Korman
2002-07-22 20:45:22 +00:00
dd38c90665
Don't notify observers when we reach 100% completeness until the streams are closed.
Walter Korman
2002-07-19 22:19:34 +00:00
ef41daa34f
Updated to reflect changes to resource manager.
Walter Korman
2002-07-19 20:13:30 +00:00
9f641c5796
Download resource bundles asynchronously and provide facilities for observing bundle downloading progress.
Walter Korman
2002-07-19 20:12:23 +00:00
6d8f304aa3
Old notes, new notes. (Red notes, blue notes?)
Michael Bayne
2002-07-19 16:00:32 +00:00
d22350ff3c
Added a version of blend that takes a float argument so that two colors may be blended at a ratio other than 50-50.
Ray Greenwell
2002-07-18 23:14:02 +00:00
f186ef5537
Updates to PRMI design to account for the need to provide a ClientObject to the server-side implementation of an invocation service.
Michael Bayne
2002-07-18 20:56:44 +00:00
06ab6c8b90
Initial design of new Presents RMI services to replace invocation services.
Michael Bayne
2002-07-18 18:25:57 +00:00
9a696b3a24
Split the Narya library into various subsystem-specific .jar files.
Michael Bayne
2002-07-18 05:31:55 +00:00
a9ef042dae
Debug logging changes.
Michael Bayne
2002-07-18 00:42:30 +00:00
e9ceaa6ae9
Marked transient fields accordingly so that the Marshaller doesn't try to send them over the wire.
Michael Bayne
2002-07-18 00:41:59 +00:00
7a1a162a0d
Changed field marshaller registration to be compatible with DashO-style field renaming. I'm a bad monkey for overusing reflection.
Michael Bayne
2002-07-17 23:05:28 +00:00
f53975fe74
Cache tell request information in the chat director and pass it along to the various chat displays once we've ascertained success or failure.
Walter Korman
2002-07-17 20:53:31 +00:00
34bbab5ee7
More logon translation messages.
Michael Bayne
2002-07-17 18:11:14 +00:00
bd44038ae2
Formatting.
Michael Bayne
2002-07-17 18:11:02 +00:00
8559e2eb29
Added auth code for use when the server is operational but not available.
Michael Bayne
2002-07-17 18:10:04 +00:00
9daf7b59bb
Notes.
Michael Bayne
2002-07-17 01:55:30 +00:00
71c392555f
Fixed bug in dobj reference management.
Michael Bayne
2002-07-17 01:54:33 +00:00
18039887b4
Added a debug hook for dumping all objects in the dobj table.
Michael Bayne
2002-07-17 01:54:16 +00:00
6b9424128d
Read both the server and port from system properties.
Michael Bayne
2002-07-16 05:44:29 +00:00
a2339cea0b
Report the server and port to which we are connecting when we log on.
Michael Bayne
2002-07-16 05:42:53 +00:00
cbca08878d
Allow the port to be set from the command line (this should probably instead be hijacked from the actual server setting but this works for now).
Michael Bayne
2002-07-15 03:09:29 +00:00
b1252aab66
Edits and fixes.
Michael Bayne
2002-07-12 17:06:52 +00:00
2404ea688e
Added translations for the MiCasa logon panel.
Michael Bayne
2002-07-12 17:02:02 +00:00
75edbad42f
Cleaned up the MiCasa logon panel and services. It's all much more nicely behaved now.
Michael Bayne
2002-07-12 17:01:28 +00:00
6064ab1750
Provide some basic auth codes so that all users of Presents don't have to come up with these same codes themselves.
Michael Bayne
2002-07-12 16:17:45 +00:00
78b58a6093
Whoops, typo.
Michael Bayne
2002-07-12 03:50:24 +00:00
7a3daa1d2b
The simulator should provide a MiCasaContext and generally be a good MiCasa citizen.
Michael Bayne
2002-07-12 03:49:37 +00:00
40cbabe20c
Report when the connection fails.
Michael Bayne
2002-07-12 03:49:02 +00:00
9cde2eab3e
Added a constructor that takes a window title.
Michael Bayne
2002-07-12 03:48:45 +00:00
255599b960
Resize the simple frame to fit the place view when it is provided with a new one.
Michael Bayne
2002-07-10 02:02:59 +00:00
cf8608f20a
Enhanced reporting in failure conditions; fixed a problem where attempting to end the session of a client that was already ended would result in funny business.
Michael Bayne
2002-07-10 01:26:21 +00:00
ae4267a7d5
Fixed problem with LogoffDispatcher where it was reusing a single instance for all clients in a non-reentrant manner.
Michael Bayne
2002-07-10 01:25:11 +00:00
3be1d56ae7
Cleaned up connection handling code so that it deals more robustly and gracefully with failures; also no longer attempt to send messages to a connection that has already been closed.
Michael Bayne
2002-07-10 01:23:45 +00:00
6b77216df1
Report some sort of identifying information so that we can differentiate between connections even on JVMs (like Linux's) that seem to feel no need to actually return anything sensible from InetAddress.toString().
Michael Bayne
2002-07-10 01:22:17 +00:00
86e4745882
Moved SafeScrollPane back
Ray Greenwell
2002-07-09 21:13:20 +00:00
43d6c3de3d
Created convenience class for clients that wish to create a JPanel to act as their PlaceView.
Michael Bayne
2002-07-09 21:05:33 +00:00
3ff952ee49
Moved SafeScrollPane to com.samskivert.swing
Ray Greenwell
2002-07-09 17:49:12 +00:00
b93bcfaa11
When two sprites occupy the same tile, their screen y coordinate is used instead of their fine coordinates. It achieves the same effect and alleviates the need to track fine coordinates in the MisoCharacterSprite.
Michael Bayne
2002-07-08 21:41:30 +00:00
db0c1b59b8
It's not kosher to set a sprite's location until after it is fully constructed. The reason being that derived classes want to override things like updateRenderOrigin() which should be called every time the sprite's location is set, but if we do it in the base class constructor, a derived class's updateRenderOrigin() will be called before the derived class's constructor has been called. This is not good. Neither was the existing code which simply half-assed a location change by updating the sprite's origin position but not calling updateRenderOrigin(), leaving things generally confuzzled.
Michael Bayne
2002-07-08 21:15:35 +00:00
6260633ec3
Added a variant of createImage() that takes an existing image to be rendered into the optimized image.
Walter Korman
2002-07-06 00:38:45 +00:00
627ee5a1db
Javadoc fixes.
Walter Korman
2002-07-02 23:15:53 +00:00
4dcb62d186
Make all simulants AI players.
Walter Korman
2002-07-02 21:14:23 +00:00
a31730278b
added hoverObjectWillChange() fixed bug that happened when HIGHLIGHT_WITH_ACTION was on.
Ray Greenwell
2002-06-29 01:32:28 +00:00
7982e21fc1
Added a primitive mute director to get the ball rolling.
Ray Greenwell
2002-06-28 04:09:39 +00:00
6d1185c208
Fixed bug in normal rendering, caused the angle to rotate for more thorough testing.
Michael Bayne
2002-06-28 01:31:11 +00:00
00986b3bfd
Center the window before displaying.
Michael Bayne
2002-06-28 01:29:43 +00:00
976627a5b9
Test app for GeomUtil.whichSide().
Michael Bayne
2002-06-28 01:29:32 +00:00
afeab1ae90
Added convenience versions of the dot product method that assume both vectors share a common origin; added whichSide() which determines whether a point is on the left or right hand side of a line.
Michael Bayne
2002-06-28 01:29:08 +00:00
99f7c227c7
Minor bugfix: fix tile coordinate computation.
Ray Greenwell
2002-06-27 01:27:13 +00:00
e75ae89f22
Various and sundry modifications to clean up orientation handling and add support for 16 orientations in situations where it is merited.
Michael Bayne
2002-06-26 23:53:07 +00:00
d1b428158a
Added getOrientation() as well.
Michael Bayne
2002-06-26 23:51:06 +00:00
b1f17bd32d
Trimmed the test component set down to a few essentials; updated the test vessel components.
Michael Bayne
2002-06-26 21:57:01 +00:00
c3bbaa3e40
Modified getDirection() to use arc tangent so that it maps angles smoothly to their nearest compass direction instead of the wacky way it did before. Also added getFineDirection() along with rotateCW() and rotateCCW() to rotate through (fine) directions (though coarse directions can be rotated as well, simply by always requesting two ticks of rotation). Also wrote some test code to make sure everything works.
Michael Bayne
2002-06-26 02:54:56 +00:00
5124b68339
Added fine compass directions (NNW, ENE, etc.).
Michael Bayne
2002-06-26 02:37:18 +00:00
baab1443ef
Added method for obtaining access to an immutable list of the sprites currently registered with the sprite manager.
Michael Bayne
2002-06-26 02:36:50 +00:00
a930ae0f0c
Added clearSprites() for clearing all sprites in one fell swoop.
Michael Bayne
2002-06-25 17:31:17 +00:00
9bffbc0b18
Stuck a final fork (I hope) in the repaint problems associated with popups and other layered components.
Michael Bayne
2002-06-25 01:43:29 +00:00
3d71bd858a
added a getUnoccupiedLocation() that only gets a location within a specified cluster.
Ray Greenwell
2002-06-25 01:41:59 +00:00
4724e25154
Added debug code and commented it out.
Michael Bayne
2002-06-25 01:21:17 +00:00
624923ed40
Brought comment into line with reality.
Michael Bayne
2002-06-25 01:20:07 +00:00
b45bfb9ad3
Removed pointless and incorrect hitTest() override.
Michael Bayne
2002-06-25 01:19:08 +00:00
5d7decd03b
Whoops, invalidate() means mark the component as needing to be relaid out. We don't want to do that when we mean simply to repaint the whole component.
Michael Bayne
2002-06-25 01:00:22 +00:00
c6878853e5
Fun with geometry.
Michael Bayne
2002-06-25 00:22:44 +00:00
c467da448a
The tragic end of ScreenTilePath
Ray Greenwell
2002-06-22 01:00:32 +00:00
d597e91e44
rollback to 1.7, which is the same as 1.5 (ugh)
Ray Greenwell
2002-06-22 00:59:02 +00:00
7846ddd0d7
Re-enabled the ability to traverse offscreen, but fixed some problems with my previous hack and made offscreen also paths have huge 'costs', and also bound in potential paths from being too expensive (to prevent infinite loops if there's no path to a location.)
Ray Greenwell
2002-06-22 00:49:15 +00:00
7860992f57
Allow paths to go to offscreen coordinates.
Ray Greenwell
2002-06-22 00:45:18 +00:00
d497d45176
Notes.
Michael Bayne
2002-06-21 20:44:52 +00:00
e2219ca3b0
Removed debug logging.
Michael Bayne
2002-06-21 20:16:34 +00:00
d756fa50cd
Trimmed objects! The weight loss program proceeds apace.
Michael Bayne
2002-06-21 18:53:13 +00:00
53ca4a30ce
Whoops, -1 is not a good value for "invalid offset" because object tiles may well have a -1 origin offset. We use Integer.MIN_VALUE now which is definitely not going to be a valid value.
Michael Bayne
2002-06-21 18:52:36 +00:00
9ff74211d4
Obsolete.
Michael Bayne
2002-06-21 18:44:50 +00:00
4357c047f3
Trimmed tileset takes care of setting up its name, but the image path must be set by the caller.
Michael Bayne
2002-06-21 18:44:28 +00:00
c3c08a03b3
Refactored the tileset trimming code so that it can more easily be reused to trim object tilesets.
Michael Bayne
2002-06-21 18:09:37 +00:00
ad9a54086e
Validate invalid components and *then* tick our frame participants for two reasons: we don't want anything coming in between the call to tick() and the call to paint() and components will likely want to be validated before they are ticked if they happen to be a frame participant and are invalid.
Michael Bayne
2002-06-21 03:43:59 +00:00
a42e485d06
Only bound our view's coordinates if the view model is configured for a bounded view.
Michael Bayne
2002-06-21 00:04:41 +00:00
cabfc118cb
Whoops; don't try to mark a location as reserved if we couldn't find one.
Michael Bayne
2002-06-20 23:06:40 +00:00