64058 Commits

Author SHA1 Message Date
gfgtdf
fa1c1f033c fix msvc compilation 2016-03-24 00:42:10 +01:00
gfgtdf
2e93592eeb fix mp random maps 2016-03-24 00:42:10 +01:00
mattsc
f920a03ebb Patrols MAI test scenario: adapt Lua engine to new syntax 2016-03-23 16:38:22 -07:00
Charles Dang
d599ea1509 tlobby_main: fixed an unescaped escape character 2016-03-24 08:24:04 +11:00
Charles Dang
5ea08ba37d tlobby_main: chat log scrolling fixes (bug #16059)
Based on patch by faabumc.

Sending a message in chat will scroll to the bottom, as well as receiving
a message if you've already scrolled that far.

A few corner cases still need to be covered
2016-03-24 06:22:57 +11:00
Charles Dang
e6495b929a Add setters/getters for scrollbar position (patch by faabumc) 2016-03-24 05:26:33 +11:00
Celtic Minstrel
074281fce0 tgamestate_inspector: Add a little color to the units list 2016-03-23 13:03:16 -04:00
Celtic Minstrel
c7f8e524e2 tlabel_settings: Use side_name instead of current_player 2016-03-23 12:42:17 -04:00
Celtic Minstrel
36eba6e833 tgamestate_inspector: Fix top listbox sometimes disappearing in small resolutions 2016-03-23 12:33:36 -04:00
Charles Dang
a7e7036c44 Merge pull request #635 from Wedge009/vc_update
VC Project Update
2016-03-23 18:51:14 +11:00
Wedge009
eb9a16da59 Move map-related files into their own filter.
Also remove non-existent files.
2016-03-23 18:25:42 +11:00
Wedge009
aacb024fb5 Remove non-existent files. 2016-03-23 18:22:43 +11:00
Celtic Minstrel
8f3c032543 Fix recruitment aspect with number=-1 or missing
Also omit empty keys when converting jobs back to config format.
2016-03-23 00:51:55 -04:00
Celtic Minstrel
eebedd9adb Update RELEASE_NOTES and changelog 2016-03-23 00:20:21 -04:00
Celtic Minstrel
3bd881ed6b Fix [goal] not falling back to default name= if engine= omitted
(Missed a few cases last time)
2016-03-23 00:15:08 -04:00
mattsc
53fa4ddfed Minor changes to changelog wording and formatting 2016-03-22 20:28:21 -07:00
Charles Dang
78b442d7c2 tlobby_main: escape formatting in user input text 2016-03-23 13:44:07 +11:00
Charles Dang
6bdb62ded0 tlobby_main: hide Close button for Lobby room instead of disabling it 2016-03-23 13:44:06 +11:00
Charles Dang
494cc72f97 tlobby_main: enable closing a room tab if it's not currently active 2016-03-23 13:44:05 +11:00
Celtic Minstrel
bc945f27c9 Remove duplicate function
This was already defined in text.hpp, so I replaced it with that version.
2016-03-22 22:35:44 -04:00
Charles Dang
dc53c90d6e tlobby_main: enable markup in chat log 2016-03-23 13:15:01 +11:00
Celtic Minstrel
43142630b6 XCode: Add readline to Copy Files phase 2016-03-22 21:39:04 -04:00
mattsc
5a82a36e89 Update Xcode project to include readline
This also requires the readline dylib and headers to be added to the
project directory
2016-03-22 18:31:42 -07:00
mattsc
7c4aec9cfe Micro AI test scenario: fix incorrect aspect name 2016-03-22 18:31:42 -07:00
Celtic Minstrel
e231540b73 Update changelog 2016-03-22 21:28:17 -04:00
Celtic Minstrel
f7f4bfe321 Don't warn about missing [default] when there should be none 2016-03-22 20:26:30 -04:00
Celtic Minstrel
8478cd604c Fix [goal] not falling back to default name= if engine= omitted 2016-03-22 20:23:23 -04:00
Celtic Minstrel
c7d1bd6ae4 Don't inject full RCA AI if ai_algorithm unspecified and a [stage] defined 2016-03-22 18:46:27 -04:00
Charles Dang
6158ca73b9 tlobby_main: implemented tab close buttons 2016-03-23 07:53:59 +11:00
Charles Dang
d79cdd50bc GUI2: added minimal Close button definition 2016-03-23 07:50:02 +11:00
Charles Dang
386762a6f2 GUI2: added code for minimal buttons (buttons sans background) 2016-03-23 07:49:11 +11:00
Charles Dang
e86cadfa72 Update CB project 2016-03-23 06:51:59 +11:00
Celtic Minstrel
620f7833b7 Update XCode project 2016-03-22 15:45:06 -04:00
Celtic Minstrel
ee80e66f95 Support delayed_variable_substitution= in [on_undo], [on_redo] 2016-03-22 15:35:16 -04:00
gfgtdf
0ac0981ffe remove unused cpp files. 2016-03-22 20:30:43 +01:00
gfgtdf
f759649349 fix assertion failues on remove_row() for horizontal listboxes 2016-03-22 20:30:43 +01:00
Charles Dang
bbc956998c Use a transient message for the 'cannot end turn yet' popup 2016-03-23 02:00:36 +11:00
Charles Dang
34a0b8197b Fixed compilation post-AI refactor 2016-03-23 01:57:35 +11:00
Celtic Minstrel
cd2151ac1f Remove extraneous error message in FormulaAI 2016-03-22 10:38:57 -04:00
Celtic Minstrel
2ed5e7815f MicroAIs: Fix those that honour the avoid aspect improperly
This affects the Hang Out and Fast MAIs.
2016-03-22 07:22:22 -07:00
Celtic Minstrel
b789391bfb Fix crash if a Lua avoid aspect returns an invalid value 2016-03-22 07:22:22 -07:00
Celtic Minstrel
895a326a70 Fix merging of default facets with composite values
Now the last [value] tag wins.
2016-03-22 07:22:22 -07:00
Celtic Minstrel
cb0fad078a WML unit tests for simple aspects 2016-03-22 07:22:22 -07:00
Celtic Minstrel
d00cc80076 Safeguard against accidentally registering an AI component twice 2016-03-22 07:22:22 -07:00
Celtic Minstrel
e97026b407 Double-register the recruitment_instructions aspect under the name recruitment.
This is now possible because the [value] tag in recruitment_instructions has become optional.
Thus, any valid old recruitment aspect is also a valid new recruitment_instructions aspect.
2016-03-22 07:22:22 -07:00
Celtic Minstrel
cde7041b5f Make all default components always have id "default_facet".
This is mainly so that they are easily identified in the AI components overview in the gamestate inspector,
but it can also be used with [modify_ai]. (It replaces the previous use of * for this.)
2016-03-22 07:22:22 -07:00
Celtic Minstrel
ef880c80c6 Allow adding and removing recruitment jobs (and limits) with [modify_ai]
Also some minor syntax simplifications:
- If no [recruit] tag is provided, a default is added (as if with importance=0 and no other attributes)
- [pattern] and [total] tags expand to [recruit] with the attribute of the same name set to yes
2016-03-22 07:22:22 -07:00
Celtic Minstrel
aa791cec19 Fix nested calls to AI action handlers clobbering the ai table
(For example, if a Lua candidate action queries a Lua aspect.)
2016-03-22 07:22:22 -07:00
Celtic Minstrel
3939d2a4f2 Check for code= before value= in Lua aspects 2016-03-22 07:22:22 -07:00
Celtic Minstrel
5954e3f2f4 [modify_ai]action=change now automatically inserts an id= key if not present
Also when changing an aspect, name= is inserted if not present.
2016-03-22 07:22:22 -07:00