72 Commits

Author SHA1 Message Date
Ali El Gariani
4344b3dda9 Apply patch #644, fix bug #8068
(horizontal mousewheel support and horizontal scrolling with the
alt-key) for the game and the editor. But only tested on linux with an
emulated mousewheel.
2007-04-08 23:00:18 +00:00
Ali El Gariani
79275acd6e Submerged units are no longer drowned when zooming. 2007-04-07 20:58:25 +00:00
Ali El Gariani
2f837d5b4f fix problems with colour cursor in fullscreen
(slow speed, bug #7555 and bug #6052).
2007-04-07 20:50:28 +00:00
Mark de Wever
ff0892a5de ported 2007-04-06T22:00:39Z!koraq@xs4all.nl frrom 1.2 branch fixes bug #8839 2007-04-06 22:05:50 +00:00
Mark de Wever
8d043e8710 WML can be evil...
...killing a unit in a die event during an attack invalidates
iterators which are never checked again after the die event was
triggered. This caused crashes in Temple in the Deep which does that
to have some kind of plague effect.  fixes bug #8814 (for some reason
it seems to work in 1.2 :/ )
2007-03-31 21:10:45 +00:00
Mark de Wever
0b07431b1a fix the position of some halos when unit has a height offset (patch #710) 2007-03-30 17:44:37 +00:00
Mark de Wever
53214f38b6 flying units are no longer buried in a castle (patch #709) 2007-03-30 17:08:52 +00:00
Ali El Gariani
4b9512523b added drag & drop to move units 2007-03-29 18:43:45 +00:00
Ali El Gariani
786ea083b3 fix the right border glitch of the map when zooming
(bug #6060 and others)
2007-03-27 04:59:39 +00:00
Ali El Gariani
d926b3fb4a fix glitches when scrolling the map if zoomed out (bug #8768) 2007-03-26 20:03:04 +00:00
Lari Nieminen
693cc5a04c Updated changelogs. 2007-03-26 19:51:15 +00:00
Karol Nowak
5201b7611b Mention the fix for "Numpad Enter should function as Enter"
in player's changelog.
2007-03-26 17:30:59 +00:00
Nils Kneuper
adb256baa7 updated changelogs, zokeeper, please check palyers changelog it everything is correct 2007-03-25 10:03:12 +00:00
Nils Kneuper
dd7f7fb909 updated Players changelog 2007-03-25 09:56:22 +00:00
Mark de Wever
bd1d1afc24 updated the changelogs 2007-03-23 20:17:54 +00:00
Mark de Wever
7982b9ca36 show total amount of visible villages (patch #698) 2007-03-20 19:35:49 +00:00
Lari Nieminen
1da97d20fa Fixed the changelog a bit. 2007-03-18 10:13:45 +00:00
Mark de Wever
0f17dc500e the movement text is also scaled now (bug #6876, patch #693) 2007-03-17 13:49:34 +00:00
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
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
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
Benoît Timbert
97a01c148f Updated french translation 2007-03-14 10:51:42 +00:00
Jérémy Rosen
e310e2b2c6 fix the improper sliding bug 2007-03-13 23:08:59 +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
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
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
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
Lari Nieminen
f4272d5a74 Updated changelog. 2007-03-07 11:50:33 +00:00
Nils Kneuper
64cbea81ba updated Norwegian translation 2007-03-07 11:09:52 +00:00
Nils Kneuper
2b7e88df11 updated Italian translation 2007-03-05 14:12:44 +00:00
Nils Kneuper
04605bb377 updated German translation and Portuguese (Brazil) manpages 2007-03-04 23:47:38 +00:00
Nils Kneuper
1733df7e9a updated Portuguese (Brazil) translation 2007-03-04 09:12:00 +00:00
Lari Nieminen
a481843d64 Updated changelog. 2007-03-03 20:26:03 +00:00
Jérémy Rosen
945c4d54bd fix bug #8626 (incorrect death sound played) 2007-03-02 20:54:23 +00:00
Lari Nieminen
eea65fcaaf Made Eonihar join the player permanently...
...and the rest of the encountered riders be AI-controlled.
2007-03-02 12:05:38 +00:00
Lari Nieminen
05de827f82 Prevented some unit types such as desert elf duplicates...
...from appearing in the in-game help unit list.
2007-02-28 12:21:10 +00:00
Nils Kneuper
75eda74a2a updated Bulgarian translation 2007-02-27 22:31:17 +00:00
Nils Kneuper
3e289dad70 updated Czech translation and changelog 2007-02-26 22:35:49 +00:00
Mark de Wever
a32f36041e made an option to set the number of fps that should be shown,
...not all code honours this yet

the default is 50 fps

changed the draw delay logic it now determines when the next draw
should take place, this avoids adding a delay when the code is already
lagging. That problem occurs with scrolling and animations. The engine
now stays much closer to the desired fps, provided that the system it
runs on is fast enough.
2007-02-25 18:44:47 +00:00
Mark de Wever
efff6c5c77 the visibility icon of an unit is now properly updated (bug #8107)
Note this causes extra call to the slow invisible state retrieval 
of a unit, I want to look at caching the state later.
2007-02-24 00:51:20 +00:00
Mark de Wever
f8b0d3f7ca if a unit gains enough XP to gain 2 levels this will be done directly
NOTE there is a protection against insane XP amount which might cause
a unit to enter an level loop.
2007-02-23 20:02:09 +00:00
Mark de Wever
a563e523b3 changelog for commit #16014 2007-02-22 20:33:34 +00:00
Mark de Wever
39abbdbb85 removed the keep as starting position 2007-02-22 17:00:54 +00:00
Lari Nieminen
92e46524d1 Minor clean-up. 2007-02-22 11:58:45 +00:00
Mark de Wever
aaff8bfdd4 Wesbowl: the respawned units are fully healed again (bug #7776) 2007-02-21 21:02:59 +00:00
Mark de Wever
051b6958fa made some tooltips visible again (bug #6702 and bug #8380) 2007-02-21 19:27:24 +00:00
Martin Renold
1b4a5792bd add display updates and invalidate_all in some places
fixes bug #7131
2007-02-20 16:40:43 +00:00
Nils Kneuper
3deb308a64 some more changelog updates
zookeeper: please check and correct my "players_changelog" changes
2007-02-19 18:52:45 +00:00
Martin Renold
52735b00d8 updated/corrected my changelog entries 2007-02-16 20:33:55 +00:00
Mark de Wever
46915a7411 added the an alpha blended preview of the selected terrains upon drawing
the optimal alpha value needs some tuning so there's a setting, which
is not stored in the preferences. This will need some more tuning
later.
2007-02-16 20:02:02 +00:00