Commit graph

462 commits

Author SHA1 Message Date
Wedge009
46739fcfaa Add translation notes.
[ci skip]
2019-09-30 04:07:05 +10: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
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
Reuben Rakete
18cc72e167 Add filter box to hotkey preferences 2019-01-06 18:04:08 +00:00
jostephd
21c20b951d
Help: Document campaign 'level' and 'difficulty'. (#3781) 2018-12-29 17:11:57 +00:00
jostephd
6a96b788ac
Recruit Unit: Add search functionality (#3787) 2018-12-23 16:42:37 +00:00
Jyrki Vesterinen
bd02a4f234 Remove a stray #endif
It got in by addicent in commit d9406979.
2018-10-27 21:37:50 +03:00
Charles Dang
d940697987 Preferences: tweaked FPS limiter option display
[ci skip]
2018-10-26 19:42:33 +03:00
Jyrki Vesterinen
cca79afe4b Add an option to disable FPS limiter
Cherry-pick of commit d7921f31b0.
2018-10-22 19:34:51 +03:00
josteph
9514298858 MP Create Game: Increase slider step size
Requested on the forums https://forums.wesnoth.org/viewtopic.php?t=48680

(cherry-picked from commit 9abdc20841)
2018-10-07 03:25:21 +00:00
josteph
6cc6fe8527 WML [message]: Limit the text width for messages with portraits on both sides as already done for messages with one portrait.
(cherry-picked from commit 3809b64cf4)
2018-10-07 03:25:08 +00:00
josteph
b7964a1002 WML [message]: Add left padding when the portrait is shown on the right.
The text is now shown at exactly the same place regardless of which side
the portrait is on.

Fixes #1938.

(cherry-picked from commit fc9e5f0484)
2018-10-07 03:25:08 +00:00
jostephd
6800ccd95a Game Load: Show list of enabled modifications (#3495)
(cherry-picked from commit 6f670556a1)
2018-10-07 03:24:37 +00:00
Martin Hrubý
45c1f7a852 Fix localised Multiplayer causes preferences window use scrollbar #2855
(cherry-picked from commit be0bd05ab0)
2018-10-07 03:24:05 +00:00
gfgtdf
66c0753000 fix game crashing when showing a too large tooltip
previously the game would go into an infinite loop at
https://github.com/wesnoth/wesnoth/blob/1.14.4/src/gui/widgets/window.cpp#L1046
when a tooltip doesn't fit on screen, this could in particular happen in
the mp lobby when hovering over the 'i' of a game that uses a ridiculous
amount of modifications.

I currently don't see any case where the game is actually able to 'fix'
a bad height that was reported from reevaluate_best_size. so i just
disable reevaluate_best_size for floating tooltips.

If there exists such a case, an alternative fix could be to change the
reevaluate loop in window::layout to also stop when a new iteration
returned the same size as the previous iteration.

(cherry-picked from commit 936516c83b)
2018-10-07 03:23:56 +00:00
Łukasz Hryniuk
b401d39cfa gui2: allow renaming units in the Recall dialog
(cherry-picked from commit 349b18b216)
2018-10-07 03:23:35 +00:00