Commit graph

66063 commits

Author SHA1 Message Date
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
90b0d66433 Merge branch 'master' of https://github.com/wesnoth/wesnoth 2016-08-30 18:56:28 +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
ce2f274f04 Yet another attempt to satisfy travis 2016-08-31 02:38:36 +11:00
Charles Dang
40d9f73306 Attempt to satisfy travis 2016-08-30 21:47:54 +11: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
3df4539d58 Player Info: cleaned up some unused arguments 2016-08-30 19:14:43 +11:00
Charles Dang
ae6b8f97f2 Temporary fix for broken Objective dialog formatting (f866039e81) 2016-08-30 18:55:17 +11:00
Charles Dang
307192c147 MP Lobby: ensure the num games shown label is always updated when applying a filter 2016-08-30 17:54:35 +11:00
Charles Dang
95a2fb3a46 MP Lobby: refactored games filtering 2016-08-30 13:04:41 +11:00
Charles Dang
9b782931bb Removed cases of inheritance from the deprecated std::unary_function 2016-08-30 11:47:31 +11:00
Charles Dang
7baf9587ad MP Lobby: implement all replay view options 2016-08-30 11:11:39 +11:00
Charles Dang
a92f1751d4 MP Lobby: removed a unnecessary invalidate_layout call 2016-08-30 08:22:23 +11:00
Celtic Minstrel
85734a3068 Fixup hotkey category functionality 2016-08-29 16:47:17 -04:00
Celtic Minstrel
f866039e81 Add support for gettext plurals to Lua API 2016-08-29 16:47:17 -04:00
Celtic Minstrel
116ff67c6e Improvements to the config interfaces, mainly iterators
- config::attribute_count() now excludes blank (ie, unset) attributes
  Blank attributes in the map are generally a result of the mutating
  behaviour of operator[], so they're not "logically" existing attributes.
- Non-const versions of attribute iterator and all-children iterator
- Attribute iterators are now bi-directional
- vconfig all-children iterator is now a bi-directional Boost iterator range
- vconfig now has a bidirectional attribute iterator
2016-08-29 16:47:17 -04:00
Charles Dang
e5354766ce MP Lobby: enable self indicator in user list 2016-08-30 07:32:30 +11:00
Charles Dang
e5cbc0cb7b Player Info: removed an invalidate_layout call 2016-08-30 07:28:18 +11:00
Charles Dang
c4a7ca291b Player Info: fixed crash when using Kick/Bad admin controls 2016-08-30 07:22:43 +11:00
Charles Dang
5c2792556d Player Info: reworked layout 2016-08-30 06:45:13 +11:00
Charles Dang
c4a4751453 Attempt to appease travis on signed-ness 2016-08-30 05:18:52 +11:00
Charles Dang
3b739b73e9 MP Lobby: disable ESC closure 2016-08-30 03:43:37 +11:00
Charles Dang
af30309687 FLG Manager: sort leader list alphabetically, with Random first 2016-08-30 03:43:22 +11:00
Charles Dang
404f698a55 Preferences: cleaned up unused argument from initialize_tabs (fixup 0bbe26ec5e) 2016-08-30 03:20:51 +11:00
Charles Dang
792e38b30f MP Lobby: some chat-related fixes
* Fixed a tab not properly closing if it's not the right-most one
* Fixed whisper headers spuriously complaining of invalid markup
* Fixed formatting for whisper area text
2016-08-30 01:52:35 +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
Wedge009
6ae79eaed6 Updating VC project files. 2016-08-29 17:20:00 +10:00
Charles Dang
7be3e45472 Preferences: fixed a crash in new hotkey categories 2016-08-29 17:45:44 +11:00
Celtic Minstrel
7bf1e33e50 Unit test for faction select dialog 2016-08-29 01:05:02 -04:00
Celtic Minstrel
24111e7a73 Update XCode projet 2016-08-29 01:05:02 -04: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
Celtic Minstrel
c355d52778 Don't assert when encountering an unknown linked group 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 d2191297c5) 2016-08-29 07:26:12 +11:00
Charles Dang
1a82a37ea1 tgroup: made group_operator private and did some formatting cleanup 2016-08-29 07:02:50 +11:00
Charles Dang
185724fc94 tgroup: added a function to set the callback for all members 2016-08-29 06:58:44 +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
4180a36d33 Fix issue in cfed64dd4f pointed out by @jyrkive
Apparently, my new method would cause the underlying iterator to be invalidated.
2016-08-28 22:43:18 +11:00
Charles Dang
b09bd5bbb5 Attempt to fix multiple leaders appearing in save_index 2016-08-28 21:58:19 +11:00
Charles Dang
eb2cff007b Attempt to appease travis 2016-08-28 21:46:14 +11:00