Commit Graph

1158 Commits

Author SHA1 Message Date
Michael Bayne 9edfaca050 Adjusted the frames per second of the walking animation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1161 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-27 21:50:01 +00:00
Michael Bayne 178b5cfeda Added female component classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1160 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-27 21:49:40 +00:00
Michael Bayne b7be739164 Select a male and female pirate.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1159 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-27 21:49:11 +00:00
Michael Bayne 127582ca1c Be more robust about selecting random components.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1158 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-27 21:48:41 +00:00
Michael Bayne 97e04e29d7 Need to specify gender information when generating character.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1157 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-27 20:31:11 +00:00
Walter Korman a76d37cc27 Added a variant of tcompose() that takes an array of string arguments.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1156 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-27 07:09:04 +00:00
Ray Greenwell 1a53da6727 Formatting changes:
- removed tabs
- explicitly specify imports
- I made each comment a complete and punctuated sentance.
- other minor convention changes


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1155 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 23:35:02 +00:00
Michael Bayne 0251b8f19f Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1154 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 22:58:46 +00:00
Michael Bayne 1806eb3344 Added equals() and hashCode() so that we can compare game configurations;
removed serialization code because SimpleStreamableObject now
automatically handles it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1153 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 22:58:31 +00:00
Michael Bayne 2326a37975 Removed the placeOid because we don't use it; reparented with
SimpleStreamableObject because config objects tend to be simple streamable
objects and can leverage the automatic serialization.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1152 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 22:57:52 +00:00
Michael Bayne 31140a7e3e Modified toString() to be more extensible.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1151 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 22:56:54 +00:00
Ray Greenwell aca95b8540 Store object tiles in HashIntMaps instead of in arrays because they may
have coordinates outside of the normal scene coordinates.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1150 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 20:17:51 +00:00
Ray Greenwell 5f42e8d304 Color utility methods.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1149 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 20:09:43 +00:00
Walter Korman de0a6b70a8 Added codes for left/right, clockwise/counter-clockwise, and
horizontal/vertical.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1148 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 01:31:15 +00:00
Walter Korman 984f2cc9f0 Build simulant names with the index counter rather than the simulant size
now that we resolve clients asynchronously.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1147 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 01:30:37 +00:00
Michael Bayne 8abacf6b0c Added zero argument constructor (for unserialization); fixed a bug in
serialization code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1146 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-21 01:58:10 +00:00
Michael Bayne 932723c370 Needed to register CompoundEvent.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1145 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-21 01:57:40 +00:00
Michael Bayne 5c422a18e1 Register our ElementUpdateEvent with the TypedObjectRegistry.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1144 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-21 01:10:24 +00:00
Michael Bayne ad611952fa Wasn't keeping reference to PlaceObject even though we had a member for
it; modified handleAction() to call super if we or our delegates didn't
handle the action (which invokes the reflecty business).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1143 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-21 00:55:10 +00:00
Michael Bayne 625b2ce03f Added support for null elements in the streamable array.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1142 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-20 23:08:22 +00:00
Michael Bayne 9cdfcd81f9 Now uses StreamableUtil to marshal and unmarshal streamable arrays (which
means that arrays of heterogenous types are now supported).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1141 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-20 23:00:11 +00:00
Michael Bayne 1bf6e6093d Added support for streaming arrays of streamables; extracted the efficient
streamable serialization code from PolyStreamableList and made it
generally available; modified the StreamableArrayList to support
heterogenous lists (because they don't have much more overhead than
homogenous lists now) which allows us to remove PolyStreamableList
entirely.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1140 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-20 22:58:26 +00:00
Michael Bayne 357a8e5949 Documentation cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1139 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-20 19:07:15 +00:00
Michael Bayne 6b564ae503 sourceOid needs to default to -1.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1138 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-20 19:06:55 +00:00
Michael Bayne 81e8158e90 Compound events need to propagate their source oid to their constituent
events after setting their own source oid.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1137 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-20 03:29:21 +00:00
Michael Bayne 35df145846 Added the ability to set up a default access controller which is used (by
default) for all objects created in the system.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1136 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-20 03:23:00 +00:00
Michael Bayne aa195bed83 Added a mechanism for pluggable event access control.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1135 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-20 03:19:51 +00:00
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
Rick Keagy 2d90f897f1 Initial revision
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1126 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-15 23:04:06 +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
Michael Bayne 144c8ec1aa Added actions for all of our new poses.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1121 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-15 01:06:54 +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
Rick Keagy d6cc81002a all male components in 10 actions to date
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1119 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-14 19:59:12 +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 873406f6c5 Moved male pirate components into their own directory (which prefixes all
their class names with male/).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1112 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 22:37:21 +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