[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-wiki-changes] PreprocessorRef
From: |
wiki |
Subject: |
[Wesnoth-wiki-changes] PreprocessorRef |
Date: |
Mon, 8 Nov 2004 22:17 +0100 |
UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007
Galeon/1.3.17 (Debian package 1.3.17-2)
IP: 81.57.214.146
URI: http://wesnoth.slack.it/?PreprocessorRef
- - - - -
Index: PreprocessorRef
===================================================================
RCS file: /home/wesnoth/cvsroot/wikiroot/PreprocessorRef,v
retrieving revision 1.14
diff -u -r1.14 PreprocessorRef
--- PreprocessorRef 27 Jul 2004 20:47:43 -0000 1.14
+++ PreprocessorRef 8 Nov 2004 21:17:23 -0000
@@ -17,9 +17,10 @@
Several symbols are defined in the normal game code; these are known as
//ids//.
* ||{//filename//}|| if the content of the bracket isn't a known symbol,
Wesnoth will assume it's a file in the data/
-subdirectory of the wesnoth game data and include it here "as is".
+subdirectory of the wesnoth game data and include it here "as is", unless it
starts with //./ //, in which case it is
+assumed to be a relative path.
if //filename// is a directory,
-then all config(//.cfg//) files in the directory (non-recursively), in
alphabetical order, will be included.
+then all config (//.cfg//) files in the directory (non-recursively), in
alphabetical order, will be included.
* ||{~//filename//}|| similar to above, but Wesnoth assumes the filename is
relative to ||~/.wesnoth/data/||
(||userdata/|| on Windows).
* ||#define //symbol// [//parameters//] //newline// //substitution//
#enddef|| all occurences of
- [Wesnoth-wiki-changes] PreprocessorRef,
wiki <=