18614 Commits

Author SHA1 Message Date
Andrius Silinskas
4fe25ad320 Added "force_lock_settings" attribute to LoW.
"force_use_map_settings" was removed since it's replaced by the
attribute mentioned above.
2013-10-27 09:13:14 +00:00
Andrius Silinskas
da65ff655b Revert "Added "controller_lock=no" for multiplayer maps."
Reverting since "controller_lock" will be set to "no" by default.

This reverts commit 6e337de3780870ef024348425cca611f3981c8ac.
2013-10-27 09:13:14 +00:00
mattsc
afa9235fa1 MAI engine deprecation macro: add side=1 to dummy unit
This will be ignored since the [unit] tag is used inside a [side[ tag,
but this way wmllint is happy.
2013-10-26 19:18:46 -07:00
mattsc
fd29559daa Fix some indenting in AI recruiting functions 2013-10-26 19:13:35 -07:00
mattsc
354fb361d4 Micro AIs: remove all the MAI engine macros
They are not needed any more now that all MAIs were switched to using
external CAs.  For the time being, we keep the macros in place, but
they now only display deprecation messages and have no actual
functionality.
2013-10-26 18:57:08 -07:00
mattsc
6ad899cbf5 [micro_ai] tag: remove now unneeded code and comment 2013-10-26 18:33:26 -07:00
mattsc
ed10e8e8a8 [micro_ai] tag: remove code for old-style CA syntax
All Micro AIs have now been converted to using external CAs.
2013-10-26 18:31:11 -07:00
mattsc
436f36c80a Recruiting MAIs: get rid of recruiting_type= key
The previous value of recruiting_type= now goes directly into ai_type=.
 Also add syntax translation and deprecation message.
2013-10-26 18:23:55 -07:00
mattsc
6fb7c46dbe Both Recruiting MAIs: switch to using external CAs
This includes disabling the rush recruiter for the time being, as the
engine files it uses do not yet use the external CAs.  It will be
re-enabled once those have been converted as well.
2013-10-26 17:26:37 -07:00
mattsc
323595623b Protect Unit MAI: switch to using external CAs
Also remove the code for the parameter selection dialog.  It hasn't
been used in a long time and we can always get it back from the git
history, if needed.
2013-10-26 13:15:18 -07:00
mattsc
cb6c1cd9e6 Bottleneck Defense MAI: switch to using external CAs 2013-10-26 12:27:01 -07:00
mattsc
fe16335132 Healer Support MAI: switch to using external CAs 2013-10-26 11:56:42 -07:00
mattsc
4d92a3068e All Remaining Animal MAIs: switch to using external CAs 2013-10-26 10:03:07 -07:00
mattsc
d486c093ac Swarm MAI: switch to using external CAs 2013-10-25 22:22:11 -07:00
mattsc
f308a26dcb Hunter MAI: switch to using external CAs 2013-10-25 16:41:38 -07:00
mattsc
02aa84e304 Patrol MAI: use 'patrol' instead of 'patrol_unit' for ai_type
... since this is not a behavior CA any more now.  Also add syntax
translation and deprecation message.
2013-10-25 16:06:46 -07:00
mattsc
c6e8f69d57 Hunter MAI: add syntax translation and deprecation message
So that the ai_type=hunter_unit syntax still works for the time being.
2013-10-25 16:03:11 -07:00
mattsc
d6db87f7c0 [micro_ai] tag setup: remove all behavior (sticky) CA related code
BCAs don't work with the external CA mechanism and are therefore not
used any more in the Micro AIs.
2013-10-25 07:09:49 -07:00
mattsc
84f9548510 Hunter MAI: change from behavior CAs to side-wide CAs
This also involves renaming it from hunter_unit to hunter.
2013-10-25 07:09:49 -07:00
Ignacio R. Morelle
87c8ed6c2e gui2/tchat_log: Use 25x25 short arrow buttons for pagination
This should save us some space. More adjustments still need to be done
for this dialog to display correctly under certain circumstances.
2013-10-25 06:23:22 -03:00
Ignacio R. Morelle
916430ac3e gui2/tbutton: Add 25x25 left/right_arrow_short_ornate variants 2013-10-25 06:23:21 -03:00
Ignacio R. Morelle
f39392f1c2 gui2/tchat_log: Add log search support
The search done using the Filter box matches text on timestamps, nicks,
and messages in a case-insensitive fashion.

Some GUI layout adjustments still need to be done for this dialog to
display correctly. Not all of them are possible, unfortunately (e.g.
GUI2 doesn't support setting a minimum cell height yet).
2013-10-25 06:23:21 -03:00
mattsc
b13a9d98d9 All Guardian MAIs: switch to using external CAs 2013-10-24 21:00:38 -07:00
mattsc
fd66563c90 All Guardian MAIs: change from behavior CAs to side-wide CAs
Only side-wide CAs can use the external CAs, and there are some other
changes we want to make as well that require this.
2013-10-24 21:00:38 -07:00
mattsc
851ea73cc9 Patrol MAI: switch to using external CAs
Also need to disable the zone guardian in the scenario for the time
being, until the guardian MAIs have also been converted.
2013-10-24 19:52:53 -07:00
mattsc
909d33ca77 Patrol MAI: change from behavior CA to side-wide CA
Only side-wide CAs can use the external CAs, and there are some other
changes we want to make as well that require this.
2013-10-24 19:41:43 -07:00
mattsc
ea99f746c9 Simple Attack MAI: switch to using external CAs 2013-10-24 19:38:56 -07:00
mattsc
68e8f8e610 Hang Out MAI: switch to using external CAs 2013-10-24 19:38:56 -07:00
mattsc
d7e3b87584 Messenger MAI: switch to using external CAs 2013-10-24 13:33:09 -07:00
mattsc
ff2ead45bf Goto MAI: switch to using external CAs 2013-10-24 12:28:28 -07:00
mattsc
79e28544a0 Lurkers MAI: switch to using external CAs 2013-10-24 08:07:16 -07:00
mattsc
1e8fe60b3a [micro_ai] tag: add code for using external CAs
This means that we can get rid of the engine definition macros once all
MAIs have been switched to external CAs.
2013-10-24 08:05:14 -07:00
mattsc
d5b994c0bb Lua AI: make persistent data variable work with external CAs
It was previously being set correctly by the engine, but was not
accessible from the Lua AI.
2013-10-23 18:39:26 -07:00
mattsc
e9fd0d51d8 Guardian MAI test scenario: switch to new guardian MAI syntax 2013-10-22 13:11:55 -07:00
mattsc
a11e296808 Patrols MAI test scenario: switch to new guardian MAI syntax
There is a guardian unit in the Patrols scenario
2013-10-22 13:04:36 -07:00
mattsc
b7e2b4df18 Animal MAI engine macros: update ids in the [ai] tags
This doesn't really affect anything, but should be done for consistency
anyway.
2013-10-22 13:00:15 -07:00
mattsc
e57d0945f0 Guardian MAIs: rename internal engine functions and CAs
This shouldn't affect anything else, it is simply done for consistency
(to reflect the recent syntax changes).
2013-10-22 12:52:52 -07:00
mattsc
ca1c99160a Add deprecation message for MICRO_AI_GUARDIAN macro 2013-10-22 12:52:52 -07:00
mattsc
7e06b3cf35 Guardian MAIs: add individual engine macros for each AI
... so that only the code for the guardian AI used is loaded.
2013-10-22 12:52:51 -07:00
mattsc
23e4dda2e8 Guardian MAIs: add syntax translation and deprecation message
So that the ai_type=guardian_unit guardian_type=... syntax still works
for the time being.
2013-10-22 12:52:51 -07:00
mattsc
276e1b8709 Guardian MAIs: get rid of guardian_type= key
The previous value of guardian_type= now goes directly into ai_type=
2013-10-22 12:52:51 -07:00
mattsc
d2ecec4db1 Micro AIs: split up Guardian MAI engine file
... into a separate file for each animal AI. This is a first step
toward separating the guardian MAIs, as keeping them together is not
needed any more.
2013-10-22 12:52:50 -07:00
Bär Halberkamp
0b16a676f4 Removed a double [filter_attack] in the Skeleton Rider 2013-10-22 18:54:38 +02:00
mattsc
227527ee61 Animals MAIs: rename internal engine functions and CAs
This shouldn't affect anything else, it is simply done for consistency
(to reflect the recent syntax changes).
2013-10-22 09:36:10 -07:00
mattsc
51f1546c40 Wolves MAI engine: don't load unused library file 2013-10-22 09:33:46 -07:00
mattsc
a862f928ec Big Animals MAI engine: don't load two unused libraries 2013-10-22 09:32:10 -07:00
mattsc
fc0fe9ef3f Wolves MAI test scenario: switch to new animals MAI syntax 2013-10-22 09:05:05 -07:00
mattsc
35e9f62185 Dragon MAI test scenario: switch to new animals MAI syntax 2013-10-22 09:04:51 -07:00
mattsc
ced903bd3a Animals MAI test scenario: switch to new animals MAI syntax 2013-10-22 09:04:41 -07:00
mattsc
ecc7fc94fe Swarm MAI test scenario: switch to new animals MAI syntax 2013-10-22 09:04:11 -07:00