9101 Commits

Author SHA1 Message Date
George Birthisel
ccae3338d4 clarified special notes for plague 2008-06-23 18:14:01 +00:00
Mark de Wever
e8b1280a7b [[drawing code fixes]]
* Rewrote the drawing code to be able to force a redraw and to invalidate the
  background. This fixes the ttoggle_panel redraw problems.

* Removed the no_redraw label hack

* Updated the WIKI comment blocks to fix some typos and add some forgotten info.
2008-06-23 16:32:37 +00:00
Greg Copeland
510048f1be Guard against another possible divide by zero. 2008-06-23 14:54:28 +00:00
Greg Copeland
000f696fbf Various changes to support gzip/zlib compression are now in place.
Some changes to core WML code is still required to make it properly
follow the new encoding/decoding escape sequences. Some results of
pylint have been applied. Includes minor portability enhancements.

Some code changed to be more OO+pythonic (e.g. threading). Some code
stubs are in place for future enhancements. Most reliable works
except for uploads.
2008-06-23 14:09:33 +00:00
Greg Copeland
c13bf4d634 Fixed a ZeroDivisionError bug which is triggered on certain maps. 2008-06-23 12:54:08 +00:00
Patrick Parker
caa60dbd03 added file comments 2008-06-23 03:14:18 +00:00
Mark de Wever
f2f84a592a Undefine a macro when no longer needed. 2008-06-22 17:59:22 +00:00
Mark de Wever
2cbe565950 Add new proof-of-concept toggle panel.
Drawing on the panel still has glitches.

Events are send to the panel not to the widget.

Sapient sorry for breaking the coding standard too lazy do convert the
0's ;-).
2008-06-22 17:49:58 +00:00
David White
28fefc0286 added new title screen images 2008-06-22 05:50:40 +00:00
Patrick Parker
9c100bfd38 a small change to reflect the delayed variable substitution...
...which is now the default behavior of event-within-event.
2008-06-22 00:23:36 +00:00
Eric S. Raymond
4c473187e6 Fix Debian bug #483893. 2008-06-20 19:06:30 +00:00
Pauli Nieminen
d882725ca0 Fixing recall problems in tutorial scenario 2 2008-06-20 17:52:13 +00:00
Pauli Nieminen
b59aa1b858 Made replacing \r\n and \t optional 2008-06-20 16:35:29 +00:00
Eric S. Raymond
68efc7f199 Keep wmllint from removing a null attack that's there deliberately. 2008-06-20 16:09:44 +00:00
Greg Copeland
24871184ba Fixed missing reference to self.verbose and added missing reference to self. 2008-06-20 15:41:26 +00:00
Pauli Nieminen
f081033ef5 Fixed typo 2008-06-20 15:33:17 +00:00
Pauli Nieminen
86dff9d764 Added support to wmlparser for ignoring macros inside string 2008-06-20 15:31:27 +00:00
Pauli Nieminen
86e102a06a Fixed tabs to spaces 2008-06-20 14:26:52 +00:00
Pauli Nieminen
2ce51639da Fixed wml parser to read escaped strings 2008-06-20 14:19:16 +00:00
Nils Kneuper
bfaae1cee6 another fix needed for the move from gl_ES to gl 2008-06-20 11:06:53 +00:00
Ignacio R. Morelle
0730f12f4d Simplified WML 2008-06-20 01:42:19 +00:00
Greg Copeland
3a6d1ad678 A variable, "restricted", now reflects the executing environment. 2008-06-19 22:16:56 +00:00
Greg Copeland
312cd8eb02 Removed psyco from list of allowed imports - it's not safe after all.
Try/Except clauses are now allowed.
2008-06-19 22:08:27 +00:00
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
Ali El Gariani
2785af7cc9 fix a typo in tutorial ("refresh" instead of "redraw") 2008-06-19 12:19:01 +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
62686fec1e fixing implicit paths for konrad and lisar in selection 2008-06-18 19:48:15 +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
Richard Kettering
13f8563f8e New Kalenz portrait from kitty. 2008-06-18 04:35:19 +00:00
Ignacio R. Morelle
8bd8705e6d Fixed accidental move of projectiles... 2008-06-17 21:56:51 +00:00
Ignacio R. Morelle
244675e4d1 Fixed accidental move of haloes and projectiles 2008-06-17 21:56:14 +00:00
Ignacio R. Morelle
7005fb5a4a Tidied-up image locations
Tweaked death and hit sounds for some undead
2008-06-17 21:54:18 +00:00
Piotr Cychowski
d83cedab8f Fix bug mentioned in http://www.wesnoth.org/forum/viewtopic.php?f=8&t=21803
...and remove a hack while doing it.
2008-06-17 20:51:33 +00:00
Ignacio R. Morelle
c6233bb1e5 Allow titlescreen startup effect to be disabled in adv. preferences 2008-06-17 20:15:05 +00:00
Lari Nieminen
7e64e23b47 Add accidentally missing images. 2008-06-17 16:15:38 +00:00
Sergey Popov
d7047db442 Apply patch #1072. 2008-06-17 15:37:37 +00:00
Richard Kettering
7935e52261 New melee animation for the death knight. 2008-06-17 07:01:39 +00:00
Eric S. Raymond
c30816633f Fix small glitches found by automated sanity checking. 2008-06-17 01:35:50 +00:00
Eric S. Raymond
46d39db492 Language polishing. 2008-06-17 00:30:18 +00:00
Ignacio R. Morelle
ab26757b63 Fixed suboptimal WML image paths 2008-06-17 00:04:31 +00:00
Ignacio R. Morelle
68842f9227 Fixed suboptimal image paths 2008-06-16 23:59:29 +00:00
Ignacio R. Morelle
5876c6d485 Fixed sub-optimal image subpath guessing in WML 2008-06-16 23:58:37 +00:00
Ignacio R. Morelle
c1004835a2 Fix many unit image path using that slowing-down subpath guessing 2008-06-16 23:56:47 +00:00
Ignacio R. Morelle
92015414db Fix more image subpath guessing load 2008-06-16 23:41:40 +00:00
Ignacio R. Morelle
de7804b55c Fixed sprite locations not to use image subpath guessing 2008-06-16 23:34:21 +00:00
Piotr Cychowski
4dd5fc472e Commit images and WML for a new terrain 2008-06-16 23:30:59 +00:00
Ignacio R. Morelle
4b9f91381b Fixed many WML lines using image subpath guessing, so that they
actually refer to the correct paths relative to images/
2008-06-16 23:22:12 +00:00
Ignacio R. Morelle
8030446359 Fix to fix in 27235 - the subdir is "units", not "unit" 2008-06-16 23:05:29 +00:00
Ignacio R. Morelle
b1c34a99e3 Fix a filesystem warning about implicit image subpath 2008-06-16 23:04:14 +00:00