Commit Graph

2153 Commits

Author SHA1 Message Date
Michael Bayne bafffbd6fd A repository for client side preferences for the miso package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2156 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 07:41:31 +00:00
Walter Korman e4ed924095 Added runtime adjustment to toggle debug rendering that highlights covered
and non-traversable tiles.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2155 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 04:25:45 +00:00
Michael Bayne c98f45e3a0 Let's get those nots in the right places.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2154 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 02:50:36 +00:00
Michael Bayne 0558830cff Had the beans above the frank.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2153 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 02:48:45 +00:00
Michael Bayne bd943707f3 Add debug toggles for running blank and disabling image preparation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2152 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 02:45:37 +00:00
Michael Bayne 6ab0215ea3 Created a prefs repository for the cast stuff; use a runtime adjustment to
obtain our cache size.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2151 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 02:36:59 +00:00
Michael Bayne 01a3630493 Use the adjustment directly rather than going through the prefs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2150 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 02:36:18 +00:00
Michael Bayne 43bc29afd8 Static variables go above static constants.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2149 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 02:31:50 +00:00
Walter Korman c9dc85cd0d Added a variety of test listeners for the frame so that we can observe
events the frame receives, and a flag to toggle whether to add the
listeners.  Make sure to dispose of the frame graphics context if it
becomes invalid.  Removed code to prevent adding a frame participant more
than once since the observer list now handles that for us.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2148 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 02:21:07 +00:00
Walter Korman 17298d5710 Revised to use image manager to create blank image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2147 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 02:17:52 +00:00
Michael Bayne 65af7a36e4 A preferences repository for narya.media preferences.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2146 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 00:47:29 +00:00
Michael Bayne 60a60d49ec Use runtime adjustments for our image and tile cache size.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2145 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 00:47:09 +00:00
Ray Greenwell 4ba1fe57c3 Modified so that it will work if re-inited with a new Pathable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2144 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 22:37:38 +00:00
Walter Korman a2867539bc Log interesting system information on server startup; logging at start of
init() also provides immediate feedback re: the server starting up and a
timestamp in the log against which subsequent action timeliness may be
weighed.  I suspect mdb will decide this is better off residing in the
Yohoho-specific server and outputting to something like the server state
audit log, but I like it here and so I've forged ahead.  If this does get
the axe, I still claim that logging "Server starting up..."  as the first
business in init() is useful and desirable.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2143 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 22:36:58 +00:00
Ray Greenwell 9587014664 A Path used to bobble a sprite...
..she's starting to shimmy!
      ..she's starting to shake!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2142 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 04:40:45 +00:00
Michael Bayne 6c7b0b3836 Create our image through the image manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2141 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 04:18:25 +00:00
Michael Bayne f26cfb322d Temporary hack to make all images translucent since that works around
strange slow rendering problems we see when we allow mixed BITMASK and
TRANSLUCENT images to be rendered.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2140 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 04:05:56 +00:00
Michael Bayne e38c4aaf80 Allow tilesets to be loaded in the background.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2139 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 02:52:04 +00:00
Michael Bayne e1f4b19e37 Commented out debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2138 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 02:51:40 +00:00
Michael Bayne 5720be31a5 Have to pass in our friendly neighborhood image manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2137 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 02:50:54 +00:00
Michael Bayne 1512fdfa1f Begone ImageUtil.createImage(), all images are created through the image
manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2136 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 02:50:34 +00:00
Michael Bayne 3c58a1ac26 Use the appropriate transparency when creating our prepared image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2135 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 00:59:55 +00:00
Michael Bayne 88cc8303fa Update cached resource files when appropriate.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2134 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 00:58:59 +00:00
Walter Korman 0a5104a70c Allow specifying the rate at which individual key presses are to be
repeated.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 00:53:38 +00:00
Michael Bayne 4e796ad5b1 Go back to having BundleUtil return null rather than throwing FNF.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2132 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 00:36:14 +00:00
Michael Bayne 5a51f58bdd Go ahead and support primitive mirage loading so that the editor test tile
loader will work.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2131 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-14 00:23:19 +00:00
Michael Bayne a90b9a5bd1 Let's have those decoys back and remove the debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2130 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 23:56:28 +00:00
Michael Bayne ed847b964d Provide the appropriate transparency when requested.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2129 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 23:56:01 +00:00
Michael Bayne 98c2dd45db Deal with fucking stupid ass close() behavior from ImageInputStreamImpl.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2128 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 23:55:05 +00:00
Michael Bayne d88a358f39 We need to composite our action frames because it's possible that during
our tick we'll do something that invalidates our existing frames and we
need to composite the new ones in paint().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2127 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 23:54:19 +00:00
Michael Bayne 0ae21770d0 Don't draw outside the lines.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2126 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 23:53:34 +00:00
Michael Bayne a34a0eb1a5 Use bitmask transparency for composited character sprites.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2125 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 23:53:04 +00:00
Michael Bayne a2e4c8816f Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2124 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:58:27 +00:00
Michael Bayne 7f706aa063 Updates to reflect new media architecture.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2123 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:57:46 +00:00
Michael Bayne 988cd16528 Add view width and height info.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2122 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:55:47 +00:00
Michael Bayne 340bba9956 Add general components.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2121 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:55:28 +00:00
Michael Bayne 9233719363 Modified to support tile immutability and new media architecture; auto
fringer now generates fully stamped fringe tiles rather than tiles with a
list of images to be painted every time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2120 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:55:12 +00:00
Michael Bayne b9be0aef92 Tiles are now immutable, so the DisplayMisoScene becomes the arbiter of
whether or not a traverser can traverse a tile.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2119 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:53:56 +00:00
Michael Bayne 5c055d21a6 Revamped to support new media architecture. Added tunability to in-memory
action cache.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2118 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:53:04 +00:00
Michael Bayne e400ba5be6 Resources are unpacked and cached in a temporary directory on the
filesystem. This should speed up subsequent loads as they won't have to be
decompressed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2117 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:50:36 +00:00
Michael Bayne 100aa3ace3 Major media subsystem revamp:
- All images are loaded through the image manager
- Architected to allow the use of prepared or unprepared images (and
  volatile images when the day comes that they support alpha)
- Tunable caches for images and tiles
- Resource manager caches unpacked resources on the filesystem
- Various and sundry other cleanups


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2116 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:49:47 +00:00
Michael Bayne 8743be2131 Enhanced which().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2115 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 18:38:05 +00:00
Michael Bayne d02a247d76 Added a which().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2114 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 18:36:18 +00:00
Walter Korman db201a29bd Moved native library compilation into a separate target.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2113 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 02:15:25 +00:00
Walter Korman 7953fb0b24 Oops; use the install target as the main target so that we only rebuild
things when it's actually necessary to do so.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2112 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 02:06:10 +00:00
Walter Korman 786f6f8a63 Build the native linux keyboard library as part of the normal compilation
task and place it in dist/lib/i686-Linux.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2111 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 02:04:19 +00:00
Walter Korman 4956ed66ae Added and commented out debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2110 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 01:19:58 +00:00
Walter Korman 3bf267fc26 Fixed javadoc typo.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2109 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 01:19:33 +00:00
Walter Korman 494fc1a620 Ignore the dll.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2108 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 01:19:05 +00:00
Walter Korman de6c4371b9 Initial version of linux (working) and Windows (not yet working) native
libraries for enabling and disabling keyboard auto-repeat.  Restored
auto-repeating in our own KeyboardManager, and disabled the interval used
to differentiate between a "real" and "fake" key repeat since we believe
we can now do without it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2107 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 00:26:39 +00:00