I share your sentiments. AFAIK, much of the existing structure remains
from the original builds of wesnoth, when Dave was conjuring this thing
out of thin air.
There was a major revision in Cedric's day (largely done by him, if I
am correct), which moved everything but unit graphics out of the main
image directory and into subfolders.
Thus the "root" image directory was made to be the unit directory.
Anyways, it is well worth noting that CVS doesn't natively support
moving a file. We would have to delete each file and recreate it in
the target location, which is exactly what was done in the initial
restructuring. Other version control systems like SVN do have this
capability, however some of our developers have doubts about the
stability of the other systems (I *really* wouldn't know). Not to
mention that it would be a major pile of work to change the system.
You'll have to ask someone else for a definitive answer on whether
there are any hard-coded dependencies on the structure. There are
certainly plenty of cfg files that would need a change, but I have no
idea on the code.
I do think restructuring would have some strong merits, and should
probably be done some time after 1.0.
On Jun 28, 2005, at 5:50 AM, Hogne Håskjold wrote:
The number of image files in Wesnoth has increased quite a lot since
the current directory structure where decided on. I think it's
starting to get a bit messy.
wesnoth/images: 1526 files
wesnoth/images/terrain: 973 files
For the terrain dir I would like to see buildings/structured being
moved out into a seperate dir. That would mean: castle, villages,
encampment, ruins, ...
Also the flag gfx should be somewhere else I think.
I can't speak for the unit dir, but I guess other artists have some
opinions on that one.
What I would like to know is if anyone else share my sentiments, and
how much code change such a restructuring would require.
--
mvh (o_
Hogne Håskjold //\
V_/_
_______________________________________________
Wesnoth-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/wesnoth-dev