Author: zookeeper
Date: Tue Feb 26 17:59:31 2008
New Revision: 24083

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24083&view=rev
Log:
Added a new music macro for specifying both the scenario and intro screen 
tracks.

Modified:
    trunk/data/core/macros/sound-utils.cfg

Modified: trunk/data/core/macros/sound-utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/sound-utils.cfg?rev=24083&r1=24082&r2=24083&view=diff
==============================================================================
--- trunk/data/core/macros/sound-utils.cfg (original)
+++ trunk/data/core/macros/sound-utils.cfg Tue Feb 26 17:59:31 2008
@@ -169,7 +169,7 @@
             name=frantic.ogg
             ms_before=12000
             append=yes
-        [/music] 
+        [/music]
     [/event]
 #enddef
 
@@ -191,6 +191,21 @@
         name=prestart
         [music]
             name={MUSIC}
+        [/music]
+    [/event]
+#enddef
+
+#define INTRO_AND_SCENARIO_MUSIC INTRO_MUSIC SCENARIO_MUSIC
+    # This works as SCENARIO_MUSIC does, except that it allows you to specify
+    # the music used for the story screen (if any) as well.
+    [music]
+        name={INTRO_MUSIC}
+    [/music]
+    [event]
+        name=prestart
+        [music]
+            name={SCENARIO_MUSIC}
+            append=no
         [/music]
     [/event]
 #enddef


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to