Commit Graph

101233 Commits

Author SHA1 Message Date
Eugene Sandulenko
a70a5cb5b3 NGI: Rename guard defines 2020-10-04 00:05:36 +02:00
Eugene Sandulenko
3cadfbeaf7 NGI: Rename engine class 2020-10-04 00:05:36 +02:00
Eugene Sandulenko
1177b608fd NGI: Namespace rename 2020-10-04 00:05:36 +02:00
Eugene Sandulenko
9e258f16ef NGI: Rename fullpipe.* -> ngi.* 2020-10-04 00:05:36 +02:00
Eugene Sandulenko
aef74baff1 FULLPIPE: Rename engine to NGI (files) 2020-10-04 00:05:36 +02:00
Thierry Crozat
64f727ca3d COMMON: Fix performance issues in Encoding when checking endianness 2020-10-03 23:04:25 +01:00
Thierry Crozat
8555463758 COMMON: Fix Encoding switchEndian function
The result string was missing the null terminator.
2020-10-03 23:04:25 +01:00
Thierry Crozat
5c76050760 TESTBED: Add some more test for encoding conversion
The additional test cover the case were we convert UTF-16 or UTF-32
strings between different endianness.
2020-10-03 23:04:25 +01:00
SupSuper
a2c7c9bf2f DEVTOOLS: Fix create_project invalid parameter 2020-10-03 22:31:01 +01:00
Eugene Sandulenko
742e879b1f GOB: Fix Woodruff-ru detection entry 2020-10-03 23:16:38 +02:00
Thierry Crozat
03d41e59e7 CONFIGURE: Fix initializer_list on some platforms 2020-10-03 20:59:12 +01:00
Eugene Sandulenko
9a086ab066 GOB: Added detection for the upcoming Russian fan translations 2020-10-03 18:53:20 +02:00
Eugene Sandulenko
b668c1ac90 BUILD: Detect changes in detection-related files 2020-10-03 18:52:39 +02:00
Andrei Prykhodko
824938109e PETKA: updated engine status 2020-10-03 18:00:10 +03:00
Andrei Prykhodko
d648873ebe PETKA: read settings in panel ctor 2020-10-03 17:58:22 +03:00
Andrei Prykhodko
51e9a742ec PETKA: fixed drawing text choices 2020-10-03 17:58:22 +03:00
Thierry Crozat
3d26333a75 DEVTOOLS: Fix create_project compilation 2020-10-03 14:55:15 +01: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
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