This is another place where having a nicer XML file format could have helped. 
A rather simple XSLT could be applied to gather the information from the 
actual XML file directly without relying on the code within each component to 
report their images...


On Wednesday 21 June 2006 00:53, Brent Easton wrote:
> Having convinced you that it would be a lot of work and a pain in the ass,
> it would actually not be that difficult to do and would be incredibly
> useful. Stray images (not to mention 500k Thumbs.db files) are particularly
> hard to tease out in a large module that might have 100's or 1000's of
> images.
>
> Rodney, thoughts?
>
> >*********** REPLY SEPARATOR ***********
> >
> >On 20/06/2006 at 11:37 PM Gary Krockover wrote:
> ><smartass remark> Yup, that's exactly what I was thinking! </smartass
> >remark>
> >
> >:)
> >
> >At 11:36 PM 6/20/2006, you wrote:
> >>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.
>
> ____________________________________________________________
> Brent Easton
> Analyst/Programmer
> University of Western Sydney
> Email: [EMAIL PROTECTED]


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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