Commit graph

236 commits

Author SHA1 Message Date
Eugene Sandulenko
10dda78ecc
DISTS: Include MKV license in distribution packages 2023-03-05 21:47:13 +01:00
Eugene Sandulenko
53163f427a DEVTOOLS: Added libvpx support to create_project 2023-03-05 21:29:03 +01:00
elasota
843776dd85 DEVTOOLS: Promote numerous VS warnings to errors.
Changes the following warnings to errors:
C4701: potential use of uninitialized local variable
C4703: potential use of uninitialized local pointer
C4456: declaration hides previous local declaration
C4003: not enough arguments for function-like macro invocation
C4840: use of non-trivial class as an argument to a variadic function
C4805: unsafe mix of bool and int in a numeric operation or comparison
C4305: truncation of double to float or int to bool
C4366: address taken of unaligned field and used as an aligned pointer
C4315: object constructed into an unaligned field with a constructor that expects it to be aligned
2022-12-25 16:31:57 +01:00
Cameron Cawley
fd123d6679 COMMON: Split compression and formats into separate modules 2022-12-11 22:33:23 +01:00
Cameron Cawley
ed9c052d57 COMMON: Split Lua into a separate module 2022-11-16 22:45:26 +02:00
SupSuper
601d9dc7d4 CREATE_PROJECT: Warning flag -Wall already includes -Wimplicit 2022-04-25 06:59:13 +01:00
SupSuper
18ebbdcf99 CREATE_PROJECT: Don't add GCC warnings to MSVC CMake 2022-04-25 06:46:28 +01:00
NMIError
221fa4c841
AUDIO: Add support for RetroWave OPL3
This commit adds support for the SudoMaker RetroWave OPL3 sound card. Requires
the retrowave library.

Add the following settings to scummvm.ini:
retrowaveopl3_bus=serial
retrowaveopl3_port=<port> f.e. COM3 or ttyACM0
2022-01-29 17:33:29 +01:00
Le Philousophe
04b1ce5a6e CREATE_PROJECT: Make OpenGL features consistent with configure 2022-01-18 16:49:03 +01:00
Orgad Shaneh
7998025b98 CREATE_PROJECT: Centralize toUpper 2022-01-18 09:24:29 +02:00
Orgad Shaneh
aa24872dc6 CREATE_PROJECT: Accept std::ostream in writeFileListToProject 2022-01-14 12:53:21 +02:00
Le Philousophe
52dcac9fc6 CREATE_PROJECT: Fix theoradec feature name
This is needed by sword25
2022-01-09 17:28:17 +01:00
Le Philousophe
0011ad97cb CREATE_PROJECT: Add a warning when the feature is not found 2022-01-09 17:28:17 +01:00
Henrik "Henke37" Andersson
8119ae19c0 CREATE_PROJECT: Fix feature name for freetype
The name was inconsistent with the main build system
2022-01-09 18:27:24 +02:00
Henrik "Henke37" Andersson
61e2c5c928 CREATE_PROJECT: Consistent name for zlib
The feature name didn't match with other code.
2022-01-06 22:43:05 +02:00
Paweł Kołodziejski
f1812277d2 DEVTOOLS: Enable mpeg2 by default 2022-01-01 13:38:06 +01:00
Cameron Cawley
21b0d6ded1 BACKENDS: Replace GLEW with GLAD, part of PR #3463 2021-12-30 14:53:48 +01:00
Eugene Sandulenko
d79b75dce5
DOCS: Moved all non-main licenses to LICENSES/ directory. Synced all lists
I could potentially break some port packaging as my changes were not tested
2021-12-27 14:58:23 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
62797daf3c DEVTOOLS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
SupSuper
f4c904d2d2 CREATE_PROJECT: Add Visual Studio 2022 support
Because I know someone's gonna ask me about it :P
2021-11-10 05:49:03 +00:00
sluicebox
76778e100f CREATE_PROJECT: Remove VS2008 project generator
Now that C++11 is mandatory we can retire our old friend
2021-11-07 11:36:49 +02:00
sluicebox
16bf767de3 CREATE_PROJECT: Add --include-dir and --library-dir
Additional include and library directories can now be added.

This is most useful to Xcode Mac projects where a vanilla Homebrew setup
requires manually adding five directories through the Xcode UI and then
repeating that every time the project needs to be regenerated.

Now create_project can be scripted to regenerate a working Mac project
without any extra Xcode steps.
2021-11-06 19:08:06 -05:00
sluicebox
4025901ab1 CREATE_PROJECT: Add DETECTION_FULL feature
Allows disabling full detection with --disable-detection-full,
just like the configure script.
2021-11-01 21:34:55 +01:00
Eugene Sandulenko
886a8c43a1
CREATE_PROJECT: Drop cxx11 feature 2021-10-31 11:45:08 +02:00
Orgad Shaneh
0b2ae9fa5e DEVTOOLS: Replace ugly SDL/MinGW hack with a cleaner hack
Instead of having main=SDL_main defined by pkg-config/sdl2-config --cflags
and undefining it everywhere, strip it in its origin.
2021-08-03 07:35:15 +03:00
Orgad Shaneh
99773ee204 DEVTOOLS: Fix create_project compilation on Windows with UNICODE defined 2021-08-02 17:47:29 +02:00
sluicebox
f0fd086948 CREATE_PROJECT: Fix enabling fluidlite 2021-07-24 22:02:38 +01:00
sluicebox
2bca5da803 WIN32: Make UNICODE the default build configuration 2021-07-14 18:41:02 -05:00
sluicebox
41ab2c799b CREATE_PROJECT: Fix warning when building on Mac 2021-06-30 22:50:09 -05:00
sluicebox
1f253b805c CREATE_PROJECT: Add --use-windows-unicode 2021-06-29 12:38:01 -05:00
SupSuper
3b43a99fda CREATE_PROJECT: Support building with FluidLite 2021-04-25 20:39:55 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Martin Gerhardy
bb34721dd4 IMAGE: added GIFDecoder using libgif 2021-04-10 10:59:09 +02:00
SupSuper
30b06ae9de CREATE_PROJECT: Add new scaler feature flags 2021-03-15 20:52:05 +00:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
SupSuper
73755d1d3a CREATE_PROJECT: Fix infinite loop when generating tests 2021-02-22 12:22:47 +00:00
SupSuper
eeda14b170 CREATE_PROJECT: Fix incorrect text filenames 2021-02-22 12:18:45 +00:00
SupSuper
9401ef1a82 CREATE_PROJECT: Don't include detection in tests/tools 2021-02-22 12:10:11 +00:00
SupSuper
cc015ed40d CREATE_PROJECT: Don't exclude header files
We can't accurately determine which header belongs to which object,
so leave them in. They don't affect the compilation anyway.
2021-02-02 10:00:00 +00:00
Henrik "Henke37" Andersson
ad09e09af5 CREATE-PROJECT: easy access to named features 2020-11-12 00:54:06 +00:00
SupSuper
b0bc795999 CREATE_PROJECT: Don't include files with the same name but different paths 2020-11-11 10:24:59 +00:00
sluicebox
cdaa3020ee CREATE_PROJECT: Code formatting 2020-11-10 21:10:01 -08:00
sluicebox
4f29b747fd CREATE_PROJECT: Fix compilation on older MSVC 2020-11-10 21:05:51 -08:00
SupSuper
e9b3974ff8 CREATE_PROJECT: Replace duplicate filename check with unique object files 2020-11-11 04:12:36 +00:00
Martin Gerhardy
7be30d492b CREATE_PROJECT: fixed cmake generator
* Support for pkg-config was added
* Shortened the CMakeLists.txt by more than 4000 lines
* Added macro for feature detection
* Configure stage is reporting missing libs as error now (they were reported as compile errors during the build before)
* Link the scummvm-detection lib (this was missing before)
* Added missing defines like DETECTION_STATIC and USE_SDL2
* Group impl and header files in src file list to shorten the cmake script
* Unified indention for generated script
2020-11-08 11:30:25 +01:00
SupSuper
b58abb64d7 CREATE_PROJECT: Only create detection project if feature is enabled 2020-11-03 07:10:13 +00:00
Henrik "Henke37" Andersson
803d8f1ba5 CREATE_PROJECT: Put detection in a separate project
Keeps the main project clean and is a prerequisite for loading detection as a plugin
2020-11-03 07:10:13 +00:00
Cameron Cawley
1bf1fb40fc
CONFIGURE: Allow building with TinyGL disabled (#2528) 2020-10-14 20:31:22 +02:00
SupSuper
f22f08059c CREATE_PROJECT: --disable-opengl disables all OpenGL features 2020-10-10 19:53:34 +01:00