Commit Graph

17185 Commits

Author SHA1 Message Date
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
Nils Kneuper
6d8c77da3f updated Italian translation and Spanish manpages 2007-06-05 08:34:01 +00:00
Patrick Parker
b810c0680b fix bug #9604 2007-06-05 06:24:03 +00:00
Mark de Wever
7c5c3d3ae4 set svn:keywords to 'Author Date Id Revision'
added /* $Id$ */ to files which didn't have that
2007-06-04 20:48:38 +00:00
Martin Renold
f8f019db3f reduced "sea sickness" effect when scrolling at accelerated speed 2007-06-04 20:29:21 +00:00
Ali El Gariani
1a8220bf4e fixed a bug causing instantaneous move of unit when using acceleration 2007-06-04 20:09:42 +00:00
Ali El Gariani
15c71ddba8 Fix a bad casting / rounding
causing instantaneous move of unit when using acceleration
2007-06-04 20:02:04 +00:00
Elias Pschernig
94b27f3abe updated German UtBS translation 2007-06-04 19:36:31 +00:00
Ali El Gariani
6323b321c1 Brighter version for the colors of the def% in the movement hint.
The previous one was really too dark.  Now 50% is pure yellow
(255,255,0) and each 10% difference remove 50 from red or green
depending the direction
2007-06-04 19:34:07 +00:00
Nils Kneuper
d91150ca14 updated German translation 2007-06-04 19:31:34 +00:00
Nils Kneuper
5a6dc6926d updated Italian translation 2007-06-04 18:04:07 +00:00
David Philippi
6fb2962839 spanish translation update 2007-06-04 17:46:28 +00:00
Ali El Gariani
70922f8419 Experiments with the movement hint, please comment for tuning / removing
- multiline, so the def% is always on center and turns to reach just
  below. Also allow next point

- def% is a little bigger, because it's more important and also for
  helping the darkening in next point

- def% is slighlty level-colored, but it's hard to choose a good color
scale using a constant brightness currently use the formula : color =
{255 - def, 105 + def, 0} but not very differentiable and a bit darker
2007-06-04 11:36:22 +00:00
Ali El Gariani
a52cade999 Use the cartesian norm instead of the infinite norm...
...to evaluate the dragging distance

This also remove the previous problem "maximum+abs" with some
compiler, but use power which is supposed safe

Change the dragging threshold from 10px to a little bigger 14px (the
previous diagonal)

Still much smaller than a hex and the idea is that missed drag&drop
are less annoying that unwanted move.

Also move the threshold definition to the top of the file
2007-06-04 06:37:24 +00:00
Ali El Gariani
e37ba15306 Fix a bug spotted when summoning a troll near the top of the screen...
...in the test-scenario, (but probably elsewhere too) : the unit's
decorations were blitted on the status bar.

So, remove a useless redraw_unit() when WML-create the unit, and
instead use a draw() since the hex was invalidated.

This happened because redraw_unit() was used outside the "clipping
context" of the function to draw a tile.
2007-06-04 06:32:21 +00:00
Ali El Gariani
042000aed4 In the unit list:
- fix a bug preventing to scroll to the first unit

- highlight and show in sidebar the chosen unit after the scrolling
  (because often lost in a pack of other units)

- if a unit was already selected on the map, pre-select it in the
  list. Select the first, if not.

- add a CANCEL button to quicly escape without changing to an other unit.
2007-06-04 03:36:28 +00:00
Ali El Gariani
7d8737d8c0 for the movement hint :
- add a validity check and remove an useless search
- fix a space badly shifting the movement info in tiny_gui
- remove obsolete comment
2007-06-04 03:10:55 +00:00
Ali El Gariani
f45136b7b5 "movement hint" and "number of enemies who can reach" used...
...similar code to draw text in a hex

add a new function to replace this redundancy (+ some cleaning for
drawing the black border).  The function draw_enemies_reach is now
almost empty, so remove it.

No visible change.
2007-06-04 01:43:17 +00:00
Patrick Parker
f8d24c6127 use the trollskin image mod on summoned torls 2007-06-04 00:30:29 +00:00
Nils Kneuper
1d7cc2549c updated German translation 2007-06-03 21:14:59 +00:00
Ali El Gariani
ef675fb940 Fix imprecisions about "turns to reach"
* the movement hint now display a "(1)" turn to reach, where the unit
  will have no moves left (distance, village or ZoC)

* fixed bug with the number of turns to reach when crossing several ZoC
2007-06-03 19:03:10 +00:00
Patrick Parker
11ace4aecd fix a typo 2007-06-03 15:55:59 +00:00
Patrick Parker
0c9f207049 add a new BUTTON_LOCATION to gui::dialog 2007-06-03 15:53:07 +00:00