22476 Commits

Author SHA1 Message Date
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
Pauli Nieminen
172ca8ba7b fixed a typo 2008-02-08 13:20:40 +00:00
Pauli Nieminen
dd575a8cf4 Some minor optimizations to tokenizers (thanks mordante)
Fixed UNLIKELY macro
2008-02-08 12:48:10 +00:00
Pauli Nieminen
743a597fe4 CPPFLAGS->CXXFLAGS for builtin_expect checing 2008-02-08 12:18:29 +00:00
Pauli Nieminen
376408d8a2 Optimized tokenizer a bit (skip_comment) 2008-02-08 12:03:57 +00:00
Lari Nieminen
b0a17b80f4 Fix a little light blotch on the roof. 2008-02-08 10:44:43 +00:00
Gunter Labes
077716e3b9 partially revert 2008-02-08T08:10:07Z!soliton@wesnoth.org
(leave the sounds wired in just not used), proper way is too intrusive.
2008-02-08 08:47:12 +00:00
Gunter Labes
1be058cfce use different join/leave sounds for the game lobby 2008-02-08 08:10:07 +00:00
Gunter Labes
31bb485002 fix config streaming 2008-02-08 07:57:48 +00:00
Gunter Labes
e19ff27789 refactor sending and recording of server messages,
...all public server messages should also get recorded now

remove the relaying of unknown/unhandled data (doesn't appear to
happen anymore atm anyway)
2008-02-08 07:33:29 +00:00
Eric S. Raymond
358cf05fb9 Avoid spurious messages. 2008-02-08 05:46:19 +00:00
Elias Pschernig
8609817b3b Applied patch patch #971:
Tommy fixed two bugs in the Python AI: There was a possible crash if
Python AIs would somehow try to attack non-existing units (or attack
with a non existing unit?), and unit.name used the C++ ::name() method
but ::underlying_description() (the patch had ::description() but this
seems the right one) is the WML description tag which should be
returned according to documentation.
2008-02-07 22:08:22 +00:00
Moritz Göbelbecker
934b071747 Added stone bridge terrain over lava and chasm 2008-02-07 20:26:13 +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
Dimitar Ilccov
fa5d88cec0 An update of {DEFAULT_MUSIC_PLAYLIST} - more tunes included 2008-02-07 18:03:53 +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
uso
1dd7050437 check for linger mode first to prevent a crash if the game runs out of turns 2008-02-07 17:32:58 +00:00
Mark de Wever
324bfdb415 Unified the two different max_loop counters and used highest maximum (65536). 2008-02-07 17:32:16 +00:00
Mark de Wever
baa482be0c Add a warning in scroll_to_tile if the tile isn't on the map. 2008-02-07 17:27:17 +00:00