This would mostly work except for images created by GamePieceImages which do not have a .png suffix when generated in the buildfile, therefore 'piece1', 'piece1a' and 'piece1af' would all match 'piece1afinal.png', even if no longer in use. Still, this is unlikely to be a significant problem.
Brent, *********** REPLY SEPARATOR *********** On 21/06/2006 at 12:47 PM Rodney Kinney wrote: To be honest, simply searching through the buildFile as plain text and looking for an image's file name as a string would probably be enough to determine whether the image is used or not. This is just a few lines of unix shell scripting, slightly harder to work into the engine itself. rk [Non-text portions of this message have been removed] ____________________________________________________________ Brent Easton Analyst/Programmer University of Western Sydney Email: [EMAIL PROTECTED] [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
