22495 Commits

Author SHA1 Message Date
Nils Kneuper
1b8d6316ee updated Chinese translation 2008-02-10 09:13:19 +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
74534ae07b wmlscope can now list macros with untyped formals. 2008-02-10 06:15:29 +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
d0a30839ed Address bug #11021
with this change the green point-gain numbers from a drain attack will
show only if Show Combat is enabled.
2008-02-10 00:44:07 +00:00
Eric S. Raymond
51a1d83cb6 Fixes bug #10941.
Turns out my logic in 2008-02-08T18:37:45Z!esr@thyrsus.com was correct but I made a coding
error in my handiling of a C++ inner class initializer that was subtle
enough for boucman to miss when he reviewed the change.
2008-02-10 00:31:42 +00:00
Mark de Wever
10d3ca45dd Enabled caching images for lowmem unconditionally...
...since it seems to save memory (bug #11022).
2008-02-09 23:49:13 +00:00
Eric S. Raymond
006ef441b1 This is the other half of a rename 2008-02-09 22:11:49 +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
6e72e21c19 Make editor handle errors with the old unsupported map format more gracefully
(bug #11023)
2008-02-09 21:22:40 +00:00
Martin Renold
f3f98c7525 Fix scrolling code even more. (Fixes some really minor scrolling bugs.)
This outside_area() function confused some people, me included.

Also, the implementation was 1/4 hex off.
2008-02-09 20:51:46 +00:00
Martin Renold
f6de6205fc more correct hex math (scrolling to center now actually centers) 2008-02-09 17:57:12 +00:00
Mark de Wever
6b811dcb63 Fix a small border glitch. 2008-02-09 15:19:00 +00:00
Nils Kneuper
3829120afe updated German translation 2008-02-09 14:05:40 +00:00
Martin Renold
e204680565 scrolling speed > 99 always does warp-scrolling
turbo mode only does warp-scrolling at turbo > 2.0
2008-02-09 08:50:34 +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
3d5bab6cbc Somebody didn't wire in the new Guardsman images properly,
...and wmlscope objected.  Someomne who understands the intention
behind the new images should review to make sure I did the right thing
here.
2008-02-09 06:03:15 +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
Eric S. Raymond
8061ca1c2a Fix a typo in recent addition of new music (detected by wmlscope). 2008-02-09 02:49:52 +00:00
uso
47e4eae779 always initialize game.reloaded properly 2008-02-09 00:31:03 +00:00
Eric S. Raymond
31c743f3ff Add more tools documentation. 2008-02-09 00:24:18 +00:00
Eric S. Raymond
487db57e33 Document mk-edges. 2008-02-09 00:18:30 +00:00
Eric S. Raymond
67ffc6374c Document a limitation of this script. 2008-02-09 00:07:15 +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
Eric S. Raymond
60b36e1aec Clean up after 2008-02-08T18:37:45Z!esr@thyrsus.com.
I left un unused private flag in place.  Also micro-optimize a pair of
variable fetched in a way that will make future logic changes easier.
2008-02-08 21:58:30 +00:00
Gunter Labes
59c216c4cc correctly check whether the side is already owned by the new player
use the internal turn counter since the description is wrong at the
end of some games for some reason
2008-02-08 20:10:58 +00:00
Martin Renold
70be5d75e3 always warp-scroll when in turbo mode 2008-02-08 20:08:56 +00:00
Mark de Wever
81c5216c1d Rewrote tokenizer::skip_comment()...
...which broke translations since 2008-02-08T12:03:57Z!paniemin@cc.hut.fi.

Not sure whether it's faster as the original implementation and might
need some (UN)LIKEY optimization still. This algorithm is based on the
work in 2008-02-08T12:03:57Z!paniemin@cc.hut.fi.

If this still causes problems only tokenizer::skip_comment() needs to be 
reverted to 2008-02-08T10:44:43Z!lari.nieminen@iki.fi. Suokko please review and profile this later.
2008-02-08 19:58:22 +00:00
Jérémy Rosen
f4ea29865f fix a bad case of animation skipping...
that could cause the whole movement anim to be skipped if we had a lot
to redraw at the very beginning of the movement
2008-02-08 19:35:23 +00:00
Martin Renold
2d7e5c4d43 always update fog at end-of-turn 2008-02-08 18:54:06 +00:00
Eric S. Raymond
3f6d691b00 Implemented an accelerate flag in crude_animation, enabled by default.
When it's disabled, the current turbo setting will be ignored.  This
is a step towards fixing bug #10941.
2008-02-08 18:37:45 +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
Gunter Labes
aa14678eb0 move message processing to its own function...
...and also process pre-game messages properly

allow [stop_updates] through
2008-02-08 16:38:30 +00:00
Eric S. Raymond
dbcae1d87e Address bug #11001.
Turning the option off had been (a) suppressing death animations and
(b) suppressing scrolling to an attacking unit.

With this minor code tweak it will suppress attack animations
entirely.  (It looks as though it was intended to do this all along
but someone made a coding error.)
2008-02-08 16:03:44 +00:00
Gunter Labes
6416dfb5b7 fixes bug #6523: team messages are sometimes relayed to everyone
* repackage [commands] that contain private [speak]s 

* allow observers to speak to the observer team even if muted

* save observer team chat in the history

* made some functions private
2008-02-08 14:28:13 +00:00
Eric S. Raymond
bdea13ea4a Fix bug #11008 by actually using a silver ring image. 2008-02-08 14:08:31 +00:00
Gunter Labes
abdb20eeb9 fix output indentation 2008-02-08 14:04:05 +00:00