Charles Dang
55e295a801
Updated source listings for 1793133
2017-04-16 17:08:51 +11:00
Charles Dang
82f0c0e291
Multimenu Button: update label when toggle states are reset
2017-04-16 17:07:10 +11:00
Charles Dang
70e607d04a
Preferences Dialog: make hotkey category multimenu fill all available space as requested
2017-04-16 17:05:09 +11:00
Celtic Minstrel
b0039be726
Fix VGETTEXT not stripping hint^ prefixes
2017-04-16 00:09:06 -04:00
Celtic Minstrel
1793133a59
Fix menu_button widget trying to be two things at the same time.
...
The menu_button is now only a drop-down menu that supports a single selection.
A new multimenu_button widget supports a drop-down menu with multiple selections.
The new multimenu_button widget displays its current selection while not open.
2017-04-16 00:08:50 -04:00
Celtic Minstrel
b7aea011f9
Add VNGETTEXT macro to complement the VGETTEXT macro
2017-04-15 23:36:57 -04:00
Celtic Minstrel
cb333dbfdf
Addons List: Hide some columns on lower resolutions
2017-04-15 21:34:37 -04:00
Ignacio R. Morelle
9ba02c0900
pofix: Add download path string fixes for the 1.12.6 release
2017-04-15 19:35:21 -03:00
Celtic Minstrel
4fbc943612
Addons Manager: New layout for resolutions < ~1280x800
2017-04-15 18:24:25 -04:00
Charles Dang
88430d3b88
Preferences Dialog: removed an invalidate_layout call
...
Doesn't appear to be needed anymore. Possibly existed when the hotkey filter used the grid listbox, but
said filter uses a dropdown now.
2017-04-16 07:50:34 +11:00
Charles Dang
13d2f010e9
Preferences Dialog: reset hotkey filter toggle states when resetting to default (bug #25620 )
2017-04-16 07:49:11 +11:00
Charles Dang
fb0f2eef10
Menu Button: add ability to reset stored toggle states
...
Since the drop down menu sets its states from the values in the value config it's passed, this resets
any prior toggle selections in the menu.
2017-04-16 07:48:27 +11:00
Charles Dang
3efcc2a31d
Fixed statistics being reset on reloading an MP game (bug #24383 )
...
This fix was originally pointed out by @qmo2015
2017-04-16 07:23:20 +11:00
Charles Dang
1ea440fed3
Menu Button: fix overlap of long text and down arrow (bug #25320 )
2017-04-16 07:09:02 +11:00
Charles Dang
96ef6b1f5a
MP Create Game: ensure campaign icons always line up (bug #22956 )
2017-04-16 06:35:25 +11:00
ln-zookeeper
478c75bdb5
Fixed [item]s not receiving ToD lighting
2017-04-15 21:13:46 +03:00
Charles Dang
1ff3f7e251
Story Viewer: allow returning to the previous part during text fade-in
2017-04-16 00:39:11 +11:00
Charles Dang
120aa0e6ca
Story Viewer Label: ensure sufficient top padding for text
...
[ci skip]
2017-04-16 00:31:32 +11:00
Charles Dang
e3e0320ff0
Story Viewer: use consistent variables for scaling calculations (fixup e150c7c)
2017-04-16 00:14:58 +11:00
Charles Dang
5b08c1f37b
Story Viewer: fix background images with no scaling specified being scaled
2017-04-16 00:13:23 +11:00
Charles Dang
e150c7c070
Story Viewer: fix situational incorrect scaling of background images
2017-04-15 23:36:16 +11:00
Charles Dang
63403c90a5
Story Viewer: made text fade smoother
2017-04-15 22:32:53 +11:00
Charles Dang
61992429d0
Avoid copy initialization of colors when possible
2017-04-15 21:10:42 +11:00
Charles Dang
3c4e6f0f71
Unit: code cleanup
2017-04-15 20:56:02 +11:00
Jyrki Vesterinen
d1df341371
Fix: with --new-widgets advanced preferences may not shrink on deselect
...
Partial relayout does not make a grid yield more space to its parent grid.
Thus, only firing partial relayout as a result of hiding a widget is *not*
safe.
Fixed by triggering full relayout instead, like the code already does
without --new-widgets.
2017-04-15 12:19:31 +03:00
Jyrki Vesterinen
efb857a319
Fix build with Visual Studio 2013
2017-04-15 10:40:01 +03:00
Charles Dang
41e0e21d5d
Unit: implemented a todo for a bool state count variable
2017-04-15 17:14:03 +11:00
Charles Dang
3f8d3cca78
Added more documentation to the unit class
2017-04-15 17:13:09 +11:00
Charles Dang
6addb2e12f
Cleaned up some comments and an include related to intrusive_ptr
...
The include in attack_type is no longer needed since I changed its management to use shared_ptrs
2017-04-15 15:34:36 +11:00
gfgtdf
c4625197d7
less unit copying
2017-04-14 23:45:13 +02:00
Charles Dang
2349296836
Small improvement to ebeeae3
2017-04-15 03:19:20 +11:00
Charles Dang
ebeeae3872
Unit: refactor upkeep handling to use a visitor pattern
2017-04-15 01:30:16 +11:00
Wedge009
ade221e303
Merge pull request #981 from mbrickn/patch-1
...
Updated links to wesnoth.org to use https
2017-04-14 22:52:06 +10:00
gfgtdf
25d7110c8c
use std::scoped_ptr where appropriate 3 (filesystem code)
2017-04-14 13:48:37 +02:00
gfgtdf
4bdfc41c06
use std::scoped_ptr where appropriate 2 (gui2 code)
2017-04-14 13:48:36 +02:00
gfgtdf
e4926328f9
use std::scoped_ptr where appropriate 1
2017-04-14 13:48:35 +02:00
Charles Dang
8a1263c8b5
Don't exit to desktop if using debug unit command with invalid type name (FR #25619 )
2017-04-14 21:47:45 +11:00
Charles Dang
1310dc62f3
Removed alpha key from unit and unit_type
...
This appears to be an unused relic from before the animation system was more fleshed out, and doesn't appear
to currently have any purpose, nor is it documented anywhere.
2017-04-14 18:10:09 +11:00
Charles Dang
f9004970c4
Story Viewer: don't only validate presence of [part] tags under [story]
...
I forgot control tags like [switch] are allowed under [story]. This should hopefully fix bug #25655
2017-04-14 13:47:12 +11:00
gfgtdf
1adeb98dd8
attempt to fix assertion in connect_engine
...
http://gna.org/bugs/?25656
2017-04-14 03:49:11 +02:00
Nils Kneuper
ed1aa0d4a1
fixed changelog sorting order
2017-04-13 22:56:51 +02:00
Nils Kneuper
084c4c5f44
updated Lithuanian translation
2017-04-13 22:56:18 +02:00
gfgtdf
59ceddf917
improve listbox::clear() performance. ( #982 )
...
previously listbox::clear() removed all elements one by one.
This was quite ineffective since due to the listbox always-one-element-selected behviour this required calculating which is the next element in this list in the current order. Which then again requires resorting of the whole list since due to the list content change (removal) the order cache is cleared.
this could also fix https://gna.org/bugs/?25504
this also fixed a bug in generator::clear()
2017-04-13 16:53:40 +02:00
Charles Dang
ada84d6aaf
Unit: removed an unimplemented function and renamed two others for clarity
2017-04-13 23:29:07 +11:00
Charles Dang
d0dda79a68
WIP effort to document the unit class
...
This commit only contains formatting and documentation changes.
2017-04-13 23:29:06 +11:00
Celtic Minstrel
c97adacfa7
Re-fix poison not being shown
2017-04-13 00:58:52 -04:00
Celtic Minstrel
f6b4917027
Some cleanup to the unit frame code
...
Explanations:
- Removed all the redundant constructor initializers
- Don't initialize the color members.
(Otherwise what's the point of it being an optional?)
- Some collapsing of stuff like ? true : false and similar cases
- Use operator* and operator-> instead of get() for optionals
-
2017-04-13 00:05:23 -04:00
Celtic Minstrel
f3a574da46
Fix for GNA584
2017-04-12 23:37:39 -04:00
Maxwell Paul Brickner
de76ba017f
Updated links to wesnoth.org to use https
...
I just changed URLs to the wesnoth.org webpages to use https instead of http.
This will make users go directly to the webpages linked, instead of automatically being redirected to the https version by the website.
Should be very slightly better for user experience! 😊
Please note: http://manual.wesnoth.org/ redirects to https://wiki.wesnoth.org/WesnothManual , but https://manual.wesnoth.org/ breaks, so I left it unchanged.
PS: Thank you for making an awesome game!
2017-04-12 19:30:01 -04:00
Celtic Minstrel
a8361986e9
Rename namespace util -> utils
...
This is because there was already a namespace utils, and having two namespaces with almost the same name is confusing.
2017-04-12 13:49:50 -04:00