Commit Graph

17231 Commits

Author SHA1 Message Date
Jérémy Rosen
23392e660d fix compilation, sorry... 2007-06-01 20:32:50 +00:00
Jérémy Rosen
4a3734dfcd fix a crash when moving a unit. proper fix will follow 2007-06-01 20:19:26 +00:00
Dimitar Ilccov
1894dc5571 some fixes in scenarios/11_Forever_and_Ever_Amen.cfg 2007-06-01 19:47:50 +00:00
Mark de Wever
b4c8e8f2ea fix some compiler warnings 2007-06-01 17:13:06 +00:00
David Philippi
2c1e980dca spanish translation update 2007-06-01 15:27:36 +00:00
Lari Nieminen
3e4105cc80 Fixed a few tiny glitches in Malin's portrait. 2007-06-01 12:36:40 +00:00
Lari Nieminen
706a0baf6d Updated the DiD campaign image. 2007-06-01 12:32:27 +00:00
Lari Nieminen
feaf6a9969 Fixed a small WML typo. 2007-06-01 07:02:02 +00:00
Lari Nieminen
760e56b55a Slightly better frankensteined portrait for Malin. 2007-06-01 06:54:42 +00:00
Ali El Gariani
2453be989d oops add the debug command "sunset" in the command list (see previous commit) 2007-06-01 05:09:22 +00:00
Ali El Gariani
9e7120aa90 Add a debug function "sunset" to see what hexes are refreshed and when
Just a quick hack to help devs to spot useless invalidated hexes (and
there is such ones)

Need cleaning but I am not sure that it will stay on the release

Just type the command "sunset" in debug mode.
2007-06-01 05:06:28 +00:00
Ali El Gariani
30eacabca7 Cleaner fix about the possible movement of a stoned_unit:
Now has always 0 movement left. This seems like the right thing to do, 

But now has also always a red orb and so don't appear anymore when do
"next unit". This also seems ok for me.

And for performance, maybe add some caching about this now more
frequent stoned-check?

(This revert the now unneeded last commit in pathfind.cpp)
2007-06-01 04:33:08 +00:00
Ali El Gariani
9c6bf1d780 A stoned unit had a normal reach zone displayed when clicking on it
This was at the pathfinding level, so maybe also affect AI

Now it's fixed, but has the side-effect to make a stoned unit blind.

I think it makes sense, but need to be discuss if we really want that.
2007-06-01 02:16:54 +00:00
Ali El Gariani
8913347575 Fix various bugs about stoned units:
- Don't allow to attack with a stoned one (bug in 1.3.3 :/ )

- Also fix the cursors in this case.

- Fix incorrect path and cursor when trying to attack a stoned unit,
  now it's just a "stone"

- simplify some functions for doing this :)
2007-06-01 02:02:19 +00:00
Patrick Parker
783673a573 fix bug #9248: round() in src/util.hpp 2007-05-31 22:12:27 +00:00
Ali El Gariani
5f67b9839b fix bad parenthesis causing invalidation of empty village hex
fix a typo in a comment
2007-05-31 20:42:12 +00:00
Mark de Wever
b4e6de77fb added a fully transparent image for the border tiles 2007-05-31 20:18:05 +00:00
Elias Pschernig
cc2127ef40 reference wesnoth package also in CS script 2007-05-31 19:13:28 +00:00
Elias Pschernig
f0d285d625 Added an explanation for the __init__.py file. 2007-05-31 19:08:13 +00:00
Elias Pschernig
48a82a6f55 Grouped the installed python scripts into a single wesnoth module...
...as to not clutter up the python lib dir too much.
2007-05-31 19:06:25 +00:00
Thomas Baumhauer
16196d0be1 Workaround for bug #9240:
Giving the player control of DV's troops until the mage lord has been
killed + making the DV actually try to escape with the book if he has
got it.
2007-05-31 19:02:25 +00:00
Elias Pschernig
e645d62ed2 fixed python module path 2007-05-31 19:00:49 +00:00
Mark de Wever
6b69681aba changed the time=anything to time=stamp and added the changelog entry 2007-05-31 17:37:44 +00:00
Nils Kneuper
9dfb10ebbb pot-update 2007-05-31 13:16:03 +00:00
Nils Kneuper
1adf0c1036 added missing file found by sanity_check 2007-05-31 13:04:48 +00:00
Lari Nieminen
3cbe370451 Fix bug #9245. 2007-05-31 08:35:17 +00:00
Eric S. Raymond
191499ebdf Typo and usage fixes. 2007-05-31 04:37:47 +00:00
Eric S. Raymond
ac8f8934bf Typo and usage fixes. 2007-05-31 04:27:49 +00:00
Ali El Gariani
4a4eb726fd Fix incorrect word wrapping
(which also caused buggy dialog) for text using these evil special
format characters modifying the font size (maybe also with bold text
but hard to tell).

Seems to works fine now, so you can normaly safely use "****" for huge
texte, "````" for tiny and "~" for bold.

But only tested with some WML dialogs, maybe need more tests if you
want to use it in other special areas of the UI
2007-05-31 02:48:21 +00:00
John W. C. McNabb
b8511461b7 bug fix 8522. removed user_description generation unless generate_description set 2007-05-31 01:49:12 +00:00
John W. C. McNabb
b9c38029bf bug fix 8522.
removed user_description generation unless generate_description set
2007-05-31 01:39:23 +00:00
Taurus
b7a258a033 Balancing, Prose Tune Ups and Bug Fixing 2007-05-31 01:38:19 +00:00
Eric S. Raymond
faacf18a06 Fix bug #7434. 2007-05-31 01:34:13 +00:00
Ali El Gariani
07c0f45cb9 Fix bug#9209 (Tooltip blinks annoyingly)
Now removing an inactive tooltip don't kill the current active
tooltip, (except, of course, if you remove the current one)
2007-05-31 01:14:24 +00:00
Eric S. Raymond
8104997dbb We can now detect duplicates across the entire POTFILE.in set. 2007-05-30 22:38:15 +00:00
Eric S. Raymond
f0ce8db1a7 Add check for duplicates within files. 2007-05-30 22:22:50 +00:00
Jérémy Rosen
f5119032ab fix halo glitch 2007-05-30 22:14:17 +00:00
Eric S. Raymond
e2891ae661 This is a start on fulfilling ivanovic's FR #9154.
So far it only checks for mismatches between the set of .cpp files
under src and all stuff listed in the
po/{wesnoth,wesnoth-lib,wesnoth-editor}/POTFILES.in files.
2007-05-30 21:52:27 +00:00
Eric S. Raymond
217ad869c1 Remove a space that was messing up the sanity check. 2007-05-30 21:44:41 +00:00
Ali El Gariani
207e1cdfc1 move some harcoded url of images into game_config, following the local rules:
"_image" suffix and add an apparantly never used hardcoded default
values, even if the cfg doesn't define one

the new keys are grid_image, unreachable_image, void_image, fog_image
and tod_bright_image
2007-05-30 20:47:16 +00:00
Thomas Baumhauer
72d8135fe4 Two other small fixes in DiD. 2007-05-30 20:27:33 +00:00
Eric S. Raymond
d9144fb404 macroscope -> wmlscope name change. I should have caught this sooner. 2007-05-30 17:48:50 +00:00
Thomas Baumhauer
e0f61f8300 Minor bug fix in DiD. 2007-05-30 15:53:11 +00:00
Ali El Gariani
04c88e5b0c [[Attack movement fixes]]
* the movement hint now display a "(1)" turn to reach, if the unit
     will use all its movement points to reach this position
   * fixed bug with the number of turns to reach when crossing ZoC
   * allow to choose the direction from where attacking, even when you
     are just near the enemy unit.
2007-05-30 02:28:51 +00:00
Patrick Parker
4aa06fb1fa more precise calculation of menu height for very tall dialogs 2007-05-30 02:20:31 +00:00
Ali El Gariani
647108906c Allow to choose the direction from where attacking,
even when you are just near the enemy unit.
Previously, a separate move was needed in this case.

This standardizes the use of the attack cursor but you now need the
same accurancy
2007-05-30 02:05:51 +00:00
Ali El Gariani
79beac78be The function to evaluate the nearest hex...
(used to choose the direction from where attacking) was off by 1
because of the new 1-hex border outside of the map.  This fix it, and
add some comments in this hell of (x,y) using various point of
reference.  But the function can (and must) probably be simplified.
2007-05-30 01:50:59 +00:00
Patrick Parker
dc4f01c64f more precise word wrapping for long message options
(consider scrollbar size and menu style)
2007-05-30 00:39:39 +00:00
Patrick Parker
7e2f1d20f5 minor fix to the frame border calculation 2007-05-30 00:17:17 +00:00
Patrick Parker
805fd2643d fix bug #4299: word wrap for menus with very long option strings 2007-05-29 23:34:32 +00:00