Celtic Minstrel
32c3abbbaf
Micro AIs: Distinguish attribute and tag parameters and copy all of the latter
...
(Though currently only Protect Unit and Random Recruiting actually honour multiples of any tag.)
2016-03-28 12:54:25 -04:00
Celtic Minstrel
dd02202fc8
Fix attacks aspect assert
2016-03-28 12:04:23 -04:00
mattsc
c82ae94ae9
Random Recruiting Micro AI: fix [probability] tag
2016-03-28 07:22:52 -07:00
ln-zookeeper
6026780539
Fixed wmllint mistake in 2cd4298f
2016-03-28 16:21:58 +03:00
Celtic Minstrel
b555bc2bb7
Delete empty source files
2016-03-28 00:35:14 -04:00
Celtic Minstrel
49e7e03718
Fixup include - again
2016-03-28 00:16:26 -04:00
Celtic Minstrel
5b8e53855f
Fixup include
2016-03-27 23:40:21 -04:00
mattsc
1e3d80df0b
Micro AI tests: do not change controller to null for active side
2016-03-27 20:39:02 -07:00
mattsc
9ed1b39b90
Random Recruiting MAI: use require() instead of dofile()
2016-03-27 20:39:02 -07:00
mattsc
263227852a
Micro AI CAs: use consistent indenting
2016-03-27 20:39:02 -07:00
Celtic Minstrel
97b33cfdfc
Allow the attacks aspect to be implemented with Lua
...
Semi-related changes also included:
- Unit filter now has empty() and to_config() methods
- Advancements aspect now unrefs its function on destruction
- Const correctness for ai.get_attacks()
2016-03-27 23:22:43 -04:00
Celtic Minstrel
678444133e
Suppress end turn confirmation in all interactive test scenarios
2016-03-27 15:13:24 -04:00
Celtic Minstrel
ba5eb7bc91
Move some AI test scenarios from data/ to data/ai/scenarios/
...
(And update them to modern syntax)
2016-03-27 15:13:23 -04:00
Celtic Minstrel
02cfb7c279
Update/correct RN and changelog
2016-03-27 15:13:23 -04:00
Celtic Minstrel
503c2f01ae
Lua API: More info in wesnoth.get_terrain_info
2016-03-27 15:13:22 -04:00
Celtic Minstrel
c79874086d
MicroAIs: Update all to use the new [args] syntax
...
Except for Protect Unit, all of them seem to still work correctly.
2016-03-27 15:13:21 -04:00
Wedge009
037a526a68
Remove empty testing filter (vcproj).
2016-03-27 21:11:57 +11:00
Charles Dang
ac1f9d9e8b
tunit_attack: remove extra newline after XP listing
2016-03-27 20:13:04 +11:00
Charles Dang
0da9858f85
tunit_attack: list trait names, not ids.
2016-03-27 19:53:45 +11:00
Celtic Minstrel
c19ddba30a
MicroAIs: Refactor code to make it easy for add-ons to add new ones
2016-03-26 21:57:15 -04:00
Celtic Minstrel
6ed34069fe
Micro AIs: Remove tests for deprecated syntax
2016-03-26 21:57:14 -04:00
mattsc
f161a3cc1c
Fix AI_FORMULA_AI_EXPERIMENTAL_RECRUITMENT macro
...
This also deletes the AI_SIMPLE_FORMULA_AI_EXPERIMENTAL_RECRUITMENT
macro. There is no point in keeping both of them.
2016-03-26 15:34:39 -07:00
mattsc
d1f7225f7b
Update Release Notes
2016-03-26 15:06:03 -07:00
Celtic Minstrel
5c49cf0c75
Revert "Formula engine: fix index operator having lowest precedence"
...
This reverts commit 4a3fce393a8b0eebdb426c2db12347a6884400e8.
2016-03-26 17:16:58 -04:00
Celtic Minstrel
7df4fc3970
Fix [modify_side]switch_ai=data/dev/idle_ai.cfg
2016-03-26 16:39:43 -04:00
Celtic Minstrel
f5bfa4dff5
Update manpage
...
This does several things:
- Make the formatting consistent, using underline instead of <angle brackets> for all arguments
- Add many missing switches; some experimental/dev ones are still not listed though
- Ensure all switches are listed in alphabetical order
- Fix some inaccurate details
- Minor fixes to the output of --help
In addition, the following additional switches now force a console on Windows:
--nogui
--logdomains
--path
--render-image
--screenshot
--data-path
--userdata-path
--userconfig-path
--version
2016-03-26 16:39:43 -04:00
Celtic Minstrel
282a2abb55
XCode: Add documentation group
...
The primary reason for this is actually because XCode highlights the syntax of the manpages.
Currently, only the English version is included.
2016-03-26 16:39:41 -04:00
Celtic Minstrel
884d88086a
Formula engine: New debug_profile function
...
This evaluates a formula 1000 times and prints a debug message with the average time taken
2016-03-26 16:39:40 -04:00
Celtic Minstrel
692e6567d6
Change logdomain for formula debugger
2016-03-26 16:39:39 -04:00
Celtic Minstrel
f81169b7bb
Draw a border around the lobby game list
2016-03-26 16:39:37 -04:00
mattsc
e7d82ebcad
Update changelog
2016-03-26 07:38:51 -07:00
mattsc
df5714801c
AI Arena: fix the menus
2016-03-25 14:15:34 -07:00
mattsc
09ee5c7a4b
AI Arena: update [option] tags to new syntax
2016-03-25 13:58:52 -07:00
mattsc
e48908f42f
Fix FAI experimental recruitment setup
2016-03-25 09:40:13 -07:00
Charles Dang
c5308c7e7f
Merge pull request #637 from rcorre/cmake_fix
...
Fix cmake reference to make_enum.cpp.
2016-03-25 15:01:29 +11:00
Ryan Roden-Corrent
3530093ac6
Fix cmake reference to make_enum.cpp.
...
make_enum.cpp was moved to utils/make_enum.cpp, and src/CMakeLists.txt
wasn't updated.
2016-03-24 23:28:51 -04:00
mattsc
202aa804bb
AI Arena: remove akihara_recruitment test
...
Since akihara_recruitment has been removed.
2016-03-24 19:34:12 -07:00
Celtic Minstrel
14d375646e
Formula engine: Fix debugger display of decimals
2016-03-24 19:07:30 -04:00
Celtic Minstrel
7f4c04c676
tformula_debugger: Scroll execution trace and stack to the bottom
2016-03-24 17:49:04 -04:00
Celtic Minstrel
a6fbabead2
GUI2: Add wrap key to [scroll_label]
2016-03-24 17:49:04 -04:00
Celtic Minstrel
16ed12f7de
Fix FormulaAI lurkers example
2016-03-24 17:49:02 -04:00
Celtic Minstrel
d48060bc00
Fix external Lua CA example for new syntax
2016-03-24 17:49:02 -04:00
Celtic Minstrel
18b1356d74
Lua API: Fix ai table sometimes unexpectedly becoming read-only
...
This could happen if an AI action was checked or executed, and that action made use of an aspect or goal that was implemented in Lua.
2016-03-24 17:49:01 -04:00
mattsc
cccf1f8604
Change id and description of the former "Strong AI"
2016-03-24 12:57:35 -07:00
mattsc
a218e6b659
Move "Strong AI" to ai/dev/ and rename file
...
This means that it is now only available in debug mode. It is not
significantly enough different from the default to be one of the main
options.
2016-03-24 12:57:35 -07:00
mattsc
c04f406bd8
Old patrol.lua: fix indenting and add deprecation message
2016-03-24 12:57:35 -07:00
Elvish_Hunter
2c5763216b
wmllint: added female_text to the translatable keys
...
Also removed a few wmllint directives that I placed to handle female_text.
2016-03-24 20:43:17 +01:00
Elvish_Hunter
2cd4298f7b
wmllint run on core, campaigns and multiplayer directories
2016-03-24 20:26:44 +01:00
Elvish_Hunter
56b8ed9560
DW and UtBS: shut a few wmllint warnings about translation markers
2016-03-24 20:26:44 +01:00
Elvish_Hunter
dcee0e1805
wmllint: added male_message and female_message to translatable keys
2016-03-24 20:26:44 +01:00