Patrick Parker
691721ac5e
silence a gcc warning (hopefully)
2007-06-08 22:10:22 +00:00
Eric S. Raymond
822439e8ee
Address bug #9296 by adding a switch to disable Python module installation.
2007-06-08 21:50:54 +00:00
David Philippi
40ea4c02ff
swedish translation update
2007-06-08 21:19:29 +00:00
Eric S. Raymond
2a2b66bc4f
Move definition of UNUSED to wassert.hpp to avoid entanglements with autotools.
2007-06-08 21:14:33 +00:00
Eric S. Raymond
8fb016cbe9
Eliminate all but three compiler warnings.
...
Most are banished by use of a new UNUSED macro that expnds to the
right GNU C++ attribute but an empty string elsewhere. I have the
definition being generated into config.h, which therefore has to be
included a few places it wasn't before. There might be a better place
to put it.
2007-06-08 19:54:28 +00:00
Lari Nieminen
d574cbec15
A defense animation and a crossbow animation for the master at arms.
2007-06-08 19:15:46 +00:00
Lari Nieminen
8d85b77cae
An idle animation for the young ogre.
2007-06-08 18:40:00 +00:00
Lari Nieminen
675026da65
An idle animation for the troll whelp (pretty cute!).
2007-06-08 18:38:50 +00:00
Lari Nieminen
bbf478d3f3
Animation tweaks to the soul shooter
...
(mostly adjusted the angle of the bow in some frames to make things smoother).
2007-06-08 18:36:07 +00:00
Lari Nieminen
f74b97ee14
Some simple defense frame and alignment fixes/improvements.
2007-06-08 18:31:55 +00:00
Eric S. Raymond
100c9bbefb
Code simplification suggested by Sapient.
2007-06-08 17:56:12 +00:00
Ali El Gariani
88300e148b
2007-05-12T10:33:21Z!jeremy.rosen@enst-bretagne.fr added acceleration in the transition of ToD masks,
...
...but with a double effect: less frames and shorter duration for each
frames. Fix this by keeping a constant frame duration
2007-06-08 16:27:46 +00:00
Ali El Gariani
7bc115743c
remove a never-used cache "alternative_images"
...
commented out code about the ToD masks, currently we don't cache it
here, we just blit it in display.cpp
2007-06-08 16:00:57 +00:00
Ali El Gariani
45b66076a4
Use the new type HEXED (instead of UNSCALED)for minimap. 3 reasons:
...
- use hex-masked images make more sense, even if it's just few pixels
difference
- prevent to add image in the UNSCALED cache, since we now don't use
it for the main map
- when starting a unshrouded map, it will load in the hexed cache the
few terrains used on the minimap, so these ones will be already hexed
when scrolling the main map
2007-06-08 14:16:26 +00:00
Ali El Gariani
2950c43d98
Important optimization of the cache size and zooming...
...
...for standard terrain at default zoom level:
Previously the image type UNMASKED was a cache for hex-masking and
scaling. added a type HEXED for caching the hex-masking, when using
it skip the UNSCALED, since these hexed images will normally never be
used non-hexed.
So this new cache doesn't cost memory and hex-masking doesn't need to
be redone when zooming.
At default zoom level, we can now skip the UNMASKED cache, so will
spare a cache level in memory
In theory, we win 25%-33% of memory space (depend of the use of
BRIGHTENED) for standard terrain hexes.
Note: the hex-masking and scaling operations are now inverted, it
doesn't seems to have a visible effect.
2007-06-08 14:05:33 +00:00
Mark de Wever
7bbd9f25dc
added some comment regarding commit 18150 in _main.cfg
2007-06-08 14:00:31 +00:00
Mark de Wever
0019f2d355
updated the changelogs
2007-06-08 13:56:51 +00:00
Mark de Wever
f9b0820943
The editor has to parse the multiplayer part of the config...
...
...in order to generate random maps.
2007-06-08 13:43:46 +00:00
David Philippi
a56d28313d
spanish translation update
2007-06-08 11:01:12 +00:00
Nils Kneuper
2713e5e9ee
pot-update
2007-06-08 10:46:32 +00:00
Nils Kneuper
484f5c3e3c
inserted a correct help string
...
esr: please check that the string is correct and works nicely
2007-06-08 10:42:08 +00:00
Eric S. Raymond
0f0aea85e7
Fixed a preferences display bug Ivanovic noticed.
...
The protocol for adding options is trickier than I realized.
2007-06-08 10:16:58 +00:00
Nils Kneuper
a9c7294ac2
updated Italian translation
2007-06-08 10:05:52 +00:00
Mark de Wever
c3d3b77d48
revert commit 2007-06-08T08:12:31Z!koraq@xs4all.nl since Mythological wants to create this scenario
2007-06-08 08:55:45 +00:00
Eric S. Raymond
a6a8db36d9
First payoff from the previous refactoring steps:
...
instances of the deprecated show_dialog() call in menu_events.cpp()
get replaced with uses of the newly public message_dialog class.
2007-06-08 08:55:40 +00:00
Mark de Wever
11279fe145
fix an invalid character in a random map
2007-06-08 08:23:05 +00:00
Mark de Wever
bb2a384e30
20c_The_Cliffs_of_Thoria.cfg was unused and not finished...
...
...also didn't contain a map.
Removed the scenario and the commented out event to go to this scenario.
2007-06-08 08:12:31 +00:00
Eric S. Raymond
7eb40f3628
Pure refactoring step: Lift the message_dialog class out of game_events.cpp...
...
...and make it part of dialogs.cpp.
We're going to want it to be visible for other parts of the program
that will need to display message dialogs.
2007-06-08 07:45:14 +00:00
Rusty Russell
8a27f60ebe
Undo http://svn.gna.org/viewcvs/wesnoth?rev=18124&view=rev
...
Moving Delf away is the right thing, but he only needs to move across 1.
Also scroll away from Delf before we kill him: it still looks weird to
see him stop, regain his bars then we scroll away.
Ideally we'd have a scroll=no option to move_unit_fake...
2007-06-08 06:52:37 +00:00
Eric S. Raymond
10002159ba
Second refactoring step for popup transients.
...
There's now a function to do these in the GUI namespace. At the moment
it produces only an ordinary MESSAGE window.
2007-06-08 06:52:13 +00:00
Bruno Wolff III
49fc7fe2bb
It looks like some code was copy and pasted...
...
...and sfi was supposed to be replaced by ffi throughout the block,
but wasn't. For gcc this produces a scoping error which points out the
problem. Windows compilers seem to have different scoping rules, so
this may have compiled for whoever submitted the patch.
2007-06-08 06:07:01 +00:00
Eric S. Raymond
d851c2d4b0
First (non-OO) attempt at abstracting out a popup-transient window.
2007-06-08 05:53:15 +00:00
Eric S. Raymond
9c8ef5a345
The Scenario Report and Victory prompts are merged.
...
You'll only see "Victory" if you're a player, and you'll only see the
end-of-scenario statistics when they're needed (the test has not
changed).
Count of pop-ups we see on a winning end of-scenario before going to
the next scenario is now just one (1).
2007-06-08 04:45:55 +00:00
Eric S. Raymond
65e4f695bb
More suppression of end-of-scenario prompts.
2007-06-08 03:40:13 +00:00
Patrick Parker
01e4e71695
fix bug #9162 : Killing second_unit interrupts die event
2007-06-08 03:35:41 +00:00
Eric S. Raymond
4e1e0bcd4d
Nuke two of the end-of-scenario popups in favor of global preferences.
2007-06-08 03:04:47 +00:00
Patrick Parker
ce45600bb6
dont check entity_location unless a corresponding [filter] exists
2007-06-08 02:51:48 +00:00
David Philippi
e4535ab407
danish translation update
2007-06-08 00:56:36 +00:00
Benoît Timbert
c8e0a8e1ee
Remove the defense weight on the pierce attack,
...
since here it was only useful for the old algorithm.
2007-06-07 21:50:06 +00:00
Elias Pschernig
d333d36752
made the CS check for copying.txt and Copying.txt and COPYING.TXT
...
before adding a COPYING.txt
2007-06-07 15:17:59 +00:00
Nils Kneuper
0eee46a59a
updated Italian and Czech translation
2007-06-07 13:02:03 +00:00
Richard Kettering
d8e295e10c
New icon for team flag.
2007-06-07 00:40:25 +00:00
Eric S. Raymond
cc883f6ef3
Address issues in bug #9017 .
2007-06-06 21:43:03 +00:00
Patrick Parker
d8d62041bb
die better
2007-06-06 21:42:29 +00:00
Patrick Parker
c32850a4bf
insert missing [kill] branch
2007-06-06 21:26:30 +00:00
Eric S. Raymond
9e8840da91
Sanity-check the themes directory, too.
2007-06-06 19:29:38 +00:00
Eric S. Raymond
63665dda58
Restore reference checking of multiplayer.
2007-06-06 19:08:03 +00:00
Isaac Clerencia Perez
2c32ff9d12
Remove extra lines from Makefile.am, fixes #9249
2007-06-06 19:05:16 +00:00
Eric S. Raymond
db80e8c7b4
Fix broken references. This revision is wmlscope-clean.
2007-06-06 19:04:19 +00:00
Eric S. Raymond
09f67bed5e
Somebody didn't clean up properly when the Wolf was moved into core.
2007-06-06 18:39:05 +00:00