Commit Graph

17357 Commits

Author SHA1 Message Date
Eric S. Raymond
a6a8db36d9 First payoff from the previous refactoring steps:
instances of the deprecated show_dialog() call in menu_events.cpp()
get replaced with uses of the newly public message_dialog class.
2007-06-08 08:55:40 +00:00
Mark de Wever
11279fe145 fix an invalid character in a random map 2007-06-08 08:23:05 +00:00
Mark de Wever
bb2a384e30 20c_The_Cliffs_of_Thoria.cfg was unused and not finished...
...also didn't contain a map.
Removed the scenario and the commented out event to go to this scenario.
2007-06-08 08:12:31 +00:00
Eric S. Raymond
7eb40f3628 Pure refactoring step: Lift the message_dialog class out of game_events.cpp...
...and make it part of dialogs.cpp.

We're going to want it to be visible for other parts of the program 
that will need to display message dialogs.
2007-06-08 07:45:14 +00:00
Rusty Russell
8a27f60ebe Undo http://svn.gna.org/viewcvs/wesnoth?rev=18124&view=rev
Moving Delf away is the right thing, but he only needs to move across 1.

Also scroll away from Delf before we kill him: it still looks weird to
see him stop, regain his bars then we scroll away.

Ideally we'd have a scroll=no option to move_unit_fake...
2007-06-08 06:52:37 +00:00
Eric S. Raymond
10002159ba Second refactoring step for popup transients.
There's now a function to do these in the GUI namespace. At the moment
it produces only an ordinary MESSAGE window.
2007-06-08 06:52:13 +00:00
Bruno Wolff III
49fc7fe2bb It looks like some code was copy and pasted...
...and sfi was supposed to be replaced by ffi throughout the block,
but wasn't. For gcc this produces a scoping error which points out the
problem. Windows compilers seem to have different scoping rules, so
this may have compiled for whoever submitted the patch.
2007-06-08 06:07:01 +00:00
Eric S. Raymond
d851c2d4b0 First (non-OO) attempt at abstracting out a popup-transient window. 2007-06-08 05:53:15 +00:00
Eric S. Raymond
9c8ef5a345 The Scenario Report and Victory prompts are merged.
You'll only see "Victory" if you're a player, and you'll only see the
end-of-scenario statistics when they're needed (the test has not
changed).

Count of pop-ups we see on a winning end of-scenario before going to
the next scenario is now just one (1).
2007-06-08 04:45:55 +00:00
Eric S. Raymond
65e4f695bb More suppression of end-of-scenario prompts. 2007-06-08 03:40:13 +00:00
Patrick Parker
01e4e71695 fix bug #9162: Killing second_unit interrupts die event 2007-06-08 03:35:41 +00:00
Eric S. Raymond
4e1e0bcd4d Nuke two of the end-of-scenario popups in favor of global preferences. 2007-06-08 03:04:47 +00:00
Patrick Parker
ce45600bb6 dont check entity_location unless a corresponding [filter] exists 2007-06-08 02:51:48 +00:00
David Philippi
e4535ab407 danish translation update 2007-06-08 00:56:36 +00:00
Benoît Timbert
c8e0a8e1ee Remove the defense weight on the pierce attack,
since here it was only useful for the old algorithm.
2007-06-07 21:50:06 +00:00
Elias Pschernig
d333d36752 made the CS check for copying.txt and Copying.txt and COPYING.TXT
before adding a COPYING.txt
2007-06-07 15:17:59 +00:00
Nils Kneuper
0eee46a59a updated Italian and Czech translation 2007-06-07 13:02:03 +00:00
Richard Kettering
d8e295e10c New icon for team flag. 2007-06-07 00:40:25 +00:00
Eric S. Raymond
cc883f6ef3 Address issues in bug #9017. 2007-06-06 21:43:03 +00:00
Patrick Parker
d8d62041bb die better 2007-06-06 21:42:29 +00:00
Patrick Parker
c32850a4bf insert missing [kill] branch 2007-06-06 21:26:30 +00:00
Eric S. Raymond
9e8840da91 Sanity-check the themes directory, too. 2007-06-06 19:29:38 +00:00
Eric S. Raymond
63665dda58 Restore reference checking of multiplayer. 2007-06-06 19:08:03 +00:00
Isaac Clerencia Perez
2c32ff9d12 Remove extra lines from Makefile.am, fixes #9249 2007-06-06 19:05:16 +00:00
Eric S. Raymond
db80e8c7b4 Fix broken references. This revision is wmlscope-clean. 2007-06-06 19:04:19 +00:00
Eric S. Raymond
09f67bed5e Somebody didn't clean up properly when the Wolf was moved into core. 2007-06-06 18:39:05 +00:00
Eric S. Raymond
d423eae960 Descent Into Darkness can use the mainline brown-lich portrait;
malin-lich.png was just a copy of this.
2007-06-06 18:31:04 +00:00
Ali El Gariani
424624e43a allow to select item in menu with right-click
right-click outside of a cancelable dialog to close it
2007-06-06 11:31:57 +00:00
Ali El Gariani
bbc74e2daf fixed briefly invisible unit when scrolling to show a move 2007-06-06 11:29:37 +00:00
Ali El Gariani
24fd4d56c0 [[Tweak presentation of moving units]]
- better fix for the bug "briefly empty hex if we must scroll to a
  moving unit" than commit 18093.

- avoid the problem which occur when trying to draw orb of moving
  temporary unit (see 2007-06-06T09:16:20Z!alinkmaze@gmail.com)

- now the orb+bars are hidden after the end of the inital scrolling
  and the start of the move

- add a check for strange 1-hex path
2007-06-06 11:19:38 +00:00
Ali El Gariani
eab3beb54f The temporary unit use introduced in 2007-06-05T14:33:44Z!alinkmaze@gmail.com...
...breaks an assert when do the first fake move in IE1.

I remove it for the moment, because i don't see the error. There is
still a bug with the lich not caused by this commit but maybe related
to the problem.
2007-06-06 09:16:20 +00:00
Dimitar Ilccov
9a3a3cefaf Difficulty changes and the way Owaec changes side in Northern Outpost in EE 2007-06-06 08:51:52 +00:00
David Philippi
79daf481ee danish translation update 2007-06-06 08:40:45 +00:00
Eric S. Raymond
764e43f622 Get rid of annoying modal button in Saved pop-up. Fixes bug #9072. 2007-06-06 05:20:23 +00:00
Patrick Parker
75e257b0f6 minor improvement to entity_location constructor syntax 2007-06-06 04:53:09 +00:00
Patrick Parker
7b2c3a2699 fix some bugs in [die] and [kill] events 2007-06-06 04:25:43 +00:00
Eric S. Raymond
a9d82a7f89 Fix a WML bug in DiD::Alone At Last
...that gave the book to a random minion rather than Darken Volk. Also
fix two minor usage errors in the storyline text.
2007-06-06 04:04:51 +00:00
Ali El Gariani
176a8ca9f9 Don't use {hardwired/}.
These files are already loaded by the c++ code (see the warning file
in the directory)
2007-06-06 03:25:31 +00:00
Patrick Parker
cd893fb7e0 reduced verbage for the lexigraphically impaired 2007-06-06 00:35:20 +00:00
Eric S. Raymond
7bd42d7232 Another change based on Fade's report. 2007-06-05 22:23:14 +00:00
Eric S. Raymond
46b1f9422a Spelling, punctuation, and usage fixes. 2007-06-05 22:19:32 +00:00
Eric S. Raymond
33b4693273 First two changes fbased on Fade's critique. 2007-06-05 22:08:06 +00:00
Nils Kneuper
7c06323872 updated German translation 2007-06-05 19:56:55 +00:00
Taurus
142ef8ea0b Balancing and Bug Fixing 2007-06-05 17:16:08 +00:00
Ali El Gariani
99c649c6df Fix bugs when scrolling to show unit's move:
- show a temporary unit *before* the scrolling, if not we will scroll
  to a (briefly) empty hex

- get the starting time *after* the scrolling, if not the animation
  will miss the time elapsed

and the unit jump to the current time
2007-06-05 14:33:44 +00:00
Ali El Gariani
bce098a4c6 Remove unused variables, some adjacent hexes and one from the previous commit, 2007-06-05 14:16:09 +00:00
Ali El Gariani
ee73fbe795 Remove some useless code when moving a unit (invalidations and draw()):
- no need to invalidate adjacent hexes after each step, already done
  when redrawing units with offset and walking

- the last "else" had no effect

- use set_route(NULL) to clear the path, so invalidate it only if present
2007-06-05 14:01:58 +00:00
Nils Kneuper
1bb970a8c6 updated German translation 2007-06-05 09:35:22 +00:00
Nils Kneuper
bc2c90f881 updated German translation 2007-06-05 09:13:12 +00:00
Nils Kneuper
9634719463 pot-update 2007-06-05 09:02:52 +00:00