26 Commits

Author SHA1 Message Date
Eric S. Raymond
043c4f9fd3 Remove $Id$ cookies. 2013-03-26 21:41:37 -04:00
Mark de Wever
43b71f2ff0 New year copyright update. 2013-01-01 09:22:03 +00:00
Ignacio R. Morelle
6ca69b2df5 New year copyright update 2012-01-07 02:35:17 +00:00
Mark de Wever
ecbabea838 New year copyright update. 2011-01-01 15:57:50 +00:00
Mark de Wever
8daebcf130 Remove unneeded includes. 2010-10-26 21:37:45 +00:00
Guillaume Melquiond
eeb047de55 Fixed file headers so that they match the content of the COPYING file. 2010-09-01 21:12:38 +00:00
Mark de Wever
92f5f92ce5 New year copyright update. 2010-01-01 13:16:49 +00:00
Mark de Wever
671b0b256c Strip trailing whitespace. 2009-08-29 18:46:38 +00:00
Bartek Waresiak
c07e5887db mordante wished for comment to reman here :) 2009-07-05 09:58:44 +00:00
Bartek Waresiak
a88ddd0a3c Made formula_callable use ENUM type 2009-07-05 09:09:26 +00:00
Bartek Waresiak
e87d9ecd4e made do_compare work for two different classes derived from formula_callable 2009-07-04 21:47:23 +00:00
Bartek Waresiak
9e2285fa8a Added [ai] tag to single unit WML, renamed [ai_vars] to [vars],
renamed 'faifile' keyword to 'fai' <- these changes break current unit
formulas and faifiles! Added new keyword: end. Fixed bug that caused
some unit variables to be saved to file incorrectly. Removed obsolete
formula test case.
2009-03-15 15:04:27 +00:00
Mark de Wever
973a0a7d5c Remove trailing whitespace. 2009-01-01 10:28:26 +00:00
Mark de Wever
a5d1d2e969 New year copyright update. 2009-01-01 10:27:41 +00:00
Mark de Wever
7cc8478cec Comment out unused parameters, which silences gcc warnings. 2008-04-17 18:57:13 +00:00
David White
a86d16a8db fixed behavior of map function 2008-04-02 05:33:53 +00:00
Mark de Wever
1cdd8361e7 Add has_key member. 2008-03-22 16:49:48 +00:00
David White
7538016574 some fixes to unit specific formulas 2008-03-21 06:58:19 +00:00
Bartek Waresiak
85b8787a07 Added unit formulas.We can now put into [unit] [/unit]:
formula=''...''  which specify custom unit-formula

[ai_vars] ... [/ai_vars] which specify AI variables for that unit

Formulas for units are executed at begining of the turn. Basic example
can be found in scenario-formula.cfg

Run: wesnoth --test formula --debug to see it in action
2008-03-21 04:00:25 +00:00
Mark de Wever
bca75fa794 Added and updated copyright info 2008-03-09 18:48:13 +00:00
David White
19af9c78bf added dir function to formula system 2008-02-29 05:29:53 +00:00
David White
1be59961e3 changes to improve formula AI 2008-02-23 16:38:09 +00:00
David White
d9d5905b69 added very basic AI which uses the formula AI 2008-02-03 18:59:40 +00:00
David White
a0e8dffd80 made basic attacking work with formula AI 2008-01-31 06:15:05 +00:00
David White
e3e8fba644 fix some compile errors 2008-01-28 03:20:34 +00:00
David White
5c0df60c23 initial branch changes 2008-01-28 03:04:25 +00:00