400 Commits

Author SHA1 Message Date
Charles Dang
246ea98dd9 GUI2: moved common swap_grid util function into new widget_helpers file 2017-05-22 14:50:16 +11:00
Celtic Minstrel
96ca0b026e Replace config_of with new variadic config constructor 2017-05-21 16:27:46 -04:00
Charles Dang
db582c09ea Removed iterator_extend util class
The WMI container was the last use of it, and there are similar equivalents in boost if we ever need
such a thing in the future.
2017-05-19 06:58:34 +11:00
Charles Dang
1ea8e0f05c Renamed wmi_container to wmi_manager
Since it's not a container anymore, it shouldn't be called such.
2017-05-19 06:50:57 +11:00
Charles Dang
07791257bc Updated CB projectfile
[ci skip]
2017-05-15 18:12:44 +11:00
Charles Dang
f497b02ad9 Updated CB projectfile
[ci skip]
2017-05-15 17:35:59 +11:00
Charles Dang
ad4f6b122d Rename animated_game.cpp -> animated.cpp
Makes it clearer which header it's a companion to.
2017-05-11 21:17:54 +11:00
Charles Dang
194b5ef17d Removed unused help_button class and its associated GUI1 components
Looking at this more I realized the help_button was a GUI1 dialog component meant to open the Help
dialog. Since all dialogs invoking Help now use GUI2, there's no need for this class anymore. It
also allows a bunch of remaining GUI1 stuff to be cleaned up.
2017-05-10 10:50:46 +11:00
Charles Dang
e4f03fe459 Moved all preferences source files into a single folder 2017-05-04 11:04:19 +11:00
Charles Dang
e97b992393 Storyscreen: split common WML parsing code into a helper class 2017-05-03 20:07:03 +11:00
Charles Dang
b0f91e7d2e GUI2: removed unused Campaign Settings dialog
This was a dialog used early in 1.13 during the SP/MP codepath unification to configure certain options.
The modification selection is now built into the Selection dialog, and we decided not to enable other options
like Era selection in SP. The only option we might look to restoring in the future is the "show_connect"
option, but that requires some additional code elsewhere and probably won't be used anyway.
2017-04-30 21:15:39 +11:00
Charles Dang
47d77c79d4 Story Viewer: delegate storyscreen controller creation to dialog
I left the controller passed in an argument for compatibility with the GUI1 dialog, but since that's removed
it makes sense that the dialog handle the creation of the controller, especially since due to an oversight
it made a copy instead of holding a reference.

This also allows storyscreen/interface.*pp to be removed. The START_POSITION was part of the GUI1 implementation
and isn't needed anymore.
2017-04-30 16:46:53 +11:00
Charles Dang
6eab63a71d Updated CB projectfile 2017-04-30 14:41:32 +11:00
Charles Dang
d8ed11c2b1 Drop the _new suffix from random_new
The 'old' random code has long been removed.
2017-04-20 08:48:47 +11:00
Charles Dang
337ef03120 Removed GUI1 Storyscreen 2017-04-19 15:21:06 +11:00
Charles Dang
511184e8f3 Update CB projectfile
[ci skip]
2017-04-16 17:15:33 +11:00
Charles Dang
920f36d6df Updated CB projectfile 2017-04-11 16:26:36 +11:00
Charles Dang
dec0fd6dfd Convert outro screen to GUI2
It's the screen that shows 'The End' at the end of an SP campaign.
2017-04-09 21:37:16 +11:00
Charles Dang
dec492d6dc Renamed variable_private.*pp to better reflect its role 2017-04-02 16:59:26 +11:00
Charles Dang
99874f4253 Refactor variant class
This splits the handling of each applicable type into its own helper class to better encapsulate the functionality of each.
It also contains a lot of related cleanup and improvements to the class interface itself.
2017-04-02 16:59:19 +11:00
Charles Dang
1cf90d02d6 Initial implementation of GUI2 story viewer 2017-03-24 11:42:13 +11:00
Charles Dang
3281df4e2f Base framework for GUI2 Help Browser 2017-03-23 22:58:37 +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
18a7e80243 Removed GUI2 Addon Description and Filter Options dialog
These have been rolled into the new GUI2 addon manager.
2017-03-17 08:52:01 +11:00
Charles Dang
581aba7e9d Hotkey Bind: enable dialog and remove old GUI1 code 2017-03-15 22:19:42 +11:00
Charles Dang
e7cdb76a01 GUI2: basic dialog definition for a Hotkey Bind dialog (not enabled)
Still need to determine proper event handling.
2017-03-15 09:48:39 +11:00
Charles Dang
557caf1bdc Updated CodeBlocks projectfile 2017-03-08 01:09:08 +11:00
Charles Dang
7d5acc92ce Refactor handling of unit animation progressive_* helper classes
This majorly reduces code duplication. Thanks to @jyrkive for help.
2017-03-02 23:28:00 +11:00
Charles Dang
dec7c30644 Removed GUI1 scrollpane class
Not sure when this became unused, but it is now.
2017-02-19 01:14:02 +11:00
Charles Dang
43f8e2b439 Updated CB projectfile 2017-02-09 22:14:26 +11:00
Charles Dang
fc91f5df10 GUI2: initial basic implementation of a GUI2 Attack Predictions dialog (WIP) 2016-12-18 11:10:24 +11:00
Charles Dang
28d56206bc Removed strftime.*pp 2016-12-18 09:54:08 +11:00
Charles Dang
a84a309b66 Update CB projectfile
[ci skip]
2016-12-17 01:29:11 +11:00
Charles Dang
f90e466360 Split util.hpp into utils/math.hpp and utils/general.hpp 2016-12-11 01:42:40 +11:00
Charles Dang
3c498eb0e4 Update CB projectfile
[ci skip]
2016-12-10 22:41:17 +11:00
Charles Dang
8c7df93d4f Removed old implementation of lexical_cast_default 2016-12-08 14:21:17 +11:00
Celtic Minstrel
c2ed9c5c19 MSVC project file cleanup
- Add a few missing headers
- Remove redundant headers
- Remove duplicate include of filesystem sources
- Remove an empty source file

[ci skip]
2016-12-01 16:18:03 -05:00
Charles Dang
f434be7baa Update CB projectfile
[ci_skip]
2016-12-02 02:26:59 +11:00
Charles Dang
493bd936b6 Added initial implementation of color_t wrapper class 2016-11-26 11:52:07 +11:00
Charles Dang
376925bc9b Converted Terrain Layers dialog to GUI2 2016-11-24 01:46:33 +11:00
Charles Dang
733040d1a2 Updated CB projectfile 2016-11-20 14:40:04 +11:00
Charles Dang
049f067073 Converted Statistics dialog to GUI2 2016-11-20 07:33:22 +11:00
Charles Dang
32d69b9c2c MP Game Set Password: removed unused dialog
This functionality was integrated into the new GUI2 MP Create screen, sans dialog prompt.
2016-11-20 00:50:41 +11:00
Charles Dang
9d0520d816 Updated CB projectfile 2016-11-19 21:35:17 +11:00
Charles Dang
7a1fec2153 Removed a bunch of now-unused GUI1 widgets 2016-11-12 12:25:14 +11:00
Charles Dang
6166220b6d Updated CB projfile 2016-11-12 11:58:33 +11:00
Charles Dang
dc477afb7a Removed empty sdl/image.*pp files
These used to contain code related to SDL_GPU, but were emptied in e497761d4e352 when that library was removed.
2016-11-07 13:05:03 +11:00
Charles Dang
0c36463d3a Updated CB projectfile 2016-10-17 11:35:53 +11:00
Charles Dang
b6ea5106ca Moved marked-up_text.*pp to font/ 2016-10-16 22:54:07 +11:00
Charles Dang
b5d6186ea2 Move some pango formatting-related functions to their own file 2016-10-16 22:06:46 +11:00