Mark de Wever
097a279674
the darken overlay looks silly outside the map area,
...
will even be sillier once that area turns into wood, thus no longer
show darken outside the map
2007-05-28 22:19:38 +00:00
Richard Kettering
a5b4341e4e
New images for the Slurbow.
2007-05-28 22:10:05 +00:00
Richard Kettering
ab11bbb93f
Retimed animations for new image set.
2007-05-28 22:05:04 +00:00
Mark de Wever
8906a0ac18
adds 1 row of border hexes to the map, the grid is not shown on them
...
NOTE not too happy with now it looks at the outer border
NOTE also not too happy with the forced void drawing of the outer hexes
but it's required to avoid old images getting stuck on the outer border.
2007-05-28 21:33:08 +00:00
Ali El Gariani
d66ddf8156
When displaying the number of turns to reach in the movement hint:
...
- fix off by one number errors when a surrounded unit was forced to cross ZoC
- generalize the ZoC hint idea to standard move (as pointed by
eleazar): display a "(1)" when you will have no moves left at the
destination
- simplify the ZoC algorithm, just remove all the MP when you walk in
one instead of adding special turns.
2007-05-28 21:04:58 +00:00
Patrick Parker
d369553dd2
some further refactoring of the dialog code
2007-05-28 20:33:05 +00:00
Lari Nieminen
88a32a8a86
Fixed ambush/nightstalk/submerge descriptions...
...
so that they now include the feature of ambushing also stopping
skirmishers (and made the wording a bit simpler otherwise, too).
2007-05-28 19:43:24 +00:00
Patrick Parker
814ed55745
update the editor code to use the dialog_frame object
2007-05-28 18:38:33 +00:00
Mark de Wever
286cbd4a04
maps smaller than the screen are now shown centered on the screen
...
for test also changed the minimum map size is to 1 in the editor
this feature might be handy for special maps so leave it in.
I'm not too happy with the name of display::map_outside_area()
2007-05-28 12:19:24 +00:00
Mark de Wever
9c02d7d6bd
make wesnoth compile again,
...
the editor is broken and I'm not too familiar with the gui code so
I'll PM Sapient
2007-05-28 12:16:17 +00:00
Nils Kneuper
d21da56c0e
updated changelog
2007-05-28 11:22:17 +00:00
Nils Kneuper
7f527ed257
updated Polish translation and Swedish manpages
2007-05-28 11:20:27 +00:00
Patrick Parker
7e9fb4c90c
make the GUI frame drawing routines more object-oriented
2007-05-28 11:16:55 +00:00
Mark de Wever
dabf4d7873
Removed the name of a trait in the tooltip.
...
It didn't work before due to male and female names being used instead
of name. Description has no gender versions so it was prefixed with a
colon.
2007-05-28 10:55:05 +00:00
Mark de Wever
4efcf5f5ad
small cleanup in the source
2007-05-28 10:52:19 +00:00
Ali El Gariani
222af7643d
user interface: fixed a lag in the path rendering when there is a lot of units
2007-05-28 05:24:15 +00:00
Ali El Gariani
7592864522
WML engine: removed deprecated keys image_healing and image_halo_healing
2007-05-28 05:18:38 +00:00
Ali El Gariani
35eaec238d
Fix the really annoying lag of the path drawing when a lot of units are present
...
It was a very stupid error from 7 weeks ago with the pathfinding
function to calculate the turns to reach (used a parameter unit_map
passed by value, so the link with the number of units )
2007-05-28 03:50:58 +00:00
Patrick Parker
61c607ec35
rename dimension_measurements "frame" to the more accurate term "interior"
2007-05-28 03:38:38 +00:00
Ali El Gariani
79b5b00d07
Optimization of get_flag:
...
don't check if the flag is shrouded because we already know that it is not.
And I think that the previous code didn't cause bug precisely because
it was never shroudred there
2007-05-27 22:34:11 +00:00
David Philippi
83f847b6cd
swedish translation update
2007-05-27 22:05:22 +00:00
Ali El Gariani
f49f211fd1
Revert a parentheses error from [[SVN:17879 ]]
...
...causing to display red flags on all villages. Changed the bad
indentation to prevent other future error.
2007-05-27 22:01:52 +00:00
Mark de Wever
052da3a591
inline display::set_turbo_speed()
2007-05-27 19:21:55 +00:00
Lari Nieminen
43cc7c18c8
Translated the remaining image_healing= and image_halo_healing=
...
...into proper [healing_anim]ations.
2007-05-27 18:19:09 +00:00
Ali El Gariani
b118ba9cbc
remove obsolete and now unused data and functions...
...
...for the keys image_healing and image_halo_healing
2007-05-27 18:02:28 +00:00
Ali El Gariani
8d9690e43c
use standard image (with duration 500) to default healing animation
...
need to adapt obsolete keys in paladin and maybe 1 or 2 mermaid
I will also remove the remaining dead code about these keys
2007-05-27 17:27:30 +00:00
Benoît Timbert
7d09b734d3
Serbian translation update (patch #714 )
2007-05-27 17:14:15 +00:00
Mark de Wever
0182d47712
removed the automatic shroud outside the map,
...
it reintroduces some bugs but it's the next step to change the
background.
2007-05-27 17:01:50 +00:00
Gunter Labes
864c760a78
added the missing top rows
2007-05-27 16:24:06 +00:00
Mark de Wever
a106067a84
on map only files the first line is no longer skipped...
...
...when converting the maps. esr could you review the patch, Soliton
tested it and seems to work.
2007-05-27 16:19:33 +00:00
Mark de Wever
13ffb08c9c
removed support for the obsolete 1.3.1 terrain format
2007-05-27 15:21:26 +00:00
Mark de Wever
ad6a0efaf6
The map contained the _off terrain which shouldn't have been used.
...
Changed to cavewall, doesn't look great but can be changed in the editor again.
2007-05-27 15:20:21 +00:00
Mark de Wever
249d3039e9
bump minimum savegame version to 1.3.2
...
since the automatic terrain translation is about to be removed
2007-05-27 14:53:44 +00:00
Mark de Wever
d3972c1d02
removed support for deprecated heals=true
2007-05-27 14:48:38 +00:00
Nils Kneuper
b7c57f8545
updated Italian translation (manpages)
2007-05-27 11:24:06 +00:00
Mark de Wever
44ba825a09
convert the border tiles to the new off map types.
...
This is step 1 to change to the new background
2007-05-27 11:17:21 +00:00
Mark de Wever
fbabe2290b
got rid of display::map_w() and now uses the value from the theme code
2007-05-27 10:13:28 +00:00
Jérémy Rosen
557b2aea3d
fix crash on ranged attack...
...
this is very hacky, but cleaning will have to wait for deeper structural change
2007-05-27 10:00:05 +00:00
Mark de Wever
bc4b91d0d1
renamed to following functions
...
display::x() => display::w()
display::y() => display::h()
display::mapx() => display::map_w()
Also did some small cleanups.
map_w() is buggy (uses 140 hardcoded instead of theme value) and might
get removed.
2007-05-27 09:54:30 +00:00
Martin Renold
bb054324a3
fixed comment typos
2007-05-27 09:20:37 +00:00
Mark de Wever
509cd5dff1
cleaned up some comment
2007-05-27 09:07:35 +00:00
Mark de Wever
c7351b1885
changed scroll_to_tiles() to use gamemap::location
2007-05-27 08:51:40 +00:00
Jérémy Rosen
733d65b4c6
remove forgotten debug messages
2007-05-27 08:47:19 +00:00
Mark de Wever
ee6e372c2e
changed get_terrain_images() to use gamemap::location
2007-05-27 08:33:06 +00:00
Mark de Wever
277820f09b
some cleanups and added some comment
2007-05-27 08:23:22 +00:00
Mark de Wever
d167945df2
changed draw_terrain_on_tile() to use gamemap::location
2007-05-27 08:11:06 +00:00
Patrick Parker
095cd4a645
note: global.hpp must be first!
2007-05-27 01:50:07 +00:00
Patrick Parker
357b44aede
make dimension_measurements part of dialog state instead of passing it
2007-05-27 01:47:12 +00:00
Ali El Gariani
e8c6e165c4
Clean and comment the code to cancel a dialog (as wisely suggested by Sapient).
...
The initial big "if" started to be unreadable, now it's divided by
input type. I keep the right-click IN a (context-)menu to cancel it,
but I disagree with this. The normal (and handy) desktop behavior is
to allow right-click selection of item in menu.
2007-05-27 01:24:58 +00:00
Ali El Gariani
6f900ed1d6
Remove a never reached value...
...
...and simplify the little misleading local code causing it keeping
the same good behavior: you can't cancel a dialog with options and
only an OK button
2007-05-27 00:02:40 +00:00