Commit graph

22719 commits

Author SHA1 Message Date
Gregory A Lundberg
be440df638 TSG S01 Fix bug: Remove target before talking
When Deoran moves to the camp, the EASY hints about recruitment should clean up the target before talking. It just looks better.
2016-09-02 11:56:46 -05:00
Gregory A Lundberg
439ec667e7 TSG S01 Fix bug: Only Deoran can recruit
The EASY hints on recruiting should only appear once Deoran moves to the camp; not when any unit does.
2016-09-02 11:56:46 -05:00
Gregory A Lundberg
a9041151dc TSG S01 Fix bug: Show target first
Scroll to the camp and show the target before referring to it.
2016-09-02 11:56:46 -05:00
Gregory A Lundberg
c1f77f34d7 TSG S01 Fix bug: Anyone to fort
Any unit can move to the River Fort and trigger the apperance of Sir Gerrick. Change Moreth's comment to indicate this.
2016-09-02 11:56:46 -05:00
Gregory A Lundberg
84e462e1ef TSG Remove variable artifacts 2016-09-02 11:56:46 -05:00
Gregory A Lundberg
a0af7e035e TSG [then] cannot be empty
Cute attempt to get around [if] must have [then]
2016-09-02 11:56:46 -05:00
Gregory A Lundberg
691de88d0c TSG [else][if] should be [elseif] 2016-09-02 11:56:46 -05:00
Gregory A Lundberg
efe1812a73 TSG Remove macro artifacts 2016-09-02 11:56:46 -05:00
Celtic Minstrel
3ca997db1b Merge pull request #763 from GregoryLundberg/GL_role_missing_role
[role] always error on missing role=
2016-09-01 22:26:35 -04:00
Charles Dang
601f217ca2 SP Configure Options: increase max height 2016-09-02 13:17:29 +11:00
Gregory A Lundberg
65134d6f0f [role] always error on missing role= 2016-09-01 20:14:15 -05:00
Charles Dang
fd53599f77 Moved custom_options_tree.cfg to a better location
Also fixed its linked_groups not being included in sp_options_configure.cfg
2016-09-02 10:18:38 +11:00
Charles Dang
faed98a651 Added standalone options configuration dialog for GUI2 2016-09-02 09:28:30 +11:00
mattsc
f7d9d747c0 New Micro AI: Assassin Squad AI 2016-09-01 14:41:17 -07:00
Charles Dang
b1e97e68e2 Game Stats: use list_data for tab bar 2016-09-02 00:14:48 +11:00
Charles Dang
75d60ca184 Game Load: ensure game list toggle panel grows to fill space horizontally
This matches the behavior of all other toggle_panel-based listbox usecases.
2016-09-01 22:46:12 +11:00
Charles Dang
db2381806d MP Lobby: enable game list horizontal scrollbar for now
Until we figure out what to do about the list of mods possibly being too long,
this prevents window scrollbars.
2016-09-01 15:16:49 +11:00
Charles Dang
f3e63ebc96 MP Lobby: added Replay Options combobox to small resolution layout 2016-09-01 13:12:16 +11:00
Celtic Minstrel
742b4b0be3 Fix an issue with translatable strings that included a possible plural 2016-08-31 21:01:17 -04:00
Celtic Minstrel
3f7db7f878 Give error on missing role= in [role] without [auto_recall] 2016-08-31 20:59:58 -04:00
Celtic Minstrel
3ff03cc66b Fix matrix placement policy (mostly) 2016-08-31 20:59:57 -04:00
Celtic Minstrel
8b839e88ad Fix MP Create on smaller resolutions 2016-08-31 20:59:57 -04:00
Celtic Minstrel
3ddb497b13 Fix typo 2016-08-31 20:59:56 -04:00
ln-zookeeper
991e72aaef Lowered the volume of the night and morning sounds 2016-09-01 02:21:53 +03:00
Charles Dang
4308baac80 MP Create: hide Mods header if none are available 2016-09-01 07:11:28 +11:00
Charles Dang
8c68d2a253 MP Lobby: few subtle layout improvements 2016-09-01 05:38:24 +11:00
Charles Dang
d64842930e Changed Color Cursors default to Yes, to match the program behavior 2016-09-01 05:38:23 +11:00
Charles Dang
a7bb98a4c8 Merge pull request #761 from GregoryLundberg/GL_role_missing_role
Fix bug [role] missing role=
2016-09-01 05:23:05 +11:00
Gregory A Lundberg
fcbb72d8d0 Fix bug [role] missing role=
Missing role for [role] caused runtime errors. Do NOT report an error on this; using an empty string is intentional. It allows type-prioritized recalls!

"I want to recall the two highest-level bowmen and, if needed, will recruit them. They don't have a role, and won't need one later."

        [repeat]
            times=2
            [do]
                [role]
                    search_recall_list=only
                    type=Master Bowman,Longbowman,Bowman
                    [auto_recall][/auto_recall]
                    [else]
                        [unit]
                            placement=leader
                            side=1
                            type=Bowman
                        [/unit]
                    [/else]
                [/role]
            [/do]
        [/repeat]
2016-08-31 12:51:00 -05:00
Charles Dang
b726e9fe1d MP Lobby: improved game row layout
This includes adding a section for active Modifications as the GUI1 lobby does
2016-09-01 00:41:31 +11:00
Celtic Minstrel
b24fdbcbe1 Merge pull request #759 from GregoryLundberg/GL_modify_unit_mode
Add mode=replace to [modify_unit]
2016-08-30 12:31:23 -04:00
Lari Nieminen
8121eef2a0 Merge pull request #755 from GregoryLundberg/GL_AToTB_S02_improve_ai
AToTB S02 Improve AI
2016-08-30 19:27:31 +03:00
ln-zookeeper
c0c696a8d0 New Tentacle of the Deep sprite with animated ripples, by Blarumyrran
Old animation frames left in for compatibility.
2016-08-30 18:55:44 +03:00
Charles Dang
14c44d0ea9 Load Game: fixed game list being empty with long filenames on small resolutions
For some reason, without horizontal_scrollbar_mode = "never", the game didn't utilize the
window scrollbar and instead simply failed to place the listbox content grid. This resolves that,
as well as reducing the the filename truncate size so names fit fine on 800x600 without said
window scrollbar. Also, it ensures a horizontal scrollbar won't appear in the leaders list.
2016-08-30 21:43:35 +11:00
Charles Dang
9608e92209 Removed unnecessary empty era 2016-08-30 19:44:59 +11:00
Charles Dang
3cb8878b9a Fix duplicate loading of eras in mp
This fixes warnings about the era macros being redefined without being #undef-ed when
loading MP.
2016-08-30 19:39:00 +11:00
Charles Dang
ae6b8f97f2 Temporary fix for broken Objective dialog formatting (f866039e81) 2016-08-30 18:55:17 +11:00
Charles Dang
7baf9587ad MP Lobby: implement all replay view options 2016-08-30 11:11:39 +11:00
Celtic Minstrel
f866039e81 Add support for gettext plurals to Lua API 2016-08-29 16:47:17 -04:00
Charles Dang
e5cbc0cb7b Player Info: removed an invalidate_layout call 2016-08-30 07:28:18 +11:00
Charles Dang
5c2792556d Player Info: reworked layout 2016-08-30 06:45:13 +11:00
Charles Dang
0bbe26ec5e Made use of [list_data] for static lists in various dialogs 2016-08-29 19:10:04 +11:00
Charles Dang
0bc5e2ba4a Removed listbox toggle button definitions
A toggle_panel should be used instead
2016-08-29 18:41:05 +11:00
Charles Dang
6da41bffbe MP Method Selection: use a proper toggle panel for list 2016-08-29 18:32:18 +11:00
Celtic Minstrel
61aa9df286 Add hotkey categories filter to preferences
This allows the user to filter out certain types of hotkeys,
making it easier to locate a specific hotkey.
2016-08-29 01:05:02 -04:00
Celtic Minstrel
d99bea9651 Allow [list_data] to be used for listbox toggle-panels 2016-08-29 01:05:02 -04:00
Celtic Minstrel
82153b1da8 Implement new grid_listbox widget 2016-08-29 01:05:02 -04:00
Celtic Minstrel
943c1bdd57 Support has_minimum/has_maximum in horizontal listboxes 2016-08-29 01:05:02 -04:00
Charles Dang
507d00d9d9 Refactored out wmi_pager
This is no longer needed after switching right-click menus to GUI2, since they have built-in
scrolling capability. This also removes the max_wml_menu_items preference.
2016-08-29 15:38:52 +11:00
Charles Dang
f338c48863 Depcheck Dialog: use a toggle panel for the listbox 2016-08-29 12:55:19 +11:00