Greg Copeland
6b4e207e37
The safe execution of python AIs can now be enabled/disabled...
...
...from the advanced preferences menu. By default, all python AIs are
executed under safe.py's full control.
2008-06-19 21:41:26 +00:00
Greg Copeland
7cb9fa8110
Extended safe.py environment to expand AI's language capabilities;...
...
...including:
collections, hotshot, psyco, Queue, sets, time, and the upcoming wail module
Use of chr, hash, lambda, ord, and super (new style classes) are now allowed
Control of safe_exec can now be toggled from the wesnoth binary
(not implemented) by passing a True/False value when the script is invoked.
Various exceptions are now allowed.
2008-06-19 21:00:21 +00:00
Mark de Wever
53aa85b8a2
Update doxygen comment style.
2008-06-19 19:21:48 +00:00
Mark de Wever
131b998ba5
Update doxygen comment style.
2008-06-19 19:14:31 +00:00
Mark de Wever
d9b13bcb42
Don't blit the border directly on the screen...
...
...but use the drawing_buffer instead.
Ilor please test whether this solves the issues you had with the border.
2008-06-19 16:02:14 +00:00
Mark de Wever
4b91082ac7
Comment cleanups.
2008-06-19 15:48:03 +00:00
Mark de Wever
18b02c9a40
Removed unused terror class.
2008-06-19 15:46:16 +00:00
Mark de Wever
adb010120c
Comment cleanups.
2008-06-19 15:41:31 +00:00
Mark de Wever
4a051a4efd
Comment cleanups.
2008-06-19 15:33:43 +00:00
Mark de Wever
6857d65ffc
Comment cleanups.
2008-06-19 15:27:37 +00:00
Mark de Wever
caf85f4ade
Comment cleanup, added minor debug info.
2008-06-19 15:22:01 +00:00
Mark de Wever
2393f4d52c
Comment cleanups.
2008-06-19 15:12:54 +00:00
Mark de Wever
df90a5b57f
Cleaning up comment.
2008-06-19 15:07:43 +00:00
Ali El Gariani
2785af7cc9
fix a typo in tutorial ("refresh" instead of "redraw")
2008-06-19 12:19:01 +00:00
Benoît Timbert
504db11ca8
Compilation fix for gcc 4.1.2
2008-06-18 22:28:04 +00:00
Eric S. Raymond
0e93e7db85
Fix some incorrect image references. All sanity checks pass after this diff.
2008-06-18 22:11:18 +00:00
Nils Kneuper
7b1dd69948
not releasing 1.5.1 today, so revert the version number for the moment...
2008-06-18 21:36:40 +00:00
Nils Kneuper
781dd1d939
ups, forgot to add the include args in the other file...
2008-06-18 21:11:57 +00:00
Nils Kneuper
c7bb8fd343
some more missing files
2008-06-18 21:00:59 +00:00
Sergey Popov
6f125a627e
Added a TODO item to CMakeLists.txt
2008-06-18 20:27:37 +00:00
Mark de Wever
19e6d51744
Update doxygen comment style.
2008-06-18 20:16:34 +00:00
Nils Kneuper
badacfd16d
typo fix
2008-06-18 20:11:34 +00:00
Nils Kneuper
d299b4dd29
added -D_X11 if X11 headers are found to allow copy&paste
2008-06-18 20:02:26 +00:00
Nils Kneuper
62686fec1e
fixing implicit paths for konrad and lisar in selection
2008-06-18 19:48:15 +00:00
Sergey Popov
14b43d9a1e
Removed obsolete comment.
2008-06-18 19:43:12 +00:00
Nils Kneuper
b77d17fe2f
bump version to 1.5.1
2008-06-18 19:34:25 +00:00
Tomasz Śniatowski
345d960ca1
temporary fix for a strange windows-only crash
2008-06-18 20:28:53 +01:00
Mark de Wever
17a8708a32
Update doxygen comment style.
2008-06-18 19:26:34 +00:00
Nils Kneuper
c99e9a7e8b
some more missings files for cmake in the tarball
2008-06-18 19:22:33 +00:00
Nils Kneuper
03eeb31061
really allow building EDITOR2 now...
2008-06-18 19:20:18 +00:00
Mark de Wever
f4b06457f2
Move an include from the .hpp to the .cpp.
2008-06-18 19:16:52 +00:00
Tomasz Śniatowski
3111f85b10
change invalidate_animations_location to pass by ref in game_display too
2008-06-18 20:12:48 +01:00
Nils Kneuper
2b285a5af2
add building of EDITOR2 to cmake recipe
2008-06-18 19:06:09 +00:00
Nils Kneuper
1a0d797203
some more missing things...
2008-06-18 19:05:13 +00:00
Mark de Wever
d42bf58eb2
Pass some object parameters as const reference.
2008-06-18 18:48:43 +00:00
Nils Kneuper
8357330fd7
add some missing scons and cmake files into autotools packaging...
...
...(tarball creation only)
2008-06-18 18:44:18 +00:00
Nils Kneuper
a3ab2aa3ac
pot-update (preparing for 1.5.1)
2008-06-18 18:13:39 +00:00
Nils Kneuper
66541b57de
add new files, remove nonexisting files
2008-06-18 18:10:51 +00:00
Nils Kneuper
d7c0bc78b1
updated German translation
2008-06-18 18:09:50 +00:00
Mark de Wever
0aa3360d40
Remove some unneeded wrappers.
2008-06-18 17:51:35 +00:00
Mark de Wever
f9a6bc2b94
Adding comment.
2008-06-18 17:50:20 +00:00
Mark de Wever
4a0bd07507
Update doxygen comment style.
2008-06-18 17:49:06 +00:00
Mark de Wever
e1b1928e71
Fix some unused variable warnings.
2008-06-18 17:47:27 +00:00
Lari Nieminen
22f1534824
The filter hack was necessary for distract to work right after all.
...
Also made it affect allies as well.
2008-06-18 16:58:11 +00:00
Tomasz Śniatowski
106f397bd3
block building wesnoth_editor when editor2=true in scons
2008-06-18 17:20:36 +01:00
Tomasz Śniatowski
a3d26f91e0
Fix linker errors caused by not compiling in time_of_day.cpp...
...
...everywhere it was needed
2008-06-18 16:51:49 +01:00
Tomasz Śniatowski
9b8259420e
display::draw() refactor followup...
...
...remove some debug code, add more doxygen comments, move halo::
calls down to game_display to reduce link time dependency (and fix a
linker error in editor)
2008-06-18 16:48:46 +01:00
Tomasz Śniatowski
b35ed08f6b
Add gamemap::get_terrain_string function
2008-06-18 15:10:31 +01:00
Tomasz Śniatowski
64e124e582
display::draw() refactoring -- mostly done,
...
...needs proofreading, testing, some cleanup and comments. Commiting
so others can look at it. This appears to have uncovered a spurious
crash related to display::scroll that needs fixing.
2008-06-18 13:45:09 +01:00
Ali El Gariani
7bc4e02aae
Re-use the fix of 2008-06-16T17:36:28Z!jeremy.rosen@enst-bretagne.fr from boucman (decapitation of moving units)
...
to fix another glitch (decapitation of unit on a keep, when invalidating north)
Also did some rewriting (for readibility and shorthen the copy-paste
part) but didn't change the logic
2008-06-18 12:26:31 +00:00