Commit Graph

36642 Commits

Author SHA1 Message Date
Gunter Labes
59e6246953 Revert "documented the exit status conventions"
string freeze...
2009-10-20 19:30:46 +00:00
Nils Kneuper
12abb08bd1 updated Russian translation 2009-10-20 19:24:22 +00:00
Gunter Labes
5e6132d356 use common exit codes for signal caused exits 2009-10-20 19:23:54 +00:00
Gunter Labes
9842a121a3 documented the exit status conventions 2009-10-20 19:23:50 +00:00
Gunter Labes
5aef27579f consistently return 1 on initialization errors 2009-10-20 19:23:46 +00:00
Gunter Labes
6f0e366cb4 return 2 on commandline argument errors like wesnoth 2009-10-20 19:23:38 +00:00
Alexander van Gessel
ae126bb539 Catch std::exception too, so we get more information than "unknown error" 2009-10-20 19:52:36 +01:00
Mark de Wever
c602e28edf Fix the warning level. 2009-10-20 18:44:20 +00:00
Mark de Wever
8745ea4ffd Directly set the markup mode for the listbox.
Recently added code to directly do it so also use it here.
2009-10-20 18:44:11 +00:00
Mark de Wever
467b3feae6 Fix alignment. 2009-10-20 18:44:01 +00:00
Mark de Wever
ae7c9321e6 Fix alignment. 2009-10-20 18:43:57 +00:00
Gunter Labes
c4f28eca1a consistently return 2 on commandline argument errors 2009-10-20 18:06:16 +00:00
Gunter Labes
2bf939cb2d also check [replay_start] for [multiplayer] 2009-10-20 17:57:51 +00:00
Gunter Labes
138a3baf27 only check [snapshot] for [variables] if we're not loading a replay 2009-10-20 17:57:47 +00:00
Gunter Labes
f1fec73934 fixed an assert() 2009-10-20 17:57:44 +00:00
Gunter Labes
a0624857c0 moved game_classification defaults into its constructor 2009-10-20 17:57:40 +00:00
Gunter Labes
e78871a960 comment tweaks 2009-10-20 17:57:36 +00:00
Gunter Labes
da9f97b956 fixed the copy constructor...
...to use the initialization list and not forget next_scenario
2009-10-20 17:57:30 +00:00
Richard Kettering
bc8b181ee4 Updated shadows and bow attack for the bone shooter. 2009-10-20 06:42:09 +00:00
Guillaume Melquiond
a77ab8c934 Revert "Optimize "paths" pathfinding function" (2009-10-19T23:23:03Z!alinkmaze@gmail.com).
Visited nodes are either on the closed or the open list. Nodes on the
open list are not optimal; they have to keep being modified until they
switch to the closed list.
2009-10-20 05:23:47 +00:00
Ali El Gariani
7a58bf6ef8 Fix broken indentation for race in unit-preview 2009-10-20 01:09:44 +00:00
Ali El Gariani
8c56595224 Optimize "paths" pathfinding function 2009-10-19 23:23:03 +00:00
Ali El Gariani
69884081ea Fix bug #14540...
..."debug-generated units with HP-modifying traits don't have full HP".

Probably also fix an old similar bug with unit created by "plague".
Unify these creation calls and give full MP to unit spawned by ":create".
2009-10-19 22:20:40 +00:00
Mark de Wever
e66c2152cf Avoid truncating text.
This could be observed with the last line in campaign description.
Also added some extra debug information. Fixes bug #14328.
2009-10-19 20:26:23 +00:00
Mark de Wever
2683f07446 Add the namespace in the macros.
This allows the macros to be used outside the gui2 namespace.
2009-10-19 20:26:16 +00:00
Mark de Wever
3b0c8df5f2 Improve debug messages. 2009-10-19 20:26:12 +00:00
Mark de Wever
4887d107ad Add a debug helper function. 2009-10-19 20:26:08 +00:00
Gunter Labes
fc4ad3e7b3 optimized clone finding a bit 2009-10-19 18:59:28 +00:00
Gunter Labes
cba698cfc5 synchronised the Skeleton Rider stats from Liberty with the UtBS version
someone still needs to check the images/animations and then the unit
can be moved to core
2009-10-19 18:59:24 +00:00
Gunter Labes
9f1c14684a [[Era tuning]]
* Removed Elder Wose and Shock Trooper from random_leader of the default era.
* Removed Ancient Wose and Iron Mauler from random_leader of the AoH era.
2009-10-19 18:59:19 +00:00
Mark de Wever
87d012e7ab Renamed the cmake foo2 targets to foo. 2009-10-19 18:24:33 +00:00
Nils Kneuper
afc567e7af pot-update...
(2 new strings as overlay explaining the ingame clock in default theme)

regenerated doc files
2009-10-19 15:57:04 +00:00
Guillaume Melquiond
5b50bcd669 Delayed time area initializations until the level has started loading. 2009-10-19 05:30:07 +00:00
Guillaume Melquiond
399c2c0bac Moved resources setting in constructor to match the destructor. 2009-10-19 05:29:30 +00:00
Nils Kneuper
6e52ea3ee0 updated Finnish translation 2009-10-18 19:26:53 +00:00
Mark de Wever
825485314a Update release notes. 2009-10-18 12:43:29 +00:00
Chusslove Illich
02f6397f8f Updated translation for Serbian. 2009-10-18 11:57:15 +00:00
Jérémy Rosen
4930e19a99 add recruiting anim for all magic using undead leaders 2009-10-18 09:07:57 +00:00
Mark de Wever
dfdf3a2949 Filter out some characters for labels.
Those characters break the dot files so replace them with a safe
character.
2009-10-18 09:00:45 +00:00
Mark de Wever
177c95c4ec Add the window id to the debug dot files.
Now that windows automatically get an id it makes sense to show the
name.
2009-10-18 09:00:41 +00:00
Guillaume Melquiond
2f11ba7900 Fixed typo. 2009-10-18 08:50:01 +00:00
Jérémy Rosen
a6a80d379b fix Dark Sorc being stuck on last frame when recruiting 2009-10-18 08:09:03 +00:00
Jérémy Rosen
711218fd60 fix units with no victory animation...
...(more or less all units) staying stuck on their last attack frame
during death animation
2009-10-18 08:04:51 +00:00
Mark de Wever
ebee25fce1 Add an unhandled event to the ignore list.
gui2 generates double clicks itself so can ignore the ones generated by
the event handler.
2009-10-18 07:04:54 +00:00
Mark de Wever
445d1a54b3 Put the events in own context.
On some systems the shared context caused events to pass to other
dialogs. Fixes bug #14458.
2009-10-18 07:04:50 +00:00
Nils Kneuper
a33795e5b3 updated Hungarian translation 2009-10-18 00:14:58 +00:00
Mark de Wever
6f34e1d16a Fix scrollbars to show up when not needed.
Fixes bug #13996.
2009-10-17 21:15:32 +00:00
Mark de Wever
ab9342904e Fix a compiler error. 2009-10-17 20:21:58 +00:00
Mark de Wever
ee5cee21f6 Fix double click event dispatching.
Soliton ran into the problem that when using his touchpad to double
click on a campaign it might directly select the difficulty and dismiss
the next dialog. When using a mouse the problem didn't occur.

The output of events for the mouse were:
Push DOUBLE_CLICK_EVENT.
Process DOUBLE_CLICK_EVENT.
Window dtor.

The output of events for the touchpad were:
Push DOUBLE_CLICK_EVENT.
Window dtor.
Process DOUBLE_CLICK_EVENT.

This explains why the events are send to the next dialog. It doesn't
explain why it happens, but that might be the touchpad driver or OS.

The problem is solved by removing the extra events after closing the
dialog. Avoiding the events to be generated is tricky since a gui2
dialog can open a gui1 one, when that happens double clicks need to be
enabled temporary and then again disabled when that dialog closes.
2009-10-17 20:12:10 +00:00
Mark de Wever
5ef4b458a4 Don't allow a mouse click to be refocussed.
It fixes the following issue:

- press the left mouse button down on button 1

- move to button 2

- right click button 2

- release the left mouse button

In that case button 2 received a mouse click and button 1 never received
that the mouse left it.
2009-10-17 18:55:54 +00:00