10102 Commits

Author SHA1 Message Date
Patrick Parker
56033ea2e6 WmlIterator: better handling for macro calls...
...where the name of the macro includes a macro parameter.
2008-11-02 05:56:26 +00:00
Patrick Parker
c75b5b3d20 replace ##enddef with #!enddef...
...so that it will be a comment instead of a directive.
2008-11-02 05:44:06 +00:00
Eric S. Raymond
a055f9fbe2 Spell checking for WML text strings.
This is the infrastructure; there are still about 1500 exceptions to
be chased down.
2008-11-01 23:58:38 +00:00
Ignacio R. Morelle
5bab760519 Removed a couple of empty comment lines 2008-11-01 19:15:49 +00:00
Ignacio R. Morelle
73023e95b2 Fix nonstandard file naming and the FLAG_VARIANT macro. 2008-11-01 19:04:08 +00:00
Patrick Parker
b2f84bdbe9 [[WML engine bug fixes]]
-fix typo in return statement for ifndef scope element

-remove default function parameter lines=[] (do not use mutable
 objects as default parameters since they will be cached and mutated
 across multiple calls)

-add simple error checking when opening files
2008-11-01 15:46:42 +00:00
David Philippi
5e5ab28512 font update 2008-11-01 13:47:14 +00:00
Eric S. Raymond
4576b2fb35 Fix a typo. 2008-11-01 13:04:31 +00:00
Eric S. Raymond
fee12dff4a Bug fix: #ifndef was not handled.
New feature: the wherami() method of in iteratator return idssues a
locator string compatible with Emacs compilation format.  WmlIterator
can be initialized with no lines and a filename, and if this is done
all lines in the file will be read and used.
2008-11-01 08:46:14 +00:00
Alexander van Gessel
e9ef8afd1b Fixed Dela's portrait in Alone at Last. 2008-11-01 02:44:10 +01:00
Alexander van Gessel
1db3fa8a8c Replaced DiD story images with non-padded ones.
Added 'scale_background=no' to the corresponding story parts.
2008-11-01 02:31:17 +01:00
Mark de Wever
c53526e0c7 Initial commit to support the new dialogs. 2008-10-31 23:02:23 +00:00
Steven Panek
9cc216a1f4 Made all relevant sides use the undead flag in UtBS.
Updated changelog.
2008-10-31 21:56:47 +00:00
Eric S. Raymond
152bc1cbd1 Pacify wmllint. 2008-10-31 20:41:22 +00:00
Eric S. Raymond
782256cb93 Pacify wmllint. This may wabt to be moved to core. 2008-10-31 20:22:04 +00:00
Mark de Wever
cbac265dfb Add the easy close feature to the new widgets.
The easy close feature closes windows by a single mouse click, without
the need for a close button. Also converted the test dialog for the
remove addons to use this feature and commenting out the button in the
config (it will be needed later again).
2008-10-31 18:45:33 +00:00
Mark de Wever
8371027b33 Remove translation markers.
The texts in this file aren't ready for translating yet and should thus
not be marked translatable. Problem found by stikonas.
2008-10-31 18:45:19 +00:00
Mark de Wever
c89168bf0e Add the easy close code to the window.
Easy close means a single click will close a window (if this is enabled
in the configs). Also convert the dialogs in the test scenario to use
this feature.
2008-10-31 18:45:14 +00:00
Eric S. Raymond
55270ba8a8 Minor dialog polish. 2008-10-31 11:46:29 +00:00
Lari Nieminen
be9c2f8ccc An almost complete rewrite of 'The Long March',
...although the basic idea remains the same. Needs a bit of balance
testing.
2008-10-31 10:57:38 +00:00
Lari Nieminen
daec179c59 Made SCATTER_UNITS handle running out of valid spots better. 2008-10-31 10:40:54 +00:00
Lari Nieminen
f7ce683f29 Extended the scenario end dialogue...
...in an attempt to have it connect better with the bandit branch.
2008-10-31 10:32:26 +00:00
Lari Nieminen
3929aef4e9 Various cleanups. 2008-10-31 10:22:04 +00:00
Eric S. Raymond
cb33789473 trackplacer: document failed attempt at a feature so it won't be tried again. 2008-10-31 10:20:06 +00:00
Eric S. Raymond
c08210b4ea Experimental use of Knalgan flag variant.
Also, fix an oops with journey tracks.
2008-10-31 09:47:57 +00:00
Eric S. Raymond
55824ba7b0 wmlscope pacification. 2008-10-31 09:46:07 +00:00
Steven Panek
71c5804f7f Had Malin's side use the ostensibly obscure undead flag...
...after his banishment. Also made Darken Volk's side use it when he
betrays Malin.
2008-10-31 07:26:25 +00:00
Richard Kettering
9d05aa85ff Added an idle animation by EELuminatus for the orcish assassin. 2008-10-31 07:13:21 +00:00
Eric S. Raymond
521df2692b Add FLAG_VARIANT macro to do what it sounds like. 2008-10-31 05:56:56 +00:00
Richard Kettering
3f3fea21dd Added idle animation to arch-mage. 2008-10-31 05:11:14 +00:00
Richard Kettering
9571b3921e Added idle animation to deathblade. 2008-10-31 04:22:01 +00:00
Richard Kettering
7930999f2d Added idle animation to deathblade. 2008-10-31 04:04:05 +00:00
Eric S. Raymond
0446024e14 Factor the TRoW Warrior King into a generic Rayal Warrior base unit...
...plus overlay, so we can use the Royal Warrior as a base for the
various kings and princes in the canon.
2008-10-31 02:49:23 +00:00
Lari Nieminen
35354964c4 Added and wired in the new DiD story images,
...and also added in theycallmerooster in the campaign art credits
since he's been uncredited for his portraits so far.
2008-10-30 22:02:40 +00:00
Eric S. Raymond
dcbc274671 Remove uneeded VICTORY_AND_DEFEAT_MUSIC macro, and fix a whitespace glitch. 2008-10-30 20:16:07 +00:00
Lari Nieminen
1eecbeb8e9 Moved the SCATTER_UNITS macro to core. 2008-10-30 13:54:38 +00:00
Eric S. Raymond
dc36208145 trackplacer: Don't reread generated *_END macros as new data. 2008-10-30 07:41:22 +00:00
Eric S. Raymond
53e70972d9 Minor wording tweaks. 2008-10-30 06:46:33 +00:00
Eric S. Raymond
742d445b03 Add buttons to reorder tracks. 2008-10-28 18:43:34 +00:00
Gunter Labes
5f937c7ccf fixed some typos 2008-10-28 17:15:01 +00:00
Eric S. Raymond
7df469e62e Handle macros with an #endif not at start of line. 2008-10-28 15:05:43 +00:00
Eric S. Raymond
3a8c312706 New Far North map with antialiased land/sea edges and roads. 2008-10-28 10:30:34 +00:00
Eric S. Raymond
0d071ea11a trackplacer: More tweaks to handle working in wesnoth-umc-dev gracefully. 2008-10-28 08:53:42 +00:00
Eric S. Raymond
f56b6ac222 Trackplacer: work correctly on wesnoth-umc-dev with a -d argument. 2008-10-28 08:23:15 +00:00
Lari Nieminen
3b7cf8edb2 Cleaned up village ownership setup...
...(a possible contributor to bug #12513 due to some invalid coordinates used?).
2008-10-28 07:05:02 +00:00
Eric S. Raymond
0f495dc754 Move some macros that were in a separtate file for no obvious reason. 2008-10-28 01:30:31 +00:00
Eric S. Raymond
679751103f Suppress a "Deprecated WML" message. 2008-10-27 18:42:30 +00:00
Eric S. Raymond
fce50aa29f Fix bug #12511...
...(NEWBIE difficulty level in NR is displayed incorrectly in load 
dialog).

At some point, someone working on the C++ code introduced an effective
requirement that difficulty levels be in a set enumerated in english.cfg.
The NR WML didn't track this change.

Also, I'm deleting the now-unused NR music directory.
2008-10-27 17:41:55 +00:00
Alexander van Gessel
65b4ed6b09 Revert 2008-10-12T00:33:55Z!ai0867@gmail.com,2008-10-06T10:15:23Z!ai0867@gmail.com.
This removes the "consider attack" event. (bug #12375)
2008-10-26 18:39:10 +01:00
Fabian Müller
8d923fb563 new upstream version of the emacs mode for wml.
for a changelog see the thread
http://www.wesnoth.org/forum/viewtopic.php?f=21&t=13798&start=15
2008-10-26 14:18:59 +00:00