64132 Commits

Author SHA1 Message Date
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
Elvish_Hunter
15777e35e0 wmllint: added rule to handle removal of small portraits 2016-03-24 20:26:44 +01:00
mattsc
dd2d193cbd Remove move_to_targets test scenario
This was useful when the composite AI was introduced (in Wesnoth 1.7),
but does not serve a purpose any more now.
2016-03-24 10:56:45 -07:00
Charles Dang
98cb8a518d tlobby_main: some formatting to chat text 2016-03-25 04:10:00 +11:00
Charles Dang
4c32c9f8d8 Some formatting to chat timestamps 2016-03-25 04:09:59 +11:00
Charles Dang
496b46530f tlobby_main: removed chat speaker brackets, replaced with colon 2016-03-25 04:09:59 +11:00
Celtic Minstrel
106f1510d3 Fix unit test 2016-03-24 12:59:59 -04:00
Celtic Minstrel
4cdab93109 Update changelog 2016-03-24 12:58:29 -04:00
Celtic Minstrel
cfcc1aa6ab Update RELEASE_NOTES and changelog 2016-03-24 12:41:37 -04:00