Commit Graph

1059 Commits

Author SHA1 Message Date
Michael Bayne 75f14fe4c3 This might come in the form of a Maven dependency, so allow fow that.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1066 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-16 23:10:17 +00:00
Mark Johnson 4ce2d46976 - fix floorDiv to handle negative divisors correctly
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1065 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-13 00:50:16 +00:00
Michael Bayne 85ca7f1c45 Made ClassRecord and ColorRecord comparable on name.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1064 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-11 17:13:37 +00:00
Michael Bayne f94d7c8d1a It looks like Vilya uses CastUtil, so we'll just make it slightly less hacky
and put it back into the main codebase.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1063 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 22:25:14 +00:00
Michael Bayne 310ff1e3ba Moved CastUtil into tests, since it's test code. Added missing depend to
miso-viewer build target.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1062 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 22:16:01 +00:00
Michael Bayne 07919e8a57 Added some commentary.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1061 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 22:13:33 +00:00
Michael Bayne 26d4b72520 Added an example colorization configuration, wired it into the Miso scene
viewer, so now we have colorized pirates walking around the scene instead of
weird red/purple ones.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1060 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 22:04:22 +00:00
Michael Bayne d2cc2c9331 Nixed distrib and snapshot targets. Added descriptions to all targets meant to
be run from the command line.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1059 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 21:40:48 +00:00
Michael Bayne e503c8c11b Missed a spot.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1058 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 21:27:52 +00:00
Michael Bayne ad36949409 No longer needed.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1057 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 21:14:14 +00:00
Michael Bayne 445b4d4dbd Nixed remaining test cruft. Added "ant miso-viewer" target which runs the miso
scene viewer.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1056 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 21:13:17 +00:00
Michael Bayne b5a547edf9 More test bits moving up to the top-level.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1055 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 21:05:17 +00:00
Michael Bayne 870af00cc3 Whitespace tweaks.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1054 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 21:04:28 +00:00
Michael Bayne 40ffbdad37 We want commons-digester 1.8. 2.0 apparently has moved on from supporting the
functionality we need.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1053 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 21:04:10 +00:00
Michael Bayne b5f47287fe OMG tests that actually test something. (This coming from the reformed original
author of the non-testing test.)


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1052 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 20:56:30 +00:00
Michael Bayne 56a477f051 Depend on Narya 1.1 (which won't be synced to central for another half hour or
so). Also let the commons-beanutils dependency in because we need that for our
digester tasks.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1051 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 19:45:29 +00:00
Michael Bayne 906f69a392 Making tests work again. Next up will be fixing test failures. (Actually next
up will be making the tests actually test something, and then fixing that when
they break.)


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1050 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 19:44:11 +00:00
Michael Bayne 2a61ecf169 Let's not call getTileCount() in toString() as that results in UniformTileSet
getting its image and doing some math, which fucks us if we're working with
bogus tilesets (which we do when testing).


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1049 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 19:42:34 +00:00
Michael Bayne fbeba68787 More {@code} usage, whitespace tweaks.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1048 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 19:41:52 +00:00
Tom Conkling b1bca1f97f Fix eclipse project
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1047 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 19:22:49 +00:00
Michael Bayne aacf7fab4b Yay for {@code}!
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1046 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 19:16:18 +00:00
Michael Bayne 63a26726d1 Switched (partially) to Maven-based dependency resolution. Further work
forthcoming to fix up the tests.

Peskily, it looks like I'm going to have to take one for the team and become
the maintainer of a Maven artifact for LWJGL. In spite of repeated requests
over the years for Mavenized artifacts for LWJGL, Mazon resists it (he seems to
think he has to use Maven to *build* LWJGL, which he certainly need not do).
There have been a variety of half-assed attempts to maintain third-party Maven
repositories, all of which have petered out a major version or two ago.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1045 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-11-08 18:51:32 +00:00
Charlie Groves f1a2fe5e81 Remove dependencies picked up from other projects
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1044 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-28 20:09:57 +00:00
Mike Thomas 1d1ffa8004 Since samskivert no longer exports jars, we need to add some includes in various other projects' configs.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1043 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-28 17:51:24 +00:00
Michael Bayne e1ac0cea66 More dots!
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1042 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-24 03:44:38 +00:00
Michael Bayne a181d13ce2 Need more dots!
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1041 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-24 03:43:49 +00:00
Michael Bayne 12ba2038b2 Get our tools from narya.jar and its dependencies. Moved src/java into
src/main/java. Prepared to move tests out into main project.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1040 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-24 02:21:32 +00:00
Michael Bayne 8bdd8e636f Need not match Mavenized version names.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1039 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-24 01:38:53 +00:00
Michael Bayne bc8b490d44 Use unified narya.jar
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1038 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-23 18:18:52 +00:00
Michael Bayne 0412850797 Depend on preptools instead of DingIY.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1037 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-22 19:21:25 +00:00
Michael Bayne 96cb4bd2df Missed a spot.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1036 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-22 16:52:28 +00:00
Michael Bayne 64fe2ea656 JME is kind of an evolutionary dead end, so we're going to move all the JME
code into the Bang project directly so as to confine the dependencies on JME
libraries to the only thing that will ever need them.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1035 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-10-22 16:50:32 +00:00
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