9168 Commits

Author SHA1 Message Date
Bartek Waresiak
fef17d467c New test scenario for formula recruitment testing,
...run with --test formula_recruitment
2008-07-04 21:31:08 +00:00
Patrick Parker
6d8e03be65 a simplification of the FULL_HEAL macro 2008-07-04 18:55:10 +00:00
Lari Nieminen
aebb618665 Fixed ruler and sovereign bow animations. 2008-07-04 10:41:31 +00:00
Piotr Cychowski
8afab5a27e Make an event that was supposed to run more than once actually do so. 2008-07-04 06:58:12 +00:00
Ignacio R. Morelle
ba0a29c5b2 Add Kitty's Necromancer (female) portrait 2008-07-04 00:52:03 +00:00
Nils Kneuper
af89dcf4ce make sure that all translation strings,
...even for those not really started but with existing po files,
appear in the credits (and more important: the po files for the
credits)
2008-07-03 20:21:29 +00:00
Ignacio R. Morelle
4b3a74b152 Add Kitty's MoL and Mage (female) portraits...
...from http://www.wesnoth.org/forum/viewtopic.php?p=307230#p307230
2008-07-03 19:44:10 +00:00
Nils Kneuper
2fff3374b4 updated Latvian translation
updated Credits and added placeholders for so far missing translations
2008-07-03 18:57:00 +00:00
Greg Copeland
dc477998a3 Minimal feature set to allow bruteforce_wail.py to run. 2008-07-03 17:59:41 +00:00
Greg Copeland
fae2165c9c bruteforce_wail.py has been added...
...showing how easy it is to move a well writen bot from the wesnoth
module to the wail module. Literially was a search and replace for
parity feature match.
2008-07-03 17:55:46 +00:00
Greg Copeland
40bd97d6f0 Initial wail directory/module checkin. Nothing but a teaser. ;) 2008-07-03 16:56:01 +00:00
Mark de Wever
d6d65f485f Improved the proof-of-concept of the new dialogs.
- added left and right side image support and added them to the test
  scenario.

- allow images the 200 x 200 image to be 250 x 250.

- added a mutulated shyde.

- mirrored the arch mage.
2008-07-03 16:19:35 +00:00
Greg Copeland
7c4fe9aa21 Updated change log entry.
Removed __doc__ from whitelisted internals and changed ai.cpp to
remove signed/unsigned compiler warnings.
2008-07-03 10:44:52 +00:00
Nils Kneuper
8a58a1dea4 updated Latvian translation name 2008-07-03 06:12:04 +00:00
Nils Kneuper
fb3ee8e5da argh, copy&paste is a bad approach when not editing things afterwards
now the latvian translation is selectable when having the locale lv_LV
2008-07-03 05:46:52 +00:00
Ignacio R. Morelle
e416c19df0 Updated female Elvish Archer portrait as per artist's request 2008-07-03 00:47:07 +00:00
Nils Kneuper
07c218a79f added Latvian translation 2008-07-02 18:49:53 +00:00
Lari Nieminen
17ef15ae3c Added thespaceinvader and Girgistian to the SotBE art credits...
...for the new portraits and removed neorice and nehuen (since their
portraits are now gone).
2008-07-01 23:27:08 +00:00
Lari Nieminen
4d1284eeda Made the transport galleons arrive one by one,
...instead of placing all in the beginning.
2008-07-01 17:31:35 +00:00
Lari Nieminen
38b2815375 Fixed a bug and prevented the humans unloading from ships...
...from moving on the same turn.
2008-06-30 22:17:59 +00:00
Lari Nieminen
0bc014b040 Wired in the new portraits. 2008-06-30 21:57:13 +00:00
Greg Copeland
cbba09d4e0 Converted more wesnoth module functions to release the GIL.
Added comment to bruteforce_unsafe.py about memoize caveat
and maps which can change during gameplay.
2008-06-30 21:40:20 +00:00
Lari Nieminen
8cac0e5e82 Music updates. 2008-06-30 21:13:13 +00:00
Lari Nieminen
44dfcad105 New SotBE portraits by thespaceinvader and Girgistian. 2008-06-30 20:22:12 +00:00
Lari Nieminen
3a5a566ad1 Minor cleanups. 2008-06-30 19:22:41 +00:00
Greg Copeland
8276033392 Bug fix for both scripts. 2008-06-30 17:55:49 +00:00
Greg Copeland
133a3a53e3 Removed debugging line. 2008-06-30 17:35:35 +00:00
Greg Copeland
9e9960bcb5 Continue to add code that releases the GIL.
Modernized some code to comply with newer (python 2.4+) C-API
interfaces. Some wesnoth functions now return bool values, as
documented, rather than ints. A new version of bruteforce has been
added which shows unsafe AI. This AI runs 2x-14x faster than the stock
bruteforce because of memoize pattern and psyco.  The AI is only
available if unsafe AI execution is enabled (disable option).
2008-06-30 16:22:20 +00:00
Greg Copeland
2618cc3d15 get_variable now allows a default value to be passed to the call.
If the key is not found, the default value is returned. set_variable
exception handling has been fixed to return an exception in the
current call frame.

Many wesnoth module functions now release the python GIL when it is
both safe to do so and the function call takes long enough where it
also makes sense. A new global boolean variable, 'restricted' is now
set before the user AI script is invoked. This variable indicates if
it is running inside of a restricted python environment or not. A new
class of unrestricted scripts are now listed. Previously only scripts
which have '#!WPY' at the top are allowed. If only allow safe python
scripts is disabled, scripts which start with #!UNSAFE_WPY are also
shown to users. This allows AI authors to specifically target either a
restricted or unrestricted environment. New "system" class attributes
are exposed in the restricted environment. These include; '__call__',
'__copy__', '__deepcopy__', '__doc__', '__name__', '__repr__' and
'__str__', in addition to the old __init__ method.
2008-06-30 13:44:59 +00:00
Lari Nieminen
b7055d18f7 Rework Black Flag a bit more:
...removed the guard towers and made there be 4 incoming transport
galleons instead, each heading for a random landing spot.
2008-06-29 23:02:50 +00:00
Piotr Cychowski
748220eff8 Commit patch #1076 2008-06-29 16:52:29 +00:00
Pauli Nieminen
b998f1b974 Fixed players side name to same as leaders name (bug: #10114) 2008-06-29 16:22:41 +00:00
Lari Nieminen
5b285a183c Little cleanups. 2008-06-29 12:34:07 +00:00
Nils Kneuper
b0b0724021 do *not* use \" in strings, wmlxgettext does fail detecting it!
(better use just single quotes (') )
2008-06-29 11:53:25 +00:00
Lari Nieminen
2f0d03eb9a Removed some stray pixels crossing the hex borders. 2008-06-29 11:53:05 +00:00
Lari Nieminen
f1b0e66ebd Removed some stray pixels crossing the hex borders. 2008-06-29 11:51:04 +00:00
Lari Nieminen
bb29014088 Had forgotten to commit some map changes. 2008-06-29 11:35:20 +00:00
Lari Nieminen
e35dbb4b31 Removed an obsolete macro and fixed pirate galleon sides. 2008-06-29 11:19:27 +00:00
Lari Nieminen
f31a26e6ec Added a hacky macro for making a side be allied with all other sides. 2008-06-28 23:03:50 +00:00
Benoît Timbert
249b1e19de Adjust some SVN properties 2008-06-28 22:18:56 +00:00
Benoît Timbert
6993b63412 Fix a broken string in the tutorial 2008-06-28 22:03:58 +00:00
Lari Nieminen
71efb14841 Cleaned up Black Flag WML and made the transport galleon landing more random. 2008-06-28 17:14:32 +00:00
Lari Nieminen
89dbf2d5a3 Added units/ for the random faction icon too. 2008-06-28 13:01:21 +00:00
Lari Nieminen
8b02bad4b7 Added units/ to unit image paths. 2008-06-28 13:00:16 +00:00
Lari Nieminen
5a1ea9efd1 Cleaned up some WML and some map details. 2008-06-28 12:31:27 +00:00
Lari Nieminen
638007462c Fixed Grüü's traits, and tweaked some villages on the map. 2008-06-28 12:18:15 +00:00
Lari Nieminen
18049ce446 Made the crude villages be used instead of the human ones. 2008-06-28 12:13:51 +00:00
Bartek Waresiak
a278cb8572 Fixed formula AI in test scenario after switching to persistant AI 2008-06-28 10:24:13 +00:00
Piotr Cychowski
442222c0c9 Make AOI maps use <scenario_number>_<scenario_name> convention.
Tweak map for AOI #5

Defeat dialogs for AOI #4

Initial story for AOI #5
2008-06-28 07:58:16 +00:00
Ignacio R. Morelle
369036600d Add Kitty's Archmage portrait (female) 2008-06-27 23:01:05 +00:00