mattsc
d1d18146f1
Revert previous commit and add wmllint spellcheck exception
2013-11-02 17:59:31 -07:00
mattsc
fae77eec5a
Change Micro AI engine macro deprecation message string
...
... so that wmllint won't complain about the spelling of the macro name
macro MACRO_NAME.
2013-11-02 17:47:10 -07:00
Boldizsár Lipka
87a9d7f3fb
Use checkbox images for highlighting selected mods.
2013-11-02 15:49:25 +01:00
Boldizsár Lipka
17dec8499c
Change the "Activate" button to "Deactivate" when the selected mod is
...
enabled.
2013-11-02 15:49:25 +01:00
mattsc
85f16414ea
Remove Micro AI engine macros from two scenarios
...
Engine definitions are not needed any more after the recent changes to
the Micro AIs. Things still work with these macros included, but a
deprecation message appears.
2013-11-02 06:15:29 -07:00
mattsc
a2d8a653d2
Update changelog
2013-11-01 17:14:29 -07:00
mattsc
b340188038
Hunter MAI [micro_ai] tag: add optional [filter] tag
2013-11-01 17:13:06 -07:00
mattsc
08a722e248
All Guardian MAI [micro_ai] tags: add optional [filter] tag
2013-11-01 17:13:05 -07:00
mattsc
0670630ff9
Patrol MAI [micro_ai] tag: add optional [filter] tag
2013-11-01 17:13:05 -07:00
Alexander van Gessel
f66e2b1763
Merge pull request #79 from gfgtdf/msvc-fixes
...
adding a \n at the end of compresses config files to prevent creating corrupted files.
2013-11-01 12:21:32 -07:00
mattsc
5666e3c566
Update changelog with AI changes
2013-11-01 12:14:06 -07:00
mattsc
cb2a22acd4
ExpAI move_to_enemy CA: fix file path
...
Had accidentally copied over the AI-demos path.
2013-11-01 09:44:45 -07:00
mattsc
c214c12611
ExpAI: add retreating and village hunting CAs
2013-11-01 09:36:26 -07:00
mattsc
d9aa43ef44
ExpAI: fix the name= value of Place Healers CA
...
It doesn't really matter for anything in practice, but should be done
right.
2013-11-01 09:35:43 -07:00
mattsc
a45cf2ac58
ExpAI: capture more villages if we can't recruit any more this turn
2013-11-01 09:27:38 -07:00
mattsc
241fd529e0
ExpAI: ignore unreachable enemy leaders when selecting keep
2013-11-01 09:24:05 -07:00
gfgtdf
45e07448ec
removing an unneeded '#if'
2013-11-01 17:22:24 +01:00
mattsc
d8c35a75c8
ExpAI: capture villages with injured units if no enemy can reach
2013-11-01 09:19:54 -07:00
mattsc
948147550a
ExpAI: Encourage forward advancement when capturing villages
2013-11-01 09:14:55 -07:00
mattsc
9c86a71ef7
ExpAI retreat code: also return enemy attack map
2013-11-01 08:51:21 -07:00
mattsc
1fa06a6811
Exp AI retreat code: make function min_hp() externally accessible
2013-11-01 08:51:21 -07:00
mattsc
938b2e6520
ExpAI retreat: count amount of hp healed when choosing retreat location
2013-11-01 08:51:21 -07:00
mattsc
456f60a9ee
ExpAI: make sure injured regenerating units are not stranded if ...
...
... no non-regenerating units can get to safe locations.
2013-11-01 08:51:20 -07:00
Boldizsár Lipka
04d8e2127c
Modifications selectable from a list instead of a dialog.
2013-11-01 16:16:57 +01:00
Boldizsár Lipka
2893eaf91d
Vim has gone crazy and it's inserting lines at random.
...
Seriously.
2013-11-01 16:16:57 +01:00
Boldizsár Lipka
fe35cfc45d
Should have been part of the previous commits.
...
Forgot to save before committing.
2013-11-01 16:16:57 +01:00
Boldizsár Lipka
0084e44a95
Support for querying the status of a single mod.
2013-11-01 16:16:56 +01:00
Boldizsár Lipka
fbd4848225
Support for (de)activating one mod at a time.
2013-11-01 16:16:56 +01:00
Boldizsár Lipka
c0fcc72ff5
Add two functions to query items from GUI1 menus.
2013-11-01 16:16:56 +01:00
Boldizsár Lipka
038ac7efbb
Fix indentation.
2013-11-01 16:16:56 +01:00
mattsc
76e22a3d6a
Experimental AI: add a simple move to enemy CA
...
Set up to run if nothing else is available.
In a separate file for use as a stand-alone CA in an AI
2013-10-31 21:19:44 -07:00
mattsc
4cdedc11ee
Remove () for wesnoth.require for consistency with surrounding lines
2013-10-31 21:08:13 -07:00
mattsc
3e6e7caa74
Put 'done_eval_messages()' behind 'if print_eval()' condition
...
... so that they only get printed when this sort of debug output is
selected.
2013-10-31 20:54:00 -07:00
mattsc
96d17690bd
Clean up time stamps and debug output code
2013-10-31 20:40:18 -07:00
mattsc
d355adbacb
Clean up time stamps and debug output code
2013-10-31 20:31:37 -07:00
Alarantalara
c859d0d17b
Keep villages unreachable by recruited unit
...
If the recruited unit cannot reach the target village, try again later
2013-10-31 23:14:36 -04:00
Alarantalara
33c1e493b2
Handle more damage specials for Lua recruiting
2013-10-31 23:14:35 -04:00
mattsc
46bf12a523
Old AIs in ai/dev/: change descriptions displayed in MP selection menu
...
These are the AIs that are only visible in debug mode. They were very
ambiguous and two of them were even exactly the same.
2013-10-31 15:32:21 -07:00
mattsc
9b553b86b5
Fix the old 'Default AI with poisoning formula' development AI
...
None of the RCA AI CAs were included, which means this was effectively
an idle AI.
2013-10-31 14:46:53 -07:00
mattsc
554a95749a
battle_calcs.best_defense_map(): add parameter ignore_these_units
...
This is a table of enemy units whose ZoC is to be ignored for route
finding. It is useful for determing where the enemy can move while
ignoring own units (enemies of the enemy) that have not moved yet.
2013-10-31 08:22:15 -07:00
mattsc
526debf3e9
battle_calcs.lua: remove some debug code
2013-10-31 08:17:47 -07:00
mattsc
8689543d9a
Lua dummy engine: do not load debug_ai functions
...
Besides them being unnecessary, a warning message is otherwise also
displayed when external CAs are used and the game is not in debug mode.
2013-10-30 18:23:48 -07:00
mattsc
e18378369b
ai_helper: remove unused function ai_helper.got_1_11()
2013-10-30 13:02:09 -07:00
mattsc
1d488a2c35
Rename ai/micro_ais/ais/ to ai/micro_ais/engines/
...
... in order to distinguish between AI files containing full engines
and those containing individual CA eval/exec functions
2013-10-30 12:55:08 -07:00
mattsc
e469df1d50
Move and rename [micro_ai] tag setup file
...
... to a more logical location given the recent reorganization.
2013-10-30 12:55:08 -07:00
anonymissimus
b2f3cf98a5
vc project update
2013-10-30 19:02:22 +01:00
mattsc
3989b4e140
Experimental AI: make Healer Placement CA work with new external CAs
...
Healer Placement is a Micro AI whose syntax was changed in the switch
to using external AIs. This change adapts how this CA is called in the
Experimental AI (gerneric rush AI) to these changes.
2013-10-30 09:51:10 -07:00
mattsc
4e68b4eaa2
Recruiting MAI test scenario: add Rush Recruitment MAI for Side 2
2013-10-30 09:47:41 -07:00
mattsc
b826e5ead5
Micro AIs: make recruit_rushers work with new external CA method
...
The previous code did not allow to get the ai table to the execution
function.
2013-10-30 09:42:41 -07:00
mattsc
48917eeb2b
Add local user data files to Xcode .gitignore file
2013-10-29 09:33:59 -07:00