Chris Beck
a9f15c5795
remove code comment related to surface buffer initialization
2016-10-15 13:23:31 -04:00
Chris Beck
b280639abe
rewrite cairo format conversion function to avoid squirrely endian stuff
...
this way, no preprocessor symbols / explicit endian detection is required...
2016-10-15 13:13:08 -04:00
Chris Beck
f82f996347
move font constants to their own compilation unit
...
avoids including SDL_TTF unnecessarily
2016-10-15 12:38:52 -04:00
Chris Beck
6b978a7411
fix a copyright statement
2016-10-15 11:32:47 -04:00
Chris Beck
1e1a23e083
add missing copyright statements
2016-10-15 08:13:00 -04:00
Chris Beck
42898b79f9
refactor font::ttext to use a vector for buffer
2016-10-15 08:10:37 -04:00
Chris Beck
c2df433380
move pango-related helper objects and functions to their own file
...
this avoids including pango unnecessarily and keeps things more
organized
2016-10-15 07:47:30 -04:00
Chris Beck
1336306884
move font_options, text.?pp to font folder
...
also fix indentation in previous commit
2016-10-15 06:32:37 -04:00
Chris Beck
e3417bd954
split gui1 font interface into a font_config and sdl_ttf interface
...
move all of these into font folder
2016-10-15 05:52:23 -04:00
Chris Beck
df8f42c26d
add code comments, fixup some pre C++11 code
2016-10-15 02:30:45 -04:00
Chris Beck
683d517d7e
remove unnecessary includes, boost::noncopyable, add code comments
...
helps to better explain what ttext is
2016-10-15 01:50:40 -04:00
Charles Dang
cf0e780ac1
Preferences: initially sort hotkey list by name
2016-10-14 18:42:28 +11:00
Charles Dang
198150613f
Listbox: added second argument to set_active_sorting_option to allow selecting first sorted row
...
Also added documentation
2016-10-14 18:42:06 +11:00
Charles Dang
60e81be6e6
GUI2/Generator: expose a few functions as public
2016-10-14 18:18:11 +11:00
Ignacio R. Morelle
6e5633929b
gui2/ttext_: Disable blinking cursor
...
There's an issue with textboxes across separate window instances (e.g.
when firing up the New Folder dialog in the file dialog) each getting a
blinking cursor simultaneously displayed on the screen due to timer
events persisting even when a GUI2 window isn't running. This may cause
repaint issues since the whole textbox may need to be redrawn each time
the timer fires, so it's best to disable it until I figure out a better
way to implement a unique global blinking cursor.
2016-10-14 03:33:45 -03:00
Charles Dang
1d820b2fa6
Unit Recall: initially sort by level and preserve any sort settings through dialog invocations
2016-10-14 11:34:45 +11:00
Charles Dang
425e554915
Listbox: added functions to set/get sorting order
2016-10-14 11:34:44 +11:00
Ignacio R. Morelle
5a57f0c5cf
campaignd: Code formatting
2016-10-13 21:32:00 -03:00
Ignacio R. Morelle
d99817a639
campaignd: Drop unimplemented method declaration on Windows
2016-10-13 21:26:59 -03:00
Ignacio R. Morelle
3b741b6209
campaignd: Delete copy ctor now that we're C++11
2016-10-13 21:22:01 -03:00
Ignacio R. Morelle
9542417dcd
campaignd: Don't allude to signals that don't exist, on Windows
...
Fixes Windows builds.
2016-10-13 21:20:36 -03:00
Jyrki Vesterinen
2d84467e11
Merge pull request #823 from GregoryLundberg/GL_No_FIFODIR
...
Suppress NO_FIFO_DIR message on WIN32
2016-10-13 19:36:28 +03:00
Jyrki Vesterinen
2cc92e881e
Don't try to suppress -Wmaybe-uninitialized with Clang
...
According to a warning log from @mattsc, attempting to suppress
-Wmaybe-uninitialized causes a compiler warning in Clang because
it doesn't have a -Wmaybe-uninitialized warning.
(I wish Clang didn't pretend to be GCC to begin with...)
2016-10-13 19:21:20 +03:00
Charles Dang
36be1ce21e
Fixed incorrect color result when using ~TC() with number of last defined side
2016-10-13 22:48:40 +11:00
ln-zookeeper
6eb6220360
Reverted the addition of submerge for Aquatic Encampment Keep
2016-10-13 12:02:43 +03:00
ln-zookeeper
b24477b233
Tweaked submerge and unit_height_adjust values for aquatic castle/camp
2016-10-13 11:55:23 +03:00
Charles Dang
403c0c624c
MP Create Game: skip exit hook if loading saved game
2016-10-13 19:41:12 +11:00
Charles Dang
b19443483c
Aethermaw: removed some excessive newlines in starting message
2016-10-13 19:32:32 +11:00
Ignacio R. Morelle
66915f4b93
Update about_cfg_to_wiki to handle U+2022 BULLET correctly
2016-10-13 05:29:36 -03:00
Ignacio R. Morelle
4c5b7d1f87
Fix credits
2016-10-13 05:26:13 -03:00
Wedge009
e25a44bc72
Removing progress bar from VC project files (from commit 77488222).
2016-10-13 17:12:28 +11:00
Charles Dang
2f05be6849
Updated Scons and CMake for 7748822248a4
2016-10-13 16:01:56 +11:00
Charles Dang
80d2f0a0ab
Revert GUI1 multimenu part of 07e993ce3e322
...
This cased issues when building with Clang, and this file will be dropped post-1.13.6 anyway.
2016-10-13 15:23:12 +11:00
Charles Dang
7748822248
Removed unused GUI1 progressbar widget
2016-10-13 15:15:29 +11:00
Celtic Minstrel
1007f5da61
Fix XCode 4 build
2016-10-12 20:33:11 -04:00
mattsc
2c2f79545e
Assassin Micro AI: remove unused parameters from function calls
2016-10-12 15:17:11 -07:00
mattsc
1d5aba9e82
Update Xcode project
2016-10-12 13:09:00 -07:00
GregoryLundberg
fea3a92e93
Suppress NO_FIFO_DIR message on WIN32
...
Clean up the #if guards to suppress the message and code which does not execute on Windows because it has no FIFO support.
2016-10-12 13:43:14 -05:00
Jyrki Vesterinen
cf65a384c1
Update the preference key in GUI1 MP test plugins
...
Follow-up to c0c87fa9dea95986a8b93dc0248097c18bcee095.
2016-10-12 21:31:53 +03:00
Jyrki Vesterinen
4fc5e25e8b
Fix build with Visual Studio 2013
...
MSVC2013 doesn't support constexpr.
We have a CONSTEXPR macro, but I decided to just drop the constexpr
qualifier instead. It's not at all important to evaluate the variable
at compile time.
2016-10-12 21:25:17 +03:00
Jyrki Vesterinen
76582bcf29
Update Visual Studio project
2016-10-12 21:22:46 +03:00
mattsc
5770fa74f0
ai_helper: check variable type when viewing_side is required parameter
...
This is done because the code will not complain but silently produce
non-sensical results if, for example, the filter is passed as the first
argument to get_visible_units().
2016-10-12 07:42:33 -07:00
Charles Dang
c0c87fa9de
Updated prefs key in GUI2 plugin contexts
2016-10-13 00:15:29 +11:00
Charles Dang
524b4aaeea
Point preferences::new_lobby at a new key that defaults to true
...
This makes the new MP UI opt-out for users from this point
2016-10-13 00:14:06 +11:00
Charles Dang
918e8e4102
Preferences: small tooltip grammar correction
2016-10-13 00:06:01 +11:00
Charles Dang
107f04924a
MP Staging: fixed active status of some options when loading a saved game
2016-10-12 22:08:38 +11:00
Ignacio R. Morelle
0bd73c2412
gui2/tfile_dialog: Disable the Delete button when the .. entry is selected
...
It doesn't do anything in that case anyway, and it really shouldn't.
2016-10-12 06:10:48 -03:00
Ignacio R. Morelle
fdd7b98067
desktop: Demote a bit of enumerate_storage_devices() diagnostics on Windows
...
GetVolumeInformation() _will_ fail when looking at present removable
drives without any inserted media (optic drives, etc.). We shouldn't
make noise about that.
2016-10-12 03:26:01 -03:00
Ignacio R. Morelle
00f6417515
Changelog items for stuff
2016-10-12 03:21:14 -03:00
Ignacio R. Morelle
bb005cfe3c
gui2/tfile_dialog: Allow users to customize labels when bookmarking paths
...
We're piggybacking on the existing tfolder_create dialog with some added
functionality and a dummy tbookmark_create class for now.
2016-10-12 03:11:01 -03:00