Commit Graph

17411 Commits

Author SHA1 Message Date
Ali El Gariani
06cf24a8d2 continue to prevent possibility to miss the hiding of b&w cursor...
...when using color ones
2007-06-19 19:30:17 +00:00
Ali El Gariani
8f12b3b309 some cleaning in the initialisation of color cursors 2007-06-19 19:19:57 +00:00
Ali El Gariani
34ff3d5b87 stop ToD coloring footsteps, to help to better see it.
Not even sure that was a real design decision, since ToD-ing is the default.
Also spare some cpu/memory, since footsteps use a lot of tiles
2007-06-19 18:52:54 +00:00
Ali El Gariani
b4f7392383 Reset the color cursors after a fullscreen change,
...hoping to fix a bug with it on Mac
2007-06-19 18:08:34 +00:00
Ali El Gariani
385bf05b0a Force update of SDL_Cursor when setting the color cursor.
This will also allow to use this function to fully reset the color cursors.
2007-06-19 18:05:41 +00:00
Ali El Gariani
3bd27c7afe experiment to solve the mac bug with the image of transparent b&w cursor
(used for hiding them while using color ones)

- remade the image (to skip a possible effect of the recent pngcrush)

- add a black pixel, in case of mac have problem with fully
  transparent cursor image png

(this black pixel is almost invisible but must be removed later, or
used only with mac if it fix the bug)
2007-06-19 11:39:46 +00:00
Ali El Gariani
725d41c6cc After hours of thinking, just add a "if (use_menu)" to use sound only
...when closing a menu (not a message)
2007-06-19 11:20:41 +00:00
Ali El Gariani
0377206cb0 remove click sound when clicking on dialog message.
This was used to add also a sound when closing menu (since menu do
sounds for every other actions)

I will look it later how differentiate the two cases.
2007-06-19 11:13:11 +00:00
Nils Kneuper
ed7a037a7b changed combination for "next turn" to alt+space for macs
because in windowed mode cmd+space triggers spotlight and does not
reach the game
2007-06-19 11:06:16 +00:00
Eric S. Raymond
3df00746b2 The {dragon,thunder}stick hit and miss sounds were too much alike.
The old miss sound (with slight ricochet effect) is now an alternate
hit sound; the new miss sound is a pure ricochet effect. Somewhat
cartoonish, but that's OK.
2007-06-19 09:42:12 +00:00
Eric S. Raymond
fa74853a85 Blurring is back.
This time, menu styles are controlled by a structure which presently
contains dtem of the panel component names and a blur radius.  This
design is extensible; we can easily add controls for other style
elements now.
2007-06-19 06:08:24 +00:00
Dimitar Ilccov
1908601672 Adapted the names of the scenarios, ids and the map files in HttT...
...to a common joint nomenclature : "xx_name.cfg;xx_name.map and
id=xx_name, where xx is the number in the order of the scenario in the
campaign and the name is in a form of a '_' separated list of words
2007-06-18 22:08:57 +00:00
Dimitar Ilccov
7c6fae81d5 Fixed the wrong user_descriptions in "Elven Council" 2007-06-18 19:45:03 +00:00
Dimitar Ilccov
819d326c92 Edited the maps so that the castles are not on the edge of the maps...
...which looks ugly with the new map frame and also made some other
aesthetic changes on the maps, edited the scenario cfgs to so that the
events match the new coordinates and fixed a couple of minor bugs in
them
2007-06-18 19:33:12 +00:00
Dimitar Ilccov
2b352a35c1 The map of the HttT Cliffs of Thoria scenario.
The scenario is still not done and not included into HttT storyline
2007-06-18 19:27:35 +00:00
Dimitar Ilccov
f808b65ee7 Remade the map of the HttT Elven Council scenario...
...and split the map data from the scenario file into a separate map file
2007-06-18 19:24:47 +00:00
Nils Kneuper
521e71137a pot-update 2007-06-18 17:39:09 +00:00
Eric S. Raymond
b31c040867 Drop the message-window opacity to 65 now that blurring is fixed. 2007-06-18 03:25:44 +00:00
Eric S. Raymond
623eb6cbf5 wmllint can now detect the syntax boucman wants to deprecate. 2007-06-17 22:31:39 +00:00
Benoît Timbert
e566b278ef French translation update 2007-06-17 21:39:20 +00:00
Patrick Parker
710c031ea8 prevent friends_back_button_ from being hidden by friends list
note: the layout of this panel still looks ugly and could use a re-design
2007-06-17 18:24:36 +00:00
Nils Kneuper
139171b05b updated Polish translation 2007-06-17 18:03:28 +00:00
Patrick Parker
bb8a64f701 improve some vertical_padding calculations. 2007-06-17 17:57:55 +00:00
Nils Kneuper
b75898b680 never ever use " inside a message= block,
...this will lead to *very* strange results...
2007-06-17 17:55:02 +00:00
Patrick Parker
8219c45cf2 http://www.wesnoth.org/wiki/CodingStandards#Do_not_use_C-style_casts 2007-06-17 17:14:00 +00:00
Eric S. Raymond
32ea6878ea Fix a signed/unsigned warning. 2007-06-17 16:42:59 +00:00
Eric S. Raymond
9ed72e6d15 Prevent a totally spurious compiler warning. 2007-06-17 16:25:04 +00:00
Ali El Gariani
1e636615eb New experiment to choose the attack direction:
Use the last highlighted empty hex to choose the direction of the attack.

This is a user-test and you will need a short(I think) adaptation time.

It's mainly to fix accuracy problem with the old system (exposed more
with the new possibility to choose the direction at close range)
2007-06-17 13:07:16 +00:00
Nils Kneuper
dab7bb10b9 updated German translation 2007-06-17 11:24:14 +00:00
Nils Kneuper
cb550156d8 some changes to Two Brothers 2007-06-17 11:18:41 +00:00
Nobuhito Okada
832acb90ce updated Japanese translation 2007-06-17 07:32:03 +00:00
Patrick Parker
f128fc8f55 minor fixes detected by MSVC compiler warning 2007-06-17 05:51:01 +00:00
Eric S. Raymond
7a8f7fd7aa Quiet down the compiler. 2007-06-17 04:22:35 +00:00
Eric S. Raymond
e4ede55437 More buttonectomies (this time *with* show() calls!) 2007-06-16 19:37:01 +00:00
Nils Kneuper
e9eb84a862 pot-update 2007-06-16 19:30:57 +00:00
Mark de Wever
e77261bd43 joined some lines
there are less newlines, previous version looked bad on a 1024x768
screen resolution
2007-06-16 18:46:54 +00:00
Nils Kneuper
507d7e4221 updated Czech translation 2007-06-16 18:36:02 +00:00
Karen Baskins
a59409c720 Added new idling animations. 2007-06-16 18:33:47 +00:00
Karen Baskins
db0ee0e900 Adding idling animation for Undead Skeleton. 2007-06-16 18:28:30 +00:00
Karen Baskins
78ba0852eb Adding idling animation for Human Loyalist Pikeman. 2007-06-16 18:20:55 +00:00
Karen Baskins
73a1a4e46a Adding idling animation for Human Loyalist General. 2007-06-16 18:12:42 +00:00
David White
af8e1db6c0 fixed bugs in blurring code 2007-06-16 17:17:44 +00:00
Eric S. Raymond
c4b9050fcb Fix some broken referebces to "translucent". 2007-06-16 15:45:17 +00:00
Eric S. Raymond
1b570b4f91 Fix a bug I introduced in 18310...
....otherwise known as "Eric is reminded why quick hacks at 3AM can be
a bad idea".
2007-06-16 15:38:34 +00:00
Ali El Gariani
7772c942a0 restore search of no-team-only map labels 2007-06-16 11:16:57 +00:00
Ali El Gariani
8db8ffd5b4 fix various cheat-bugs to detect hidden enemies:
using resistance info (bug #9119), search by name (bug #9314), change
of hidden icon (bug #9288)
2007-06-16 11:04:53 +00:00
Lari Nieminen
6135e7aa8a Fixed the great troll attack name and icon. 2007-06-16 07:51:29 +00:00
Eric S. Raymond
c4c5d64cfc Get rid of an obsolete wrapper around show_dialog;
it's been replaced by the message_dialog class.  Cleanup step, no
behavioral changes.
2007-06-16 06:45:05 +00:00
Eric S. Raymond
efa40a4d27 Checking in the control-flag logic for blurring. 2007-06-16 06:27:49 +00:00
Eric S. Raymond
80be250100 Improved bogon detection in wmllint. 2007-06-16 04:54:55 +00:00