BinaryPathWML
From The Battle for Wesnoth Wiki
Revision as of 00:19, 24 January 2009 by ShikadiQueen (talk | contribs) (→the toplevel [binary_path] tag: Mention the [binary_path] vs. MULTIPLAYER issue)
the toplevel [binary_path] tag
This tag is used to recognize more than one directory as containing images, music, and sound. It only has one key:
- path: a directory. When an image is not found it the normal images directory, it will be looked for in path/images. Similarly, music will be looked for in path/music, and sound in path/sound.
Notice that path is still relative to the main Wesnoth directory.
In Wesnoth 1.4 and earlier releases, [binary_path] was ignored when used inside a MULTIPLAYER symbol conditional, leading to awkward solutions such as:
[binary_path] path=data/campaigns/Era_of_Myths/ [/binary_path] #ifdef MULTIPLAYER ... #endif
Template:DevFeature: [binary_path] can be used in the MULTIPLAYER conditional in the development versions, to avoid possible clashes with single-player content.