Commit Graph

515 Commits

Author SHA1 Message Date
mdb fa2a7c7105 Made the piecen color array (which is used to color the names in the
player status view) match the colors of the piecens in the image.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@524 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 13:14:58 +00:00
mdb 5972527411 Remapped the images from 24-bit to 8-bit, shrinking file size whole
bunches.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@523 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 12:01:59 +00:00
mdb c06e98629f Missed a spot.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@522 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 11:59:09 +00:00
mdb cd8847afef Code to render piecen images and shield image. Updated piecen points to
jive nicely with the tile images. Name changes. Other cleanups.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@521 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 11:58:54 +00:00
mdb b8f5028181 We use an image manager again.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@520 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 10:18:10 +00:00
mdb 2ce01f2fcf Updated MessageHandler prototypes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@519 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 10:17:50 +00:00
mdb 2680c383c8 Only unregister interval if it was registered.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@518 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-17 19:00:18 +00:00
mdb 601e1e3b08 Add a toString() to HashIntMap's entry objects.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@517 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-16 23:10:15 +00:00
mdb 2b69011649 Implemented a class (and a unit test) that can quickly locate the nearest
coordinate-having object to a specified coordinate from a set of such
objects. It does so using an efficient algorithm so that we can do things
like highlight the object nearest the mouse cursor.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@516 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-15 03:19:03 +00:00
shaper 3ce9fa00c8 Fixed off-by-one error that resulted in pointless shuffling of the first
element.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@515 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-14 19:07:47 +00:00
shaper f9fd2ecb3f Added copyright header.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@514 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-14 18:58:29 +00:00
shaper c598371daa Utility routines for working with arrays.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@513 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-14 18:57:36 +00:00
mdb d8b9fbb48f Documentation clarification.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@512 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-14 18:27:57 +00:00
shaper d684ba4711 Adapter class for the AncestorListener interface.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@511 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-14 16:00:12 +00:00
mdb ae224c6252 Modified TestUtil not to prepend 'rsrc' to test resource file paths
because it's silly. Prepend your own damned 'rsrc' if you want to look in
that directory.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@510 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-13 01:31:23 +00:00
mdb 2df834bc75 Fixed error reporting typo and added ability to parse boolean values.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@509 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-11 01:38:08 +00:00
mdb b37cadc3d3 Added ability to have a method called on an object directly when a menu
item is selected (uses reflection).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@508 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-07 01:48:35 +00:00
mdb f9e54acfc8 Have to specify mixedCaseConvert at construct time because it introspects
to determine the table name at that point and will fail to obtain the
proper table name unless case conversion has already been enabled.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@507 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-04 07:49:13 +00:00
mdb 04c4b11f40 Javadoc fix.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@506 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-04 07:42:32 +00:00
mdb b1913751c1 Fixed code that attempted to detect a byte[] field. Added ability to have
table convert mixed case java fields (like locationId) into underscore
separated uppercase column names (like LOCATION_ID).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@505 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-04 07:36:32 +00:00
mdb fcd800ce02 Javadoc related fixes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@503 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 10:08:33 +00:00
mdb 55bee86612 Updates for next release.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@502 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 10:00:39 +00:00
mdb 157cee4a27 New ChangeLog entries for the next release.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@501 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 09:51:37 +00:00
mdb 5e756bac24 Use File.toURI() rather than build the URI by hand.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@500 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 09:14:11 +00:00
mdb 3644f1ef17 Added a build task for generating a class hierarchy diagram using viztool.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@499 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 09:00:59 +00:00
mdb a376e31ee2 Added toString(boolean[]).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@498 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 09:00:40 +00:00
mdb 594ef4f482 Updated old driver to deal with the new deal.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@497 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 08:53:45 +00:00
mdb 5309e8649d Added ability to generate postscript output file.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@496 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 08:53:31 +00:00
mdb fcce503ebb Send hiertest output to a file.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@495 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 08:53:05 +00:00
mdb 02fd255d97 More Visualizer interface improvements. Created ANT task for invoking
viztool which is much nicer than the script.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@494 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 08:34:53 +00:00
mdb 1f0c38ddad Added documentation for the ANT task.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@493 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 08:34:05 +00:00
mdb a818f1b996 Added targets to test the ANT driver task.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@492 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 08:33:53 +00:00
mdb be2d49522b Summary visualization enhancements.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@491 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 06:14:03 +00:00
mdb f262335d25 Made sorting by height optional.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@490 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 06:13:54 +00:00
mdb 0aa3405734 More notes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@489 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-03 06:13:39 +00:00
mdb ecbf77bebd Created a visualization that displays classes, their public fields,
members and constructors rather than the inheritance hierarchy.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@488 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-01 06:22:18 +00:00
mdb d6758265bf Refactored things into layout and render utility classes. Other cleanups.
Upped the on screen font size.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@487 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-01 05:28:01 +00:00
mdb 0618cc9b8e Rearranged packages in preparation for the addition of a new type of
visualization.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@486 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-30 22:57:31 +00:00
mdb 2ced5ba7c9 Updates.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@485 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-30 22:57:03 +00:00
mdb e8fb1e7738 Documentation fix.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@484 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-30 22:41:04 +00:00
mdb 6849aa956e Added a rule that allows for object validation before it is passed up to
its parent. Useful for making sure an object was fully parsed before
throwing it into the mix.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@483 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-29 21:30:13 +00:00
mdb dc07a00706 Added toString().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@482 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-29 21:29:31 +00:00
mdb d53e26f547 Don't skip field setting when the body text is empty because we might want
to set an empty array field or something.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@481 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-29 19:21:49 +00:00
mdb 129521a913 Created a rule like SetNext but that sets the child object into a field of
the parent rather than calling a method with the child as an argument.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@480 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-29 18:11:42 +00:00
mdb 600ee8663b Javadoc edit.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@479 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-29 06:33:56 +00:00
mdb 7e5b7b16d1 Modified toString() so that it can be optionally provided with opening and
closing box characters (the parentheses in (0, 1, 2, 3)).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@478 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-29 06:32:37 +00:00
mdb 0c3f04d9a5 Moved the value marshalling code out of SetFieldRule and into a separate
class. Created a digester rule that sets public fields of objects based on
element attributes.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@477 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-26 23:44:40 +00:00
mdb f4c7631048 Need to be able to throw an exception in parseAndSet().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@476 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-26 22:17:56 +00:00
mdb bf63f50762 Made Tuple serializable.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@475 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-26 21:57:42 +00:00
mdb 761d081e84 Pass -breakiter to javadoc so it doesn't complain.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@474 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-11-26 19:43:06 +00:00