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 (f866039e813b539)
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
Charles Dang
898d98ab8d
Split image widget into two definitions, default and centered (redo of d2191297c58f)
2016-08-29 07:26:12 +11:00
Charles Dang
d2191297c5
Image: center drawn image on available space
2016-08-29 05:38:01 +11:00
Charles Dang
3d59b753c9
Drop Down List: provided a reasonable max height
2016-08-29 05:35:38 +11:00
Charles Dang
2bffd4af56
Convert Select Faction (FLG) dialog to GUI2
2016-08-29 05:33:15 +11:00
Charles Dang
ca8c944f52
Further Battle Princess animations by doofus-01
...
https://forums.wesnoth.org/viewtopic.php?p=601389#p601389
2016-08-28 19:58:09 +11:00
Charles Dang
d6cff9b089
MP Create: display game title in details area
2016-08-28 03:41:17 +11:00
Charles Dang
d27ff57682
New baseframes and animations for the Heavy Infantryman line
...
Baseframes by Sleepwalker
https://forums.wesnoth.org/viewtopic.php?p=508533#p508533 (I believe)
Animations by Vyncyn
https://forums.wesnoth.org/viewtopic.php?p=601163#p601163
2016-08-27 02:41:03 +11:00
Celtic Minstrel
201abc9d7e
Make title screen rebuild its layout when the window is resized
...
This also restores one of the two reverted title screen tweaks.
2016-08-25 15:58:17 -04:00
Celtic Minstrel
b1141fe457
Allow the WML message dialog to show a portrait on both sides
2016-08-25 15:57:45 -04:00
Charles Dang
ca58a6b7c3
Load Game: display all human-controlled leaders
...
This also includes a fix for leader images sometimes not being shown in the dialog.
If the save_index was deleted or altered at a time other than when creating a save,
the image path would be empty in the game load dialog. This ensures the image path
is only saved in binary-path independent form if the path isn't empty. In that case,
the plain image path from the savefile is saved. Either way, the image path is checked
in-dialog, first plain, then as binary-path independent. If both fail, a fallback image
is shown.
2016-08-25 22:33:33 +11:00
Charles Dang
1701031e1b
Partially revert "Tweaks to the title screen, mainly for 800x600"
...
This reverts commit 2cde73888c91e599dcebaacdff1fc24ef701ed4d.
2016-08-25 21:05:11 +11:00
Celtic Minstrel
2cde73888c
Tweaks to the title screen, mainly for 800x600
...
Also:
- Hide cores button if there are no addon cores installed
- Remove "failsafe" core since it didn't work as advertised
2016-08-25 04:36:50 -04:00
Celtic Minstrel
136f5a864f
Minor title screen cleanup
2016-08-25 04:36:50 -04:00
Charles Dang
27f8bbebb7
MP Create: add tooltip to Password field
2016-08-25 15:59:28 +11:00
Celtic Minstrel
824655c67f
Fix first menuitem being outlined in all menus
2016-08-24 14:54:53 -04:00
Celtic Minstrel
2cad49162d
MP Create: Fix a few issues on 800x600 layout
2016-08-24 14:54:53 -04:00
Charles Dang
379d4ea17b
Cleaned up remaining file for removed dialog
...
Dialog was removed in 871aadca1ade6e6435e934f4908b7442c6f79051
2016-08-25 03:22:29 +11:00
Charles Dang
9579b89522
Dropdown List: renamed label_right to details and made it align left
2016-08-25 00:44:03 +11:00
Charles Dang
6d39cffe14
Menu Button: increase min width
...
This serves the immediate purpose of making the Resolutions Menu Button in Prefs equal the size of
its dropdown, but it also ensures there's more space for lists with small initial entries but longer
choices. Obviously, horizontal_grow = true could be used in any dialogs where this is a case, but this
provides a safer minimum should that not be desired.
2016-08-25 00:12:05 +11:00
Charles Dang
7d76d48628
Dropdown List: further layout improvements
2016-08-25 00:05:27 +11:00
Charles Dang
30fe0cecd8
Fixed bug in [unstore_unit] when unstoring from variable
2016-08-24 23:42:02 +11:00
Charles Dang
7d7d3f9508
Dropdown List: Few layout tweaks
2016-08-24 20:00:10 +11:00
Charles Dang
deaae3f382
MP Create: layout improvements for tiny version
2016-08-24 18:53:46 +11:00
Celtic Minstrel
8699ad0a05
Use GUI2 for game menus
...
There are still a few minor glitches with the implementation:
- The first menu-item is always outlined, as if selected
- Submenus appear at the mouse click location instead of anchored to their item
- The editor groups menu may cover up its button, due to the menu not knowing the size of the button
2016-08-24 02:26:21 -04:00
Celtic Minstrel
44219de141
MP Create: Layout for tiny resolutions (eg 800x600)
2016-08-23 19:27:27 -04:00
Celtic Minstrel
aefe945218
GUI2 dialogs: Fix missing textdomains
2016-08-23 18:51:27 -04:00
Celtic Minstrel
4e6787639a
GUI2 schema: fixup indentation
2016-08-23 18:50:55 -04:00
Charles Dang
711dbdbc48
Load Game: reorganized details panel
2016-08-23 14:07:19 +11:00
Charles Dang
ff06bf8eb7
MP Create: few small fixes to mid-res layout
2016-08-23 13:40:23 +11:00
Celtic Minstrel
617a12f3e6
MP Create: Low-res fixup
2016-08-22 22:00:24 -04:00
Celtic Minstrel
f396249800
MP Create: New layout for lower resolutions
2016-08-22 21:55:28 -04:00
Celtic Minstrel
2c04ee6da6
MP Create: Another batch of WML shifting to ease implementation of low-res layout
2016-08-22 21:38:02 -04:00
Celtic Minstrel
23017d2f72
MP Create: More WML shifting to ease impementation of low-res layout
2016-08-22 21:12:52 -04:00
Celtic Minstrel
d604246a1a
MP Create: Add spacer line above tabbed section
2016-08-22 20:19:53 -04:00
Celtic Minstrel
b79a237f35
MP Create: Move WML around for easier definition of low-res versions
2016-08-22 20:15:54 -04:00