Author: esr
Date: Sat Apr 7 09:58:29 2007
New Revision: 16670
URL: http://svn.gna.org/viewcvs/wesnoth?rev=16670&view=rev
Log:
Start a deprecated-utils.cfg file for stuff slated to be removed.
Added:
trunk/data/utils/deprecated-utils.cfg
Modified:
trunk/data/utils/unsorted-utils.cfg
Added: trunk/data/utils/deprecated-utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/utils/deprecated-utils.cfg?rev=16670&view=auto
==============================================================================
--- trunk/data/utils/deprecated-utils.cfg (added)
+++ trunk/data/utils/deprecated-utils.cfg Sat Apr 7 09:58:29 2007
@@ -1,0 +1,29 @@
+# These are clutter, scheduled to be removed.
+
+# Allows the player to undo the effects of a moveto event.
+# For example, lets allow undoing reading a note:
+# {ON_TILE 5 7 () (
+# {ALLOW_UNDO (
+# [message]
+# speaker=narrator
+# message="This is a note."
+# [/message]
+# )}
+# )}
+
+#define ALLOW_UNDO ACTION
+ [allow_undo]
+ {ACTION}
+ [/allow_undo]
+#enddef
+
+# Gives a side an amount of gold
+# For example, lets make player 1 rich:
+# {ADD_GOLD 1 999}
+
+#define ADD_GOLD SIDE AMOUNT
+ [gold]
+ side={SIDE}
+ amount={AMOUNT}
+ [/gold]
+#enddef
Modified: trunk/data/utils/unsorted-utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/utils/unsorted-utils.cfg?rev=16670&r1=16669&r2=16670&view=diff
==============================================================================
--- trunk/data/utils/unsorted-utils.cfg (original)
+++ trunk/data/utils/unsorted-utils.cfg Sat Apr 7 09:58:29 2007
@@ -28,30 +28,3 @@
[/terrain_mask]
#enddef
-# Allows the player to undo the effects of a moveto event.
-# For example, lets allow undoing reading a note:
-# {ON_TILE 5 7 () (
-# {ALLOW_UNDO (
-# [message]
-# speaker=narrator
-# message="This is a note."
-# [/message]
-# )}
-# )}
-
-#define ALLOW_UNDO ACTION
- [allow_undo]
- {ACTION}
- [/allow_undo]
-#enddef
-
-# Gives a side an amount of gold
-# For example, lets make player 1 rich:
-# {ADD_GOLD 1 999}
-
-#define ADD_GOLD SIDE AMOUNT
- [gold]
- side={SIDE}
- amount={AMOUNT}
- [/gold]
-#enddef
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits