Commit Graph

1875 Commits

Author SHA1 Message Date
Le Philousophe
9c7ce6cf33 VITA: Add SceMotion_stub library
It's used by new versions of Vita SDL.
Library is present for a long time so it should link OK with older SDKs.
2021-01-10 11:24:15 +01:00
Matthew Duggan
cb8228e69e CONFIGURE: Correct typo in message 2021-01-01 15:07:37 +09:00
Cameron Cawley
a1b67d2fbe CONFIGURE: Allow building without detection code for disabled engines 2020-12-06 20:04:02 +01:00
BeWorld
04e719bf32 MorphOS: active nuked OPL Adlib driver
Thanks Raziel to see that on AmigaOS platform :-)
2020-12-06 00:11:35 +00:00
Hubert Maier
f8e3dafb19 AMIGAOS: Update configure 2020-12-02 21:47:31 +01:00
Hubert Maier
e19d4e197b
AMIGAOS: Keep platform name continuity (#2643) 2020-11-26 15:10:01 +01:00
Hubert Maier
42883aae03 AMIGAOS: Add AmigaOS to the system dialogs
...and sort alphabetically
2020-11-23 19:18:46 +01:00
Le Philousophe
023b6fd42a CONFIGURE: Don't use bashism in pure shell script
281b187de4 introduced ${//} bashism which
doesn't work when /bin/sh isn't linked to bash.
Use a more portable version with ${#} as "Version:" string is at
beginning.
2020-11-15 17:07:59 +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
Eugene Sandulenko
281b187de4 CONFIGURE: Make Mac version check cross-compilation-friendly
We cannot execute the resulting binary, thus buildbot was not picking up
the version. Now we transfer version number into string at compile
time and search for it in the binary.
2020-11-15 15:49:21 +01:00
Eugene Sandulenko
93fcfdebdb CONFIGURE: Better compatibility with some bash versions 2020-11-15 13:12:38 +01:00
Eugene Sandulenko
852e9b550d CONFIGURE: Make MacOS version check more robust 2020-11-15 13:12:38 +01:00
Le Philousophe
3ab12b1d41 CONFIGURE: Fix TTS detection with Mingw
This matches commit da77bfd792 in real
code
2020-11-14 16:39:39 -08:00
Cameron Cawley
128b20634f IOS7: Fix compilation with Xcode 2020-11-09 19:12:33 +00:00
rsn8887
8ed43f8da2 CONFIGURE: fix fluidsynth detection for psp2 2020-11-06 12:35:59 -06:00
Le Philousophe
7c92081aa0 IPHONE: Don't link with SDL if it's unavailable
SDL_Net can be compiled without the need of SDL so avoid linking with
it.
Define WITHOUT_SDL as it's done (for nothing) in create_project
2020-11-01 10:11:06 +01:00
Le Philousophe
0415a9da2a IPHONE: Update defines for iPhone 7
It's what is used in Xcode project files generated by create_project
2020-11-01 10:11:06 +01:00
BeWorld
a434791bf8
MORPHOS: Add native file browser via Asl (#2574)
MORPHOS: Add native file browser via Asl
2020-10-31 09:44:55 +01:00
Paweł Kołodziejski
626284976c CONFIGURE: Enable opengles2 in 3d games by default for raspberrypi 2020-10-30 16:16:22 +01:00
Thierry Crozat
ed99753fa4 CONFIGURE: Fix detection of 10.4 OS X deployement target 2020-10-30 14:47:31 +00:00
Matthieu Milan
90d9540ad8
SWITCH: Add support for 3d games (#2558)
SWITCH: Add support for 3d games
2020-10-26 21:01:12 +01:00
Vladimir Serbinenko
366e9997c4 COMMON: Fix freetype path for psp
Current config ends up pulling freetype headers from host which depending
on version on host and in toolchain may result in linking or runtime errors
2020-10-25 22:46:59 +01:00
Vladimir Serbinenko
d671899e52 COMMON: Move -G0 to right place for psp 2020-10-25 22:46:35 +01:00
Vladimir Serbinenko
0714302b0b COMMON: Add -G0 for PSP
Our pspfull build has got section over 64K. Projects like retroarch also
use -G0. It's a bit slower and binary is a bit larger but it works.
2020-10-25 19:35:58 +01:00
Cameron Cawley
3e7948cf6a
ANDROID3D: Get it working again (#2529) 2020-10-15 09:59:11 +02:00
Paweł Kołodziejski
0aef08a2f3 CONFIGURE: Attempt to fix Android linking stage 2020-10-14 22:23:54 +02:00
Eugene Sandulenko
eeeaab0e4e CONFIGURE: Restore executable flag 2020-10-14 21:17:19 +02:00
Cameron Cawley
1bf1fb40fc
CONFIGURE: Allow building with TinyGL disabled (#2528) 2020-10-14 20:31:22 +02:00
Paweł Kołodziejski
a37173807f CONFIGURE: More work on opengl flags 2020-10-14 18:37:17 +02:00
Eugene Sandulenko
d10089492e CONFIGURE: Fix linking of OpenGL engine dynamic plugins 2020-10-14 17:10:45 +02:00
Paweł Kołodziejski
e3cd0da0df BACKENDS: Attempt to fix buildbot targets 2020-10-14 07:06:18 +02:00
Paweł Kołodziejski
b3ffd89c68 CONFIGURE: Do not enable opengl_shaders feature flag for gles2.
Gles2 feature flag is already as supporting shaders.
2020-10-10 18:41:23 +02:00
Paweł Kołodziejski
264f6f037b ALL: Separate USE_OPENGL and USE_OPENG_GAME. Exclude WME3D for GLES2 for now. 2020-10-10 14:12:07 +02:00
Paweł Kołodziejski
ef7039cb4c CONFIGURE: Remove orphaned _opengles v1 feature 2020-10-10 12:06:09 +02:00
Paweł Kołodziejski
b87fb7c70d WME: Fixed opengl ifdef guards. Synced glew flag with opengl in configure. 2020-10-09 20:56:48 +02:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Kirben
f27d08d097 BUILD: MinGW needs OpenGL library added for GLEW test. 2020-10-07 20:41:06 +11:00
Pawel Kolodziejski
2c9c005469 ICB: Remove ifdefs _PC and _PSX 2020-10-06 06:33:43 +02:00
Pawel Kolodziejski
2ff565cf32 ANDROID: Rename Android folder as it's specific for ResidualVM 2020-10-05 12:35:32 +02:00
Pawel Kolodziejski
4631c0e2ed ALL: Sync with ScummVM rev: a4002bdeee 2020-10-04 23:59:26 +02:00
Pawel Kolodziejski
f97156a36b CONFIGURE: Synced Android setup with ScummVM 2020-10-04 17:14:00 +02:00
Pawel Kolodziejski
175164d1f5 EMI: Added dependency on MPEG2 library 2020-10-04 11:40:10 +02:00
Pawel Kolodziejski
a38f8dc668 CONFIGURE: Minimise differences in configure file 2020-10-04 10:50:32 +02:00
Thierry Crozat
03d41e59e7 CONFIGURE: Fix initializer_list on some platforms 2020-10-03 20:59:12 +01:00
Pawel Kolodziejski
c12503a869 Synced with ScummVM rev: f6c5fed173 2020-10-03 18:14:12 +02:00
Thierry Crozat
786aac568b COMMON: Add c++11 initializer list replacement when not available in std lib
The c++11 standard includes some features that do not only depend on the
compiler supporting it, but also the c++ standard library having support
for it. This is the case for the initializer list feature. So when we
compile with a modern compiler but using an old std lib we need a
replacement for it.
2020-10-03 15:51:14 +02:00
Thierry Crozat
f1ed89e5a3 CONFIGURE: Define USE_CXX11 when c++11 is enabled 2020-10-03 15:51:14 +02:00
Thierry Crozat
27030c7029 CONFIGURE: Add cxx11 feature
The idea is that engines that want to use c++11 can specify it as
a dependency in their configure.engine file so that the engine
is automatically disabled when c++11 is not available.
2020-10-03 15:51:14 +02:00
aryanrawlani28
867e6c4e21 CONFIGURE: Improve enabling of detection as static/dynamic
- Add config statements to help in makefiles & base/plugins.cpp
- Print to console if detection is building as static or not
2020-10-03 14:56:36 +02:00
aryanrawlani28
e64446e4ce CONFIGURE: Remove detection submodules written to engines.mk
- Write detection_table inside engines subdirectory
2020-10-03 14:56:36 +02:00
aryanrawlani28
2ee4cd2878 CONFIGURE: Add functionality for detection modules for each engine
- In engines.mk, add another module "enginename/detection"
- This module is always added, regardless if the engine is enabled or not.
- Remove the array which helped out when each individual engine port was being added over.
2020-10-03 14:56:36 +02:00
aryanrawlani28
05e170415c CONFIGURE: TEMP: Add support to build detection features as dynamic.
- A commit to show how the new makefiles structure and flow would look like. This is not final.
2020-10-03 14:56:36 +02:00
aryanrawlani28
92839dce1c GLK: Split detection features & adapt to new plugins.
- Additionally, adapt to renaming glulxe -> glulx
2020-10-03 14:56:36 +02:00
aryanrawlani28
53c772aebb ULTIMA: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
52a420f4b1 MOHAWK: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
255af8a0eb SCI: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
c9f2c50380 WINTERMUTE: Split detection features & adapt to new plugins.
- Update AMEC's getFileProps (changes related to MacResMan)
- This commit also includes a change from other engines.
- Fallback detection here depends upon many Engine resources.
- As such, it might not be suitable to add all of them to executable.
- Thus, shift fallback detection to the dynamic part.
- The static part gets the relevant Engine plugin & then tries to call it.
- This way, fallback detection for Wintermute will depend on the engine plugin.
- Normal detection will still work fine.
2020-10-03 14:56:36 +02:00
aryanrawlani28
cd87a9150e XEEN: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
d8c82faf27 SAGA: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
30794432ab FULLPIPE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
7944a7b039 DIRECTOR: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
e9ad5efad1 CRYOMNI3D: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
fb458421cf CRYO: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
2712bccff6 CRUISE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
ec3ccf5eb0 CINE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
6ade053c01 CHEWY: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
de141e7826 BLADERUNNER: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
c4ba47a65d BBVS: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
9208a65a1f AVALANCHE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
46f1ba1f1f WAGE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
52cdf07671 VOYEUR: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
7c7263564b TUCKER: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
d001efc534 TSAGE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
d69a9b519f TOUCHE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
cf5581f27f TOON: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
02c71c91f5 TONY: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
2360e21dd1 TOLTECS: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
dae6013369 TITANIC: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
b1be077085 TINSEL: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
31b35628f2 TESTBED: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
2aca677fcc TEENAGENT: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
c7d7d18ad2 SUPERNOVA: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
65f13a0b26 STARTREK: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
af47301cca SLUDGE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
e29f02597c SHERLOCK: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
4458a2e243 PRINCE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
0816e46ba6 PINK: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
556aa7ef7c PETKA: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
8f751aa359 PEGASUS: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
d3f164698a PARALLACTION: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
fbac5798fb NEVERHOOD: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
056f26402a MUTATIONOFJB: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
394aa54b7b MORTEVIELLE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
d338d4c7d4 MADS: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
70ba16f857 MADE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
985faf8d8c MACVENTURE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
5593b47e88 LILLIPUT: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
06cb6c50e6 LASTEXPRESS: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
0fbfa709a2 LAB: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
846336cb31 KYRA: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
033ad0baa1 KINGDOM: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
fe37efbca2 ILLUSIONS: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
242e01bb02 HUGO: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
eaa1ef09a5 HOPKINS: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
eb78152664 HDB: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
563cef1071 GROOVIE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
854a499307 GRIFFON: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
1c06bc6e75 GNAP: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
cf69fce865 DRAGONS: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
8eb9ae7c98 DRACI: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
26c475b784 DM: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
7bdc910cc8 COMPOSER: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
ce07bd711f GOB: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
2f6453100b AGOS: Split detection code & adapt to new plugins.
- Move AGOSGameDescription -> detection.h
- Move obsoleteGameIDsTable -> obsolete.h
- Both the above points are because the detection needs them, as well as the engine.
- By moving to headers in this pattern, we avoid many unnecessary inclusions and keep everything clean.
2020-10-03 14:56:36 +02:00
aryanrawlani28
c7dc3d6118 ZVISION: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
c5325c68c9 ACCESS: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
4ef8eab545 CGE2: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
0d61c5bd4b CGE: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
4b377af8c6 QUEEN: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
c2428c7a8f ADL: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
0880ab9357 SWORD25: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
a21da27bf1 SWORD2: Refactoring of code, split detection code, adapt to new plugins.
- Entire code was located in the main sword2.cpp file.
- Seperate detection-related code to detection.cpp
- Seperate other MetaEngineConnect related code to metaengine.cpp
- detection.h serves common code between the above files
- A enum value has been copied from sword2.h into the detection TU to avoid duplicate copy
- the detection.h has static function definitions for detecting games.
- This is because metaengine.cpp includes it & detection.cpp does as well.
- If we keep the methods as static, we can truely seperate out everything detection related.
2020-10-03 14:56:36 +02:00
aryanrawlani28
467ca35a37 SWORD1: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
141edd7eb8 LURE: Split detection code & adapt to new plugins.
- There is also some shifting around of code done, so metaengine.cpp & detection.cpp can only share what's needed.
2020-10-03 14:56:36 +02:00
aryanrawlani28
14edaf3d03 DRASCULA: Split detection code & adapt to new plugins
- Also shift common things to detection.h, like a struct & enum.
2020-10-03 14:56:36 +02:00
aryanrawlani28
5161f46f98 DREAMWEB: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
6a3b7b6722 SKY: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
dc4672e294 SCUMM: Split detection features & adapt to new plugins.
- Also, we remove the static keyword so other TU's can use the functions defined.
- This change has a catch.
- Because creating an instance depends on game detection code from detection.cpp, we cannot exclude it from Scumm.
- For Statically linked Scumm, we can simply exclude these detection files, because they're already being built.
- For dynamically linked Scumm, we can add it to our executable.
- Thus, for dynamically linked Scumm, one catch is that we have duplicated code (detection.o in our executable, as well as scumm.dll), but that shouldn't be a big problem considering the advantage it gives us: Detection without a plugin loading.
2020-10-03 14:56:36 +02:00
aryanrawlani28
fa36701425 AGI: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
978901cc2f PLUMBERS: Split detection code & adapt to new plugins.
- Detection related code, and the class MetaEngine lives in detection.cpp
- Things which require the engine to be loaded, are in metaengine.cpp - the relevant class is called MetaEngineConnect.
- Update modules for the necessary changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
5d3292d844 CONFIGURE: Update to properly support statically linked ScummVM.
- Since new engine classes cannot provide same ID for the 2 different types of MetaEngines, update the script to adjust for this behaviour.
2020-10-03 14:56:36 +02:00
aryanrawlani28
365b1101f3 CONFIGURE: Add static-detect-plugins array to be added in plugin_tables.h
- Currently, it is empty.
- After I enable engines one by to one to use detection statically, I will add them to the static_detect_engines array.
2020-10-03 14:56:36 +02:00
Thierry Crozat
6f1a119263 BUILD: Disable debug build by default for release builds
It is still possible to make a release build with debug symbols by
explicitly requesting it with configure --enable-release --enable-debug
2020-10-03 11:40:50 +01:00
Pawel Kolodziejski
6f69981904 BACKENDS: Drop launcherInitSize() and use 2d backend gfx manager for launcher. 2020-09-30 16:52:44 +02:00
Pawel Kolodziejski
c4d8aa5bde CONFIGURE: Switch to c++11 2020-09-25 19:00:51 +02:00
Pawel Kolodziejski
f87f334e26 CONFIGURE: Missing changes from last sync with ScummVM 2020-09-24 19:43:10 +02:00
Pawel Kolodziejski
bfe58d3c77 ALL: Synced with ScummVM - rev: d4db631f9b 2020-09-23 21:52:10 +02:00
Lothar Serra Mari
18756f80b1 BUILD: Add option to exclude additional resources from the binary 2020-09-21 23:14:23 +02:00
Hubert Maier
6d1ae2d9d3 AMIGAOS: Set optimization on non-debug-builds and ordering
Move morphos down the list to keep the alphabetic ordering
2020-09-17 22:14:20 +02:00
Thierry Crozat
fa1ec35672 BUILD: Use -Os optimization for mac PPC release builds
Without this we now get a 'virtual memory exhausted' error when
running the executable.
2020-09-14 17:45:47 +01:00
Eugene Sandulenko
fa984f050a CONFIGURE: Enable C++11 by default 2020-09-14 14:21:24 +02:00
Cameron Cawley
e092a02919 CONFIGURE: Enable additional functionality on OpenBSD 2020-09-13 15:05:57 +01:00
Pawel Kolodziejski
015caa2313 CONFIGURE: Corrected project name 2020-09-12 19:40:51 +02:00
Pawel Kolodziejski
15a759370a ALL: Synced with ScummVM - rev: bdbbcd81ae 2020-09-12 19:38:50 +02:00
Cameron Cawley
8aab4b0361 RISCOS: Add a VFP optimized target for newer hardware 2020-09-09 20:37:17 +01:00
Cameron Cawley
ffe666c6b2 CONFIGURE: Improve reporting the SDL version 2020-09-08 23:27:23 +01:00
Cameron Cawley
80f0cf9f41 RISCOS: Improve compilation flags 2020-09-08 23:27:12 +01:00
Cameron Cawley
a3500937a9 CONFIGURE: Allow using pkg-config to detect FriBidi 2020-09-06 19:26:20 +01:00
Eugene Sandulenko
9070c8f474 CONFIGURE: RaspberryPi has clock, enabling savegame timestamps 2020-09-05 14:45:44 +02:00
Pawel Kolodziejski
d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b8 2020-09-03 02:21:14 +02:00
Thierry Crozat
316edb3585 Revert "CONFIGURE: Do not enable Sparkle in release mode on platforms without it. Fixes #11217"
The commit had the effect of disabling update altogether as there is
no check for the _updates variable and anything that is not "yes"
disables updates. Instead there is a test for the _sparkle variable
(that is already set to auto by default).

The two variables exist because potentially we could use something
other than Sparkle for the updates.

Also the bug was already fixed by rootfather in commits f204867 and
2615c68 by making sure that _updates is false if _sparkle is false.

This reverts commit 581b4ca594.
2020-08-26 23:34:11 +01:00
Eugene Sandulenko
581b4ca594 CONFIGURE: Do not enable Sparkle in release mode on platforms without it. Fixes #11217 2020-08-26 19:19:28 +02:00
Eugene Sandulenko
caa2dda045 CONFIGURE: Allow sdl-config sit in /usr/sbin. Fixes #11259 2020-08-26 01:32:54 +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
BeWorld
2f1acbe627 MORPHOS: simplify VERSION
- Same as AmigaOS4, add AMIGA format DATE
- Configure : force optimization level on release build
2020-08-21 00:59:18 +02:00
Eugene Sandulenko
18fd8f91e4 MORPHOS: Update configure
Co-authored-by: Cameron Cawley <ccawley2011@gmail.com>
2020-08-21 00:59:18 +02:00
BeWorld
ead34d3fc6 MORPHOS: Fix configure 2020-08-21 00:59:18 +02:00
BeWorld
521731f28e MORPHOS: Use SDL2 2020-08-21 00:59:18 +02:00
BeWorld
176929568c MORPHOS: MORPHOS: Build with SDL1 by default 2020-08-21 00:59:18 +02:00
BeWorld
b8eef48149 MORPHOS: Update configure
Update MorphOS
2020-08-21 00:59:18 +02:00
BeWorld
ddd9bf050b MORPHOS: MorphOS Support 2020-08-21 00:59:18 +02:00
Eugene Sandulenko
771ba72d24 CONFIGURE: Remove -O2 flag from --enable-tsan 2020-08-19 12:34:58 +02:00
Eugene Sandulenko
a84801d0bf CONFIGURE: Added --enable-tsan option 2020-08-19 12:16:29 +02:00
Pawel Kolodziejski
aea3bae26d ALL: Synced with ScummVM - rev 0b777c23a9 2020-08-11 00:59:40 +02:00
Pawel Kolodziejski
d9cca15185 ALL: Set theora lib detection to auto in configure 2020-08-10 19:40:32 +02:00
Cameron Cawley
4d2b45f3bd CONFIGURE: Always print the SDL version for SDL-based backends 2020-08-03 01:04:23 +01:00
Cameron Cawley
e95f86f9e2 CONFIGURE: Support using pkg-config to detect FluidSynth 2020-08-01 20:32:09 +01:00
Eugene Sandulenko
aa563f0c81 ALL: Remove PS2 port 2020-08-01 15:15:49 +02:00
Eugene Sandulenko
eaa86f9333 ALL: Remove WebOS port 2020-08-01 14:56:16 +02:00
Eugene Sandulenko
432383a667 ALL: Remove Tizen port 2020-08-01 14:42:45 +02:00
antoniou79
4afca9ca06 CONFIGURE: Revert explicit ogg requirement for theoradec
It seems that theoradec is not necessarily always linked to an external ogg library

The (xiph) reference implementation depends on the ogg (xiph) library, but optimized versions for various archs (etc the theorarm) might not have this requirement. So better to not prevent enabling it, if the test is passed, even if in some cases it may result to linkage errors if ogg (external) was not enabled.
2020-07-27 11:23:02 +03:00
antoniou
9828996bd3 CONFIGURE: Require ogg detected and enabled for theora 2020-07-27 02:11:43 +03:00
Cameron Cawley
ceed6b2c8c NULL: Allow using Ctrl+C to open the debugger 2020-07-25 13:31:33 +02:00
antoniou79
e6e591a28e CONFIGURE: Update comments for Android port 2020-07-22 06:11:44 +03:00
antoniou
93568a05fa CONFIGURE:Fix path for Android builds (build.gradle)
For when not building directly from the scummvm source directory
2020-07-07 08:37:03 +03:00
Mataniko
f2697269fa BUILD: Support building Android on OSX 2020-07-06 17:39:45 -04:00
Pawel Kolodziejski
0320ac4d19 ICB: Import engine from the branch as unstable engine 2020-06-28 08:54:42 +02:00
Pawel Kolodziejski
3de1a96480 ANDROID: Reverse changes from ScummVM sync 2020-06-25 10:58:11 +02:00
Pawel Kolodziejski
50b0266753 ANDROID: Reverse change from ScummVM sync 2020-06-25 10:28:57 +02:00
Pawel Kolodziejski
fa277fcb48 ALL: Sync with ScummVM - rev a94849abc4 2020-06-25 08:34:00 +02:00
Cameron Cawley
137759d1d0 CONFIGURE: Fix detection of Linux CD-ROM support 2020-06-24 21:56:07 +01:00
Cameron Cawley
9dd91d651c POSIX: Support building with TTS support on FreeBSD
This fixes Trac #11347.
2020-06-24 21:10:44 +01:00
Pawel Kolodziejski
8f4e1c6cf3 Sync with ScummVM rev. 654b8208b8 2020-06-22 08:14:16 +02:00
Matthew Duggan
a4aaeed79d CONFIGURE: Add -fno-operator-names for clang/gcc
The use of operator names works fine on gcc and clang, but breaks MSVC.  Make
them error on gcc/clang too.

According to this random link, gcc and clang have supported this flag for a
really long time, so it shouldn't need an extra compile check:
https://phabricator.kde.org/D3850
2020-06-18 23:47:02 +01:00
Dries Harnie
d91039cbfb ANDROID: Record build ID so Android Studio can debug 2020-06-09 12:45:15 +02:00
Philippe Valembois
a7a11c3fde CONFIGURE: Undefine __STRICT_ANSI__ for newlib based platforms
This allows backends to use non-ANSI functions.
As it was the main reason to not set -ansi on these platforms, add it
back to ensure strict adherence to C++ standard.
2020-06-02 21:47:20 +02:00
Thierry Crozat
f1bd664042 CONFIGURE: Rename test c++11 flag for consistency 2020-05-29 19:23:02 +01:00
Eugene Sandulenko
5a0b0c474a CONFIGURE: Improve wording 2020-05-27 13:14:24 +02:00
Zvika Haramaty
55ae963488 BASE: Added 'test_new_standards.cpp'
Adding C++11 compatibility tests, disabled by default.
See instructions inside the file.
2020-05-27 12:47:05 +02:00
Cameron Cawley
84c763a048 NULL: Add 16bit support 2020-05-27 12:44:59 +02:00
Cameron Cawley
9c422f5ce1 ANDROID: Set the default path for curl-config 2020-05-23 21:12:24 +03:00
Cameron Cawley
bdf4ab5c06 ANDROID: Set a default path for PKG_CONFIG_LIBDIR 2020-05-23 21:12:24 +03:00
mataniko
321a02aff2 JANITORIAL: Rename shouldRTL, resetRTL and FORCE_RTL 2020-05-12 10:36:38 +02:00
Pawel Kolodziejski
bd32585c45 ALL: Added missing files, don not enable docker plugin 2020-05-09 20:58:00 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c120 2020-05-09 20:05:54 +02:00
Zvika Haramaty
1b8f471c69 GUI: Added (partial) BiDI support
Added GNU FriBidi, thus allowing Hebrew (or other future RTL languages)
to be displayed correctly.
It's been implemented for all ScummVM GUI (as far as I have noticed),
and can be further used by the engines as needed.

This work is only partial, because for complete BiDI support we'll need
to mirror the widgets, and support input text areas (which currently
don't even support Hebrew text input at all).

Some changes are required in order to use this:
- Visual Studio:
  -- add FriBidi lib from https://github.com/ShiftMediaProject/fribidi
     (and place the files in the other libs location)
  -- add fribidi.dll to the current directory
  -- add fribidi.lib to VS library list
     (in GUI it's: Project -> scummvm Properties -> Linker ->
                   input -> Additional Dependencies)
  -- Add USE_FRIBIDI define
     either to:
         dists/msvc/ScummVM_Global.props   <PreprocessorDefinitions>
     or in GUI:
         Project -> scummvm Properties ->
         C/C++ -> Preprocessor -> Preprocessor Definitions
- GCC:
  -- install FriBidi
     e.g.,
        Ubuntu: `apt-get install libfribidi-dev`
        CentOS: `yum install fribidi-devel`
  -- rerun `configure`
2020-04-30 10:32:18 +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
Eugene Sandulenko
9a4f29cccf CONFIGURE: Add --enable-asan option to the help screen 2020-04-16 16:40:07 +02:00
Le Philousophe
e09b4e9e99 ANDROID: Make compilation settings more flexible
- Don't expect compilation to be run on a Linux host
- Allow override of CXX and STRINGS by environment variables

This should not break already working build systems
2020-04-07 11:36:02 +03:00
Thanasis Antoniou
e9d20eec4b CONFIGURE: Allow scalers and hd scaling for Raspberry Pi 2020-04-06 18:54:31 +03:00
Dries Harnie
0e1ac9b46c BUILD: Android build fixes for OSX 2020-04-06 17:06:41 +02:00
Thanasis Antoniou
7ac78c9172 CONFIGURE: Fix Raspberry Pi cross compilation using the Pro toolchain
https://github.com/Pro/raspi-toolchain

Current release of this toolchain must be installed in /opt
This uses a more recent gcc (8) whereas the official one uses 4.3-2
2020-04-06 04:59:17 +03:00
Thanasis Antoniou
507280c2d1 CONFIGURE: Fix raspberry pi cross-compilation 2020-04-05 21:13:48 +03:00
Thierry Crozat
9955f72160 MACOSX: Add detection of target OS version in configure
This is used for two purposes:
1. Use the new legacy icon when targeting 10.5 or older. This fixes
bug #11261 MAC OS X: App icon doesn’t display on OS X 10.5.8.

2. Do not attempt to compile the dock plugin in 32 bits when
targeting 10.14 or newer. This fixes the bundle target as support
for compiling 32 bits binaries was removed in SDK 10.14.

This commit also removes the bundle64 target as it is no longer
needed.
2020-03-28 19:04:29 +00:00
Cameron Cawley
f2d323628d GCW0: Fully disable the downscaling code 2020-03-27 22:50:41 +01:00
Peter Kohaut
470a1d3586 ANDROID: Switch to Gradle
Updated NDK to r21 (LTS)
Switch target Android to 29 as it is required by Google Play Store
Switch minimum Android to 16 (4.1) as it is the lowest supported version by NDK
Removed MIPS and armeabi as they are no longer supported
Renamed Android build names into official ones
2020-03-27 22:45:25 +01:00
SupSuper
897efb1454 POSIX: Add support for native GTK file browserOnly enabled on platforms with libgtk 2020-03-22 20:46:42 +02:00
Eugene Sandulenko
4428ecb349 CONFIGURE: Move saved flags to beginning of config.mk
This lets easier lookup during the development.
2020-03-16 09:22:01 +01:00
Cameron Cawley
3e94325df9 BACKENDS: Allow compiling certain backends for standard Linux platforms 2020-03-16 01:29:20 +02:00
rsn8887
eaa487fcd4 CONFIGURE: verbose linker on psp2 to prevent buildbot timeout 2020-03-14 09:42:44 -05:00
rsn8887
c944e5af25 CONFIGURE: use multiple lto jobs for psp2 to speed up linking 2020-03-14 09:27:27 -05:00
rsn8887
45112f416d CONFIGURE: use lto and gc flags on psp2 to reduce executable size 2020-03-14 00:46:46 -05:00
Cameron Cawley
d95e7504ed BUILD: Convert the NEWS.md file if pandoc is installed 2020-03-12 11:28:00 +00:00
Eugene Sandulenko
75ba54aa3e BACKENDS: Remove LinuxMoto port.
This was a relatively short-lived port. We have it broken and
disabled on the buildbot since 2016. Also, the last builds
were provided in 2011. Thus, it makes a little sense to continue
to keep the code in the repository, as it gets bitrot.
2020-03-09 14:31:14 +01:00
rsn8887
105b20ece3 CONFIGURE: Add fluidsynth support for Nintendo Switch 2020-03-06 22:19:25 -06:00
Cameron Cawley
c22d8f1678 CONFIGURE: Allow building with Tremor instead of Vorbis 2020-02-26 05:39:44 +01:00
Cameron Cawley
2bb6accb85 RISCOS: Build with SDL1 by default 2020-02-25 22:42:41 +00:00
Björn Esser
8c28a2da78 CONFIGURE: Add an environemt variable that discards the --host option
In the previous commit we modified the configure script to silently
ignore some options, that are not needed for ScummVM, but are valid
for the configure script generated by GNU Autotools, so the configure
macro for RPM-based distributions can be used when building a rpm
package for them.

Unfortunately the configure script, as used by ScummVM uses the --host
option to determine the target system it will actually be build for.
Autotools based configure scripts have a --target option for such a
purpose, and use the --host option to determine the system the build
is performed on.

For that reason there should be a way to discard the parameters passed
to the configure script with the --host option.  The easiest approach
to achieve this goal, is to have an environment variable, which when
set influences the configure script to ignore the parameters of the
--host option.

Thus we introduced a variable called 'CONFIGURE_NO_HOST', that will
when set to anything, but an empty value, before invoking the configure
script, have the parameters of the --host option take no influence on
the configure stage (and the build stage as well).
2020-02-22 09:44:53 +01:00
Björn Esser
826b7bfe73 CONFIGURE: Ignore options valid for Autotools configure
RPM-based distributions come with a configure macro, that sets up the
whole build environment.  In order to be able to use this macro, some
options, which are valid for the configure script generated by GNU
Autotools, should not error-out when preparing the build stage.
2020-02-22 09:44:53 +01:00
Zvika Haramaty
e4473c067f CONFIGURE: --help: indent subengines
Instead of showing subengines directly under their parent engine, like:
	illusions              Illusions Engine engine
	kyra                   Kyra engine
	lol                    Lands of Lore in Kyra engine
	eob                    Eye of the Beholder in Kyra engine
	lab                    Labyrinth of Time engine

Show them slightliy indented, like:
    illusions              Illusions Engine engine
	kyra                   Kyra engine
	- lol                  Lands of Lore in Kyra engine
	- eob                  Eye of the Beholder in Kyra engine
	lab                    Labyrinth of Time engine

It keeps the list sorted, and makes it easier to skim through it.
2020-02-19 23:15:23 +02:00
Zvika Haramaty
755a26ab04 CONFIGURE: fixed documentation for '--with-sdl-prefix=' flag 2020-02-19 23:15:23 +02:00
Bastien Bouclet
81aedefad0 3DS: Fix libcurl detection 2020-02-01 09:36:10 +01:00
Bastien Bouclet
d2f09a4bfc BUILD: Don't build the event recorder by default
It's been broken for a few years, see bug #10045. It's said not to work
with the keymapper which is now always enabled.
2020-01-29 08:51:29 +01:00
Bastien Bouclet
14663c4790 KEYMAPPER: Make the keymapper mandatory 2020-01-29 08:51:29 +01:00
Bastien Bouclet
4472ea46c3 BUIL: Do not check for Clang when enabling ASan
ASan is available on GCC as well.
2020-01-21 07:51:00 +01:00
Eugene Sandulenko
fa9d525b8f CONFIGURE: Added option for enabling clang Address Sanitizer 2020-01-20 18:37:23 +01:00
D G Turner
3e47e0ec50 CONFIGURE: Ensure Compiler Errors Are Saved in Temporary Debug Log
This is for debugging the current buildbot toolchain failures, but
it is a relatively innocuous change which should help debugging if
compilers are failed to be detected for various porters.
2019-12-12 02:21:48 +00:00
Bastien Bouclet
feaf9dc365 ALL: Sync with ScummVM rev. 55dba55056 2019-12-08 17:06:42 +01:00
Bastien Bouclet
34e835a20c 3DS: Implement dynamic plugins
Allows a full build to run on old generation devices
2019-12-01 17:19:50 +01:00
Cameron Cawley
25f6c78825 3DS: Move -Wl,--gc-sections to avoid it interfering with the library checks 2019-11-30 14:53:48 +00:00
Thanasis Antoniou
c2b792bccf CONFIGURE: Detect SDL_net independently from SDL
Some platforms (eg. Android, iOS) use edited versions of SDL_net or SDL2_net that does not require SDL or SDL2

This should enable local server (LAN) mode for Android and probably iOS
2019-11-22 15:22:07 +02:00
Cameron Cawley
f2b9f7bb76 BACKENDS: Remove the Windows CE port 2019-11-17 22:33:56 +01:00
Lothar Serra Mari
2615c684ed BUILD: Properly disable updates if no Sparkle implementation is available 2019-11-17 22:23:04 +01:00
Lothar Serra Mari
f204867cda BUILD: Disable updates if no Sparkle implementation is available
Currently, --enable-release always enables updates even on unsupported platforms.
This additional check disables updates entirely if no proper sparkle implementation
is found.

Fixes #11217.
2019-11-17 22:23:04 +01:00
Eugene Sandulenko
3d75d40acb CONFIGURE: Detect SDL_Net with pkg-config when available 2019-11-12 23:26:22 +01:00
Eugene Sandulenko
954aeccfb7 CONFIGURE: Move pkg-config detection as early as possible 2019-11-12 23:26:22 +01:00
Thanasis Antoniou
3e9504856f ANDROID: Override UTF-8 compliant definition of vsn_printf
This sets Android as a non-standard port in configure in order to override the definition for vsn_printf

The vsn_printf implementation is taken from https://github.com/weiss/c99-snprintf
2019-11-12 20:01:43 +02:00
Bastien Bouclet
2d11974c28 3DS: Use DATA_PATH to configure support files location 2019-11-03 19:14:15 +01:00
Thanasis Antoniou
4eecfb8da9 ANDROID: Disable verification of certificates validity for cloud saving
Also added macros for the plain (non-SDL) Android port __ANDROID_PLAIN_PORT__ and ANDROID_PLAIN_PORT

The workaround of this commit uses the same logic as for the Nintendo Switch port and should suffice for testing purposes. It should be replaced by more elaborate code of installing and maintaining a certificates pem file.
2019-11-01 19:13:27 +02:00
Thanasis Antoniou
f1b0ec772c CONFIGURE: Remove include path cxx-stl for android (host_os) builds 2019-10-25 10:54:32 +02:00
Thanasis Antoniou
6694bf5823 CONFIGURE: Added some CXXFLAGS for android x86_64 2019-10-21 21:05:52 +03:00
Thanasis Antoniou
0ed4c2fb96 CONFIGURE: Comments on SDK and NDK env vars for Android 2019-10-21 15:04:34 +03:00
Christian Krause
25e448b5bd TTS: Link libpthread explicitly on Linux platform 2019-10-18 17:04:50 +02:00
Eugene Sandulenko
6ab0ce1b02 MACOS: Add default path when looking for Sparkle framework 2019-10-12 14:27:28 +02:00
sluicebox
912bbf364c TTS: Enable in Mingw-w64 builds
TTS libraries can now be used in default Mingw-w64 environments.

- Removes reference to sapiddk.h which isn't used and isn't in Mingw-w64
- Defines guids whose symbols are missing from Mingw-w64
- Restores TTS detection to configure script
2019-10-10 22:55:12 +03:00
Le Philousophe
8db65d0b6c CONFIGURE: Add portlibs paths for GameCube and Wii
Libraries provided by DevkitPPC are stored in these directories and
should be added to search paths
2019-10-09 13:33:11 +02:00
Lothar Serra Mari
a3b57a65a0 CONFIGURE: Fix formatting 2019-10-05 21:27:00 +02:00
Thanasis Antoniou
afad06b180 CONFIGURE: Add "-march=armv7-a" to linker for arm-v7a target
Based on https://developer.android.com/ndk/guides/standalone_toolchain

From "ABI Compatibility" section:
Also, make sure to provide the following two flags to the linker: -march=armv7-a -Wl,--fix-cortex-a8
2019-10-05 20:42:27 +03:00
antoniou79
8ee774fea9 CONFIGURE: Add android-mips64 in clarification for target hosts 2019-10-04 13:57:33 +03:00
antoniou79
e5a65c28b8 CONFIGURE: Add clarification of possible target android hosts 2019-10-04 13:53:52 +03:00