UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2) IP: 64.81.113.168 URI: http://wesnoth.slack.it/?PreprocessorRef - - - - - Index: PreprocessorRef =================================================================== RCS file: /home/wesnoth/cvsroot/wikiroot/PreprocessorRef,v retrieving revision 1.19 diff -u -r1.19 PreprocessorRef --- PreprocessorRef 3 Jul 2005 16:00:16 -0000 1.19 +++ PreprocessorRef 5 Jul 2005 15:18:34 -0000 @@ -60,9 +60,16 @@ //substitution-if-stored//. If not, it will be replaced by //substitution-if-not-stored// if it is available. -Each campaign stores both a difficulty level -(usually ||EASY||, ||NORMAL||, or ||HARD||), and a campaign ID. -See CampaignWML for information on how and why to store symbols. +//symbol// can take the following values: + * a campaign difficulty level. +Usually ||EASY||, ||NORMAL||, or ||HARD||, +it is decided by the key //difficulties// (see CampaignWML). + * a campaign ID. Each campaign stores a preprocessor ID. +See //define//, CampaignWML. + * ||MULTIPLAYER|| is stored when the player is playing or setting up a multiplayer game +(i.e. a game with ||scenario_type=multiplayer||). + * ||TUTORIAL|| is stored when the player is playing the tutorial. + * ||APPLE|| is stored if the computer Wesnoth is being run on is an Apple. These directives expand a file by including other files: * ||{//filename//}|| if //filename// isn't a predefined symbol (see above), @@ -83,6 +90,10 @@ UNIX | ~/.wesnoth/data/ Mac OS X | ~/Library/Preferences/Wesnoth or ~/.wesnoth/data Windows | "main Wesnoth folder"\userdata\ + +||In 0.9.3 the functions of {~//filename//} and {//filename//} are changed. +{~//filename//} does nothing and {//filename//} functions the same as {@//filename//} +(which functions the same as it did in 0.9).|| * ||{@//filename//}|| is a convenient way to make Wesnoth look for a file by that name in both the main and the user data directory.
_______________________________________________ Wesnoth-wiki-changes mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes
