Commit graph

1749 commits

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