Commit Graph

1177 Commits

Author SHA1 Message Date
Dave Hoover bc7fd397fb Update source headers to point to our new home.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1034 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-18 19:02:13 +00:00
Dave Hoover 0fd973adad Prune unused imports
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1033 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-15 22:57:33 +00:00
Dave Hoover dae83d9c14 Update README with modern information
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1032 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-15 20:16:02 +00:00
Dave Hoover 082bd4399b Whitespace
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1031 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-15 20:16:01 +00:00
Dave Hoover b443c0e48c Let's not make a rectangle just to throw it away & remake it.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1030 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-15 20:15:59 +00:00
Dave Hoover 8df1d713f2 Speeling
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1029 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-15 20:15:58 +00:00
Dave Hoover 74322e54a9 Wrong "its"
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1028 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-15 20:15:57 +00:00
Dave Hoover 8b17ad25f5 Foreachify
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1027 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-15 20:15:54 +00:00
Michael Bayne ab50182dcc We're going to need to publish this code somewhere.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1026 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-14 18:13:47 +00:00
Michael Bayne 7def63d087 It's even twistier than I thought, but I'm going to assume that the original
logic did not take advantage of the fact that it was possible to fall through
the second switch and not actually return anything and further fall through
into supporting specialized or ignoring. If that really was going on, then this
hairy mess needed to be cleaned up anyway and deserves to be a bug.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1025 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-14 17:51:20 +00:00
Michael Bayne 6eab62a3bd This logic is twisty.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1024 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-14 17:46:58 +00:00
Michael Bayne 471c7e9c29 We can't rely on overriding methods in SubtitleChatOverlay to customize them
for a target system, because ComicChatOverlay already overrides
SubtitleChatOverlay and we wouldn't want to go down the twisty roads of
multiple inheritance even if we could.

Instead, I have factored out the customizable stuff into ChatLogic, which has
the dual nice properties of actually working in Java, and of making it very
obvious what is customizable, which was definitely not the case when these
methods were scattered among the four score methods inside SubtitleChatOverlay.
Win win!


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1023 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-14 17:35:20 +00:00
Michael Bayne 981a0b458c Header fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1022 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-14 16:51:44 +00:00
Michael Bayne d0d4b1a28f Factored the subtitle and comic chat stuff out of Yohoho. All completely
untested. Whee! I thought I had gotten around to making a standalone avatar
chat room based on the Vilya Stage code, and was hoping to add this there, but
I guess I never did that.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1021 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-14 16:49:41 +00:00
Michael Bayne 9321b6159b No need to pass MessageManager to ChatDirector constructor. Need to export
MessageManager in context.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1020 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-14 16:04:27 +00:00
Michael Bayne b740b66d0a Fix typo.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1019 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-14 01:03:46 +00:00
Michael Bayne 6c9e1243ab Get tools from narya-tools-full, but keep it out of our normal classpath.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1018 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-14 01:00:19 +00:00
Mike Thomas b5a19fc68d Add a convenience function for checking start color if you have the full colorPrint
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1017 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-08 18:56:17 +00:00
Mike Thomas 7dda42a091 Factor out the painting of the actual tile so we can override this to do wacky stuff in subclasses.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1016 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-09-27 22:32:40 +00:00
Dave Hoover 0fea482c4c Wrong "its"
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1015 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-09-17 20:39:14 +00:00
Dave Hoover 87919b5f6f Whitespace
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1014 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-09-17 20:39:13 +00:00
Mike Thomas 178fa9db35 Let's not just arbitrarily ignore colorizations in this image provider. It's making the artists using test tiles in the editor sad.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1013 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-09-15 01:13:22 +00:00
Par Winzell d59be4e7a3 IDEA module files. You'll need to name your SDK 'Flex SDK (player 9)' for these to work. I have eschewed modules exporting the modules they depend on forward; partly because this doesn't work right for Flex compilation anyway, and partly because we do explicit dependencies everywhere else, so why not here? Each module explicitly lists the libraries and modules on which it depends.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1012 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-09-09 17:24:01 +00:00
Mike Thomas 6e792aab43 Fix incorrect block-buffering calculation.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1011 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-31 03:18:25 +00:00
Mike Thomas 4a4b4c05f6 These bool arrays are actually expressed as 1/0, not true/false.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1010 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-31 00:44:43 +00:00
Mike Thomas a7a4497a5f Fix potential stackoverflow.
Refreshing the scene can otherwise cascade back through loaded back through itself.  Instead, wait til all the ones on our current frame are done and then refresh.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1009 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-31 00:22:16 +00:00
Mike Thomas da3e323e15 Need to add the unloaded sprite while we're waiting for the real one (assuming our descendants do something with that).
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1008 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-30 22:57:33 +00:00
Mike Thomas f8cdaab659 Nate points out these handy XmlUtil parameters - let's use em.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1007 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-30 21:21:53 +00:00
Mike Thomas 86148dbe25 So, it turns out that actionscript's built in XML parsing isn't as handy as I thought it was. Let's just go through XmlUtil for everything so that it's sane and we don't get empty strings when we clearly mean to be getting a null.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1006 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-30 21:11:06 +00:00
Mike Thomas 795d63b901 Allow selection of random starting color using a specified random so we can consistently randomly pick colors.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1005 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-29 00:40:36 +00:00
Mike Thomas 26ad64ade6 Let's refresh the scene prior to the delay so that by the time we add the view to the display list, we're really ready.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1004 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-27 23:28:48 +00:00
Mike Thomas 7cb3a0c5dd Fix some bugs related to loading tilesets.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1003 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-27 18:50:13 +00:00
Mike Thomas 91e8dc958b Make the proper call here - there's no remove() on arrays...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1002 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-27 18:49:40 +00:00
Mike Thomas db9e350404 Ensure we don't leave our sprites in walking-in-place mode due to timing issues with resolving all the art.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1001 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-27 00:57:34 +00:00
Dave Hoover b5dd723ef1 shouldPlay handles null just fine.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1000 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-25 21:29:54 +00:00
Dave Hoover 480d98cc5e If we shouldn't play that sound type, don't loop it either.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@999 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-25 21:29:32 +00:00
Mike Thomas d01236928f Move the default loading progress printout to the middle of the iso view.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@998 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-25 21:12:43 +00:00
Mike Thomas df556f4e81 Pass through our parameters so that looping works just like playing and we can set positions and gain and such.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@997 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-20 21:17:55 +00:00
Mike Thomas 95546895f8 Fix bug with falling back to default action.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@996 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-20 16:53:37 +00:00
Mike Thomas 9dc56e21b7 Add ability to access components by name as well as by ID via the manager.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@995 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-20 16:53:24 +00:00
Mike Thomas 2e8818e3b5 Allow access to getComponent through the character manager rather than having to go through the repository.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@994 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-19 22:44:09 +00:00
Mike Thomas 753bcb229e Fix bug in indexing the color classes map.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@993 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-19 22:43:29 +00:00
Mike Thomas 52ca22c53a Fix some wacky assumptions about the similarity of types being compared.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@992 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-19 21:07:46 +00:00
Mike Thomas 1e1c8a47fc Turn off the debug printouts here since it was pretty spammy.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@991 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-18 20:22:43 +00:00
Mike Thomas 98a09e8d75 Fix some reversed logic.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@990 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-18 18:31:23 +00:00
Ray Greenwell e054edeab7 Chasecutting.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@989 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-17 22:51:06 +00:00
Mike Thomas 3c789a8bd2 We can't actually share a MultiFrameBitmap across characters since it's a displayobject and can only be in the display tree once. So, let's clone it.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@988 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-17 22:41:27 +00:00
Mike Thomas 66931468ee We should just test the bitmap itself, not the source frames.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@987 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-17 17:15:09 +00:00
Mike Thomas 8f337e26d9 Wire up for hit-testing just like object tiles.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@986 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-17 17:06:54 +00:00
Mike Thomas 815b5d7be7 Add a bunch of hooks to handle finding the object the mouse is over.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@985 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-08-14 05:10:02 +00:00