Commit Graph

51 Commits

Author SHA1 Message Date
Michael Bayne 14cef92e49 [maven-release-plugin] prepare release nenya-1.7.1 2025-08-08 10:39:38 -07:00
Michael Bayne 623ee0d20e Javadoc doesn't like emails these days. 2025-08-08 10:38:45 -07:00
Michael Bayne 8fdc7431de Upgrade OpenAL bits to LWJGL 3.
I didn't find a good way to determine whether OpenAL had already been
initialized. So if we need this whole "sharing AL with something else in the
same JVM" business, we'll need to find another way to do it.
2025-08-08 10:36:12 -07:00
Michael Bayne af792182c1 [maven-release-plugin] prepare for next development iteration 2025-07-04 10:04:25 -07:00
Michael Bayne a70fbc7deb [maven-release-plugin] prepare release nenya-1.7 2025-07-04 10:04:22 -07:00
Michael Bayne d1e2a2cd02 Update to latest Sonatype publishing bits.
Also bump samskivert and narya depends to latest stable version.
2025-07-04 10:02:44 -07:00
Michael Bayne 210ccca53c Remove obsolete Maven repos. 2025-02-25 14:54:41 -08:00
Michael Bayne f1441a8be6 Remove ancient unsafe native code.
All Javas have reasonably fine grained Thread.sleep these days, and we no
longer need to set our pid or gid or temporarily disable GC.
2025-02-10 10:15:32 -08:00
Michael Bayne b15fdc1911 Update depends, target Java 10. 2025-02-05 10:59:21 -08:00
Michael Bayne 8711ee09d2 Turns out YPP does need getLocalePrefix(). :) 2025-02-05 10:59:21 -08:00
David Hoover 9e87bc3519 Clear out the background when building a trimmed tileset.
Otherwise it's filled with some random color (palette entry
0?) and there are splotches of that filling the gaps between
trimmed tiles.
2025-02-05 10:59:21 -08:00
David Hoover ddf07dc905 Support fancier packing of trimmed tilesets.
By default, it still does the same thing, but now you
can pass in a fancier packer.

Provided a SLIGHTLY fancier one that's still pretty dumb and
wasteful, but allows row wrapping instead of gluing everything
together into one super wide image; I've got some that otherwise
wind up SO insanely wide that it causes problems decoding them.
2025-02-05 10:59:21 -08:00
Jamie Doornbos bce83d858e Revamped the way TileSetBundler mogrifies and writes out bundles
Introduced a Writer class to hold all the options to the createBundle method and help clarify
things. This also ended up being a convenient place to put the previous member variables since
they affect the process in pretty much the same way.

Got rid of DirectoryTileSetBundler. This had a mutated copy of a method from TileSetBundler,
that appeared to be missing some bug fixes. Anyway, it shouldn't be needed anymore, callers
can use a BundleWriter that is a directory.

Added an option for outputting tileset bundle metadata as json. This includes some
utility classes and the net.sf.json-lib dependency. This follows the same pattern
as some other tools only jars so should end up being ignored by production
applications.
2025-02-05 10:59:21 -08:00
Michael Bayne c80d59b316 Remove PerfTimer.
It uses the no longer available sun.misc.Perf API.
2025-02-05 10:59:21 -08:00
Ray J. Greenwell ed8ca989f0 Drive-by: Nix unused variable that's been hanging out since 2006.
The use of this variable has been commented out since this code became a
git repo in 2006. Crazy.
2025-01-20 11:45:00 -08:00
Ray J. Greenwell 3165a012fd Prepare for next development iteration. 2018-10-15 11:04:02 -07:00
Ray J. Greenwell 2212f2ed72 Prepare for release nenya 1.6.2. 2018-10-15 10:25:28 -07:00
Ray J. Greenwell 829818ded4 Improve Colorization slightly.
Colorizations are not cached, and the root color values are recomputed
every time. We can share those.
Also added an accessor to read the already computed HSV values out
of a Colorization. I suppose I could just make it a public field
or return the array directly. The rootColor variable is already public.
DFU. But now the array will be shared by every instance from the same
classRecord, so it seems more important to make sure nothing goes wrong.
2018-10-15 10:18:44 -07:00
Ray J. Greenwell 145660bf0c Color.HSBtoRGB() will wrap hue for us.
It is documented that hue = hue - (float)Math.floor(hue);
It's pointless for us to check if it's over 1f.
2018-07-18 12:05:17 -07:00
Michael Bayne 084da3c549 Tick sprite in char sprite viz. 2017-08-19 07:54:55 -07:00
Michael Bayne 2197292581 Share the OpenAL context if one is already created. 2017-07-18 19:48:26 -07:00
Michael Bayne ff4d32a1e2 Use published javazoom depend. 2016-12-17 17:13:46 -08:00
Michael Bayne 9eec1e2e92 [maven-release-plugin] prepare for next development iteration 2015-03-14 10:39:13 -07:00
Michael Bayne 668df13a74 [maven-release-plugin] prepare release nenya-1.6.1 2015-03-14 10:39:09 -07:00
Michael Bayne e809d26f3d This is on Maven Central now.
This was the reason for the (long broken) depend on the ooo-maven repo.
2015-03-14 10:36:30 -07:00
Michael Bayne 2d96e6c81d [maven-release-plugin] prepare for next development iteration 2015-03-14 09:44:27 -07:00
Michael Bayne 7ff04d348a [maven-release-plugin] prepare release nenya-1.6 2015-03-14 09:44:21 -07:00
Michael Bayne f2eaa55c35 Javadoc fixes. 2015-03-14 09:43:11 -07:00
Michael Bayne 9760a317d0 Do the version update dance in prep for release. 2015-03-14 09:36:25 -07:00
Michael Bayne 5f08ddcc34 [maven-release-plugin] prepare for next development iteration 2013-05-07 14:37:33 -07:00
Michael Bayne 450d7578a0 [maven-release-plugin] prepare release nenya-parent-1.5 2013-05-07 14:37:26 -07:00
Michael Bayne c7a0788078 Use latest samskivert, Guava, LWJGL and Narya. 2013-05-07 14:33:21 -07:00
Michael Bayne febf2e4adc Use normal Guava. 2013-05-07 12:45:20 -07:00
Michael Bayne ebc91c015f Added a little test of the JSON writer.
I'm also using this test to do the conversions I need, since I just need our
two test scenes in JSON format.
2013-01-23 15:40:09 -08:00
David Hoover c0cb0ffcfd Header update.
Point to where things live on github these days.
2012-11-01 11:30:44 -07:00
Mark Johnson 1e6f91c0b8 Preparing for 1.5-SNAPSHOT development. 2012-10-16 16:27:24 -07:00
Mark Johnson c79484827f Preparing for nenya-parent-1.4.2 release. 2012-10-16 16:17:51 -07:00
Ray J. Greenwell ee9a81512f Fix deprecation warning with move to new samskivert library. 2012-10-02 17:48:01 -07:00
Ray J. Greenwell 7df6f0160f Move to samskivert 1.7 and guava-jdk5 13.0 2012-10-02 17:43:09 -07:00
Nathan Curtis d2dedd8e65 Another spot where a safer comparison is called for. 2012-08-16 11:47:38 -07:00
Nathan Curtis 5a1cc88744 Use a safe comparison instead of simple subtraction.
Vilya's ScoreAnimation sets its render order to Integer.MAX_VALUE; using this comparison method gets
the AbstractMediaManager's _media out of order when such values are used.
2012-08-07 17:43:41 -07:00
Mark Johnson 760eed0fe0 Preparing for 1.5-SNAPSHOT development. 2012-04-03 21:10:32 -07:00
Mark Johnson 2ce6bdffac Preparing for nenya-parent-1.4.1 release. 2012-04-03 21:03:01 -07:00
Ray J. Greenwell a1d60a685b Use File.separatorChar where it makes sense. 2012-03-30 11:12:50 -07:00
Ray J. Greenwell c7e80de26d Revert "Revert "Code formatting and method rearrangement.""
This reverts commit cc0c9c4e3e.
I'm reverting the reverting. I wanted these changes, just not
all that other -whateverthefuck- that piggybacked in.
2012-03-30 11:08:36 -07:00
Ray J. Greenwell cc0c9c4e3e Revert "Code formatting and method rearrangement."
This reverts commit 6f9daf6c97.
2012-03-30 11:06:13 -07:00
Ray J. Greenwell 7c182066ea Merge branch 'master' of github.com:threerings/nenya 2012-03-30 11:01:29 -07:00
Michael Bayne 94546866dd [maven-release-plugin] prepare for next development iteration 2012-03-09 08:37:13 -08:00
Michael Bayne 773897a2b8 [maven-release-plugin] prepare release nenya-parent-1.4 2012-03-09 08:37:07 -08:00
Michael Bayne 09b907c3f4 Reheadered, minus (svn-only) $Id$. 2012-02-27 12:16:26 -08:00