Michael Bayne
59aeb61fe3
Added ability to update individual elements of an array field. The objects
...
have helper functions named set<field>At() for such a purpose.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1134 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-19 01:10:03 +00:00
Michael Bayne
7ccb9594b9
Changed DSet.Element to DSet.Entry in preparation for the addition of
...
array element update support. (Arrays have elements, sets have entries.)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-18 23:21:26 +00:00
Walter Korman
76cff072be
Split Sprite into Sprite and ImageSprite. Added LabelSprite. Cleaned up
...
directional constant usage. Added ability to render sprites in two
distinct layers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1132 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-16 03:15:06 +00:00
Walter Korman
8e93dbfc79
Added convenience constructor and cleaned up constant usage.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1131 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-16 03:12:12 +00:00
Walter Korman
b3eebe2081
Added ability to render animations in two distinct layers; added mechanism
...
whereby animations can clean up after themselves.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1130 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-16 03:11:23 +00:00
Michael Bayne
eb52607162
Adjust the last modified time of our cached files to match that of the
...
server so that we properly report our last modified times when
subsequently doing an If-Modified-Since request.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1125 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-15 19:12:16 +00:00
Michael Bayne
04f83e779e
Report the host and port to which we're connecting.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1124 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-15 19:11:14 +00:00
Michael Bayne
105812725c
Allow the specification of the directory in which the resource manager
...
caches bundle files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1123 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-15 02:18:18 +00:00
Michael Bayne
987dd60efc
Modified the way the following-path and resting actions are fetched so
...
that we can specialize the character sprite to choose a resting action at
random.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1122 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-15 01:10:25 +00:00
Walter Korman
9c54e55fde
Fixed typo that broke the build. Egads!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1120 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-14 21:09:01 +00:00
Walter Korman
84c0bd70cd
Add a copy of the bounds rectangle when invalidated since it may be
...
destructively modified by the animation manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1118 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-12 22:54:16 +00:00
Michael Bayne
1d956214dd
Added SessionObserver which is a pared down version of ClientObserver that
...
only reports logon and logoff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1117 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-11 19:51:25 +00:00
Michael Bayne
b7527ae421
Handle null colorization entries.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1116 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-10 22:31:21 +00:00
Michael Bayne
1bc7dfa6fa
Made a note that the colorization arrays can contain null elements.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1115 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-10 22:31:06 +00:00
Michael Bayne
2b70821be2
Use integer ids rather than names.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1114 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-10 22:30:46 +00:00
Michael Bayne
1b7f56ca9e
Obey new CharacterDescriptor constructor signature. (That's a lot of
...
syllables).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1113 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 22:37:50 +00:00
Michael Bayne
c3eb78e520
Restructure component bundle building so that character components can
...
have class names with slashes in them (for better heirarchicalization,
like male/torso).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1111 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 22:36:43 +00:00
Michael Bayne
4b100da3bd
Added support for changing a sprite's character descriptor in situ.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1110 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 22:35:55 +00:00
Michael Bayne
d5c89b3822
Provide a mechanism for getting the root color adjusted by the
...
colorization offsets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1109 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 21:16:07 +00:00
Michael Bayne
78f6342dbd
Revamped the recoloration code such that it is much more efficient.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1108 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 21:05:01 +00:00
Michael Bayne
b5f626d868
Dispose of the image graphics when we're done rendering to it.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1107 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 18:13:14 +00:00
Michael Bayne
8808dbe95a
Turned off debugging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 09:40:21 +00:00
Michael Bayne
f8dbde0096
Use loadImage() rather than createImage() because we want the raw (indexed
...
color) image rather than one prepped for display.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1105 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 09:35:14 +00:00
Michael Bayne
eee84b9a84
Added loadImage(InputStream).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1104 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 09:34:42 +00:00
Michael Bayne
974d0ebccb
Wrap the ClassNotFoundException in an IOException.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1103 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 08:30:05 +00:00
Michael Bayne
782bd9b7d9
Added support for colorization to the character manager. It is yet
...
untested.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1102 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 07:50:32 +00:00
Michael Bayne
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.).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1101 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 06:15:21 +00:00
Michael Bayne
87c4c756e4
Pass a color rather than an integer to the recoloration routine.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1100 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 01:38:12 +00:00
Michael Bayne
ad5a5c4e6d
Added (and commented out) some handy debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1099 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 01:37:51 +00:00
Michael Bayne
0177f77dfd
Regenerated with fixed gendobj.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1098 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 01:06:12 +00:00
Michael Bayne
0bc39b6d3f
Need to write out the class name of a streamable field as it may be a
...
derived class of the declared field type.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1095 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-06 23:45:01 +00:00
Michael Bayne
73b01b421c
New component classes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1093 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 07:15:27 +00:00
Michael Bayne
970410d4e6
Minor fixups to prevent complaints during logoff.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1090 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 06:15:43 +00:00
Michael Bayne
268b0797f6
Removed verbose logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1089 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 06:15:23 +00:00
Michael Bayne
c278bd3183
Be a good monkey and call super.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1088 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 05:45:53 +00:00
Michael Bayne
637413a3aa
No longer need authinfo.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1087 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 05:39:52 +00:00
Michael Bayne
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1086 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 05:33:25 +00:00
Michael Bayne
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1085 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 03:19:18 +00:00
Michael Bayne
7dc7545541
Pass the dobject manager to the invoker at construct time.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1084 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 03:17:46 +00:00
Michael Bayne
22d0839b72
Not to freak out if we have no frames.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1083 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-04 22:47:06 +00:00
Walter Korman
001932b5a5
Added tcompose() that calls the various permutations of compose() whilst
...
automatically tainting the arguments for yon intrepid programmer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1082 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-01 17:10:30 +00:00
Michael Bayne
3dbf935e3a
Render all sprites that intersect the repaint bounds, not just the ones
...
that are contained within the bounds.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1081 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-28 23:25:15 +00:00
Michael Bayne
d3e5912ef5
Javadoc edits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1080 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-28 23:16:42 +00:00
Michael Bayne
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1079 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-28 23:13:54 +00:00
Michael Bayne
4527c8c5fa
Fixed typo.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1077 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-26 20:52:45 +00:00
Michael Bayne
e1835810b3
Added facilities for displaying system messages that originate on the
...
client rather than from the server.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1076 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-26 20:37:55 +00:00
Michael Bayne
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1075 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-26 05:48:11 +00:00
Michael Bayne
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1074 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-26 05:47:40 +00:00
Michael Bayne
2dc3c95b8b
Added code to avoid downloading new copies of the resource bundles unless
...
they've changed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1073 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-26 05:28:02 +00:00
Michael Bayne
7729f290be
Wrote a handy little tool for fiddling with the image recoloring routines.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1071 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-25 07:28:34 +00:00