Commit Graph

15537 Commits

Author SHA1 Message Date
Mark de Wever
6d67ae6e92 Added a new image type which only depends on the scaling factor,
...and used this type for units and haloes.

renamed some items to scaled_to_hex (forgot that in the previous image
change)

I consider this too intrusive to port to the 1.2 branch.

It fixes:

 * units are scaled properly when zooming also with tiny gui (bug
   #8703 and bug #6570)

 * haloes in tiny gui are now scaled (before unscaled, thus a factor 2
   bigger as intended)

 * removes the scaling handling in the halo, removing quite some code
2007-03-17 12:07:51 +00:00
Patrick Parker
d2c5800ec7 friendlier boolean matching for unit [filter] and unit [wml_filter] 2007-03-17 03:17:36 +00:00
Patrick Parker
57388b578a fixes bug #8740
revert advancement of units in the unstore_unit event until
replay.add_advancement() is implemented. (currently, the replay code
only expects advancements after an attack)
2007-03-17 00:46:34 +00:00
Mark de Wever
035b2f4678 renamed SCALED to SCALED_TO_HEX
as preparation to allow units to be properly scaled
2007-03-16 23:18:29 +00:00
Mark de Wever
7d4cc5638b Rewrote the halo render engine...
...which solves a few minor glitches but most importantly speeds up the
drawing of the halos.
2007-03-16 20:02:53 +00:00
Gunter Labes
6438df7d23 decreased the holy resistance of the Mermaid Priestess from 40% to 20%
decreased the holy resistance of the Mermaid Diviner from 60% to 40%
2007-03-16 19:07:20 +00:00
Nils Kneuper
bbe37bb065 updated Polish translation 2007-03-16 14:15:38 +00:00
Nils Kneuper
da557ef283 updated Czech translation 2007-03-15 12:58:50 +00:00
Patrick Parker
7a3bc01f08 correction to value_change logic in the slider beep 2007-03-15 04:15:43 +00:00
Benoît Timbert
7ce055aa5b Added a new french translator 2007-03-14 21:38:19 +00:00
Mark de Wever
1c4802fde3 The countdown timer is now coloured properly...
...when the remaining time is less than 2 minutes.  Ported some
changelog entries to players_changelog
2007-03-14 20:53:57 +00:00
David Philippi
c41941ad68 reverted wrong commit 2007-03-14 16:18:10 +00:00
David Philippi
d712d6bc0a danish translation update 2007-03-14 12:14:00 +00:00
David Philippi
576cc0caad danish translation update 2007-03-14 12:12:56 +00:00
Benoît Timbert
97a01c148f Updated french translation 2007-03-14 10:51:42 +00:00
John W. C. McNabb
92f19a4256 end movement even if AI has made an error in calculation 2007-03-14 03:30:46 +00:00
Patrick Parker
a32b17aed1 re-attempt at workaround for vector<Mix_Chunk*> deletion error
feel free to submit a "real fix"
2007-03-14 01:43:10 +00:00
John W. C. McNabb
8211e46f91 added unit location memory to ai_dfool 2007-03-14 00:58:40 +00:00
Jérémy Rosen
e310e2b2c6 fix the improper sliding bug 2007-03-13 23:08:59 +00:00
David Philippi
674121a561 danish translation update 2007-03-13 21:33:20 +00:00
David Philippi
bc4a95fcbf hungarian translation update 2007-03-13 17:51:11 +00:00
David Philippi
633d49e93c danish translation update 2007-03-13 17:42:06 +00:00
Mark de Wever
084185e6cd the first turn starts again with the proper time of day
(bug 8637), thanks to fabi
2007-03-13 17:33:22 +00:00
Nils Kneuper
e168f3add5 updated German translation (applied patch #695) 2007-03-13 14:29:34 +00:00
Mark de Wever
54fcb6902f tiles with overlays are also properly shown if compiled with --enable-tinygui
(bug #8720 patch #697)
2007-03-13 14:20:24 +00:00
Nils Kneuper
7e48f08294 removed files that should not be online... 2007-03-13 13:08:52 +00:00
Nils Kneuper
7c153870e5 stripped ICC profiles 2007-03-13 12:56:44 +00:00
Benoît Timbert
0e6eaa8f6c Apply patch #696, modified to match the latest changes ;) 2007-03-13 10:35:56 +00:00
Benoît Timbert
2ed280e8af In attack modification [effect]s:
- set_name no longer change the weapon description

- set_description (new key) change the weapon description
2007-03-13 10:32:45 +00:00
Lari Nieminen
d9c9103aa6 Ellipse adjustments for the unit recentering (2007-03-12T19:21:47Z!koraq@xs4all.nl).
These are just scale-jobs, so they're a bit blurry, and there's a
really, really ugly temporary hack to alphamask.png to prevent their
edges getting cut off.

If 2007-03-12T19:21:47Z!koraq@xs4all.nl is reverted, so should this be.
2007-03-12 20:59:49 +00:00
Mark de Wever
9da8d79991 upon request of Zookeeper changed the offset to 16 pixels 2007-03-12 20:36:00 +00:00
Mark de Wever
59394b0f0b Draw the units 18 pixels higher in their hex.
An experimental feature to see how it works ingame.
2007-03-12 19:21:47 +00:00
Nils Kneuper
5b9d9fccb3 updated Italian translation 2007-03-12 17:29:35 +00:00
Nils Kneuper
d84f317987 pot-update 2007-03-12 14:49:13 +00:00
Jérémy Rosen
4a27d1d3b8 fix a bug that prevented fade-out on death anims from working properly 2007-03-11 23:45:55 +00:00
Patrick Parker
714732a2d3 phasing out [store_gold] a little more gracefully. 2007-03-11 23:04:56 +00:00
Patrick Parker
320bd64f30 workaround since deleting sound::channel_chunks sometimes fails
feel free to commit a "real fix"
2007-03-11 21:17:34 +00:00
Patrick Parker
13919c7329 use correct syntax for the getline warning 2007-03-11 18:22:55 +00:00
Mark de Wever
be2b213a46 the changes to wesconfig.h didn't survive a configure, now they do 2007-03-11 17:51:17 +00:00
Mark de Wever
d369bfa867 added some more deprecated messages,
...also avoid the message to be shown on the startup map. It contained
a single 1 which is deemed the old format due to the fact it contains
no comma. Now it's an empty map and avoid to show the message on an
empty map.
2007-03-11 16:25:03 +00:00
Nils Kneuper
cc898dcea1 updated Bulgarian translation 2007-03-11 16:07:09 +00:00
Benoît Timbert
0f69bd6de0 I plan to remove set_special after 1.3.2 2007-03-11 16:02:03 +00:00
Mark de Wever
6d72c504d9 using a stream variable with a stream operator does not...
...return the wanted effect... so added .str() to get the wanted
effect.  (isn't the first time that happened :/)
2007-03-11 15:58:50 +00:00
Mark de Wever
a13d97ce23 added the new type of deprecated messages 2007-03-11 15:54:41 +00:00
Mark de Wever
a26e42ac8e added the new type of deprecated messages 2007-03-11 15:54:29 +00:00
Mark de Wever
1812b5a9ef terrain.heals now uses the new error messages and sets an expriation date.
also changed the construction to use 0 instead of false
2007-03-11 15:44:16 +00:00
Mark de Wever
686991a7c1 a small text change avoided game_events.cpp to compile; fixed 2007-03-11 15:40:17 +00:00
Mark de Wever
145084823b Added the option to show an error ingame if deprecated WML is being used.
NOTE some versions of Visual Studio (including 6) have a broken
std::getline implementation see

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q240015 when

this compier is used an error will be generated (not really test but
should work.)
2007-03-11 15:32:28 +00:00
Mark de Wever
d71f9fb723 if a dialog can't be shown due to the fact the screen has been locked...
...the dialog is no longer silently discarded, but an error is logged
before discarding the message.
2007-03-11 15:25:32 +00:00
Patrick Parker
26bda9125e fix for the fix in 2007-03-11T00:06:39Z!patrick_x99@hotmail.com 2007-03-11 05:13:15 +00:00