[game.cfg] what is {themes}, and are all includes exclusive?
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
[game.cfg] what is {themes}, and are all includes exclusive?
Hello,
I looked into the game.cfg and I saw {themes}, this does mean include all *.cfg from the "themes" directory? If so has the targeted directory some specification? ie does this command work fine even there is a file wich is not a *.cfg?
About the file included in the game.cfg, may they be included/read somewhere else ?
About the keytool part : would it not be more readable by creating a keytool.cfg ?
And about it content, the content between APPLE and notAPPLE is that the ctr attribute is used instead cmd... May it not be changed in order to avoid (useless) content repetition ?
When is this file loaded/used ? I don't quite understand the use of the "#ifdef TUTORIAL" here...
Thanks
I looked into the game.cfg and I saw {themes}, this does mean include all *.cfg from the "themes" directory? If so has the targeted directory some specification? ie does this command work fine even there is a file wich is not a *.cfg?
About the file included in the game.cfg, may they be included/read somewhere else ?
About the keytool part : would it not be more readable by creating a keytool.cfg ?
And about it content, the content between APPLE and notAPPLE is that the ctr attribute is used instead cmd... May it not be changed in order to avoid (useless) content repetition ?
When is this file loaded/used ? I don't quite understand the use of the "#ifdef TUTORIAL" here...
Thanks
If you don't understand what I want to say, it may be quite normal, just ask me to reformulate. :p And your are welcome to correct my errors. :p
Re: [game.cfg] what is {themes}, and are all includes exclus
It does load all *.cfg (and only .cfgs) from the themes directoryEthan wrote:Hello,
I looked into the game.cfg and I saw {themes}, this does mean include all *.cfg from the "themes" directory? If so has the targeted directory some specification? ie does this command work fine even there is a file wich is not a *.cfg?
Already done in 1.2 infact.toms wrote: The keytools.cfg is IMO a nice idea and could be done, yes.

But there is a new think a don't understand
I don't understand why there is two {tutorial/units}...The units tag must new I guess and the older one was not removed to not break down the game if the parser hasn't been updated ? (I can't read perl :$ )[+units]
{tutorial/units}
[/units]
{tutorial/units}
If you don't understand what I want to say, it may be quite normal, just ask me to reformulate. :p And your are welcome to correct my errors. :p