24746 Commits

Author SHA1 Message Date
Gunter Labes
0fc31e990e correct an attack image reference
remove the redundant hide_help keys
2008-05-02 09:06:06 +00:00
Ignacio R. Morelle
29876c2bc7 New, less-confusing fallback text...
...when a saved game contains a null campaign field or the relevant
campaign cannot be located.

Output a campaign's internal id from saved game when debug mode is enabled
2008-05-02 01:16:17 +00:00
Nils Kneuper
144842f850 updated German, Polish and Russian translation 2008-05-01 22:21:41 +00:00
Ali El Gariani
119082752b Resolve alias recursively and preserve arguments
This allow construcion like "alias u=unit; alias uhp=u hitpoints" and
then "uhp 100" gives 100 hp to the unit.

This also fix the alias+args broken in previous commit.
2008-05-01 20:41:40 +00:00
Nils Kneuper
80b53cd3c1 first stuff for cmake, *very* incomplete
what currently works:

* building the libs libwesnoth-core and libwesnoth

* building the single binaries (problems below)

* detection of boost and the other deps

what does not work:
* linking
* all the rest
2008-05-01 20:12:38 +00:00
Jérémy Rosen
1027413680 add a formula= filtering criteria to SUF,
...also remove is_ennemy and is_mine from the unit FAI type, since it
caused unwanted dependency in unit_callable. The info should be
available by other means (like a team_callable object)
2008-05-01 20:12:18 +00:00
Ali El Gariani
a5845ccc06 allow to overwrite alias.
This may causes stupid alias bind, but otoh it also allow to revert them.
2008-05-01 17:48:53 +00:00
Ali El Gariani
27f383957a Add a new command "alias", ex: "alias ct create Troll"
Basic support only for the moment (not saved and don't control "bad" alias)
2008-05-01 17:41:22 +00:00
Ali El Gariani
3bbe9f331d oops forget to disable a now unwanted assert in the previous commit 2008-05-01 17:38:03 +00:00
Ali El Gariani
2677035cf4 Improve alias in command-line:
- now support alias to command+arg

- resolve the alias before displaying error message about the bad command
2008-05-01 17:31:35 +00:00
Sergey Popov
05c2894b3e Refactored code that adds scons options. 2008-05-01 16:41:06 +00:00
Elias Pschernig
5534e29a74 wmlunits: Tried to overlay hero-icon.png over leader units. 2008-05-01 16:20:43 +00:00
Ali El Gariani
26e1fa1576 Fix a bug reported in forum about unstoned units...
...not directly having their attacks back. Attacks_left() already
returned 0 for stoned unit, no need to set it to 0 each turn.
2008-05-01 15:02:08 +00:00
Mark de Wever
1782658a29 Add the settings section for the gui. 2008-05-01 13:52:24 +00:00
Lari Nieminen
c38e2f51b5 Added a simple water whirlpool scenery graphic...
...and used it for the whirlpools in The Lost General.
2008-05-01 12:52:03 +00:00
Lari Nieminen
00a684a04e Made Ulfdain always be loyal,resilient. 2008-05-01 11:41:39 +00:00
Mark de Wever
672dd9bf3a Allow the user to set the x and y coordinate of a window.
Allow the user to choose to place the window automatically.

Change the addon window to be placed automatically.
2008-05-01 11:29:05 +00:00
Sergey Popov
fb2ae0fc12 Made sdl check more robust. 2008-05-01 11:07:14 +00:00
Sergey Popov
1e995b9ab6 Use pkg-config to check for SDL. 2008-05-01 10:34:25 +00:00
Mark de Wever
92275b897d Also commit the changes to wiki_grabber... 2008-05-01 09:31:42 +00:00
Mark de Wever
5e20b488fc Use new wiki_grabber style for formatting the table description. 2008-05-01 09:27:37 +00:00
Mark de Wever
0bb70bf072 Mainly documentation updates.
Added some minor helper functions for parsing the tgrid flags.
2008-05-01 08:53:23 +00:00
Sergey Popov
eea4f0737f Fixed InstallWithSuffix crash if some binaries are disabled.
Worked around scons bug that caused spurious success of C++ check.
2008-05-01 08:51:30 +00:00
Mark de Wever
1062758361 Fix small typo. 2008-05-01 06:44:21 +00:00
Mark de Wever
f41cce333b Now calculate the best sizes for grids and panels. 2008-05-01 06:32:54 +00:00
Ignacio R. Morelle
abeb6fe7f9 New, less-confusing offmap tile icon for editor 2008-05-01 02:25:59 +00:00
Ignacio R. Morelle
8680abbe1c Make titlescreen frames...
...(i.e. tips of the day, buttons panel) have a very slight blur
(radius = 1)
2008-05-01 01:04:07 +00:00
Elias Pschernig
2293806e2c wmlunits: Fixed abilities and attacks display. 2008-04-30 22:43:38 +00:00
Mark de Wever
de5a5dc3dd More cleanups. 2008-04-30 18:39:59 +00:00
Mark de Wever
2c3d8719f2 Some small cleanups. 2008-04-30 18:28:09 +00:00
Mark de Wever
06b32747ae Add the option to have multiple title screens...
...and load one at random (patch #1061).
2008-04-30 16:59:27 +00:00
Sergey Popov
3fa0b367bf Made datadirname affect datadir instead of docdir(Oops!). 2008-04-30 16:48:39 +00:00
Elias Pschernig
ff1229fadc Pierre Bourdon (delroth) added gold_per_village and is_border to the Python AI. 2008-04-30 16:47:15 +00:00
Mark de Wever
d1be9ba41a Rename the badly named scale to grow_factor. 2008-04-30 16:36:19 +00:00
Sergey Popov
ce40c7c6ee Added autotools-style "datarootdir" and "datadirname" options to scons recipe. 2008-04-30 16:09:33 +00:00
Moritz Göbelbecker
7819881877 Fix z-layering of overlays 2008-04-30 15:34:49 +00:00
Moritz Göbelbecker
ff1761aabf New ford graphics from Syntax_Error 2008-04-30 15:32:55 +00:00
Mark de Wever
c36950c0ea Added wiki documentation. 2008-04-30 14:32:57 +00:00
Mark de Wever
7c3c8ee00f Move the drawing in its own function,
...since get_rect() returns the screen coordinates we can't inherit
the panel function.
2008-04-30 13:38:03 +00:00
Mark de Wever
2e7b554e10 Only allow set_size() to modify the size of a widget. 2008-04-30 12:31:51 +00:00
Sergey Popov
055dc5b54c Reimplemented "uninstall" target. 2008-04-30 11:20:20 +00:00
Mark de Wever
35e48eba8a More refactoring, the window definition now inherits from the panel definition.
The window now uses the canvasses as defined in the control.
2008-04-30 10:16:55 +00:00
Mark de Wever
a8fb9e9d9a tpanel now has its own defintion and part of twindow moved to tpanel.
More refactoring still required.
2008-04-30 09:43:54 +00:00
Mark de Wever
99e7c9bbef Forgot some files when reverting patch 1034. 2008-04-30 09:31:04 +00:00
Mark de Wever
7960ef214f Rename all definitions to include their id in their name. 2008-04-30 09:13:20 +00:00
Mark de Wever
e7839ba088 Add the panel defintion. 2008-04-30 09:11:49 +00:00
Sergey Popov
f801db8050 Implemented "program_suffix" option in scons recipe. 2008-04-30 07:50:10 +00:00
Eric S. Raymond
15653127ea Reindent some WML for readability. 2008-04-30 07:48:36 +00:00
Ali El Gariani
956d928659 Improve the previous custom command feature:
...allow sequence of commands like : custom Thief ; unit gender female
; unit hitpoints 100 ; unit name Wonderwoman

Then the hotkey will always create this special unit.

Not very useful with the current set of commands but was easy to
implement.

The main use is probably custom Thief ; unit moves 10
2008-04-30 04:01:23 +00:00
Ali El Gariani
840d1d0642 oops forget one file in previous commit 2008-04-30 03:57:31 +00:00