63439 Commits

Author SHA1 Message Date
Charles Dang
03ed7ffdff Applied some formatting to Editor quit confirmation-with-maps-open message 2016-02-24 12:33:59 +11:00
Charles Dang
7d0a02ec7d Bunch of refactoring of editor quit handling 2016-02-24 12:28:38 +11:00
Charles Dang
27d4091ec5 Reapplied a fix from f067332d0ff5 that got lost in ed9ead2ac9e4 2016-02-24 10:35:26 +11:00
Charles Dang
ed9ead2ac9 Add flag to quit_confirmation::quit() to only quit out of game 2016-02-24 10:30:48 +11:00
Celtic Minstrel
f067332d0f fix spelling 2016-02-23 17:48:45 -05:00
Charles Dang
b73cc5eb08 Small formatting cleanup 2016-02-24 09:44:33 +11:00
Charles Dang
2346b3508f Simplify handling of HOTKEY_QUIT_TO_DESKTOP 2016-02-24 09:43:21 +11:00
Charles Dang
c40c2cd9af ANL: strip unnecessary wmltools guards and ran wmlindent 2016-02-24 09:06:32 +11:00
Charles Dang
56f0c9a99a Redid c0df87a47049 correctly 2016-02-24 09:05:07 +11:00
Charles Dang
c0df87a470 Restore a config.hpp include
This fixes compilation
2016-02-24 09:00:10 +11:00
Celtic Minstrel
c08ea95c72 config: make static string constants private 2016-02-23 15:41:35 -05:00
Celtic Minstrel
baed863df0 Don't include config.hpp when possible
Instead, try to forward-declare it only.
2016-02-23 15:41:34 -05:00
gfgtdf
0484fdd414 fix quit confirmation promt in editor
previously it showed the default "do you want to quit the game" message
when leaving the editor. using the red cross in the corner.

This also changes some dublication of the "Do you really want to quit?"
translatable string in the c++ code.
2016-02-23 20:35:54 +01:00
Robert Wallace
df45dd9aab Update about.cfg 2016-02-23 14:17:57 -05:00
Robert Wallace
afd53cf6a1 Fixed deprecated code in ANL 2016-02-23 14:17:56 -05:00
Celtic Minstrel
708af56409 Fix function name typo 2016-02-23 13:47:49 -05:00
Celtic Minstrel
18bcd519e0 XCode: Suppress warnings about unknown warnings 2016-02-23 10:18:00 -05:00
Celtic Minstrel
fd939cee76 Unit filters: move name warning to constructor and suggest alternatives 2016-02-23 10:05:08 -05:00
gfgtdf
3683490ac6 add wanring for name= in standard unit filters. 2016-02-23 15:13:50 +01:00
Charles Dang
53190dfb4c Fixed a typo in an error 2016-02-24 01:10:39 +11:00
Charles Dang
800a590525 Moved synced_context replay check deeper
It's caught by more calls this way.
2016-02-24 01:10:13 +11:00
Charles Dang
1c0085616a Implement is_replay() in playsingle_controller 2016-02-24 01:06:20 +11:00
Charles Dang
cca804e78d Add 'is_local' to recognized key list 2016-02-24 00:28:56 +11:00
Charles Dang
168fce1958 LoW S3: fixed incorrectly placed labels (bugs #22931, #23776)
I'm not sure why, but it seems the labels need to be initialized in prestart
if using [shift_labels] since I removed the explicit loading of that tag's lua
in a preload event. I'm also not sure why the shift values needed to be updated,
but everything seems to work now, which is what matters.
2016-02-23 21:59:36 +11:00
Charles Dang
f23bc20e82 tpreferences: fixed incorrect use of doxygen comments 2016-02-23 21:36:50 +11:00
Charles Dang
05411b6d34 tpreferences: made sure Scroll Speed slider fills all available space 2016-02-23 19:42:39 +11:00
Charles Dang
1a6bfca903 tpreferences: cleaned up some unnecessary grid nesting 2016-02-23 19:40:58 +11:00
Celtic Minstrel
43e3f8e631 XCode: Split up copy files phase a little
May or may not speed up the build.
Definitely improves the progress indicator a little bit.
2016-02-22 21:57:40 -05:00
gfgtdf
89e8341b1a fix use of invalid name= attribute in standard unit filtes in UtbS scenario2 2016-02-23 01:58:25 +01:00
gfgtdf
a5d03e9519 remove support for name= in standart unit filters
This causes OOS because the name differs in different languages
Also this wasn't documented in the wiki
2016-02-23 01:54:20 +01:00
Charles Dang
7f02961dda Fixup 2d9996093010 2016-02-23 11:04:38 +11:00
Charles Dang
2d99960930 UtBS S2: fixed Go’hag not being included in undead group death event 2016-02-23 11:02:04 +11:00
Ignacio R. Morelle
74973218b1 Revert "gui2: dropped repeating buttons from scrollbars"
This reverts commit 04d510a91cb9d9ff97a56b09690ca9499c82ab30.
2016-02-22 19:06:59 -03:00
Charles Dang
2b65666823 tpreferences: ensure all descriptions are shown 2016-02-23 08:43:12 +11:00
Charles Dang
847ee990a3 Fixup e8c3fdb2381c
This makes the dialog look good at 800x480 again
2016-02-23 01:02:22 +11:00
gfgtdf
cc5dc5b382 attempt to fix replays of mp games not beeing loaded correctly.
https://gna.org/bugs/?24439
2016-02-22 14:56:29 +01:00
Charles Dang
499cadc37b Update GUI1 scrollbar image paths post-5aa86c42f004 2016-02-23 00:50:55 +11:00
Charles Dang
9cdc3bcbd2 SoF: center description poem 2016-02-23 00:48:27 +11:00
Charles Dang
e8c3fdb238 tcampaign_dialog: add support for setting alignment of description text from WML 2016-02-23 00:47:54 +11:00
Charles Dang
c0254f6bca tcontrol: add text_alignment setter to set_members 2016-02-23 00:45:18 +11:00
Charles Dang
b57def5130 ttitle_screen: use a standard label definition for version label
Since this label no longer has a special background, the custom definition isn't
necessary anymore.
2016-02-22 23:48:53 +11:00
Charles Dang
5aa86c42f0 Moved scrollbar images to their own folder 2016-02-22 23:35:23 +11:00
Charles Dang
04d510a91c gui2: dropped repeating buttons from scrollbars 2016-02-22 23:30:47 +11:00
ln-zookeeper
e85d504fbc Replaced feathered beach wave masks with hard-edged ones
This both improves performance slightly and eliminates glitches resulting from the feathered masks overlapping.
2016-02-22 14:19:18 +02:00
Charles Dang
67cf95a5af gui2: cleanup of the text box widget design
This reduces border size as well as removes a hack related to transparent
backgrounds and text rendering. I can't observe any issue with text AA
using semi-transparent backgrounds anymore.
2016-02-22 22:07:14 +11:00
Charles Dang
710b1fc3af tgame_load: very subtle layout fix
The Delete button wasn't perfectly aligned with the listbox scrollbar
on the right.
2016-02-22 21:38:10 +11:00
Charles Dang
34153effa8 gui2: removed borders from usecases of listbox_header type toggle buttons
This deliberately excludes the addon_list dialog, since work is being done
on that elsewhere.
2016-02-22 21:28:54 +11:00
Charles Dang
81389f4c88 gui2: tweaked layout of listbox header toggle button definition
This lays out the text by a 5 left offset, alleviating the necessary use
of a border in dialogs using this widget, since borders meant that the
colors backgrounds would not be drawn. As such, any use of this widget
should *not* have borders defined.
2016-02-22 21:28:00 +11:00
Charles Dang
c08a87a255 tpreferences: hopefully silenced unused parameter warning 2016-02-21 21:28:36 +11:00
Charles Dang
07169f5e7a tpreferences: fixup ad8468698916
The previous iteration caused a crash on exit if you weren't in the display tab,
since the scale slider couldn't be found. This keeps the value of the slider in
a class member variable so its always accessible.
2016-02-21 21:00:26 +11:00