585 Commits

Author SHA1 Message Date
SupSuper
4c89d6dca3 MSVC: Enable C++ Conformance mode
Disables non-portable behaviors in modern Visual Studio.
This reduces the chance of code compiling correctly in MSVC but failing in other compilers.
2019-11-24 04:56:53 +00:00
Michał Janiszewski
c7a5b15218 DEVTOOLS: Add missing libraries to cmake-based create_project 2019-11-14 22:13:30 +00:00
Jaromir Wysoglad
d68baf4008 CREATE_PROJECT: Enable TTS on msvc by default 2019-10-14 01:34:54 +02:00
SupSuper
d0a7029131 MSVC: Fix missing internal_revision.h on clean builds
Can't compare with a file that doesn't exist
2019-10-12 22:57:46 +01:00
Le Philousophe
c893c5a60b MSVC: Fix MoveFile error when destination exists
Use CopyFile with overwrite flag instead
2019-09-25 18:23:34 +02:00
Le Philousophe
d16e6a7d49 MSVC: Don't overwrite version.h if it hasn't changed
That avoids superfluous recompilation and linkage of project when nothing
has changed.
2019-09-20 11:18:18 +02:00
Jaromir Wysoglad
b97333d4b7 TTS: Remove USE_PLATFORM_TTS defines
Use defined(USE_TTS) && defined(PLATFORM) instead
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
e965df1e88 TTS: Add TTS support when compiling with msvc. 2019-09-01 22:47:55 +03:00
Thierry Crozat
406cc80458 CREATE_PROJECT: Handle compilation with libcurl and SDL_net in Xcode projects 2019-08-19 23:02:59 +01:00
Nipun Garg
c1f029c6dc COMMON: Move Lua into Common and make it into...
an engine feature
2019-08-13 10:18:02 +02:00
Thierry Crozat
53501a4756 JANITORIAL: Fix indentation 2019-08-07 21:04:43 +01:00
Thierry Crozat
468c0f0743 IOS7: Implement isConnectionLimited 2019-08-04 19:03:34 +01:00
Antoniou Athanasios
e9623740f0 WIN32: Add a default application manifest
This fixes an OpenGL renderer issue for builds with MSYS2/Mingw64 or MSYS2/Mingw32

The issue pertains to MSYS2 adding a default manifest file (default-manifest.o) to the executable

The bug is for PC systems with GPU drivers that were not properly supported for Windows 10 
systems, like Intel HD Graphics series 1st and 2nd generations. In those systems, launching a 
game in ScummVM (built with MSYS2/Mingw) with the OpenGL renderer would cause the game 
screen to be a white blank image, and various warnings would be output to the console, eg.
"WARNING: GL ERROR: GL_INVALID_ENUM on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.gere.cpp:167)!"
This was due to MSYS2/Mingw builds trying to load the (poorly supported) GPU driver while advertising support for Windows 10 in their
embedded default Manifest file. Hence, the GPU driver DLL (eg ig4icd64.dll) would be unloaded, causing the bug.

More information is available in the following links:
https://github.com/pal1000/save-legacy-intel-graphics
https://github.com/LWJGL/lwjgl/issues/119
https://github.com/msys2/MSYS2-packages/issues/454
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880

Credits to sluicebox for the VS GenerateManifest flag
2019-08-04 14:18:50 +03:00
Le Philousophe
418cec512f CRYOMNI3D: Add internationalization through external DAT file 2019-07-05 07:51:19 +02:00
Cameron Cawley
eb1f9fb02d JANITORIAL: Remove outdated references to SourceForge.net 2019-07-02 21:07:54 +02:00
SupSuper
69cb2ef728 CREATE_PROJECT: Use stricter checks for Win32 dependencies
Instead of checking the project type, check the define.
winmm and winsparkle are only required on Windows.
2019-07-02 01:02:27 +03:00
SupSuper
7e6143a641 CREATE_PROJECT: Add new libcurl dependencies 2019-07-02 01:02:27 +03:00
SupSuper
12198cee35 CREATE_PROJECT: Fix defines for x64 MSVC project
Rewriting the define list from scratch to disable nasm lost
a lot of important defines set up in the setup phase.
Instead, let's just remove the nasm define and preserve the rest.
2019-07-02 01:02:27 +03:00
SupSuper
8aa74967e9 CREATE_PROJECT: Add missing source files to CodeBlocks project 2019-07-01 01:59:00 +01:00
SupSuper
74f9e0dfc0 CREATE_PROJECT: Remove obsolete "browser.cpp" hack
browser.cpp no longer depends on the target platform since pull request #1414
2019-07-01 01:57:26 +01:00
Bastien Bouclet
d474e3f94f ALL: Sync with ScummVM - rev. ea3f8f2e33563987d8190cc66de75b6ac7f476db 2019-06-29 19:08:44 +02:00
SupSuper
558b07584e CREATE_PROJECT: Use name-based UUIDs for MSVC projects
This keeps the project UUIDs consistent between regenerations,
avoiding excessive workspace reloads.
2019-06-19 00:15:48 +03:00
Bastien Bouclet
340a149f48 DEVTOOLS: Sync default create_project libraries with configure 2019-06-03 22:22:24 +02:00
Bastien Bouclet
1d0d842e2a BUILD: Add the licence file for the Source Code Pro font 2019-05-05 08:52:12 +02:00
sluicebox
8c32927f39 CREATE_PROJECT: Add Text console debugger feature
Add feature flag to create_project to set USE_TEXT_CONSOLE_FOR_DEBUGGER
with --enable-text-console like configure script
2019-04-22 09:34:21 -04:00
SupSuper
be0150fd85 DISTS: Merge MSVC versions into one folder 2019-04-20 07:47:25 -04:00
SupSuper
fd0d65496e CREATE_PROJECT: Auto-detect Visual Studio version if not specified
This removes the need for separate scripts for every version
2019-04-20 07:47:25 -04:00
SupSuper
f2c4913bbc CREATE_PROJECT: Add Visual Studio 2019 2019-04-20 07:47:25 -04:00
SupSuper
5c0529abc2 CREATE_PROJECT: Refactor Visual Studio version differences
Moved most generation differences to a MSVCVersion class, makes it
easier to support new versions without tracking down if-checks everywhere.
2019-04-20 07:47:25 -04:00
Matan Bareket
69cecebdbc BUILD: Update default theme to use remastered 2019-04-02 10:55:57 -04:00
Bastien Bouclet
66654cb376 ALL: Sync with ScummVM - rev. cd37d510f93a7e9ba35a442d2a3d15de9f4846da 2019-01-26 20:47:55 +01:00
Cameron Cawley
7dbc613258 BUILD: Add fonts.dat to packaging rules 2018-12-25 12:47:42 +01:00
SupSuper
e6a80868c6 MSVC: Update DLL paths in post-build script 2018-12-23 18:39:06 +02:00
SupSuper
3091345af3 MSVC: Update post-build installer for Inno Setup 2018-12-23 18:39:06 +02:00
SupSuper
b66711da04 MSVC: Fix unquoted paths in build events 2018-12-23 18:39:06 +02:00
SupSuper
47b55f29c5 MSVC: Fix resource file revision include error 2018-12-23 18:39:06 +02:00
SupSuper
ddb3b6fba7 MSVC: Fix resource file not including translations.dat 2018-12-23 18:39:06 +02:00
SupSuper
35ea621a4e MSVC: Add visualiser for unicode strings 2018-12-23 18:39:06 +02:00
SupSuper
5004c331c9 MSVC: Fix natvis not being added to project in VS2017 2018-12-23 18:39:06 +02:00
SupSuper
f6c37b09ea MSVC: Add visualisations for iterators and pointers 2018-12-23 18:39:06 +02:00
SupSuper
8352986b88 MSVC: Cleanup natvis properties 2018-12-23 18:39:06 +02:00
SupSuper
3482d9bacf MSVC: Fix List visualisation showing infinite nodes 2018-12-23 18:39:06 +02:00
SupSuper
88b6959cb4 MSVC: Fix HashMap visualisation showing dummy nodes 2018-12-23 18:39:06 +02:00
SupSuper
f08e7a3012 MSVC: Replace MinimalRebuild with MultiProcessor flag
MinimalRebuild is obsolete and MultiProcessorCompilation yields better performance.
2018-12-23 18:39:06 +02:00
SupSuper
0a474f2a1a CREATE_PROJECT: Fix MSVC warnings 2018-12-23 18:39:06 +02:00
SupSuper
5fce1ae464 BACKENDS: Move OSX file browser into backend 2018-12-16 10:48:13 +00:00
SupSuper
952b12311c BACKENDS: Add base support for system dialogs 2018-12-16 10:48:13 +00:00
Cameron Cawley
8fa2f90a26 CREATE_PROJECT: Support building with Tremor instead of Vorbis 2018-11-27 22:58:02 +00:00
SupSuper
8ac1292969 CREATE_PROJECT: Remove non-existent msvc8 from build steps 2018-11-17 04:18:59 +00:00
Yoshi Sugawara
b4bad9100a IOS: Support building in Xcode 10/iOS 12, and for iPhone X-like devices that have a "safe area"
iOS 12 drops support for libstdc++, so the project needs to be compiled explicitly using libc++.
Support the "safe area" when redrawing the view to leave space for the notch in portrait and
landscape orientations.
2018-10-28 17:16:06 +00:00