Thierry Crozat
2eccd9aa8c
DEVTOOLS: Add cxx11 feature to create_project
2020-10-03 15:51:14 +02:00
Thierry Crozat
a275522f89
COMMON: Add list initialization and move semantics to Array
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
3180891045
PETKA: Add cxx11 as a dependency
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
Mataniko
7c732f971e
CREDITS: Simplify YAML credits format
2020-10-03 09:09:10 -04:00
aryanrawlani28
a8a4c25361
PLUGINS: Rename detection plugin
...
- DetectionConnect -> DetectionDynamic
2020-10-03 14:56:36 +02:00
aryanrawlani28
ffa69bfb26
GUI: debug statements related to plugins matching -> level 9.
2020-10-03 14:56:36 +02:00
aryanrawlani28
41af1b63a9
BASE: PLUGINS: Improve fb detection for Sci & Wintermute
2020-10-03 14:56:36 +02:00
aryanrawlani28
e3e8e81815
ENGINES: METAENGINE: Improve comments
2020-10-03 14:56:36 +02:00
aryanrawlani28
992abce74a
ENGINES: Rename getMetaEngine helpers
...
- getME -> getMetaEngineStatic (static parts)
- getMEC -> getMetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
d26bbe521c
ENGINES: ALL: Finish renaming ME & AME classes
...
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
71a820caff
ENGINES: Begin class renaming of ME & AME
...
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
c48719404a
BASE: PLUGINS: Rename plugin matching helpers
...
- give*From* -> get*From*
2020-10-03 14:56:36 +02:00
aryanrawlani28
02730ee176
BUILD: MAKEFILES: Improve syntax of if checks
2020-10-03 14:56:36 +02:00
aryanrawlani28
2f05960913
BUILD: MAKEFILES: Rename USE_RULES -> LOAD_RULES_MK
2020-10-03 14:56:36 +02:00
aryanrawlani28
73af65eedb
GRIFFON: Add missing header for translations
2020-10-03 14:56:36 +02:00
aryanrawlani28
a9fd54cffd
GLK: Fix missing header files to create engines
2020-10-03 14:56:36 +02:00
aryanrawlani28
58a9de8092
DEVTOOLS: CREATE_PROJECT: Use map instead of unordered_map
...
- No C11 support yet, revert to use map to fix build
2020-10-03 14:56:36 +02:00
aryanrawlani28
f4d4283f79
QUEEN: Add missing newline at EOF in modules.mk
...
- This should fix the build errors.
2020-10-03 14:56:36 +02:00
aryanrawlani28
0b2428e7c5
NEVERHOOD: Temporarily rename module -> module_scene.cpp
...
- The name was clashing with one of the audio files.
- New changes were spread to the detection files, so no idea how this file is involved.
- In the meanwhile, this commit should fix a build error, if any.
2020-10-03 14:56:36 +02:00
aryanrawlani28
abedaaa5aa
ENGINES: Don't allow dynamic detection to be exposed when using static-detection.
2020-10-03 14:56:36 +02:00
aryanrawlani28
de56694f53
DEVTOOLS: CREATE_PROJECT: Support static detection features
...
- This allows apps that use create_project to build with statically linked detection features.
- Also add support to write an addtional file - detection_tables.h inside engines/.
2020-10-03 14:56:36 +02:00
aryanrawlani28
1b3eec4252
SCI: Assign proper naming for building options widget
...
- The base class is temporarily named buildOptionsWidgetStatic.
2020-10-03 14:56:36 +02:00
aryanrawlani28
9624bfeb15
SCUMM: Move common detection/engine enums into detection.h
2020-10-03 14:56:36 +02:00
aryanrawlani28
13f2a0afb0
SCUMM: DETECTION: Remove sneaky main engine headers.
2020-10-03 14:56:36 +02:00
aryanrawlani28
e08748866e
SCI & WINTERMUTE: Fix unsafe code for fallbackDetect
...
- Using static for plugins will result in crash if the plugins are unloaded after being called for the first time.
- Good example is when UncachedPluginMan uses these.
2020-10-03 14:56:36 +02:00
aryanrawlani28
a9841622e0
ENGINES: DETECTION: Use inheritance hierarchy and mimic existing plugins.
2020-10-03 14:56:36 +02:00
aryanrawlani28
6679c7e72e
GLK: Fix modules to build
...
- Creating an instance of GLK requires searching through all sub-engine detection lists.
- So, these must be there at the time of creating an instance of GLK.
- Hence, all these objects will ONLY be skipped from static-detection, if GLK itself is static.
- The above point is because it will need to avoid duplicate symbols.
2020-10-03 14:56:36 +02:00
aryanrawlani28
102b22f4a8
SCI: Fix naming for SciMetaEngineConnect
2020-10-03 14:56:36 +02:00
aryanrawlani28
9eb564b89f
SCI: Move common enum -> detection.h
2020-10-03 14:56:36 +02:00
aryanrawlani28
32799c1ee8
SCUMM: Fix naming for ScummMetaEngineConnect
2020-10-03 14:56:36 +02:00
Eugene Sandulenko
ceabaf3b0d
BASE: Added override keywords
2020-10-03 14:56:36 +02:00
aryanrawlani28
2c2f21b0cd
NEVERHOOD: Fix compilation
2020-10-03 14:56:36 +02:00
aryanrawlani28
973526a4d3
BBVS: Fix compilation
2020-10-03 14:56:36 +02:00
aryanrawlani28
a56dc094b9
ENGINES: ALL: Move detection_enums -> detection.h
...
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28
ba5368542f
BASE: PLUGINS: Update header file & use DETECTION_STATIC def check to build static detection features.
2020-10-03 14:56:36 +02:00
aryanrawlani28
11615faca8
MAKEFILES: Include dynamic building detection module if requested
2020-10-03 14:56:36 +02:00
aryanrawlani28
81d2bb8f11
ENGINES: DETECTION: Shift detection files to live inside engines subdirectory
2020-10-03 14:56:36 +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
0cbff637d4
MAKEFILES: Include all detection objects while keeping the rest as-is.
...
- This enables detection objects to be always available and build into the executable.
2020-10-03 14:56:36 +02:00
aryanrawlani28
1d3e4d2800
MOHAWK: Do not create additional folders for riven & myst metaengines.
2020-10-03 14:56:36 +02:00
aryanrawlani28
4f55c1b689
DIRECTOR & KYRA: MODULES: Use workarounds to skip warnings.
...
- When these files are included for the second time, a warning is shown that the previous recipes will be overriden.
- Use_Rules helps with a workaround to disable these warnings.
2020-10-03 14:56:36 +02:00
aryanrawlani28
ac900a06b8
BASE: PLUGINS: Use engines/detection_table header for static plugins
2020-10-03 14:56:36 +02:00
aryanrawlani28
6735c46c41
MAKEFILES: Add a variable which helps in deciding if rules.mk should be used or not
...
- It is always enabled by default
- Only disabled when we would include all engine module files, so we don't include unnecessary stuff
2020-10-03 14:56:36 +02:00
aryanrawlani28
911e0e4f3c
GIT: Rename detection_tables inside gitignore which is now present inside engines subdirectory
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
29ceb07959
ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
...
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28
274b8a51a1
TONY: Match consistency with other engines & move enums to new header.
2020-10-03 14:56:36 +02:00
aryanrawlani28
f3b9477893
ENGINES: ALL: Add header guards for the new detection-header files.
2020-10-03 14:56:36 +02:00