Add test for DEBUG_MACRO;...

..."wesnoth --test --debug" should produce a dialog box at start
noting that "Debug mode is on".  Presently this doesn't work (bug
#15204), though the message is emitted just fine if the #ifdef guard
is not there.
This commit is contained in:
Eric S. Raymond 2010-01-26 19:31:41 +00:00
parent bd8bdca90e
commit ece3ff9c27

View file

@ -155,6 +155,17 @@ Xu , Xu , Qxu , Qxu , Ql , Ql
[/unit]
[/side]
#ifdef DEBUG_MODE
[event]
name=start
[message]
speaker=narrator
icon=wesnoth-icon.png
message="Debug mode is on"
[/message]
[/event]
#endif
#ifdef EXPERIMENTAL
[event]
name=prestart