Part of the problem is that the 'associations to game pieces, maps or charts' 
does not exist anywhere accessible.

What would be needed would be a  new method

 String[] getImageList() 

to be added to, probably, the GamePiece and Buildable interfaces and modify 
every single trait and component to return a list of the Images it references 
in the images directory (and also break every piece of existing custom code). 
You might get away with adding it to AbstractBuildable, Decorator and 
BasicPiece which would at least allow a default implementation and minimise 
compatibility problems with custom code.

Brent.

*********** REPLY SEPARATOR ***********

On 20/06/2006 at 11:16 PM Gary Krockover wrote:
Agreed. Perhaps something in the editor itself that will show a list of all 
images in the 'images' folder with their associations to game pieces, maps or 
charts. Then a simple "delete" button that you can use to remove all the images 
that have no association. Maybe something to keep in mind for down the road? :)

Gary

At 03:55 PM 6/20/2006, you wrote:

>Has anyone written a utility or small java program to read through the 
>buildFile, figure out what images are being used and then delete all the 
>excess images from the /images folder of a VASSAL module?
>
>That sure would be handy to me right now.
>
>Greg


 
____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: [EMAIL PROTECTED]



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/IMSolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vassalengine/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to