Author: ai0867
Date: Tue Feb 3 22:24:29 2009
New Revision: 32579
URL: http://svn.gna.org/viewcvs/wesnoth?rev=32579&view=rev
Log:
Remove workaround for engine bug.
Modified:
trunk/data/scenario-test.cfg
Modified: trunk/data/scenario-test.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/scenario-test.cfg?rev=32579&r1=32578&r2=32579&view=diff
==============================================================================
--- trunk/data/scenario-test.cfg (original)
+++ trunk/data/scenario-test.cfg Tue Feb 3 22:24:29 2009
@@ -741,17 +741,12 @@
text=0
[/text_input]
[/message]
-# To test the math, define MATH_TEST.
-# This comments out the [option] blocks which currently cause a VALIDATE
failure.
-# Once that is fixed, this preprocessor usage can be removed.
-#ifndef MATH_TEST
[message]
speaker=narrator
message="What should we do with the number $number|?"
[option]
message="Round it"
[command]
-#endif
[message]
speaker=narrator
image=wesnoth-icon.png
@@ -773,13 +768,11 @@
image=wesnoth-icon.png
message="Rounding $number| to $round| results in
$rounded|."
[/message]
-#ifndef MATH_TEST
[/command]
[/option]
[option]
message="Add something"
[command]
-#endif
[message]
speaker=narrator
[text_input]
@@ -796,13 +789,11 @@
speaker=narrator
message="Adding $amount| to $number| results in
$total|."
[/message]
-#ifndef MATH_TEST
[/command]
[/option]
[option]
message="Multiply"
[command]
-#endif
[message]
speaker=narrator
[text_input]
@@ -819,13 +810,11 @@
speaker=narrator
message="$number| * $amount| = $total|."
[/message]
-#ifndef MATH_TEST
[/command]
[/option]
[option]
message="Divide by something"
[command]
-#endif
[message]
speaker=narrator
[text_input]
@@ -842,13 +831,11 @@
speaker=narrator
message="Dividing $number| by $divisor| results in
$total|."
[/message]
-#ifndef MATH_TEST
[/command]
[/option]
[option]
message="Modulo"
[command]
-#endif
[message]
speaker=narrator
[text_input]
@@ -865,13 +852,11 @@
speaker=narrator
message="$number| % $modulo| = $total|."
[/message]
-#ifndef MATH_TEST
[/command]
[/option]
[option]
message="ints&floats"
[command]
-#endif
[set_variable]
name=int
ipart=$number
@@ -881,11 +866,9 @@
speaker=narrator
message="$number| = $int| + $float|"
[/message]
-#ifndef MATH_TEST
[/command]
[/option]
[/message]
-#endif
[/event]
[/event]
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits