40 Commits

Author SHA1 Message Date
Charles Dang
15bf3bb256 Removed scaling algorithm customization
We're going to be using NN scaling for the map, and that's already handled automatically
by SDL (and in the future, OGL). We don't need these settings for surface SCALED_TO_ZOOM
and SCALED_TO_HEX scaling. In any case, if we want to scale a surface to zoom or hex, it
will almost certainly be for map rendering (such scaling methods don't make sense in the
UI, for example), so just defaulting to NN is simplest.

This change drops the option to use Linear or xBRZ scaling for map zooming. This was already
the practical case due to me converting map rendering to use textures. NN was used for all
zoom levels, and it's fast and looks good.
2019-11-05 22:55:05 +11:00
Steve Cotton
3535cee5af Updated VS VC14 projectfile 2019-10-19 20:26:44 +02:00
Celtic Minstrel
7c07cc71c0 Remove support for legacy menu markup 2019-09-18 22:48:53 -04:00
pentarctagon
b4c65f1796
Fix AppVeyor for sample_user_handler removal. 2019-08-23 12:15:35 -05:00
Niall Burton
a305d99972 Added '/utf-8' character set option to Visual Studio project file
Fixed bug where Visual Studio would incorrectly interpret non-breaking
space characters, leading to being unable to open the unit help window.

Visual studio documentation here: https://docs.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=vs-2015
2019-06-03 10:19:37 +02:00
Wedge009
8c7b3a583b Move compiled serialisation objects into the dedicated directory for consistency.
(Also tidy the filters.)

[ci skip]
2019-01-24 12:22:09 +11:00
Wedge009
0551246e3b Use ogg/vorbis DLLs rather than static libraries.
Actually, only libvorbisfile needs to be linked, though all three DLLs are probably used.

(Also tidy the filters.)

[ci skip]
2019-01-24 12:21:17 +11:00
Jyrki Vesterinen
86c2833f84 Visual Studio project: link to libogg, libvorbis and libvorbisfile
Required for pull request #3851 that was recently merged.
2019-01-22 20:27:34 +02:00
Jyrki Vesterinen
f34f0c1006 Update Visual Studio project 2019-01-04 19:28:57 +02:00
Jyrki Vesterinen
8ca0534b28 Visual Studio project: move schema code to wesnothlib
Like it already was in source_lists.
2018-11-12 22:42:28 +02:00
Celtic Minstrel
639787e1c9 Merge pull request #2562 from wesnoth/schema 2018-11-11 13:52:19 -05:00
Celtic Minstrel
a32e279b7c Split tag.hpp into three files 2018-11-04 19:05:21 -05:00
Jyrki Vesterinen
547e91755e Implement getting battery status on Windows 2018-10-30 07:32:31 +02:00
Wedge009
6ef7dd77ab Properly update MSVC project files for 3d1e3b36 and e0234608.
[ci skip]
2018-10-22 15:33:18 +11:00
gfgtdf
3d1e3b36df add lua terrainmap object 2018-10-20 13:29:16 +02:00
gfgtdf
8ac4ee6ff8 add option to disable wml tests in msvc.
they just take way to long.
2018-10-20 11:43:03 +02:00
Wedge009
2dd7e87039 MSVC project update.
* Remove invalid entries
* Add files necessary for compilation after master rewrite.

[ci skip]
2018-10-16 22:23:36 +11:00
josteph
392d75c9a1 Fix VC14 project files
Reported by @newfrenchy83
2018-10-14 19:28:49 +00:00
Martin Hrubý
96bbebb514 Fix building with Xcode 10 (#3460)
Resolves #3458.

(cherry-picked from commit 50301f84e33d828c39835bc47f04dd1107631960)
2018-10-07 03:24:17 +00:00
Jyrki Vesterinen
f245cd6285 Create a named struct for terrain name and movement pair
This allows the sorting logic top be shared between the sidebar and the
unit preview pane. It also means that we no longer need to create a lambda
to sort them.

I also refactored the generation of movement cost data in help. In
particular, we're no longer extracting the struct to named local variables.

(cherry-picked from commit d8e2498dded14e9df5abcd5e20ac8c8c252dca3a)
2018-10-07 03:23:41 +00:00
Charles Dang
510e3a801d VS: updated README
[ci skip]

(cherry-picked from commit 263ad96ad3421fe52bb836d2e179dad140c3c73a)
2018-10-07 03:23:38 +00:00
Martin Hrubý (hrubymar10)
674fda85b7 Migrate links to https if available - Fwd c18537edc0678f40a209797d72dfaba3e5e88545
(cherry-picked from commit bc4d22dc72e79c3d6a3364ac896e473afd298246)
2018-10-07 03:23:36 +00:00
Charles Dang
a72b344029 Updated VS projectfile
[ci skip]

(cherry-picked from commit 162b9de330322edf9723ef2cbed02978b7a38571)
2018-10-07 03:23:07 +00:00
Charles Dang
3b89e7f7e9 Rename gettext_boost.cpp to gettext.cpp
Since there isn't another version anymore.

(cherry-picked from commit e0beff6615288a580553ee43ff3799a9794625b4)
2018-10-07 03:21:16 +00:00
Charles Dang
67289fa56e Fixup 2a585118d8b6c (forgot to bump defines on all configurations)
[ci skip]

(cherry-picked from commit 946e9c31b453611271491eddf6f12437863a75b5)
2018-10-07 03:21:12 +00:00
Charles Dang
08e4108aa2 Renamed filesystem_boost.cpp to filesystem.cpp
(cherry-picked from commit e0192b1b1fe71b98403bad6f0df3c115adbb2291)
2018-10-07 03:20:54 +00:00
Charles Dang
ee2b9d242e Bump min required Windows version to 7
Technically, all this code should work on Vista, (including the recent switch to using
SHGetKnownFolderPath), but since we're also considering requiring Visual Studio 2017
for building, we need Windows 7.

(cherry-picked from commit 2a585118d8b6c4b37d0ff9446a72ca20419ff7f7)
2018-10-07 03:20:45 +00:00
Wedge009
2e31e464ec Update VC project files.
* Add missing project configurations.
* Remove remaining OpenMP support.
* Tidy filters.

[ci skip]

(cherry-picked from commit 817f612f298a2be33fc3d5277c99ee2a93997e65)
2018-10-07 03:19:54 +00:00
Charles Dang
31e6c40653 Removed OpenMP-related code
After some discussion, we concluded that this code was unmaintained, not even used in
some places (display.cpp, units/frame.cpp), leaving the only area that really used it
at all the image surface cache. Considering there was never really a conclusive benchmark
of its benefits and because said surface cache will be used a lot less going forward,
we're just removing it and simplifying everything for everyone.

Closes #1260 since it's now irrelevant.

(cherry-picked from commit 3792612fb759942e6eb5de51364c2cca4ed16b40)
2018-10-07 03:19:30 +00:00
Jyrki Vesterinen
4b84091c8b Implement saving MP chat message history (#1194, #2802)
(cherry-picked from commit a02100a0f15bd015c2322b7b528b0b9b60a1c678)
2018-10-07 03:19:26 +00:00
Charles Dang
fac4a58ba6 Updated Visual Studio projectfile readme
[ci skip]

(cherry-picked from commit 8d2244628adbb2bf2199b297004f9428a512cbb5)
2018-10-07 03:18:32 +00:00
lundberg
5cd2d2403d Suppress VC warning 4706 for campaignd
(cherry-picked from commit d322e1fb973e89354b6d851a902c048702df94ba)
2018-10-07 03:18:23 +00:00
lundberg
140c077b6c Fix missing VC project options
campaignd project did not inherit warning supression for simple_wml from project/solution options.

(cherry-picked from commit 8b7eb536ebb34eb8915cd409d8917e1a2398f3f4)
2018-10-07 03:18:21 +00:00
lundberg
3f98bdb04b Fix VC warnings about upstream issues
Disable some warnings pertaining to Boost issues such as name-hides-global.

(cherry-picked from commit a8539cfca0cfd5c79430f430b6f6256987e37c28)
2018-10-07 03:18:19 +00:00
Jyrki Vesterinen
ca150a9129 Visual Studio: increased warning level to /W4 even for release builds
In particular, this enables C4100, the warning for unreferenced function
parameters.

I also fixed some /W4 warnings.

(cherry-picked from commit d4c9db9e3529434bf29a4ed237bc64e67f868f45)
2018-10-07 03:18:09 +00:00
Charles Dang
a082cf1493 Updated VS projectfile for 5022a38
[ci skip]

(cherry-picked from commit 6ea405174e8574bc0b64ddbc3489a3103f67ba02)
2018-10-07 03:18:02 +00:00
Wedge009
42fc801e41 Update VC project files.
* Switch libeay32 to libcrypto for OpenSSL 1.1.0 update in https://github.com/aquileia/external/
* Added recent source additions not yet present in MSVC projects.
* Miscellaneous minor tidying/sorting in filters and build configurations.

[ci skip]

(cherry-picked from commit 899b4b73b2b1819ffa41b35f7a276959e179c46e)
2018-10-07 03:18:01 +00:00
lundberg
c04d542e55 Suppress upstream variable-hide-variable errors.
(cherry-picked from commit c187f069e8d0133976b3e0dafaecad2af09a8ed0)
2018-10-07 03:18:00 +00:00
Charles Dang
ec4967351a Updated VS projectfile for recent changes
[ci skip]

(cherry-picked from commit bb3d5b9a9d247c07238af9817356df0dd8fecccf)
2018-10-07 03:17:59 +00:00
Jyrki Vesterinen
4dd1437cef Update Visual Studio project file to VS2015 toolset
I also enabled /DEBUG:FASTLINK and /LTCG:incremental to speed up compile
times. VS2015 introduces support for both switches.

(cherry-picked from commit 3555b6278c2103391214e1da303d6c3e652387dc)
2018-10-07 03:17:54 +00:00