On Fri, Feb 19, 2010 at 05:07:56PM -0500, Eric Raymond wrote:
> Fabian Mueller <[email protected]>:
> > Eric Raymond wrote:
> > > The roadmap needs to look like this:
> > >
> > > 1. Design an enhancement to the map file format that allows it to
> > > contain annotations for the three kinds of static objects.
> > >   
> > My proposal is to leave the map file format as it is and introduce a wml 
> > tag called [map].
> > 
> > The [map] recognises the already existing subtags [label], [item], 
> > [unit] and [sound_source].
> > Additional code is needed for a [named_location] tag.
> > The game engine will tread all children of [map] just like if they are 
> > processed in [scenario]'s toplevel.
> > It can be located either in the scenario file or an extra file 
> > containing the map_data as well.

Like said in my previous mail and on irc, I prefer to focus on the
overview before diving in the implementation details. But since the
discussion keeps coming back to mutilating the map format I'll want to
bring two points under the attention.

1. The map format is used for both the normal maps and for the terrain
transitions. The latter part is used a lot and we should make sure if we
change the format it doesn't break the transitions and also that it
doesn't slow down this part. (That part is already rather CPU
intensive.)

2. The map format is a string, it's currently not possible to embed
translatable strings in another string. And allowing that seems like a
very ugly hack to me.

But please let us discuss the general design before going further with
the implementation details.

-- 
Regards,
Mark de Wever aka Mordante/SkeletonCrew

_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to