694 Commits

Author SHA1 Message Date
Matthew Jimenez e6e3e8b76e CREATE_PROJECT: Update path to cxxtestgen 2026-05-14 21:03:22 -05:00
Matthew Jimenez 87748edb77 CREATE_PROJECT: Fix parsing of TESTS definition 2026-05-14 21:02:28 -05:00
neuromancer 4f4b855c9d COLONY: add shader files into distribution files 2026-04-30 18:55:53 +02:00
Lars Sundström 3e6f5ec2b4 CONFIGURE, MIDI, CREATE_PROJECT: Add IPHONE_TVOS definition
iOS and tvOS shares much of the same code. Normally all differences
between the targets are handled in the backend where Xcode specific
pre-processor macros can be used to distinguish the platforms.

In shared code, even if it's still Apple specific, we need a define
to separate the iOS and tvOS targets. Add such and use it in the
shared CoreMIDI code. This fixes buildbot issues.
2026-03-01 17:31:11 +01:00
Lars Sundström b699159689 IOS7: Integrate CoreMIDI into the iOS & tvOS backends
Integrate the existing CoreMIDI implementation used in the MacOS
backend into the iOS7 backend. The CoreMIDI framework is available
from iOS 4.2 and tvOS 15.0.

This allows ScummVM to detect external MIDI devices connected to
the device running ScummVM and to be selected as MIDI music output
device.
2026-03-01 15:51:57 +01:00
Filippos Karapetis fa2533c5d1 CREATE_PROJECT: Fix standalone tool build
create_project is a standalone tool, so fix its build when it's not
being built with the standard "make devtools" command (e.g. from
Xcode or MSVC).

This reverts the inclusion of common/util.h, introduced in commit 4640c5c9cf
2026-02-17 03:02:37 +02:00
Eugene Sandulenko 1cab539423 BUILD: Use proper libraries for Win32 printing 2026-02-16 20:09:07 +01:00
Eugene Sandulenko 2a1a9fd92a JANITORIAL: Remove trailing spaces 2026-02-16 20:08:37 +01:00
Michael Kuerbis 4640c5c9cf JANITORIAL: DEVTOOLS: use common ARRAYSIZE macro definition 2026-02-15 22:44:29 +02:00
Eugene Sandulenko a304f852ce ALL: Remove USE_PRINTING and implement no-op default print manager
WIN32-specific printing is behind --enable-system-printing configure option
2026-02-15 14:37:26 +01:00
Alikhan Balpykov 3c02d2a2f0 CONFIGURE, CREATE_PROJECT: Make printing a feature 2026-02-15 14:37:25 +01:00
Paul Gilbert 2f99f693d2 CREATE_PROJECT: Fix VS builds for engines using MFC 2026-02-12 20:48:17 +11:00
Michael b054ef0ecc CREATE_PROJECT: use C++11-style for each loops instead of iterators 2026-02-11 01:28:21 +02:00
Paul Gilbert 35a025e535 BAGEL: MFC: Move MFC framework into graphics/ 2026-02-09 17:20:32 +11:00
Michael Kuerbis 7ccf03534d JANITORIAL: CREATE_PROJECT: disable MD5 deprecation warning 2026-02-07 16:56:07 +02:00
Thierry Crozat de24d902e1 CREATE_PROJECT: Use legacy TTS API for macOS Xcode project not on Apple Silicon
This commit assumes that the architecture on which we build
create_project is also the one we will target for the ScummVM
build. This should be the case in most cases.
2026-02-02 20:33:05 +00:00
Lars Sundström 263814d0da CREATE_PROJECT: Add AVFAudio framework to Xcode project
The new TTS backend utilises the new AVFAudio framework.
2026-02-02 20:33:05 +00:00
Dries Harnie 49d59dfa2c CREATE_PROJECT: Improvements to CMake generation
- Support multi-config generators
- Add homebrew prefix for ARM MacOS by default
2026-01-21 02:47:31 +03:00
Michael 436f1ba155 CREATE_PROJECT: add support for SLNX files
Visual Studio 2022 17.14 introduces SLNX as a new XML-based solution format.
This change allows to create the solution as such an SLNX file instead of SLN.
2026-01-05 15:27:02 +02:00
Lars Sundström c7c5fa299c CREATE_PROJECT: Do not set SCUMMVM_NEON for all iOS/tvOS targets
The iOS simulator x86_64 target doesn't support NEON and since there
is no way to have different preprocessor macros for different archs,
then enable SCUMMVM_NEON only for all non-simulator iOS/tvOS targets.
2025-12-16 20:57:28 +01:00
Lars Sundström d4492930be CREATE_PROJECT: Remove duplicated preprocessor definitions in xcode
The IPHONE and IPHONE_IOS7 definitions are already set for all iOS
targets in create_project. The simulator targets were adding them
once again. Remove the duplicates.
2025-12-16 20:57:28 +01:00
Le Philousophe b8f5e93880 CREATE_PROJECT: Split iOS and tvOS from macOS XCode projects 2025-11-20 20:25:37 +01:00
Le Philousophe 3dc77757fa CREATE_PROJECT: Fix memory leaks and uninitialized variable 2025-11-20 20:25:37 +01:00
Le Philousophe 96be501f58 CREATE_PROJECT: Remove useless attribute from ProjectProvider
Move it to MSVC where it's really needed.
2025-11-20 20:25:37 +01:00
Le Philousophe 9a38c499aa CREATE_PROJECT: Minor cleanups on Xcode generator
Stay consistent between NASM and other defines.
Don't remove defines already removed.
2025-11-20 20:25:37 +01:00
Michael 7a23b2e3ab CREATE_PROJECT: add support for Visual Studio 2026 2025-11-12 13:22:59 +02:00
Le Philousophe 015293bc2e CREATE_PROJECT: Build engines plugins table in tests
This is needed to finish the build.
2025-11-02 15:27:28 +01:00
Le Philousophe 1aad68f13c CREATE_PROJECT: Avoid include conflicts for tests
Move test runner null OSystem implementation in subfolders.

MSVC resolves relative includes using the including file but also the
including parents. This leads to clashes when including the code under
test from the runner or the null system code.

By moving everything inside their own folder, the clash is avoided as
relative paths don't resolve anymore from there.
2025-11-02 15:27:28 +01:00
Le Philousophe 0798cc7c92 CREATE_PROJECT: Fix cxxtestgen.py invocation 2025-11-02 15:27:28 +01:00
Helco 87fba6a395 CREATE_PROJECT: Keep components for test project enabled 2025-11-02 15:27:28 +01:00
Helco ec7e4a9d79 CREATE_PROJECT: Fix encoding.dat not being copied for MSVC tests project 2025-11-02 15:27:28 +01:00
Helco ff23782647 CREATE_PROJECT: Remove base-backend.cpp from MSVC test project 2025-11-02 15:27:28 +01:00
Helco b0e2d1e3ba CREATE_PROJECT: Fix null_osystem.cpp missing for MSVC tests project 2025-11-02 15:27:28 +01:00
Helco 26c023bf1d CREATE_PROJECT: Do not use TESTS definition within if blocks 2025-11-02 15:27:28 +01:00
Helco 950385eac6 CREATE_PROJECT: Fix paths in pre/post-build commands 2025-11-02 15:27:28 +01:00
Helco 2fc2ad76a3 CREATE_PROJECT: Use VcPkg manifests on MSVC >= 17 2025-11-02 15:27:28 +01:00
Le Philousophe 14a78e4eaf NETWORKING: Abstract CurlSocket and CurlURL
This will allow alternative providers.
2025-11-02 09:12:23 +01:00
Paweł Kołodziejski 04ace45b51 DEVTOOLS: Added tinygl option feature 2025-09-28 22:29:51 +02:00
Eugene Sandulenko b65cf24c0e "ALL: Remove unused GNU FreeFont files
This reverts commit 01039f8aba.
2025-09-12 14:00:40 +02:00
Eugene Sandulenko 01039f8aba Revert "ALL: Remove unused GNU FreeFont files"
This reverts commit 4aece3f785.
2025-09-12 13:40:28 +02:00
Cameron Cawley 4aece3f785 ALL: Remove unused GNU FreeFont files 2025-09-07 00:00:04 +02:00
Le Philousophe 57df0a6049 BACKENDS: Untangle networking USE flags
A new USE_HTTP define is created to indicate that an HTTP backend is
available (using either libcurl or emscripten platform).
USE_CLOUD now only builds cloud providers storage support, while
USE_SDL_NET determines if a local web server is built.
USE_LIBCURL is now only used when the feature really depends on libcurl
(that is lobby support for Scumm HE).
2025-08-13 18:38:54 +02:00
Donovan Watteau 5bf1a12082 BUILD: Effectively drop support for MSVC < 2015
It's been documented on the wiki for nearly 3 years that MSVC 2015 is
the oldest MSVC release being supported.

AFAICS no-one is actively using any older version nowadays, and C++11
support in MSVC 2013 is incomplete anyway:
https://learn.microsoft.com/en-us/previous-versions/hh567368(v=vs.140)

This means that some old MSVC hacks can be dropped now (not touching
any vendored or generated code having such hacks, though).
2025-07-26 08:24:33 +03:00
Donovan Watteau d6276aab76 CREATE_PROJECT: Add /opt/homebrew to Xcode header and lib paths
/opt/homebrew is the default prefix used by Homebrew on Apple Silicon.

See:
https://docs.brew.sh/Installation
2025-07-14 13:52:25 +02:00
SupSuper 3cfaa9506e CREATE_PROJECT: Add support for SDL3 2025-06-15 23:26:58 +03:00
SupSuper 090d10862e CREATE_PROJECT: ASan is incompatible with /RTC 2025-06-04 02:27:48 +01:00
Orgad Shaneh 6ad2e5d337 CREATE_PROJECT: Disable NDEBUG for cmake
ScummVM makes heavy use of assert, and having NDEBUG defined makes it no-op.

Inspired by https://github.com/llvm/llvm-project/blob/1f7885cf9c68/llvm/cmake/modules/HandleLLVMOptions.cmake#L118
2025-06-01 09:43:41 +03:00
Le Philousophe 02eb86c465 CREATE_PROJECT: Disable MSVC warning C4505
It triggers on libvpx because MSVC doesn't provide any way to
acknowledge a static function is unused.
2025-05-31 00:07:15 +02:00
Paweł Kołodziejski 2c22ce882b WINTERMUTE: Implemented post filters for shader renderer 2025-05-24 12:15:20 +02:00
Orgad Shaneh e472be2ee4 BUILD: Suppress stringop-overflow and stringop-truncation GCC warnings
Too many false-positives.
2025-05-21 10:20:29 +03:00