Commit Graph

1179 Commits

Author SHA1 Message Date
Ray Greenwell b153d22a10 An image to help explain fringe bits, because ascii art sucks.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1182 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-04 02:33:22 +00:00
Ray Greenwell 006c25a8d8 Fringe configuration class and supporting classes to read in the xml
specification file and turn it into a serializable object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1181 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:52:44 +00:00
Michael Bayne 50012b1cd1 Only rewrite out the tileset map if it has changed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1180 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:42:22 +00:00
Michael Bayne 1303897d3d The tileset bundler task is called differently now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1179 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:25:22 +00:00
Michael Bayne b18c6dc7bf Blow away the test tileset map file so that it's recreated consistently
every time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1178 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:24:17 +00:00
Michael Bayne 5d55a29da4 Generate the name of the bundle.jar file from the bundle description file
so that we can generate a whole set of bundles in a directory tree in one
fell swoop.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1177 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:21:35 +00:00
Michael Bayne f495557624 Report the file on which we choked when we choke.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1176 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:20:50 +00:00
Michael Bayne 507920843d Added method for checking to see if a tileset is mapped to an id.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1175 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:03:23 +00:00
Walter Korman 093edd4750 Pass along the user password if specified.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1174 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 21:53:17 +00:00
Michael Bayne 8a36a11a1d Moved CompiledConfig stuff into narya because it's generally useful.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1173 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-02 01:55:26 +00:00
Michael Bayne 6acdb6daae Act on an object's entire bounds rather than one constrained to the shape
of the bottom of its footprint. This allows objects to spill out beyond
their footprint (and not get clipped) as long as they are otherwise well
behaved.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1172 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-02 01:06:46 +00:00
Michael Bayne 405f105f0c Added a method that gets the actual object bounds rather than one confined
to the shape of the bottom of the object footprint; renamed the old method
and left it around in case we want to use it later.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1171 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-02 01:05:49 +00:00
Michael Bayne 4110fb82c4 Validate gapSize and offsetPos arrays before trying to use them.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1170 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-01 22:53:39 +00:00
Michael Bayne 76aaa7722a Report that we're downloading a bundle when we set out to do so.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1169 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-01 20:47:28 +00:00
Michael Bayne 4afaa186eb Track some repackaging in the Jakarta libs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1168 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-01 16:49:26 +00:00
Michael Bayne a2db66aa21 More Config rethink.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1167 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-28 23:59:34 +00:00
Michael Bayne b486315e47 Revamp! Modified the way configuration is handled.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1166 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-28 22:32:34 +00:00
Michael Bayne bf9a2ca151 Added methods to allow parsing from a file or directly from an input
stream.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1165 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-28 00:56:20 +00:00
Michael Bayne 95ed4b001d Minor edit.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1164 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-27 21:52:41 +00:00
Michael Bayne 4c43512f3b Define frames per second in floating point.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1163 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-27 21:51:33 +00:00
Michael Bayne be1ef2c1a2 Allow specification of fps in floating point.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1162 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-27 21:51:15 +00:00
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