Commit graph

70547 commits

Author SHA1 Message Date
Charles Dang
5c7f58c9a6 Remove Unit Box and Widescreen themes
[ci skip]

These were half-baked and mostly badly-designed. The Unit Box theme was never finished, is completely broken,
and if we were to do a major theme refresh we'd probably go in another direction. The Widescreen theme was a
legacy experiment that was never adopted and as of now is basically alsp completely broken.
2017-10-23 17:32:27 +11:00
Jyrki Vesterinen
86163094ee Merge branch 'profile-build'
Manual merge of pull request #2096.

Closes #2096.
2017-10-21 20:14:05 +03:00
Nils Kneuper
7813636e6b updated Chinese (Simplified) translation 2017-10-21 11:01:42 +02:00
Charles Dang
fcaa4efc46 Editor/Action Village: cleaned up some messy code @GregoryLundberg pointed out
Also fixes the issue brought up in #2111.
2017-10-21 17:09:50 +11:00
Jyrki Vesterinen
d480df850a Fix build with -Og -Werror=maybe-uninitialized on GCC 7.2.0
It's getting tempting to just suppress -Wmaybe-uninitialized globally...
2017-10-20 20:58:30 +03:00
Alexander van Gessel
d063aa077a Don't use invalid music indices. Fixes #1861 2017-10-20 17:31:09 +02:00
Charles Dang
dccd73d11f Fixup f2593034a8 (output dir not set)
[ci skip]
2017-10-20 16:52:49 +11:00
Charles Dang
f2593034a8 GUI2: moved MP Lobby and Player Info files into the multiplayer dialog subdir 2017-10-20 16:36:18 +11:00
Charles Dang
5d2598812d MP Lobby: minor cleanup
* Removed some dead code.
* Removed some unnecessary bound window references.
* Removed some unnecessary code duplication.
2017-10-20 16:27:39 +11:00
Charles Dang
29e7e574fc Lobby Info: simplified player list sorting code by @Ja-MiT 2017-10-20 16:08:46 +11:00
Charles Dang
c6d4dff739 Renamed a bunch of wesnothd dialog members for clarity 2017-10-20 09:38:23 +11:00
Charles Dang
f3ea0d7cc1 MP Lobby: fixed certain non-existent games flashing in the game list briefly
This can usually happen after a host quits a game and returns to lobby. The just-left
game can briefly appear.
2017-10-20 08:05:45 +11:00
Charles Dang
9443fcdd5c tstring: formatting cleanup 2017-10-20 08:05:45 +11:00
Jyrki Vesterinen
f6c4f3d214 New method to calculate chance to stay unscathed
@mattsc spotted that attack prediction sometimes gives incorrect results
for chance to stay unscathed when the other unit can die during the battle.

The old calculation algorithm worked by determining the chance that the
unit survives each unit unscathed, and multiplying the probabilities
together.

However, that method of probability calculations works only if the
attacks are independent, i.e. the probability of surviving *this* attack
unscathed doesn't depend on the chance of being already unscathed. And
that's not the case if either combatant can kill the other one.

If combatant A has killed combatant B, combatant B can't strike it any more
and therefore combatant A is more likely to *be* unscathed. Inversely, if A
is unscathed, it's more likely that B is dead. As a result, if A is
unscathed, A is also more likely to *stay* unscathed. The old method
couldn't take that into account and therefore produced incorrect results.

In my local tests, this new algorithm appears to produce correct results.
Only rounding errors (and drain ability) separate it from the HP
distribution tables.
2017-10-19 18:24:28 +03:00
Alexander van Gessel
5dc1485b84 Pango-escape case-conflicted filenames 2017-10-19 15:45:32 +02:00
Alexander van Gessel
3032c844e1 Merge pull request #2106 from AI0867/case-conflict-filenames
Case conflict filenames
2017-10-19 15:43:31 +02:00
Alexander van Gessel
9e58caa5ff Further explain the filename character blacklist 2017-10-18 15:22:26 +02:00
Alexander van Gessel
ead3d5fbfe Pango-escape addon IDs and names, as well as server responses before passing them on to the GUI 2017-10-18 15:21:43 +02:00
Alexander van Gessel
338c649e79 Merge branch 'blacklist-filename-chars' (PR #2077) 2017-10-18 14:46:16 +02:00
Alexander van Gessel
4bde2d8b65 List all filenames that contribute to the case conflicts 2017-10-17 18:24:19 +02:00
Alexander van Gessel
927fcb2084 Add pre-upload check for case conflicts 2017-10-17 18:23:54 +02:00
Alexander van Gessel
619ada437a Add filename listing for case conflicts 2017-10-17 17:39:34 +02:00
Alexander van Gessel
27b08edae6 Merge pull request #2071 from AI0867/case-insensitive-duplicates
Add case conflict check
2017-10-17 16:50:47 +02:00
Ignacio R. Morelle
394b16697f s/Translations/Translators/ seems more appropriate
[ci skip]
2017-10-16 19:54:42 -03:00
Ignacio R. Morelle
9e9f341dcd Move i18n managers list below release managers
Otherwise it looks silly trailing below Bots right before the
Translations section on the wiki thanks to the credits split.

[ci skip]
2017-10-16 19:51:59 -03:00
Ignacio R. Morelle
ec49b83bf9 Minor stylistic changes to credit entries
* Overrule any CSS clear properties set by the stylesheet since they do
   not play well with the page's use of a floated TOC.

 * Use em dashes instead of hyphens for entry comments.

 * Refer to the main contributors as Core Contributors instead of simply
   Contributors, and add a custom heading for localization entries so it
   doesn't become just "Core" after the folder name.

 * Additional styling on file paths.

[ci skip]
2017-10-16 19:38:39 -03:00
Ignacio R. Morelle
4e6cdc60c9 Add localization credits to wiki extraction tool
[ci skip]
2017-10-16 19:22:58 -03:00
Ignacio R. Morelle
a3f3bd934c Update admin section of the credits
[ci skip]
2017-10-16 19:18:39 -03:00
sigurdfdragon
349459a5f3 AOI S05: Fix facing 2017-10-16 18:07:36 -04:00
Charles Dang
64493b256f Hide Lit Stone Walls terrain
[ci skip]

People should use the Sconce embellishment overlay now.
2017-10-17 03:23:04 +11:00
gfgtdf
f5911b653a fix filters using this_unit in [hides]
args.loc is the location we use for 'filter as if the unit woudl be there', still the unit is curently at args.u.get_location() so to make scoped_xy_unit  find the unit we have to give args.u.get_location()
2017-10-17 02:56:10 +11:00
doofus-01
2a79475448 New Sconce/Torches overlay terrain by doofus-01 2017-10-17 02:45:54 +11:00
Charles Dang
32dcbd62a5 Hotkey Command: formatting cleanup 2017-10-17 02:33:39 +11:00
Alexander van Gessel
ff3855a410 Eat an invalid_utf8_exception 2017-10-15 23:47:09 +02:00
Alexander van Gessel
cd4e2554cd Merge pull request #2053 from AI0867/wmlscope-durations
Teach wmlscope to ignore frame durations. Fixes #2045
2017-10-15 20:40:11 +02:00
Jyrki Vesterinen
1b9c07eb40 Disallow specifying file paths with backslashes
Backslashes only work on Windows. A UMC author may accidentally use them in
their add-on that won't then work properly on GNU/Linux and macOS.
Just disallow them on all platforms to avoid problems.
2017-10-15 10:40:59 +03:00
doofus-01
3bde218c78 Fixing chasm bug introduced in PR #2084
commit 0cce7c8106
2017-10-14 18:30:57 -07:00
Alexander van Gessel
c5b19ed66d Make 'bailout' a valid Python3 exception 2017-10-14 23:19:51 +02:00
Alexander van Gessel
e307b17a3b Case convert in 'C' locale 2017-10-14 21:51:29 +02:00
jostephd
b83a3b3d1d terrain.cfg: Fix grammar in Rockbound Cave (#2082) 2017-10-14 12:06:02 -04:00
Gregory A Lundberg
c3ecd1ca5f Fix error: suggest braces around initialization of subobject 2017-10-14 15:23:56 +11:00
Gregory A Lundberg
1051cef5c2 Fix error: control may reach end of non-void lambda
If by_name and by_relation are both omitted, behave as if both were given: sort first by relation then by name.
2017-10-14 15:23:56 +11:00
Charles Dang
4c9eab71d4 Use case-insensitive sorting for MP Lobby player lists 2017-10-14 11:52:03 +11:00
Charles Dang
c63b1a2f2a Game Stats: tweaked controller text display 2017-10-13 22:08:45 +11:00
Charles Dang
c2393a55bd Game Stats: made image columns share width
[ci skip]

This fixes (among other things) misaligned team name labels if a leader has died.
2017-10-13 19:47:15 +11:00
pentarctagon
e43ccc670f Add Profile build to cmake to match scons. 2017-10-12 23:35:36 -05:00
Charles Dang
5e7ca34f1e Fixup 37225d2 (unused parameter when not building on Windows) 2017-10-13 12:34:44 +11:00
Charles Dang
41a3bf97f9 Addon/Info: removed now-unnecessary icon fallbacks
GUI2 no longer needs this. An empty icon is simply not drawn, and the addon list widget forces
72x72 size for all icons so it's not even needed to size the image column. The image-not-found
image is also handled elsewhere (the general image loading code) and isn't needed here.
2017-10-13 12:28:43 +11:00
sigurdfdragon
d024900cd0 AToTB S02: Keep unit alive to fit dialog and prevent scream at scene end 2017-10-12 21:03:40 -04:00
sigurdfdragon
ab66b85120 SotA: Use Cutscene_Minimal theme for dialog only scenarios 2017-10-12 20:27:13 -04:00