45 Commits

Author SHA1 Message Date
ln-zookeeper
a2e1c2c9e9 Fixed issues reported by mattsc. 2014-02-01 23:00:31 +02:00
mattsc
12c73569ca AI macros: update comments for display on wiki reference page
This is for the auto-generated page at
http://www.wesnoth.org/macro-reference.html
2013-12-26 20:00:45 -08:00
mattsc
51e1a3f56b Add AI_CONTROLLER_ALLOW_UNIT_CONTROL macro
... to allow control of non-leader units of allied AI sides.
2013-10-04 08:08:29 -07:00
mattsc
0ef41090c0 Move AI_CONTROLLER_ALLOW_LEADER_CONTROL macro
... from data/core/macros/ai.cfg to data/core/macros/ai_controller.cfg
2013-10-04 08:08:29 -07:00
mattsc
574714ad7c AI_CONTROLLER macro: use correct syntax for protecting side 2013-10-03 19:26:35 -07:00
flix
aafe86364b Convert a (unused) macro to use [goal] 2013-06-12 02:41:38 +03:00
Anonymissimus
0589aa3633 viewing_side -> side in mainline wml 2012-03-27 19:51:07 +00:00
Steven Panek
b397cbd473 Reworded it again. 2011-01-26 20:44:27 +00:00
Steven Panek
83f12d1d02 Reworded a string to avoid a grammatical error. 2011-01-26 20:41:19 +00:00
Eric S. Raymond
e7d337a676 Reindent mainline. 2010-09-23 13:04:56 +00:00
Eric S. Raymond
2c86fcf4f0 Fix small nits setected by wmllint, and wmllint itself. 2010-08-12 20:08:22 +00:00
Lari Nieminen
bc54ec0ab5 Fixed a few bugs in the AI controller. 2010-08-05 16:52:48 +00:00
Lari Nieminen
9a64421ba0 Converted {AI_CONTROLLER_NOTE} to use the new [note] tag...
...instead of the note= key.
2010-08-05 14:06:24 +00:00
Lari Nieminen
7c2b90259b A partial rewrite of the AI controller to make it more customizable. 2010-08-05 09:52:20 +00:00
Lari Nieminen
55c035027a Wired the AI controller in to all appropriate SotBE scenarios. 2010-05-20 08:53:15 +00:00
Iurii Chernyi
9649ed63f8 fix problem in ai_controller - focus on defeating enemy side...
...was not working as expected. [goal]name=protect expects a SLF, not
a SUF
2010-02-12 23:00:18 +00:00
Eric S. Raymond
75f2727548 More nacro argument type checking. No mismatches in mainline. 2010-02-11 22:45:04 +00:00
Eric S. Raymond
d72fb9cca7 More impprovements in macro type checking. No conflicts in mainline. 2010-02-11 20:26:35 +00:00
Eric S. Raymond
5b08325791 Whitespace tweaks indicated by a reindent pass. 2010-02-03 13:18:05 +00:00
Iurii Chernyi
acec714cdf a small bugfix for ai_controller -one case was not working correctly 2010-01-31 13:06:28 +00:00
Iurii Chernyi
44b5ffc614 Rework AI controller - use [modify_ai] tags. Beta. Works. 2010-01-31 13:03:46 +00:00
Iurii Chernyi
5f4a592c68 fix issue with invalid pango markup used in ai controller 2009-12-13 12:29:18 +00:00
Eric S. Raymond
a1605bd14f Hand-patch some Pango conversions that wmllint couldn't get right. 2009-11-23 14:28:29 +00:00
Eric S. Raymond
7c5e810e59 wmllint cleanup 2009-10-27 08:41:31 +00:00
Lari Nieminen
0fe6584034 Added necessary future strings for the upcoming special orders menu...
...and the leader-moving order.
2009-09-27 13:28:08 +00:00
Lari Nieminen
0d05ba1e8c Fixes a problem with the menus listing sides. 2009-09-21 10:42:21 +00:00
Ignacio R. Morelle
005acdedae Changed text back to normal color,
...use <span>s only to force linebreaks with a blackened dash
2009-08-21 17:27:05 +00:00
Ignacio R. Morelle
bfa8372bc8 Get rid of an invalid Pango markup error message.
Waiting for a better color choice from fendrin...
2009-08-21 17:19:44 +00:00
Eric S. Raymond
51c13fb819 Pre-1.6 reindent and whitespace cleanup. 2009-03-01 12:56:14 +00:00
Fabian Müller
48bebd086a Extended the ai_location stub with a label for the location. 2009-02-15 17:09:59 +00:00
Lari Nieminen
a540b05605 Fixed a filtering problem. 2009-02-08 15:50:41 +00:00
Lari Nieminen
3a3db9ee96 Ensure that the ai controller variables don't get carried over...
...to the next scenario.
2009-01-25 18:23:30 +00:00
Eric S. Raymond
db9b3aba17 wmllint pacification. 2009-01-18 04:00:51 +00:00
Lari Nieminen
d47ee300a5 Fixed the controller not getting fired for the right side...
...after selecting a location to protect.
2009-01-12 13:50:45 +00:00
Lari Nieminen
e4ca33de68 Fixed some bad ordering of stuff. 2009-01-01 19:36:53 +00:00
Eric S. Raymond
9500eb1d54 Clean up macro argument type mismatches. 2009-01-01 17:52:38 +00:00
Eric S. Raymond
d4d762fd3e Add AFFIX type to the macro type checker (name may change to VAR_AFFIX later). 2009-01-01 17:01:05 +00:00
Fabian Müller
423f342994 Adds a stub macro AI_LOCATION to the ai_controller.
This is called in LoW::7 and will be implemented later.
2008-12-31 20:57:50 +00:00
Eric S. Raymond
69d295eb38 Fix glitches detected by wmllint. 2008-12-31 20:24:14 +00:00
Alexander van Gessel
f368eff99c Add newline at end of file. (pacify wmllint) 2008-12-30 14:49:54 +01:00
Lari Nieminen
23d8eae674 Added a defend location order (disabled by default since it crashes a lot). 2008-12-26 17:10:11 +00:00
Lari Nieminen
ceee1ffb46 Removed a silly forgotten piece of debug code...
...and prevented some unfortunate line-wrapping in menu option text.
2008-12-25 20:53:17 +00:00
Lari Nieminen
dff3eefc0f Various tweaks and fixes. 2008-12-25 14:26:53 +00:00
Lari Nieminen
f6f2f51e24 Various little tweaks. 2008-12-24 22:26:40 +00:00
Lari Nieminen
c99a4f6897 Added my version of the ai controller to core.
Needs some WML changes and better default values.
2008-12-24 20:21:20 +00:00