Commit graph

1813 commits

Author SHA1 Message Date
Charles Dang
5302711439 Forgot to actually remove the Core button from WML...
[ci skip]
2019-11-04 18:28:00 +11:00
Charles Dang
2f6addd4b1 Tighten up the loading screen positioning a bit
[ci skip]
2019-11-04 18:21:17 +11:00
Charles Dang
ab79fc672d Revert "Campaign filtering begone!"
This reverts commit c7f2d7a22b.
2019-11-04 18:13:51 +11:00
Charles Dang
8309e4e150 Campaign Selection: made window bigger
[ci skip]
2019-11-04 17:25:43 +11:00
Charles Dang
cfd7d0e4e5 GUI2/Text Box: UI tweaks suggested by shadowm
[ci skip]
2019-11-04 17:25:25 +11:00
Wedge009
123b332aa5 Move tool-tips to below-right
Committing on behalf of @Landiss

Resolves #3274
2019-11-04 17:11:34 +11:00
Charles Dang
903739fd0b Campaign Selection: removed "sort by" text
[ci skip]
2019-11-04 04:34:16 +11:00
Charles Dang
c7f2d7a22b Campaign filtering begone! 2019-11-04 04:28:55 +11:00
Steve Cotton
b66bdb8a16 Add other versions of Wesnoth to the Load Game dialog
If a save directory from another version is found, a drop-down list of
directories is added below the filter box in the Load Game dialog.

Refactor save_index_class to allow instances for other directories.

Design idea: all new saves go in to the main save directory. Games can be
loaded from other directories, but those directories are treated as read-only.
When building an index for other directories, the index is kept in memory and
not written to disk - this results in some noticeable lag in the UI when
opening the other versions' directories, but not the usual save dir.
2019-11-03 12:11:51 +01:00
Charles Dang
b9e9d2f5e7 Disable Font Scaling preference 2019-11-03 19:22:35 +11:00
Wedge009
46739fcfaa Add translation notes.
[ci skip]
2019-09-30 04:07:05 +10:00
Charles Dang
5aaf179728 GUI2/Unit Preview Pane: tweaked attack display spacing
[ci skip]
2019-09-28 14:40:59 +11:00
josteph
942302f6e3 fixup! unit_recall: Add tooltip 2019-09-26 16:14:45 +00:00
josteph
26a710d6fb unit_recall: Move the image path back to the cfg file 2019-09-26 16:07:44 +00:00
josteph
581899b77e unit_recall: Add tooltip 2019-09-26 16:07:44 +00:00
josteph
a7fc184ccd unit_recall: Show unrecallable units grayed out.
Part of issue #1282.
2019-09-26 16:07:44 +00:00
josteph
f874a60034 fixup! statistics_dialog: Tweak the tooltip per @nemaara 2019-09-16 21:55:31 +00:00
josteph
d3db9237ac statistics_dialog: Tweak the tooltip per @nemaara 2019-09-16 21:29:14 +00:00
josteph
36c0016494 statistics_dialog: Add information to the p-value tooltip
Add less-simplified information, keep all the existing information,
and explain the colors.

See https://github.com/wesnoth/wesnoth/issues/1378#issuecomment-531564119
2019-09-16 04:19:44 +00:00
pentarctagon
2eccbab970 Add UI button to stop a game.
This adds a button along side the kick/kickban/ban buttons to stop the game the selected user is in.

Fixes #3635
2019-09-14 11:10:05 -05:00
ville
169cff9ec7 Adds a preference item for a sound being played and desktop notifications in the lobby when a new game is created.
Remove unnecessary blank lines and debugging comments

- Adds a preferences entry in the multiplayer/alerts menu so sounds and desktop notifications can be toggled.

Reformat a few points for consistency

Have desktop notification show name and scenario of new game

Have desktop notification show name and scenario of new game

Update desktop notifications to use VGETTEXT for translations

(cherry picked from commit af71dbf1b1)
(cherry picked from commit a2d9943286)
2019-08-27 13:41:01 +10:00
Maximilian Fricke
eb5d5421ee Display settings: Adjust "Limit FPS" tooltip
Tooltip now mentions that the game must be restarted for the setting to
take effect. Also removed "to 100%" and "at high resolutions" as these
statements are not accurate.
2019-08-17 13:12:05 -05:00
josteph
bc90feedee statistics_dialog: Move a static tooltip from C++ to WML 2019-08-10 17:20:41 +00:00
josteph
14daf1c4f3 statistics_dialog: Clarify tooltip 2019-08-10 16:40:00 +00:00
josteph
6220f7106e statistics_dialog: Show the actual (empirical) CTH. 2019-07-09 16:51:05 +00:00
josteph
84c6467c56 statistics_dialog: Rename column id and struct member after last commit 2019-07-09 16:45:13 +00:00
josteph
a3efd28010 statistics_dialog: Change the hits table format to "+2% (1703.2 + 42) | 93.6"
This is a mix of "Option B" and "Option C" from
https://forums.wesnoth.org/viewtopic.php?f=12&t=49785&p=643513#p643495
2019-07-09 16:42:05 +00:00
josteph
7b78a8c019 statistics_dialog: Change the hits table format to "1703.2 + 42 | 93.6"
This is "Option B" from
https://forums.wesnoth.org/viewtopic.php?f=12&t=49785&p=643513#p643495
2019-07-09 16:33:48 +00:00
josteph
9e0000a021 statistics_dialog: Show a single value for the quantile. 2019-06-14 13:23:48 +00:00
josteph
a4da90f921 statistics_dialog: Hide the "This Turn" header when no data is shown in that column 2019-06-13 10:54:52 +00:00
josteph
68f8e5fb16 fixup! statistics_dialog: Attempt to fix missing left padding before the first column
Fixes validation errors: "Invalid value '-5' in key 'border_size=' in tag [column]"
2019-06-11 08:36:15 +00:00
josteph
111cb0f188 statistics_dialog: Use uppercase for macro arguments.
https://github.com/wesnoth/wesnoth/pull/4070#discussion_r290086918
2019-06-05 10:31:10 +00:00
josteph
e64c7ed591 statistics_dialog: Attempt to fix missing left padding before the first column
Currently warns: "error validation: Invalid value '-5' in key 'border_size=' in tag [column]"

... but it looks correct.
2019-06-05 10:31:10 +00:00
josteph
e2638c9d84 statistics_dialog: Don't show probability of the actual result
To simplify the stats dialog, show two percentages, instead of three
percentages that add up to 100%.

https://github.com/wesnoth/wesnoth/pull/4070#discussion_r285874571
2019-06-05 10:31:10 +00:00
josteph
a932ebee58 statistics_dialog: Change the percentages in the "Hits" table
Make the contents of the table cell the same regardless of whether
actual<expected or actual>expected.  For example, 2 hits out of
4 strikes at 70% now shows "8.4%, 26.5%, 65.1%", which are the
probabilities of hitting less than twice, exactly twice, and more than
twice, respectively.

Color has been temporarily removed, will be restored in the next commit.
2019-06-05 10:31:09 +00:00
josteph
d451238b25 statistics_dialog: Fix wrong uses of linked_group
Remove extraneous columns, add grids in the bottom two tables where it's
needed for two columns to match the width of one column of the first
table.
2019-06-05 10:31:09 +00:00
josteph
ff5df5141e statistics: Coding style changes suggested by @jyrkive. 2019-06-05 10:31:09 +00:00
josteph
0e3877e3b1 Stats dialog: Add tooltips to the damage and hits tables. 2019-06-05 10:31:09 +00:00
josteph
f5d68f9d41 Stats dialog: Split the "1/2 3%" column into two separate columns, one for "1/2" and one for "3%".
The percentages align vertically now, but the intercolumn spacing is
still somewhat hacky.
2019-06-05 10:31:09 +00:00
josteph
d5874ea81c Hit stats: Show the probability of being at least this far from the mean. 2019-06-05 10:31:09 +00:00
josteph
ed22925dd1 Hit stats: Show number of hits/misses inflicted overall in statistics dialog. 2019-06-05 10:31:08 +00:00
josteph
b9b61409d2 mp_staging: Fix terminology in tooltip
Fixes #2842
2019-05-07 16:38:30 +00:00
josteph
2fc9804df0 unit_preview_pane: Move the icons to before the damage and strikes, as in the sidebar. 2019-03-08 17:19:00 +00:00
josteph
c720e6686e unit_preview_pane: Add attack icons 2019-03-08 17:12:04 +00:00
Andrius Štikonas
6152883645 Fix some spelling issues
Fix a typo in micro_ai simple_attack demo: you -> your.
Fix inconsistent spaces
Fix misspelled wesnoth in systemd unit file
2019-03-06 11:42:17 -05:00
Charles Dang
503230db20 Campaign Dialog: make filter box fill available horizontal space
[ci skip]
2019-01-27 23:44:24 +11:00
Vlad Drozdov
397b8e1f3b Campaign selection: Add search functionality 2019-01-27 23:44:19 +11:00
Charles Dang
05ab79fae3 GUI2: fixed typo in macro name (pointed out in #3847)
[ci skip]
2019-01-18 10:56:04 +11:00
Reuben Rakete
05db975788 Change hotkey filter to use multi word search 2019-01-06 18:04:08 +00:00
Reuben Rakete
af4701c3e4 Update hotkey filter to work with multi menu toggles 2019-01-06 18:04:08 +00:00