wesnoth-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wesnoth-dev] A WML idea: import


From: Guillaume Melquiond
Subject: Re: [Wesnoth-dev] A WML idea: import
Date: Mon, 9 May 2005 20:40:11 +0200

On 5/8/05, David White wrote:
> Perhaps we can add a simple module system to Wesnoth very easily: by
> adding a WML command called 'import'. It would work something like this,
> 
> import "path"
> 
> Any thoughts?

I have one concern. User campaigns (as do mainline campaigns) rely on
some core macros; for example MENU_IMG_TXT. If imported, the campaigns
won't know about these macros (it's even worse, they redefine them
then, because they believe it is an old Wesnoth version). So the user
campaigns would have to preprocess the core macros too, in order for
them to be available. This is not an issue: it would not be the first
change to WML that is not backward compatible. But I was wondering if
you had another solution in mind in order to deal with the #defines.

Regards,

Guillaume




reply via email to

[Prev in Thread] Current Thread [Next in Thread]