185 Commits

Author SHA1 Message Date
Orgad Shaneh
aa24872dc6 CREATE_PROJECT: Accept std::ostream in writeFileListToProject 2022-01-14 12:53:21 +02: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
Paweł Kołodziejski
02dd2eb068
DEVTOOLS: Added suppress options in xcode for pragma and deprecated opengl/es 2021-12-05 16:38:56 +01:00
Orgad Shaneh
62797daf3c DEVTOOLS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Eugene Sandulenko
c69fadfa65 BUILD: Added gui-icons.dat to the list of redistributable files 2021-11-12 14:46:34 +01: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
Eugene Sandulenko
e5a60d34cc
CREATE_PROJECT: Enable C++11 for Xcode by default 2021-10-31 11:52:06 +02:00
sluicebox
f0fd086948 CREATE_PROJECT: Fix enabling fluidlite 2021-07-24 22:02:38 +01:00
lb_ii
fb1f399f5a DISTS: Add achievements.dat to various dat file lists 2021-06-10 01:56:23 +03: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
Le Philousophe
224729ebde BUILD: Add GIF to Apple specific build code 2021-04-11 10:34:57 +02:00
Donovan Watteau
03960d5663 CREATE-PROJECT: Call realpath() in a more portable way
Non POSIX.1-2008 systems will not necessarily accept NULL as the
second argument, and could crash the program here. Provide a
temporary buffer on the stack instead, and don't count on realpath()
allocating one on the heap. This will work on older POSIX.1-2001
systems.

(In theory, this older POSIX.1-2001 syntax could have portability
problems too, because of PATH_MAX, but in practice this shouldn't
be a problem for the systems intended to be used by create_project.)

Fixes the build on Mac OS X Leopard.
2021-02-09 13:33:56 -08:00
Donovan Watteau
7e79fd6e61 CREATE-PROJECT: Include CommonDigest.h for macOS, not CommonCrypto
<CommonCrypto/CommonDigest.h> should be used for CC_MD5() on macOS.

Fixes the build on Leopard.
2021-02-09 13:33:56 -08:00
Donovan Watteau
3650aa6ce9 MACOSX: Stop using the -platform_version linker workaround for Retina displays
Commit a1d930209a6452649ab704dbbcf2084c9177936e is actually enough to
stop the blurry display issue on Retina screens (Bug #11430).

This reverts most of 70f79d3df8b4a9d4c6d1b69838ff5a722c51b61e.
2021-02-09 01:35:40 +00:00
Matthew Duggan
86dc1ceab6 CREATE_PROJECT: Don't add DEBUG to XCode Debug builds
This breaks some builds for some engines, and it had a bug which added it to
Release build too (oops!)
2021-01-11 10:49:29 +09:00
Matthew Duggan
05e1d42702 CREATE-PROJECT: Better defaults for xcode
* Add DEBUG define to debug builds
* Set optimization -O3 on release builds
2021-01-01 15:07:37 +09:00
Vladimir Serbinenko
b8a5483047 HADESCH: Use separate file for translations 2020-12-17 09:49:18 +01:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
SupSuper
b0bc795999 CREATE_PROJECT: Don't include files with the same name but different paths 2020-11-11 10:24:59 +00:00
SupSuper
e9b3974ff8 CREATE_PROJECT: Replace duplicate filename check with unique object files 2020-11-11 04:12:36 +00:00
Paweł Kołodziejski
d44f1f77ed GRIM: Rename engine data patches 2020-11-01 14:10:09 +01:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
4631c0e2ed ALL: Sync with ScummVM rev: a4002bdeee5ec11b4e5968912c0dc759bb60c8a3 2020-10-04 23:59:26 +02:00
Cameron Cawley
a4002bdeee CREATE_PROJECT: Enable C++11 for Xcode builds 2020-10-04 21:46:45 +01:00
Cameron Cawley
1355bfee75 CREATE_PROJECT: Add missing libraries to the Xcode generator 2020-10-04 18:31:00 +02:00
Pawel Kolodziejski
e6516edf5e DEV_TOOLS: Remove no longer needed comments 2020-10-04 18:14:13 +02:00
Paweł Kołodziejski
e01c915210 CREATE_PROJECT: Added MacPorts paths to Xcode 2020-10-04 18:09:46 +02:00
Pawel Kolodziejski
5487e5e718 ALL: Sync with ScummVM rev: e08ba6ff14b70accaa04323d67952eeb53a0e82a 2020-09-27 19:45:22 +02:00
Thierry Crozat
b4b91b1fad CREATE_PROJECT: Use RELEASE_BUILD define in Xcode Release configuration 2020-09-26 15:36:31 +01:00
Pawel Kolodziejski
4380aa2409 DEVTOOLS: Fixed theme name 2020-09-25 18:31:23 +02:00
Andrew Martin
d20d597f72 IOS: Add LaunchScreen.storyboard to support full screen on iPad Pro 2020-09-06 23:38:00 +01:00
Pawel Kolodziejski
d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b85694015fe2aa340219d2b60db873f3 2020-09-03 02:21:14 +02:00
Thierry Crozat
dc88a9fcb1 DISTS: Update the list of files to distribute 2020-09-02 20:42:18 +01:00
Pawel Kolodziejski
acd114234f XCODE: Fixed creating project file 2020-09-02 08:25:41 +02:00
SupSuper
bcb7d1f30c BACKENDS: Discord rich presence support
Adds support for showing the currently running game
in a Discord user's game activity.
2020-08-25 10:47:41 +02:00
Pawel Kolodziejski
aea3bae26d ALL: Synced with ScummVM - rev 0b777c23a9807d149a11d4df5ea3f4e748fb53f2 2020-08-11 00:59:40 +02:00
Einar Johan Trøan Sømåen
ff602877e6 DEVTOOLS: Unhardcode scummvm-name in create_project for XCode.
The existing code broke create_project in ResidualVM, as
the loop that creates the actual build configurations
generated the hash from the actual object name, which
for ResidualVM would be XCConfigurationList_residualvm.

The same logic was not applied when generating the reference,
as that would use the hardcoded name XCConfigurationList_scummvm.

This patch makes a minimal fix for that, by using the
PROJECT_NAME define instead of the hardcoded name.
2020-06-29 02:09:23 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c1207aa32b9966e8642ee60e2186e15789 2020-05-09 20:05:54 +02:00
Matthew Duggan
352eeb5795 CREATE_PROJECT: Add c++11 warnings to xcode project 2020-05-01 00:01:02 +01:00
Zvika Haramaty
7e168256c2 DEVTOOLS: add fribidi library support to create_project 2020-04-30 23:59:10 +01:00
Eugene Sandulenko
8a3fc359b2 DEVTOOLS: Modified macros, so they are less error-prone.
Code generation for libsdl_net was always performed. The condition
did not work as expected. Macros are dangerous.
2020-04-28 08:56:51 +02:00
Thierry Crozat
70f79d3df8 MACOSX: Unset SDK version in executable
This is a workaround for the blurry display we get on retina screen
when building with SDK 10.14 or above. Unsetting the SDK version
in the executable is sufficient to avoid the issue. See bug
similar change in LibreOffice.

The workaround can only be used with Xcode 11 or above. When using
configure it automatically detects if the workaround can be used.
The workaround is disabled by default in create_project and needs
to be enabled manually (uncomment the MACOSX_NO_SDKVERSION define
at the top of the xcode.cpp file).
2020-04-26 00:33:42 +01:00
Thierry Crozat
5b617c1eef CREATE_PROJECT: Use relative paths for static libraries for Xcode
With the project including both iOS and macOS targets, using an
absolute path ensures it is incorrect for one of those. Since it was
using /usr/local/lib/ all the paths had to be changed in Xcode to
build the iOS target.

Also as the paths where we expect the libraries to be (/usr/local/lib
on macOS and lib under the build directory for iOS) are added to the
search path in the Xcode project, we do not actually need to use
absolute path). Also this make it easier to use a different path for
libraries (e.g. if using MacPort or brew) as we only need to change
the search path setting in the Xcode project and not the
path for each library).
2020-04-24 10:53:23 +02:00
Matthew Duggan
a241f33dec CREATE_PROJECT: Add libSDL_net to OSX config when needed 2020-04-11 16:06:32 +09:00
Cameron Cawley
d95e7504ed BUILD: Convert the NEWS.md file if pandoc is installed 2020-03-12 11:28:00 +00:00
Lothar Serra Mari
b25841e4ae BUILD: Add ultima.dat to the list of engine data files 2020-02-02 22:35:20 +01:00
Thierry Crozat
406cc80458 CREATE_PROJECT: Handle compilation with libcurl and SDL_net in Xcode projects 2019-08-19 23:02:59 +01:00