Commit Graph

1668 Commits

Author SHA1 Message Date
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