1d956214dd
Added SessionObserver which is a pared down version of ClientObserver that only reports logon and logoff.
Michael Bayne
2002-03-11 19:51:25 +00:00
b7527ae421
Handle null colorization entries.
Michael Bayne
2002-03-10 22:31:21 +00:00
1bc7dfa6fa
Made a note that the colorization arrays can contain null elements.
Michael Bayne
2002-03-10 22:31:06 +00:00
2b70821be2
Use integer ids rather than names.
Michael Bayne
2002-03-10 22:30:46 +00:00
1b7f56ca9e
Obey new CharacterDescriptor constructor signature. (That's a lot of syllables).
Michael Bayne
2002-03-08 22:37:50 +00:00
873406f6c5
Moved male pirate components into their own directory (which prefixes all their class names with male/).
Michael Bayne
2002-03-08 22:37:21 +00:00
c3eb78e520
Restructure component bundle building so that character components can have class names with slashes in them (for better heirarchicalization, like male/torso).
Michael Bayne
2002-03-08 22:36:43 +00:00
4b100da3bd
Added support for changing a sprite's character descriptor in situ.
Michael Bayne
2002-03-08 22:35:55 +00:00
d5c89b3822
Provide a mechanism for getting the root color adjusted by the colorization offsets.
Michael Bayne
2002-03-08 21:16:07 +00:00
78f6342dbd
Revamped the recoloration code such that it is much more efficient.
Michael Bayne
2002-03-08 21:05:01 +00:00
b5f626d868
Dispose of the image graphics when we're done rendering to it.
Michael Bayne
2002-03-08 18:13:14 +00:00
8808dbe95a
Turned off debugging.
Michael Bayne
2002-03-08 09:40:21 +00:00
f8dbde0096
Use loadImage() rather than createImage() because we want the raw (indexed color) image rather than one prepped for display.
Michael Bayne
2002-03-08 09:35:14 +00:00
eee84b9a84
Added loadImage(InputStream).
Michael Bayne
2002-03-08 09:34:42 +00:00
974d0ebccb
Wrap the ClassNotFoundException in an IOException.
Michael Bayne
2002-03-08 08:30:05 +00:00
782bd9b7d9
Added support for colorization to the character manager. It is yet untested.
Michael Bayne
2002-03-08 07:50:32 +00:00
c2baccf5ba
Abstracted code that parses XML configuration definitions into Java objects which are then serialized for rapid loading and simple utilization by the client and server; created serialized config services for our character component constraints (what components are available at character creation time, etc.).
Michael Bayne
2002-03-08 06:15:21 +00:00
87c4c756e4
Pass a color rather than an integer to the recoloration routine.
Michael Bayne
2002-03-08 01:38:12 +00:00
ad5a5c4e6d
Added (and commented out) some handy debug logging.
Michael Bayne
2002-03-08 01:37:51 +00:00
0177f77dfd
Regenerated with fixed gendobj.
Michael Bayne
2002-03-08 01:06:12 +00:00
3716aecaa5
Egads! No value man!
Michael Bayne
2002-03-08 01:05:39 +00:00
9d1d294294
Whoops, had a poorly named parameter.
Michael Bayne
2002-03-08 01:00:34 +00:00
0bc39b6d3f
Need to write out the class name of a streamable field as it may be a derived class of the declared field type.
Michael Bayne
2002-03-06 23:45:01 +00:00
5e5f871f58
Allow overriding build properties in build.properties.
Michael Bayne
2002-03-06 20:26:24 +00:00
73b01b421c
New component classes.
Michael Bayne
2002-03-05 07:15:27 +00:00
2a6b668a98
Blow away the component map file before building so that it's consistent between component repository rebuilds at present.
Michael Bayne
2002-03-05 07:11:21 +00:00
dd84a00252
Sweet new pirate action!
Michael Bayne
2002-03-05 07:10:12 +00:00
970410d4e6
Minor fixups to prevent complaints during logoff.
Michael Bayne
2002-03-05 06:15:43 +00:00
268b0797f6
Removed verbose logging.
Michael Bayne
2002-03-05 06:15:23 +00:00
c278bd3183
Be a good monkey and call super.
Michael Bayne
2002-03-05 05:45:53 +00:00
637413a3aa
No longer need authinfo.
Michael Bayne
2002-03-05 05:39:52 +00:00
9e16e87a69
Doris the refactorasaurus. Restructured the whole client object resolution process so that it can be done by other entities than just the client management services. Coordination between these parties is managed so that no toes are stepped on in the course of loading and unloading clients and everything is generally much nicer.
Michael Bayne
2002-03-05 05:33:25 +00:00
38ca708a4f
Modified authentication process such that an authenticator thread is no longer maintained. Implementations can choose to create their own authentication thread if they wish or use some existing combination of the invoker and dobjmgr threads. Also added an invoker to the base server class.
Michael Bayne
2002-03-05 03:19:18 +00:00
7dc7545541
Pass the dobject manager to the invoker at construct time.
Michael Bayne
2002-03-05 03:17:46 +00:00
22d0839b72
Not to freak out if we have no frames.
Michael Bayne
2002-03-04 22:47:06 +00:00
001932b5a5
Added tcompose() that calls the various permutations of compose() whilst automatically tainting the arguments for yon intrepid programmer.
Walter Korman
2002-03-01 17:10:30 +00:00
3dbf935e3a
Render all sprites that intersect the repaint bounds, not just the ones that are contained within the bounds.
Michael Bayne
2002-02-28 23:25:15 +00:00
d3e5912ef5
Javadoc edits.
Michael Bayne
2002-02-28 23:16:42 +00:00
6c8f613050
Fixed up xlate() to support recursive composed translations by providing a method for composing a translation key and arguments into a single string which is later decoded by the call to xlate(). This also requires that unsafe strings (those entered by the user which should not be translated) be marked with the new taint() method so that xlate() knows not to try to translate those when it is recursively translating everything in sight.
Michael Bayne
2002-02-28 23:13:54 +00:00
42a8993c93
Added code to test the new MessageBundle recursive escaped composed translation facilities.
Michael Bayne
2002-02-28 23:12:27 +00:00
4527c8c5fa
Fixed typo.
Michael Bayne
2002-02-26 20:52:45 +00:00
e1835810b3
Added facilities for displaying system messages that originate on the client rather than from the server.
Michael Bayne
2002-02-26 20:37:55 +00:00
dc154423e0
Added code to support the new localized system messages; first by creating a message manager and making it available to the micasa code and second by actually using it to translate system messages.
Michael Bayne
2002-02-26 05:48:11 +00:00
e782bacb35
Modified system message delivery to include a localization bundle identifier which indicates which bundle to use when translating the message for display to the client.
Michael Bayne
2002-02-26 05:47:40 +00:00
2dc3c95b8b
Added code to avoid downloading new copies of the resource bundles unless they've changed.
Michael Bayne
2002-02-26 05:28:02 +00:00
ae68989fb3
No more dist.home.
Michael Bayne
2002-02-26 03:09:48 +00:00
7729f290be
Wrote a handy little tool for fiddling with the image recoloring routines.
Michael Bayne
2002-02-25 07:28:34 +00:00
adf80275ca
Use $root not $realroot.
Michael Bayne
2002-02-25 07:27:57 +00:00
dc1969ec84
Added a method for recoloring images. It requires that the images be indexed color and it converts colors that are close to a target color in the HSV color space (with specifiable bounds on difference in hue, saturation and value) to new colors (with specifiable offsets for hue, saturation and value). Initial testing shows great promise for articles of clothing and even reasonable results on skin tones.
Michael Bayne
2002-02-25 07:14:56 +00:00
9e5937ffea
Added mechanism for loading images directly, without converting them to a format optimized for display.
Michael Bayne
2002-02-24 19:26:26 +00:00
4641d00583
Moved ImageUtil into media.util with the rest of the util classes.
Michael Bayne
2002-02-24 02:20:44 +00:00
04f0421e28
Can't generate a random character from all the classes now that we have non-character classes.
Michael Bayne
2002-02-21 06:01:51 +00:00
137e9e9ea8
Revampola! Moved the code that handles viewport offset into the animated panel; restructured things so everyone deals with "view" coordinates rather than screen coordinates and the animated panel takes care of doing the final translation before rendering.
Michael Bayne
2002-02-21 06:01:29 +00:00
424f2da631
Only post a compound event if it contains other events when a transaction is committed.
Michael Bayne
2002-02-21 00:59:29 +00:00
2e6c813bd6
Pass the current time stamp to viewWillScroll().
Michael Bayne
2002-02-21 00:20:22 +00:00
5f18acd3d8
Modified distributed object attribute setting such that attributes are *always* set immediately because after some deliberation, we decided that doing that led to less unexpectedly annoying behavior than having to wait for the event to propagate to see the new value.
Michael Bayne
2002-02-20 23:35:42 +00:00
fec59f61a8
Dirty the old frame bounds and the new frame bounds when our frame image is replaced.
Michael Bayne
2002-02-20 03:13:57 +00:00
c0cfec8f90
Fixed comment typo.
Walter Korman
2002-02-20 02:10:02 +00:00
d0e946756d
Updated the ignore files.
Michael Bayne
2002-02-19 22:11:30 +00:00
cbcf5d217e
Revamped bundle stuff to put all actions and classes in one top-level metadata bundle and just the components in separate component bundles.
Michael Bayne
2002-02-19 22:10:30 +00:00
ade0080446
Added support for obtaining character components by class name and component name, which is handy when you don't want to do compositing, but just want to load single "component" characters.
Michael Bayne
2002-02-19 22:09:50 +00:00
e7022fcfff
Added facilities for specifying the resting and path-following actions because they won't always be standing and walking.
Michael Bayne
2002-02-19 22:09:08 +00:00
12dd0ff1c7
Load our vessel components by name now that we can.
Michael Bayne
2002-02-19 22:08:25 +00:00
bd899e1636
Changed action class to reflect new vessel component organization.
Michael Bayne
2002-02-19 20:17:36 +00:00
f5c7d7864c
Added a ship sprite to the center of the scrolling view.
Michael Bayne
2002-02-19 20:03:13 +00:00
a54339594c
Pick tiles pseudo randomly based on the coordinates.
Michael Bayne
2002-02-19 20:02:16 +00:00
1ae28e9942
Ignore the data files.
Michael Bayne
2002-02-19 20:01:48 +00:00
286728cec7
New ship component bundle.
Michael Bayne
2002-02-19 20:01:21 +00:00
947107b0ba
Added another set of component bundles for ships.
Michael Bayne
2002-02-19 20:00:32 +00:00
0db9ce6d2d
Don't need to create our own sprite manager; added a method for adding sprites to the screen which takes care of assigning their tile coordinates.
Michael Bayne
2002-02-19 19:58:19 +00:00
9b465b9fe3
Split the rendering into scrolled items and fixed items. Render the sprites (and object tiles) as fixed items.
Michael Bayne
2002-02-19 19:57:46 +00:00
d869e1168e
Let our sprite manager know when we scroll; modified the rendering such that scrolled views are copied to the display in their entirety instead of just updating the dirtied regions (because we can't scroll the visible screen buffer and then paint on top of it because the user will see things in an intermediate stage).
Michael Bayne
2002-02-19 19:56:49 +00:00
ee3532f6f1
Added mechanism by which the sprite manager can be informed that the view on which its sprites are rendered was scrolled so that it can generate the appropriate dirty rectangles or update its sprite's positions.
Michael Bayne
2002-02-19 19:55:14 +00:00
817c7aab39
Removed obsolete variables.
Michael Bayne
2002-02-19 07:43:20 +00:00
025f212df0
Use a BorderLayout.
Michael Bayne
2002-02-19 07:42:51 +00:00
cbaba2b381
Tell the sprite manager about our viewport offset.
Michael Bayne
2002-02-19 07:41:55 +00:00
958cb213d5
Blarg. Have to tell the sprite manager about the viewport offset when we're using it to render sprites into a view that is being displayed in a viewport that is smaller than the actual size of the view. Oh the jockeying.
Michael Bayne
2002-02-19 07:41:36 +00:00
b01df00f3f
Use a border layout.
Michael Bayne
2002-02-19 07:21:33 +00:00
74ae7214da
Use full-screen mode if possible.
Michael Bayne
2002-02-19 07:21:15 +00:00
922fdc292f
Have to translate invalidated rectangles according to our viewport translations for everything to work out.
Michael Bayne
2002-02-19 07:20:13 +00:00
3e68fd8994
Clear out our back buffer when we're validated (as we probably changed sizes).
Michael Bayne
2002-02-19 07:19:04 +00:00
7db44c5ee3
Let the animated panel handle invalidating the regions exposed by scrolling so that it can do so with the actual dimensions of the panel (the scene view only knows how big its model wants to be). Changed scrollView to viewWillScroll to more accurately reflect what's going on.
Michael Bayne
2002-02-19 05:03:17 +00:00
d6ad960a14
Don't show coordinates.
Michael Bayne
2002-02-19 04:45:55 +00:00
f2f6407c1e
Need to account for negative scrolling deltas.
Michael Bayne
2002-02-19 04:45:14 +00:00
b95f764282
Use smart polygons.
Michael Bayne
2002-02-19 04:02:50 +00:00
fc58eec429
Whoops, missed a change.
Michael Bayne
2002-02-19 03:58:37 +00:00
9b9211de16
Use a SortableArrayList instead of going for object creation mania every time we sort the sprite list.
Michael Bayne
2002-02-19 03:57:53 +00:00
a6f63ee873
Need to set the absolute value of the velocity.
Michael Bayne
2002-02-19 03:57:30 +00:00
6a0ee2f291
Added support for null Streamable fields.
Michael Bayne
2002-02-19 03:30:55 +00:00
b550063f04
Chain exceptions when we can.
Michael Bayne
2002-02-19 03:30:40 +00:00
d8921f3c4b
Modified the value marshaller to support reading and writing null.
Michael Bayne
2002-02-19 03:05:56 +00:00
3125782a15
Modifications to get scrolling working again. It's a bit smoother, but we can do better.
Michael Bayne
2002-02-19 01:42:28 +00:00
68823a9f8a
Updates to support new method signature.
Michael Bayne
2002-02-19 01:27:48 +00:00
7302924ea0
Can't ignore repaints, try not being decorated.
Michael Bayne
2002-02-19 01:27:34 +00:00
b0364efa34
Only request a repaint in mouseMoved() when our hobject changes if we're highlighting objects and the object's action status is in line with whether or not we're only highlighting objects with actions. Also changed some things to support the new, simpler, AnimatedView interface.
Michael Bayne
2002-02-19 01:26:17 +00:00
e0e60c3fe3
Modifications to bring things up to speed with interface changes in the animation base classes.
Michael Bayne
2002-02-19 01:24:59 +00:00
63a32a6332
Modified rendering to use a hand managed volatile image as a back buffer instead of using a buffer strategy. This will shortly be extended to support more efficient scrolling as well.
Michael Bayne
2002-02-19 01:23:56 +00:00
8d56ec853a
Documentation clarification.
Michael Bayne
2002-02-18 06:06:14 +00:00
06f9ac0c31
Disable scrolling when speed is set to zero mspp.
Michael Bayne
2002-02-18 06:05:59 +00:00
f497a93541
Create the IsoSceneViewModel and no longer create the sprite manager.
Michael Bayne
2002-02-18 00:43:24 +00:00