Michael Bayne
2e6c813bd6
Pass the current time stamp to viewWillScroll().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1063 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-21 00:20:22 +00:00
Michael Bayne
5f18acd3d8
Modified distributed object attribute setting such that attributes are
...
*always* set immediately because after some deliberation, we decided that
doing that led to less unexpectedly annoying behavior than having to wait
for the event to propagate to see the new value.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1062 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-20 23:35:42 +00:00
Michael Bayne
fec59f61a8
Dirty the old frame bounds and the new frame bounds when our frame image
...
is replaced.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1061 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-20 03:13:57 +00:00
Walter Korman
c0cfec8f90
Fixed comment typo.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1060 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-20 02:10:02 +00:00
Michael Bayne
d0e946756d
Updated the ignore files.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1059 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 22:11:30 +00:00
Michael Bayne
cbcf5d217e
Revamped bundle stuff to put all actions and classes in one top-level
...
metadata bundle and just the components in separate component bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1058 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 22:10:30 +00:00
Michael Bayne
ade0080446
Added support for obtaining character components by class name and
...
component name, which is handy when you don't want to do compositing, but
just want to load single "component" characters.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1057 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 22:09:50 +00:00
Michael Bayne
e7022fcfff
Added facilities for specifying the resting and path-following actions
...
because they won't always be standing and walking.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1056 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 22:09:08 +00:00
Michael Bayne
12dd0ff1c7
Load our vessel components by name now that we can.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1055 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 22:08:25 +00:00
Michael Bayne
bd899e1636
Changed action class to reflect new vessel component organization.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1054 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 20:17:36 +00:00
Michael Bayne
f5c7d7864c
Added a ship sprite to the center of the scrolling view.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1053 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 20:03:13 +00:00
Michael Bayne
a54339594c
Pick tiles pseudo randomly based on the coordinates.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1052 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 20:02:16 +00:00
Michael Bayne
1ae28e9942
Ignore the data files.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1051 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 20:01:48 +00:00
Michael Bayne
286728cec7
New ship component bundle.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1050 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 20:01:21 +00:00
Michael Bayne
947107b0ba
Added another set of component bundles for ships.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1049 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 20:00:32 +00:00
Michael Bayne
0db9ce6d2d
Don't need to create our own sprite manager; added a method for adding
...
sprites to the screen which takes care of assigning their tile
coordinates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1048 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 19:58:19 +00:00
Michael Bayne
9b465b9fe3
Split the rendering into scrolled items and fixed items. Render the
...
sprites (and object tiles) as fixed items.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1047 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 19:57:46 +00:00
Michael Bayne
d869e1168e
Let our sprite manager know when we scroll; modified the rendering such
...
that scrolled views are copied to the display in their entirety instead of
just updating the dirtied regions (because we can't scroll the visible
screen buffer and then paint on top of it because the user will see things
in an intermediate stage).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1046 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 19:56:49 +00:00
Michael Bayne
ee3532f6f1
Added mechanism by which the sprite manager can be informed that the view
...
on which its sprites are rendered was scrolled so that it can generate the
appropriate dirty rectangles or update its sprite's positions.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1045 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 19:55:14 +00:00
Michael Bayne
817c7aab39
Removed obsolete variables.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1044 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:43:20 +00:00
Michael Bayne
025f212df0
Use a BorderLayout.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1043 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:42:51 +00:00
Michael Bayne
cbaba2b381
Tell the sprite manager about our viewport offset.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1042 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:41:55 +00:00
Michael Bayne
958cb213d5
Blarg. Have to tell the sprite manager about the viewport offset when
...
we're using it to render sprites into a view that is being displayed in a
viewport that is smaller than the actual size of the view. Oh the
jockeying.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1041 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:41:36 +00:00
Michael Bayne
b01df00f3f
Use a border layout.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1040 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:21:33 +00:00
Michael Bayne
74ae7214da
Use full-screen mode if possible.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1039 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:21:15 +00:00
Michael Bayne
922fdc292f
Have to translate invalidated rectangles according to our viewport
...
translations for everything to work out.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1038 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:20:13 +00:00
Michael Bayne
3e68fd8994
Clear out our back buffer when we're validated (as we probably changed
...
sizes).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1037 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:19:04 +00:00
Michael Bayne
7db44c5ee3
Let the animated panel handle invalidating the regions exposed by
...
scrolling so that it can do so with the actual dimensions of the panel
(the scene view only knows how big its model wants to be). Changed
scrollView to viewWillScroll to more accurately reflect what's going on.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1036 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 05:03:17 +00:00
Michael Bayne
d6ad960a14
Don't show coordinates.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1035 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 04:45:55 +00:00
Michael Bayne
f2f6407c1e
Need to account for negative scrolling deltas.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1034 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 04:45:14 +00:00
Michael Bayne
b95f764282
Use smart polygons.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1033 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 04:02:50 +00:00
Michael Bayne
fc58eec429
Whoops, missed a change.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1032 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 03:58:37 +00:00
Michael Bayne
9b9211de16
Use a SortableArrayList instead of going for object creation mania every
...
time we sort the sprite list.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1031 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 03:57:53 +00:00
Michael Bayne
a6f63ee873
Need to set the absolute value of the velocity.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1030 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 03:57:30 +00:00
Michael Bayne
6a0ee2f291
Added support for null Streamable fields.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1029 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 03:30:55 +00:00
Michael Bayne
b550063f04
Chain exceptions when we can.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1028 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 03:30:40 +00:00
Michael Bayne
d8921f3c4b
Modified the value marshaller to support reading and writing null.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1027 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 03:05:56 +00:00
Michael Bayne
3125782a15
Modifications to get scrolling working again. It's a bit smoother, but
...
we can do better.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1026 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 01:42:28 +00:00
Michael Bayne
68823a9f8a
Updates to support new method signature.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1025 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 01:27:48 +00:00
Michael Bayne
7302924ea0
Can't ignore repaints, try not being decorated.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1024 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 01:27:34 +00:00
Michael Bayne
b0364efa34
Only request a repaint in mouseMoved() when our hobject changes if we're
...
highlighting objects and the object's action status is in line with
whether or not we're only highlighting objects with actions. Also changed
some things to support the new, simpler, AnimatedView interface.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1023 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 01:26:17 +00:00
Michael Bayne
e0e60c3fe3
Modifications to bring things up to speed with interface changes in the
...
animation base classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1022 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 01:24:59 +00:00
Michael Bayne
63a32a6332
Modified rendering to use a hand managed volatile image as a back buffer
...
instead of using a buffer strategy. This will shortly be extended to
support more efficient scrolling as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1021 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 01:23:56 +00:00
Michael Bayne
8d56ec853a
Documentation clarification.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1020 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-18 06:06:14 +00:00
Michael Bayne
06f9ac0c31
Disable scrolling when speed is set to zero mspp.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1019 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-18 06:05:59 +00:00
Michael Bayne
f497a93541
Create the IsoSceneViewModel and no longer create the sprite manager.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1018 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-18 00:43:24 +00:00
Michael Bayne
c97222993b
Have the scene view panel create its own sprite manager and supply it with
...
a scene view model rather than a config object from which it would create
a model.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1017 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-18 00:40:58 +00:00
Michael Bayne
9faac13369
Added ability to construct a view model directly with the proper
...
parameters.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1016 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-18 00:37:55 +00:00
Michael Bayne
648c1c3c99
Need to use / not File.separator because apparently jar files always want
...
forward slashes. (Write once, run anywhere!)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1015 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-18 00:06:57 +00:00
Michael Bayne
718ca0de17
Test application for the scrolling isometric view.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1014 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-17 23:48:38 +00:00