Commit Graph

15774 Commits

Author SHA1 Message Date
Ali El Gariani
6f81acc0fd Fix the bug #6313 (Glitch with the new and fancy stretched story images) 2007-04-01 19:23:44 +00:00
Lari Nieminen
3fc4ccc225 Made the net in the corner of the swamp village slightly less intrusive. 2007-04-01 10:36:50 +00:00
Patrick Parker
5081d0326b remove obsoleted entries in the sound cache chunk usage map 2007-04-01 06:49:40 +00:00
Ali El Gariani
9ebaff01f1 Add transition for the shroud outsite the map. 2007-04-01 00:03:52 +00:00
Ali El Gariani
f976a3ccb9 Simple fix for border map glitches on large screens or small maps.
It just display shroud outside the real map. But with shroud off, the
edge is a bit too sharp for the moment.
2007-03-31 23:30:30 +00:00
Nils Kneuper
17b5727c00 fixed bug #8636, trunk only 2007-03-31 21:31:45 +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
Ali El Gariani
f2f4e652f8 Reverse the image of the defender in the attack dialog.
Oppenents are now face to face. More dramatic tension.
2007-03-31 21:07:37 +00:00
Ali El Gariani
d9b2c4cb44 Cut the dragging if event fires during button press.
Prevent unwanted clicks after dialog with the normal use, but not
ideal for the drag use.
2007-03-31 20:15:58 +00:00
Karol Nowak
cc60bce9c9 Fix units not being drawn immediately in [unit]. 2007-03-31 18:03:55 +00:00
Ali El Gariani
85d4d6bf06 Remove the grabbing map feature (unwanted grab after some dialog click). 2007-03-31 17:48:09 +00:00
Patrick Parker
9f08e18ded silene's patch #708: appease some compiler warnings in GCC 2007-03-31 16:09:13 +00:00
Jérémy Rosen
9260a9c2e0 fix skirmisher not working properly when filtered by terrain
note that there is a similar bug with teleport, but I don't have time
to fix it right now, if someone could look into it, that would be
great
2007-03-31 14:51:17 +00:00
Ali El Gariani
435a0cfc91 Don't scale units in dialogs when zooming.
Add a parameter "bool scaled=false" in the function still_image()
2007-03-31 02:56:49 +00:00
Ali El Gariani
65a87545a6 Grab an empty tile with the left button to scroll the map. 2007-03-30 20:46:48 +00:00
Ali El Gariani
4aa5bc1acf Add dummies colored dragging cursors.
Normally not necessary, but need some change in the code to skip it. I
will do it later.
2007-03-30 19:33:08 +00:00
Ali El Gariani
b28e4e482a Fix the names of the apple dragging cursors 2007-03-30 19:25:20 +00:00
Ali El Gariani
00589f2a23 Use alternate dragging cursors if APPLE is defined 2007-03-30 19:07:46 +00:00
Ali El Gariani
741089b36a Add dummies dragging cursors for mac users 2007-03-30 19:05:07 +00:00
Nils Kneuper
ad13e75369 updated German translation 2007-03-30 18:18:40 +00:00
Nils Kneuper
1932f92099 updated Italian translation 2007-03-30 18:11:46 +00:00
Ali El Gariani
70a8220c95 New data for the dragging support 2007-03-30 17:49:31 +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
Ali El Gariani
a97bae57d8 Add black & white dragging cursors. 2007-03-30 17:40:11 +00:00
Ali El Gariani
d01996b915 Tiny optimization about the update of the dragging cursor state 2007-03-30 17:37:52 +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
9f525624ee Allow use of other buttons when dragging:
...right for canceling, middle and wheel for scrolling (I think it's
handy)

Add a minimal dragging distance, if not dragging don't send left-click
when the button is released (for the moment, start a dragging, coming
back to the unit and release there continue to send a second
left-click).
2007-03-30 16:20:11 +00:00
Patrick Parker
63217615f1 [set_menu_item] should work for SP now 2007-03-30 07:25:20 +00:00
Patrick Parker
2b72b674c7 patch#707 (partial)
- prevent accessing an invalidated iterator when removing enemy
  healers from potential healers (thanks silene)
2007-03-30 03:50:48 +00:00
Ali El Gariani
447af1ce11 Use custom cursors when dragging. 2007-03-29 23:18:28 +00:00
Ali El Gariani
60b1e51b9f Add prototype images for the drag & drop
(the black and white files are dummies)
2007-03-29 23:11:23 +00:00
Nils Kneuper
0d7784380d updated Bulgarian translation and added completed manpages 2007-03-29 22:39:19 +00:00
David Philippi
8a00aeea24 danish translation update 2007-03-29 20:39:14 +00:00
Ali El Gariani
0d32001d50 Some change in the minimum zoom allowed,
...use only zoomed tile size divisible by 4. But this cause a bigger
minimum zoom. However when lower zoom will be supported, we can
rounding down.
2007-03-29 19:41:10 +00:00
Gunter Labes
41b3b52d0f decreased the holy resistance of the Dwarves from 20% to 10%
increased the holy resistance of the Ghost line from -60% to -30%
2007-03-29 19:06:49 +00:00
Ali El Gariani
4b9512523b added drag & drop to move units 2007-03-29 18:43:45 +00:00
Mark de Wever
4690540c92 Added some protection against crashing when attacking...
...with units with a high or negative amount of hitpoints (bug #6154,
bug #7955, bug #8541) -1 hitpoints will still cause a crash.

This patch is not the cleanest solution since it tapers over the cause
but at least if avoids crashing except of the -1 corner case.

Hitpoint reduction to a sane amount or rewriting attack prediction would be
the clean solution.
2007-03-29 18:36:15 +00:00
Ali El Gariani
fa2d158958 Activate Drag & drop (quick hack, need test) FR #8508 2007-03-29 18:30:12 +00:00
J.W. Bjerk
0071e360d8 belated changelog update for the past few days 2007-03-29 15:37:21 +00:00
J.W. Bjerk
a2fa4ab2b9 added Musketaquid to credits. 2007-03-29 15:34:36 +00:00
Gunter Labes
b39d5579f6 enabled Lich and Ancient Lich to go on deep water and gave them submerge 2007-03-29 14:40:32 +00:00
David Philippi
3d90a3846e dutch translation update 2007-03-29 12:20:24 +00:00
Elias Pschernig
32f4192601 Python: Fixed a bug with import,
and whitelisted wesnoth, random and heapq modules - so now all old
legal scripts should be working without change.
2007-03-29 09:06:56 +00:00
J.W. Bjerk
818c89a9ed adding battlestar's icepack, shipwreck, and burnt tent. 2007-03-29 05:43:53 +00:00
J.W. Bjerk
119d1b02fb adding musketsquid's fancy tent 2007-03-29 05:40:34 +00:00
Patrick Parker
c0c085b4b5 minor correction to 2007-03-29T05:07:27Z!patrick_x99@hotmail.com 2007-03-29 05:31:59 +00:00
J.W. Bjerk
8a3aed1c5f added musketaquid's windmill. 2007-03-29 05:24:56 +00:00
Patrick Parker
33389cb140 support for saving WML menu items
(still need to add support for loading them)
2007-03-29 05:07:27 +00:00
Patrick Parker
8c65338fdd [[Rather confusing fixes of fixes]]
* fix the fix by darthfool in 2007-03-29T03:25:57Z!mcn4bb@gmail.com for the fix in
  2007-03-28T22:23:35Z!patrick_x99@hotmail.com for my previous fix.

* fix [variables] not working properly for Multiplayer mode (note
  there are some other places where it is probably still broken, I
  suspect this bug was introduced when savegames were being streamlined
  for 1.2.3)
2007-03-29 03:44:52 +00:00
John W. C. McNabb
879b2c07ef map is an associative container...
...and therefore erase does not return the next iterator
2007-03-29 03:25:57 +00:00