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
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
Cameron Cawley
8aab4b0361
RISCOS: Add a VFP optimized target for newer hardware
2020-09-09 20:37:17 +01:00