Commit Graph

23736 Commits

Author SHA1 Message Date
Eric S. Raymond
d648270ebb Re-introduce wesconfig.h include to some files...
...where it will be handy for the scons build.
2008-03-24 13:43:45 +00:00
Ignacio R. Morelle
0d68aacd5e Added probes for required runtime environment 2008-03-24 13:36:44 +00:00
Eric S. Raymond
c1bc990148 Refactoring step in the scons recipe. 2008-03-24 13:24:11 +00:00
Eric S. Raymond
e2cd9ae8dc Fix a comment and regroup. 2008-03-24 12:52:29 +00:00
Eric S. Raymond
a2942cbc28 Re-enable fribidi and Python tests. 2008-03-24 12:50:21 +00:00
Lari Nieminen
262d9069c7 Update the old logo image used in the windows installer. 2008-03-24 12:43:59 +00:00
Lari Nieminen
c13f215873 Added mention of backstab and charge only working on offense...
...into their descriptions.
2008-03-24 12:36:37 +00:00
Eric S. Raymond
ba608e95e0 Factoring into SConstruct and src/SConstruct turned out to be a bad idea,
...revert it.
2008-03-24 12:17:46 +00:00
Lari Nieminen
b3a5055f30 Applied mesilliac's road tiles patch #1021. 2008-03-24 10:32:40 +00:00
Douglas Hains
572410211c Support for formula scripts (only team formulas for now) added to WML.
Formula AI can now be written in a script completely seperate from WML
and 'plugged' into a WML scenario cfg.

For an example, the opening formula AI strategy was converted to a
script (opening.fai) and added to scenario-formula.cfg.  Scripts are
still pretty rough looking, comments and parsing improvements will
come shortly to pretty them up.

The embedded Formula AI in WML is still supported as well.
2008-03-24 09:02:49 +00:00
Piotr Cychowski
93e7a4851f The great NR WML cleanup project
* First pass on scenario 9
2008-03-24 08:26:01 +00:00
Mark de Wever
ad759db113 Wire in the resize handler again. 2008-03-24 07:59:28 +00:00
Mark de Wever
87705e8d94 Let tevent_handler derive from events::handler...
...and twindow derive from tevent_handler instead of
events::handler. This means that the event handling is now done in
tevent_handler instead of in twindow.
2008-03-24 07:24:25 +00:00
Eric S. Raymond
948553bb4c Make sure prefs directory option is properly formed in scons recipe. 2008-03-24 04:54:47 +00:00
Eric S. Raymond
6952bdb6e7 Implement the prefsdir option. 2008-03-24 04:20:35 +00:00
Eric S. Raymond
20480167be Make sure SVN revision is available in scons build. 2008-03-24 04:00:32 +00:00
Eric S. Raymond
f249c93831 Implement fribidi check in scons. 2008-03-24 03:45:07 +00:00
Eric S. Raymond
b49af0b594 Move the implementation of some scons switches. 2008-03-24 03:23:49 +00:00
Eric S. Raymond
d71d7fa45b Support more configuration flags in scons. 2008-03-24 02:36:13 +00:00
Bartek Waresiak
f2bc4bbdcb Update to the formula test scenario after latest changes 2008-03-24 01:48:05 +00:00
Eric S. Raymond
1b1ee530c2 Lay some groundwork for utility productions. 2008-03-24 01:25:32 +00:00
Bartek Waresiak
1e097f2280 Some improvements for formula system:
* made 'my_leader' return unit instead of location only

* made 'defense_on' return unit's defense on a given location instead
  of the chance of being hit

* added new function 'chance_to_hit' which works like previous 'defense_on'
2008-03-24 01:25:14 +00:00
Eric S. Raymond
7f75708f8b Remove wesconfig.h where it isn't needed. 2008-03-23 23:46:55 +00:00
Mark de Wever
1de1bca43e Rename tevent_info to tevent_handler. 2008-03-23 21:52:20 +00:00
Piotr Cychowski
cad5acd31b The great NR WML cleanup project
* First pass on scenario 8
2008-03-23 21:42:36 +00:00
Nils Kneuper
268ddfccaa updated Polish translation 2008-03-23 20:50:51 +00:00
Bartek Waresiak
e628cb13bd Fixed off-by-one bug in is_village function 2008-03-23 20:23:02 +00:00
Mark de Wever
d6a6fd410c Rename event_info.*p to event_handler.*p. 2008-03-23 18:43:10 +00:00
Piotr Cychowski
382e0c6a37 The great NR WML cleanup project
* First pass on scenario 7

* Another pass on herodeaths.cfg - add an ifdef to prevent brothers
  and Stalrag event firing unwanted

* Further tweak to scenario 6 Tallin hitpoints fix, previous attempt
  proved unsuccessful
2008-03-23 18:33:08 +00:00
Mark de Wever
a8c422af6c Move the event handling stuff out of the twindow class into a the
tevent_info class. More modifications will follow.
2008-03-23 18:15:37 +00:00
Lari Nieminen
beffa41dc2 Tuned the flower transitions. 2008-03-23 18:03:37 +00:00
Piotr Cychowski
ccfa7fd501 Fix a typo 2008-03-23 17:59:10 +00:00
Jörg Hinrichs
4b121f043e Code::Blocks project files for windows...
...(a little outdated but better than nothing ;-)
2008-03-23 17:21:41 +00:00
Ali El Gariani
8013eb919c Fix some glitches introduced by the temporary part of layer's code:
Just split the temporary layer in 2 parts (under and on top of units)
This make things less ugly and will help to detect real z-order problems.
(move grid, black stripes, attack indictator... under units, as before)
2008-03-23 17:02:06 +00:00
Elias Pschernig
087878100e Added logic processing (#ifdef/#ifndef) to the python WML preprocessor...
...(until now it would just parse both branches and add them to the
output tree, as that's what campgen needed).
2008-03-23 15:35:10 +00:00
Eric S. Raymond
414568f71d Delete TeamColorizer.pl, there's cleaned-up Python version now. 2008-03-23 15:31:42 +00:00
David Philippi
acc293164e hungarian translation update 2008-03-23 15:25:01 +00:00
Eric S. Raymond
e51b375858 Clean up macro so typechecking doesn't barf. 2008-03-23 14:27:28 +00:00
Eric S. Raymond
72c93c3374 Typo fix. 2008-03-23 13:49:49 +00:00
Eric S. Raymond
4d22fce1a4 Correct a documentation comment. 2008-03-23 13:43:38 +00:00
Nils Kneuper
b55b3cca14 updated Italian translation 2008-03-23 13:43:01 +00:00
Eric S. Raymond
52d796ee6e Get the libraries in the right order for cutter and exploder builds. 2008-03-23 13:12:37 +00:00
Piotr Cychowski
30e7d5bb79 The Great NR WML cleanup project
* First pass on scenario 6

* Fix a bug causing Tallin to unstore with half HP if he was still a
  peasant at this point

Unless anything else pops up I consider this scenario finished.
2008-03-23 10:53:34 +00:00
Mark de Wever
d322964baf Fix a typo. 2008-03-23 10:39:21 +00:00
Gunter Labes
be49784497 make joining players play a sound again 2008-03-23 09:56:08 +00:00
Martin Renold
d269092fe5 fixed the minimap cache...
...(it was recalculating all minimaps in the lobby every time)
2008-03-23 09:27:23 +00:00
Piotr Cychowski
faebece0f2 The Great NR WML cleanup project (yes, I have not forgotten :P )
* Make white mages respawn within a radius of each other

* Phase out SUPPORTER macro in favor of a die event, army of
  Supporters might sound cool but this was just an outcome of a crude
  WML workaround

* Introduce the result of above to first five scenarios
2008-03-23 07:02:50 +00:00
Eric S. Raymond
289ed42e86 Refactor libraries to eliminate scons warning messages. 2008-03-23 05:46:18 +00:00
Eric S. Raymond
9f0ddf215d Added cutter to scons build. 2008-03-23 05:36:25 +00:00
David White
74ba90c370 attempt to fix problem with WML ordering 2008-03-23 05:33:27 +00:00