Commit Graph

2286 Commits

Author SHA1 Message Date
Michael Bayne 56b0012782 Use Comparable for the to be removed distributed set key.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2290 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-26 17:54:56 +00:00
Michael Bayne 5ed8637ecf In order to properly pick up any changes made to ObjectInfo records in our
objects array, we have to recreate it completely because objects could
become interesting or uninteresting and we'd never know when to remove
them from one storage mechanism and stick them in the other.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2289 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-24 18:40:41 +00:00
Michael Bayne d7e60e2749 Not to freak out if we can't recolor an image, just log a warning and
return the unrecolored version.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2288 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-22 01:48:21 +00:00
Ray Greenwell 5962fa1e54 Made note of and implemented clearing of fringes when a base tile is set.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2287 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-20 00:40:13 +00:00
Ray Greenwell 7bde1b3b4b Use JAVA_HOME rather than hardcoding the path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2286 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-18 23:06:54 +00:00
Michael Bayne 7b97f872c8 Allow initialization from an array of entries.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2285 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-18 19:50:34 +00:00
Michael Bayne 51a883fc34 Factored toString() into two methods for easier customization by derived
classes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2284 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-18 18:59:08 +00:00
Michael Bayne f0628cfeac A streamable hash int map; whee!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2283 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-18 03:01:16 +00:00
Michael Bayne 1fa367e46f Render the tile grid when rendering coordinates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2282 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-14 22:10:48 +00:00
Michael Bayne d44557eadd Minor adjustment to cluster handling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2281 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-14 21:34:26 +00:00
Michael Bayne 6c59201b5c Try to freak out less if we can't get our action frames.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2280 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-14 21:24:13 +00:00
Michael Bayne 63c5d9a3a3 Let's be a good key.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2279 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-13 23:01:35 +00:00
Michael Bayne 2d5d1c56a8 Small changes to the cluster services: cluster information is published in
the scene object; clusters are centered within their group of occupants; a
player must start a cluster with another player rather than by themselves.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2278 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-13 21:55:22 +00:00
Michael Bayne 24b6d1fcec Activate our bundles before turning our download observers loose.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2277 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 18:11:33 +00:00
Michael Bayne a8a2d9b1ba Various changes to support changes in the Narya library.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2276 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 07:24:08 +00:00
Michael Bayne 5bca9e5397 Scene updates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2275 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 07:23:49 +00:00
Michael Bayne 2a4385ad33 The amazing refactor forteen hundred billion: eliminated "locations",
portals will by dynamically created, combined display/runtime/editable
scenes into one, enhanced support for modifying scenes and distributing
updates to the clients, various other small stuff that should not be
sweated.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2274 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 07:23:32 +00:00
Michael Bayne a54b3e279c Added getOpposite().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2273 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 07:22:04 +00:00
Michael Bayne f06bb6beaa Combined display/runtime/editable scenes; revamped parser system.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2272 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 07:21:50 +00:00
Michael Bayne 14dbc463a2 More Miso modifications: support new combined scene interface stuff; new
scene model stuff; other small business.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2271 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 07:21:15 +00:00
Michael Bayne f1ced5a3c5 Small changes: render object spots; handle ObjectList changes; other
business.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2270 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:46:05 +00:00
Michael Bayne 38f11ca4c4 Combined display/runtime/editable scenes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2269 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:41:12 +00:00
Michael Bayne 89e6252169 Refactored Miso scene system to support larger (tiled) scenes in the
future.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2268 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:39:15 +00:00
Michael Bayne 9b487083d4 Tile layers went away.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2267 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:38:32 +00:00
Michael Bayne eaf00bf441 Fringe a tile at a time; made some small performance tweaks.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2266 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:38:12 +00:00
Michael Bayne a9ba8fdfe5 Report our effective render priority in toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2265 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:37:19 +00:00
Michael Bayne fc11f92371 Manipulate ObjectInfo rather than DisplayObjectInfo objects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2264 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:36:44 +00:00
Michael Bayne c19bc45e29 More methods for converting and handling tile/fine/full coordinates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2263 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:36:18 +00:00
Michael Bayne 5dbc4ba8f8 Interfaces to support an extensible XML parsing and writing system.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2262 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:35:21 +00:00
Michael Bayne 1a0a1c8951 Created a PartyGameConfig interface and rejiggered party game support a
bit to incorporate it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2261 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:34:53 +00:00
Michael Bayne 4db9d58cb4 Handle spot information in such a way that we can easily tell if a spot
has been provided for an object tile or not.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2260 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:33:47 +00:00
Michael Bayne 03573d2a1e Added hasSpot().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2259 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:33:18 +00:00
Michael Bayne a6e64a7f28 Added getTile(int fqTileId).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2258 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:32:54 +00:00
Michael Bayne e1a8bd2cc9 Added getTileSetId() and getTileIndex().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2257 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:32:35 +00:00
Michael Bayne 8a430a41aa Make orientation of pathable at end of path available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2256 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 05:27:57 +00:00
Ray Greenwell 3489a23603 Added hacked-together support for playing .ogg files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2255 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 01:44:44 +00:00
Michael Bayne db3790f438 Require spot orientations to be specified by direction string rather than
integer value.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2254 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-11 06:18:59 +00:00
Michael Bayne a5c7342cdf Include our class name in toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2253 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-11 06:00:51 +00:00
Michael Bayne 340124d567 Need to incorporate render priority in every comparison; rather than
assuming equality for display object vs. non-display object comparison.
Instead assume non-display objects have render priority of zero.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2252 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-11 05:47:28 +00:00
Ray Greenwell 1a3699b39c Changed the default initial keyrepeat delay to 500ms from 150ms.
It should at least be higher than the repeat rate (200ms), and I think 500ms
is about right. That's what X defaults to, I believe.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2251 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-10 18:48:16 +00:00
Michael Bayne dbbd006c6a Account for partitioning objects that overlap the objects they partition;
account for render priority when sorting the partitioning objects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2250 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-07 22:06:28 +00:00
Ray Greenwell ffa840c5ac - fixed grievous bug that NPE'd when a sound was in a bundle rather than
being loaded out of the classpath.
- enabled sound. I want to test at home with my old linux machine and see
  how things are.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2249 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-07 02:53:49 +00:00
Michael Bayne a28d13419d Since we have narya/dist/classes in our classpath, we don't need any
prebuilt narya .jar files.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2248 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-06 23:57:50 +00:00
Michael Bayne a4df939073 No need to get libraries out of our parent's lib dir. It's all in
JAVA_LIBS and the dist/classes now.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2247 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-06 23:57:27 +00:00
Michael Bayne 162f0836d9 Don't delay access to our resources unless we're specifically told that we
should wait.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2246 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-06 19:13:49 +00:00
Michael Bayne f3db47e22b Switch from IntListUtil to ArrayUtil.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2245 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-06 18:58:30 +00:00
Michael Bayne 9e46af6dce Make the spot information available via the object tile; convert object
tile internals to use dimension and points.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2244 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-06 06:23:05 +00:00
Walter Korman 87209ce461 Deal gracefully with having a null jar source in toString() even after an
attempt to resolve the jar file.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2243 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-05 22:48:50 +00:00
Michael Bayne fc1a45dbaa Make where() publicly accessible.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2242 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-05 00:23:52 +00:00
Michael Bayne 6b7f189fc6 Provide access to object tileset info.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2241 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-05 00:22:05 +00:00