Commit graph

2402 commits

Author SHA1 Message Date
Eric S. Raymond
9a878d022c Clean a couple of minor errors introduced in my last commit.
"make unresolved" now passes. Time for me to go to sleep...
2008-02-10 09:57:42 +00:00
Eric S. Raymond
0ee463c8cf Enrich macro type checking some more and simplify the type inference rules.
Also head off a potential bug noted by Mordante with WML that
looks like {X_SPAN},{Y_SPAN}.
2008-02-10 09:38:07 +00:00
Piotr Cychowski
2cd537a2b1 Fix bug #11014:
Rewrite location filter not to use radius as that key seems to be
hopelessly broken since always.
2008-02-10 09:21:12 +00:00
Eric S. Raymond
28bee542c6 More formal-argument fixups and macro type checking. 2008-02-10 08:05:32 +00:00
Eric S. Raymond
867d18f971 UtBS maintainer forgot to include a required translation mark.
The message is (a) misspelled, and (b) not strictly necessary.
Deleting it.
2008-02-10 05:26:40 +00:00
Eric S. Raymond
fc045b288e Impprove reporting of type mismatches. Fix a few more formal args. 2008-02-10 05:18:39 +00:00
Eric S. Raymond
a600ade30e Regularize use of macro formal arguments so we can do better typechecking. 2008-02-10 04:30:18 +00:00
Eric S. Raymond
ca4c995e6c Expect integer literals from formals X and Y.
New magic formals XSPAN and YSPAN accept ranges.  (This will enable
tighter type-ccking on macros like PLACE_IMAGE).
2008-02-10 01:58:57 +00:00
Eric S. Raymond
b34c790f71 Revert my attempt to rename, macro expansions can't have c _. 2008-02-09 22:07:45 +00:00
Mark de Wever
6b811dcb63 Fix a small border glitch. 2008-02-09 15:19:00 +00:00
Piotr Cychowski
dec4c8a541 Attempt at fix of #11014:
Create an empty hex for dark assassin by carving out a wall if there
is no space around unit triggering moveto event. Can't test the
behavior as there is no save with offending case.
2008-02-09 08:26:14 +00:00
Piotr Cychowski
ad245aba2a Fix #11018:
Include missing death events and set required flags on firing
them. Temporary patch till I finally get to work on this scenario.
2008-02-09 08:17:38 +00:00
Gunter Labes
0b6b81687a remove bogus translation mark 2008-02-09 07:39:40 +00:00
Eric S. Raymond
942084ceca The dummy atttacck is no longer necessary,
...and looks confusing in the unit status display.  Addresses bug
#11016.
2008-02-09 06:25:43 +00:00
Eric S. Raymond
481f95f396 Address bug #11017. 2008-02-09 06:13:52 +00:00
Eric S. Raymond
5f7998779e Translatable strings must be quoted. 2008-02-09 05:47:43 +00:00
Eric S. Raymond
d2f27ade1c This macro is now defined more locally. 2008-02-09 03:11:23 +00:00
Eric S. Raymond
86c88555de Enable argument-type checking on a macro. 2008-02-09 03:09:46 +00:00
Eric S. Raymond
d35ee7b556 Rename a macro,
...because we're probably going to want to put GUARD_UNIT in the core
namespace. Use the SIDE TYPE DESCRIPTION X Y order we're going to move
all the unit generators to.
2008-02-09 03:08:10 +00:00
Eric S. Raymond
ed209ebc9a Give the trapdoor guards in Glory generated names. 2008-02-09 03:01:28 +00:00
Eric S. Raymond
88ff73a6c3 Give army troops and camp guardians generated names.
Use the SIDE TYPE DESCRIPTION X Y order we're going to move everything to.
2008-02-09 02:55:35 +00:00
Nils Kneuper
3e11f86b09 correct 2008-02-08T22:14:59Z!crazy-ivanovic@gmx.net, placed the tag at the wrong place... 2008-02-08 22:15:50 +00:00
Nils Kneuper
90fea0fa82 set leader to passive, otherwise the scenario is by far too easy 2008-02-08 22:14:59 +00:00
Jan Rietema
48e0ab14eb Fix refunding and returning to recall list of wrong recalls (fixes bug #10993). 2008-02-08 16:47:31 +00:00
Eric S. Raymond
bdea13ea4a Fix bug #11008 by actually using a silver ring image. 2008-02-08 14:08:31 +00:00
Dimitar Ilccov
59e80d4c40 Another partial fix for the bug #10998.
Enemy chambers #3 & #4 had the same problem as the one described in
the bug.
2008-02-07 19:47:08 +00:00
Eric S. Raymond
8e65de51ed Address bug #10998. A second chamber had the same problem. 2008-02-07 19:12:12 +00:00
Eric S. Raymond
cf16fb85e2 Put a goal signpost the north end of the exit tunnel. 2008-02-07 17:39:48 +00:00
Eric S. Raymond
f359860e07 Wire in Pelias's portrait. 2008-02-06 22:47:45 +00:00
Eric S. Raymond
e5a737f2f5 Add another variable so the door-opening sequence won't fire twice. 2008-02-06 22:32:12 +00:00
Mark de Wever
b5ca65c6e9 While fixing bug #10133 it appeared an extra [scroll_to] was needed. 2008-02-06 21:47:57 +00:00
Eric S. Raymond
8a2db11ceb Implement the IMAGE argument type for macros.
This involved changing a bunch of formal args in the terrain graphics
macros from IMAGE to IMAGESTEM or IMAGELINE to avoid false positives.
2008-02-06 19:28:56 +00:00
Eric S. Raymond
f5a323e8c3 Improved macro argument type checking,
and change some formals to convey type expectations.
2008-02-06 12:06:24 +00:00
Eric S. Raymond
2f30f121cc Implement zookeeper's FR #5 from bug #10990
check macro calls for mismatches in argument number.  Fix a few
glitches found in mainline using this test.
2008-02-06 08:17:57 +00:00
Eric S. Raymond
cc6d19f0d8 Impplement noyga's FR in bug #10990:
detect unknown movetypes and rwaces in units.
2008-02-06 03:01:37 +00:00
Eric S. Raymond
5f883d14bd Implement FR #4 in bug #10990, checking side sequence numbers.
Fix a couple of glitches this revealed in mainline
2008-02-06 01:41:18 +00:00
Eric S. Raymond
9d233369f5 Clean up another misplaced #tesxdomain declaration. 2008-02-06 00:49:11 +00:00
Eric S. Raymond
aba249cf83 Move all #textdomain declarations to line 1 at Ivanovic's request. 2008-02-05 21:56:35 +00:00
Eric S. Raymond
875f023721 Detect badly placed #textdomain strings (partial implementation of FR #10951).
Correct two mainline glitches detected by this code.
2008-02-05 19:22:06 +00:00
Eric S. Raymond
f01e16f033 Cosmetic fix. 2008-02-05 18:01:13 +00:00
Eric S. Raymond
8d25b00659 Avoid confusing wmllint. 2008-02-05 18:00:26 +00:00
Lari Nieminen
bdd6ab733a Fix the hitpoints of units going off in the human-undead transformations. 2008-02-05 16:31:32 +00:00
Piotr Cychowski
92e4a75253 Fix #10985: add missing iteration. 2008-02-04 07:36:22 +00:00
Gunter Labes
045f081a07 typo fix 2008-02-03 17:10:27 +00:00
Nils Kneuper
39eb82cea8 fixed bug #10753 2008-02-03 16:01:18 +00:00
Lari Nieminen
fc43c1e723 Fixed bug #10981 by making the elf leader passive. 2008-02-03 15:28:39 +00:00
Lari Nieminen
c4dbb6331a Fixes bug #10974.
I didn't remove the few now redundant strings however, just in case
we'd want to use them after all for something.
2008-02-03 15:20:22 +00:00
Gunter Labes
8447805f28 typo fixes 2008-02-03 14:21:51 +00:00
Lari Nieminen
d219ff9f3c Someone had broken Malin's sword animations. 2008-02-03 13:57:10 +00:00
Lari Nieminen
fc2706ef79 Tune the lich transformation sequence a bit. 2008-02-03 13:53:58 +00:00