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
Pauli Nieminen
debdc5b861
reverted debug changes from previuos comit
2008-06-27 16:40:31 +00:00
Pauli Nieminen
29a08c0bf4
Fixed timer end warning not to play in opponents turn (bug: #11517 )
2008-06-27 16:33:52 +00:00
Pauli Nieminen
830ce474ea
Added support for custom server binary naming to game_config
2008-06-27 14:46:41 +00:00
Piotr Cychowski
5d2bc4b7d8
Update about.cfg
2008-06-27 09:43:04 +00:00
Piotr Cychowski
589ea4d31c
Edits by Deciero. Spelling, punctuation, wording etc.
2008-06-27 09:13:32 +00:00
Piotr Cychowski
56390250f8
Edits by Deciero. Spelling, punctuation, wording etc.
2008-06-27 09:06:28 +00:00
Piotr Cychowski
da127382bf
Edits by Deciero. Spelling, punctuation, wording etc.
2008-06-27 07:09:28 +00:00
Lari Nieminen
7bd6778f76
Fixed a WML error.
2008-06-26 23:48:31 +00:00
Piotr Cychowski
ca242b446c
Further edits to AOI #1 and #2 , credits update, directory for units,
...
...template for Erlornas.
2008-06-26 21:18:32 +00:00
Lari Nieminen
5c6c5d3c3d
Added a preliminary version of the new thunderstick effects by Jetryl.
...
Still buggy and incomplete because of the animation engine.
2008-06-26 17:18:19 +00:00
Piotr Cychowski
e1d2b77e6a
Fix bug #11885
...
Make white mages respawn around Tallin if one dies before the other is freed.
2008-06-26 09:49:09 +00:00
Piotr Cychowski
25d8c78178
Edits by Jozrael to AOI #1 and #2 . Spelling, grammar, punctuation etc...
2008-06-26 09:07:26 +00:00
Greg Copeland
a034005355
Hotshot has been removed. It's not safe. Functools is now available.
...
Has been added to safe.py. KeyboardInterrupt has been removed available
exceptions. Exceptions can now be raised by user code. The list of
allowed, builtin attributes has been expanded to include: __call__,
__doc__, __name__, __repr__, and __str__ as these are all commonly
used in non-trivial code. From imports are now allowed, but only
from the whitelisted imports. A new string restriction has been added,
_STR_NOT_END, which expands the existing validation idioms. User
code can now have variables which start with "__"; which means they
can now have pseudo private attributes.
2008-06-25 16:23:28 +00:00
Mark de Wever
e9798bf356
Add the initial proof-of-concept version of Jetryl's new idea for messages...
...
...in game. See
http://www.allacrost.org/staff/user/jetryl/Wesnoth/DialogueTest.jpg
for a screenshot of the intended idea (which this version doesn't
achive.
Added one of Kitty's new transperant images to test.
2008-06-24 20:40:33 +00:00
Ignacio R. Morelle
f8fb428cee
Add Girgistran (right name?) + Kitty Lich portrait
...
Add Kitty's Silver Mage (female) portrait
2008-06-24 20:30:46 +00:00
Mark de Wever
1b4dd7fd2e
Change the window definition into a macro and add the common used types.
2008-06-24 16:29:56 +00:00
Mark de Wever
8e4145ebb7
Added the option to use a double click on a toggle button and panel...
...
...to close the window. Also added it to listboxes used.
2008-06-24 15:48:04 +00:00
George Birthisel
ccae3338d4
clarified special notes for plague
2008-06-23 18:14:01 +00:00