68062 Commits

Author SHA1 Message Date
Nils Kneuper
f12bf3345f add wesnoth-sota to CMake list (allow compilation + pot-update) 2017-03-23 19:30:25 +01:00
Jyrki Vesterinen
be4d1c1702 Suppress MSVC compiler warnings in md5.cpp 2017-03-23 19:36:14 +02:00
gfgtdf
cbd3c2644c add lua end_music setter/getter
this also refactors some play_controller members and moves them
to game_data

this also adds a scenario_id getter in lua.
2017-03-23 18:08:16 +01:00
gfgtdf
23f1cc1349 change game_config::default_victory_music to vector type 2017-03-23 18:08:16 +01:00
gfgtdf
d13f76fdd6 cleanup a loop by using range for 2017-03-23 18:08:15 +01:00
gfgtdf
506fe190bb some indent fix 2017-03-23 18:08:15 +01:00
gfgtdf
6d5ec1368d remove unused game_data default ctor 2017-03-23 18:08:15 +01:00
Celtic Minstrel
16df1f3c43 wesnoth.create_animator: Set standing right after animation completed rather than at finalization 2017-03-23 12:44:28 -04:00
Celtic Minstrel
c3e0ce4745 Fixup wesnoth.get_end_level_data 2017-03-23 12:43:25 -04:00
Celtic Minstrel
9749689551 Update MSVC project files 2017-03-23 12:42:17 -04:00
Charles Dang
ecffef786a GUI2/Help Browser: display raw topic text
Not sure a multi page is the best way to go here. There's a 2 - 3 second lag when opening the browser.
2017-03-23 23:36:27 +11:00
Charles Dang
3281df4e2f Base framework for GUI2 Help Browser 2017-03-23 22:58:37 +11:00
Charles Dang
c8ed96f0eb Updated changelog
[ci skip]
2017-03-23 22:14:33 +11:00
Charles Dang
b9951dd39b Attack Predictions: used a lambda comparison instead of std::greater as @jyrkvie requested 2017-03-23 22:07:34 +11:00
Charles Dang
5e07b27500 File Dialog: update selection data when updating fileview
This fixes an issue where the relevant selection wasn't updated when, say, deleting a file.
2017-03-23 22:03:26 +11:00
Charles Dang
aeaf44da03 File Dialog: set path label to left (start) ellipse mode
This ensures the important part of the file path - the end - is always visible.
2017-03-23 22:01:37 +11:00
Charles Dang
db654cc0dc Styled Widget: allowed override of ellipsize mode fallback if can_wrap is false 2017-03-23 21:57:43 +11:00
Nils Kneuper
91f50aa0bc ran a pot-update to make sure new campaign works 2017-03-23 08:16:16 +01:00
Charles Dang
c0cfd2f054 Addon Manager: fixed a case of inconsistent label side
[ci skip]
2017-03-23 13:18:58 +11:00
Charles Dang
bed2622455 Addon Manager: shorten Uploaded/Updated labels
[ci skip]
2017-03-23 11:58:05 +11:00
Charles Dang
9f77919427 Addon Manager: cleaned up unnecessary vertical_alignment keys
[ci skip]
2017-03-23 11:56:43 +11:00
Charles Dang
e93d48cc8a Addon Manager: allow Language and Dependencies labels to shrink
[ci skip]
2017-03-23 11:46:53 +11:00
Charles Dang
26dadfc2fb Addon Manager: internal layout tweaks
Why in hell did I not have the description scroll_label's column not marked as grow :|
2017-03-23 11:39:20 +11:00
Charles Dang
736c222688 Addon Manager: switch to plain labels (as opposed to scroll labels) for Language and Dependency fields
I likely had this in to work around the labels not filling all available space before mordante made me realize
horizontal_grow = true was the way to go. Either way, we don't ever want a scrollable list here.
2017-03-23 11:22:55 +11:00
Charles Dang
01b955717c Addon Manager: fixed formatting for installed dependencies list
[ci skip]
2017-03-23 11:06:44 +11:00
Charles Dang
aa57974500 Reduced size of large addon manager action buttons based on feedback
[ci skip]
2017-03-23 11:01:19 +11:00
Charles Dang
d015f47632 Addon Manager: fix Enter closing the dialog
[ci skip]
2017-03-23 10:54:39 +11:00
Charles Dang
004fa50710 Attack Predictions: consistent formatting for ability modifiers 2017-03-23 08:23:11 +11:00
ln-zookeeper
8bbe4189ed Reverted FOREACH, NEXT and REPEAT to their original forms
This is because the changes (9fb175c9d6) possibly break some existing uses for no reason.
2017-03-22 19:45:21 +02:00
Charles Dang
9a288ab78c Attack Predictions: greatly simplified WML and fixed misalignment when rows are hidden 2017-03-23 03:51:40 +11:00
gfgtdf
395a040faf clean RELEASE_NOTES 2017-03-22 14:08:07 +01:00
Charles Dang
de0f119baa Made under_leadership return an int/loc pair instead of using an int ptr argument 2017-03-22 21:37:42 +11:00
Charles Dang
ae76bb0efb Scroll Label: removed hack to try to keep width consistent on setting value
The new code introduced in e149921 seems to accomplish this much better. Plus, this code causes weird behavior
in scroll labels where any change in scrollbar dimensions wil result in the widget area getting smaller and smaller.
2017-03-22 15:47:53 +11:00
Charles Dang
8654079ba5 Attempt to satisfy travis 2017-03-22 14:28:07 +11:00
Charles Dang
80d8b99c04 Attack Predictions: fixed display of dialog for no-attacks-available combatants 2017-03-22 14:24:56 +11:00
Charles Dang
faaf311981 Removed a FIXME
[ci_skip]

Was fixed in 6520c7c
2017-03-22 14:05:25 +11:00
Charles Dang
26d4e55500 Attack Predictions: temp fix to keep data values aligned with labels
[ci_skip]

Value rows still aren't aligned in the case of one side of the data not having the specified value. Will fix later.
2017-03-22 14:04:21 +11:00
Charles Dang
6520c7c81e Attack Predictions: fixup use of default arg syntax
[ci_skip]
2017-03-22 13:55:06 +11:00
Charles Dang
1387a647c3 Attack Predictions: added rest of the modifier fields and improved data readability 2017-03-22 13:47:01 +11:00
Charles Dang
a3cd8224f6 Removed now-unused blend_rgba function
Might want to implement something like this as part of color_t.
2017-03-22 12:18:38 +11:00
Jyrki Vesterinen
01035f0adc GUI2: When a label grows, attempt to only lay out the containing grid
This greatly improves responsiveness of the add-on manager (bug #25523).
2017-03-22 10:13:35 +11:00
Charles Dang
27f2826703 Attack Predictions: interface improvements 2017-03-22 05:18:26 +11:00
Jyrki Vesterinen
ba8a1188ac Update Visual Studio project 2017-03-21 19:43:11 +02:00
Charles Dang
d542e39762 Removed as much GUI1 backend as is now possible
We're now maintaining the bare minimum to keep Help running.
2017-03-22 02:52:51 +11:00
Charles Dang
8090a2f333 Removed GUI1 Attack Predictions dialog
The GUI2 version still needs a few tweaks, but I'm working on it.
2017-03-22 02:32:32 +11:00
Charles Dang
a4647b5300 Styled Widget: renamed multi-canvas getter get_canvases()
The single-canvas getter remains, and I deployed it in a few cases where multi-canvas fetching doesn't make sense.
2017-03-22 02:13:29 +11:00
Charles Dang
f6408b0736 Attack Predictions: cleaned up graph probability fetch code
This also fixes the graph rows accidentally displaying in ascending order.
2017-03-21 22:45:51 +11:00
Charles Dang
32118d59c4 Attack Predictions: initial implementation of HP probability graphs 2017-03-21 15:18:29 +11:00
Charles Dang
55b90a128b GUI2/Drawing: allowed manipulation od widget canvas 2017-03-21 15:17:09 +11:00
Charles Dang
1de4b375f6 GUI2: allowed appending data to canvas 2017-03-21 15:16:40 +11:00