Commit Graph

971 Commits

Author SHA1 Message Date
Michael Bayne 36e70e902d Added --force argument; added support for slurping the $Id$ string out of
the target file and stuffing it back into the newly generated file so that
the generated file doesn't inherit the $Id$ string of the declaration file
which would generally not be what we want.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@971 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:53:58 +00:00
Michael Bayne 995b6f8ea2 Added a set<DSetField>() method for DSet fields in case one wants to
replace the entire field rather than just add/remove/update elements.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@970 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:32:16 +00:00
Michael Bayne fcca82c3f6 Added build directives to generate dobj source files; made test object a
generated dobj class.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@969 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:17:38 +00:00
Michael Bayne 1258fee18b Extracted PlaceObject and BodyObject into dobj definition files and
checked in their generated counterparts (which we want available for
javadoc-type stuff and so that we don't have to see CVS claim no knowledge
of them for the rest of time).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@968 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:10:36 +00:00
Michael Bayne f28a0b8c7a Added target for generating distributed object source files from
abbreviated definitions.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@967 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:09:33 +00:00
Michael Bayne d71d2c3a91 Modified script not to generate new destination file unless the source
file is newer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@966 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:08:39 +00:00
Michael Bayne 8a6f656111 Implemented a script for automatically generating the necessary
distributed object field constants and setter methods for a distributed
object class declaration.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@965 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 22:41:22 +00:00
Michael Bayne 1e36cb65d8 Need to prefix heterogenous set elements with their classname.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@964 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 05:14:22 +00:00
Michael Bayne b4d5f7da24 Have to cope with heterogenous sets in toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@963 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 04:44:32 +00:00
Michael Bayne 683d5b2c4e Removed TODO as it was already done.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@962 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 20:02:53 +00:00
Michael Bayne 39db06672b Modified the AStar path algorithm to use the geometric distance to the
goal as its distance estimate and to assign a higher cost to diagonal
traversal than to orthogonal traversal.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@961 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 19:57:24 +00:00
Michael Bayne 6c35ab42ec Removed old tilesets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@960 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 06:56:26 +00:00
Michael Bayne 151d06b62c Moved tools directory under tiles/bundle.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@959 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 06:55:46 +00:00
Michael Bayne 5e303799a2 Added a field marshaller for byte arrays.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@958 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 05:27:07 +00:00
Michael Bayne ae5d0fbcb3 Added calls back into the zone manager to allow it to accept or reject a
zone entry request and for it to be notified when a zone entry is
completed. (So that it can do any processing that it might care to do.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@957 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 03:26:58 +00:00
Michael Bayne ed63ea9679 Provided hooks for a disk-based cache for composited action animations.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@956 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 03:20:29 +00:00
Walter Korman de2a0eee01 Meant to make tiles non-covered by default. "...change the poles from
plus to minus, and from minus to plus!"


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@955 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 02:58:46 +00:00
Walter Korman b4f20f1b36 Initial test landscape tiles from Rick.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@954 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 02:53:19 +00:00
Walter Korman bc6f66f6cd Added ObjectAction.toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@953 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 00:24:36 +00:00
Michael Bayne 2ba2e7a994 No longer need the SwingSceneViewPanel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@952 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-06 23:40:25 +00:00
Michael Bayne 923ff9e9a4 Third time's a charm. Why I thought I needed to invert the logic, I do not
know.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@951 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-06 23:38:45 +00:00
Michael Bayne 87c6c3e468 Whoops. Wasn't statuc.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@950 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-06 23:35:47 +00:00
Michael Bayne 1b7b8e5737 Added objectFootprintsOverlap(). It's used by the editor, but IsoUtil
seemed like the right place for it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@949 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-06 23:34:17 +00:00
Michael Bayne 554d11c62b Added support for rendering object footprints when rendering objects
(useful in the editor to see what's traversable and what's not).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@948 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-06 23:14:56 +00:00
Michael Bayne 670f3a71c3 Fixed javadoc.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@947 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-06 22:47:28 +00:00
Michael Bayne e6003b2b3d Fixed spelling error.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@946 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-06 22:47:16 +00:00
Walter Korman 45f7d96d70 Include the mapfile path in build exception messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@945 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-06 19:33:36 +00:00
Michael Bayne 81ed1f42e8 Removed the ShadowTile and replaced it with facilities in the BaseTile to
"cover" a tile with an object tile. While a tile is covered, it is
impassable. This allows us to have base tiles under object tile footprints
that are rendered, but not traversable by character sprites.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@944 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-06 17:13:06 +00:00
Michael Bayne 3042e9c2ad Removed debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@943 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-06 01:47:08 +00:00
Michael Bayne 62c466b95f Changed getContext() to getParlorContext() to prevent naming conflict.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@942 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:58:23 +00:00
Michael Bayne ff97ce2c25 Report the error if we fail to load game config; minor restructuring.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@941 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:57:44 +00:00
Michael Bayne bf049dc1c7 Set up our SimulatorManager on init().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@940 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:57:10 +00:00
Michael Bayne 84891c9b91 Whoops, wasn't appending field data to our buffer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@939 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:27:26 +00:00
Michael Bayne 9e6e07ea61 Extracted the simulator server services out into an implementable
interface so that we can replace the server with a more sophisticated one
when running the simulator.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@938 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:12:42 +00:00
Michael Bayne 8dd6ac2b32 Need to be provided with an omgr rather than referencing it via the
SimulatorServer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@937 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:11:51 +00:00
Michael Bayne 4575bbcf13 We can safely switch to destfile because we're using our own build of ant.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@936 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 21:41:17 +00:00
Michael Bayne 98c0b84562 No longer need this ant wrapper. Use narya/bin/ant.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@935 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 21:40:40 +00:00
Michael Bayne 858d9bbefa Added a script for invoking our version of ant with our jars.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@934 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 21:39:22 +00:00
Michael Bayne 0f47b72787 Repackaging! Changed a bunch of foo.tools.bar to foo.bar.tools and brought
some other things up to date with changes that had been made to that
effect previously. I love the vast sweeping changes that come along with a
change of mind.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@933 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:29:10 +00:00
Michael Bayne 235537f7d4 No need to do toString() business any more.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@932 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:27:59 +00:00
Michael Bayne 80dd2854e8 Get shared libraryes from JAVA_LIBS rather than /usr/share/java.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@931 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:27:34 +00:00
Michael Bayne 9cafc77659 Modified simulator manager to obtain helper managers at construct time
rather than referencing them through SimulatorServer. This is step on in
eliminating SimulatorServer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@930 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:27:07 +00:00
Walter Korman 1cdefe7ae1 Added marshaller for booleans.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@929 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 09:35:59 +00:00
Michael Bayne a83e512270 Modified DObject.toString() to use fieldsToString() so that all of its
derived classes need not do their own toString()ing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@928 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-04 01:47:20 +00:00
Michael Bayne 5bb4e3435b Provided a mechanism by which a DSet can be populated at construct time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@927 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-04 01:34:59 +00:00
Michael Bayne c6f72ce556 Log message edit.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@926 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-04 00:51:15 +00:00
Michael Bayne 25717d3cce Modified distributed sets such that they can be heterogenous or
homogenous, and in the latter case, they simply conserve network bandwidth
by not transmitting the classname of serialized elements when transmitting
themselves or element added/updated events.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@925 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-04 00:50:12 +00:00
Michael Bayne 9b17dafd03 Created an icon manager for loading icons from tilesets using a
configuration file to map icon set identifiers to tileset images and
metrics.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@924 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-03 22:43:54 +00:00
Walter Korman 1415319aab Edited auxilliary -> auxiliary.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@923 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-03 08:22:38 +00:00
Walter Korman 5dc68306ac Added a byte field marshaller.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@922 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-03 06:06:10 +00:00