296 Commits

Author SHA1 Message Date
aryanrawlani28
f3b9477893 ENGINES: ALL: Add header guards for the new detection-header files. 2020-10-03 14:56:36 +02:00
aryanrawlani28
8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
af47301cca SLUDGE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Bastien Bouclet
0f2c6cd9ea ENGINES: Change mac resource fork file detection to use the file cache
Common::MacResMan is now able to open files from a specified
Common::Archive. This is a bit hacky as dynamic_cast is used to break
the Archive encapsulation to retreive the underlying FSNode. It should
however be more correct than the previous code that assumed files were
at the root of the currently running game's path.

AdvancedDetector constructs a Common::Archive from its FileMap based
filesystem cache and uses it to detect the mac resource fork files.

This cuts the time it takes to run the detection code with all the
engines enabled as dynamic plugins on the 3DS to 30 s from 280 s.
2020-09-20 16:33:45 +02:00
Eugene Sandulenko
4cc33660ec SLUDGE: Properly skip movie playback 2020-04-29 01:07:07 +02:00
Eugene Sandulenko
4bd7cdf28f SLUDGE: Add release versions of Robin's Rescue 2020-04-28 19:25:33 +02:00
Eugene Sandulenko
ccabd54e8c SLUDGE: Added frasse versions 2020-04-28 18:46:25 +02:00
Eugene Sandulenko
7652fad2f4 SLUDGE: Dropped incorrect detection entry for cubert 2020-04-28 15:57:28 +02:00
Eugene Sandulenko
f8a4160b88 SLUDGE: Added older versions of Mandy to detection 2020-04-28 15:43:47 +02:00
Eugene Sandulenko
c1c3a8cf52 SLUDGE: Corrected language and specified version for mandy 2020-04-28 15:36:07 +02:00
Eugene Sandulenko
ec0e065903 SLUDGE: Added new SLUDGE games to detection 2020-04-28 15:31:46 +02:00
Eugene Sandulenko
bb5feeb909 SLUDGE: Fix buffer overrun 2020-04-28 11:56:50 +02:00
Eugene Sandulenko
52dfe31842 SLUDGE: Initialize variable for corner case 2020-04-28 11:56:36 +02:00
Eugene Sandulenko
7f149136ca SLUDGE: Plug memory leak 2020-04-28 11:56:22 +02:00
Eugene Sandulenko
eba2b4814b SLUDGE: Plug memory leak 2020-04-28 11:45:44 +02:00
Paul Gilbert
b6630049cd SLUDGE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
f7ca96be0e SLUDGE: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko
50fcecbc57 SLUDGE: Added override keywords 2020-01-31 14:24:36 +01:00
D G Turner
ef30ebc0bb SLUDGE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 01:08:45 +00:00
Bastien Bouclet
9c8bd056d6 ENGINES: Stop using 'single id' 2019-11-03 11:43:00 +01:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
Tarek Soliman
cda92ce70e Revert "Revert "SLUDGE: All games are unstable, since the engine is unstable.""
This reverts commit a328e49dc549295c14b188d158d18b288d8a0c45 thus
reinstating commit 31c3b4cd3276f9fa40adef6380951903189de796

Details in #1904
2019-10-23 11:07:59 -05:00
Eugene Sandulenko
a328e49dc5 Revert "SLUDGE: All games are unstable, since the engine is unstable."
This reverts commit 31c3b4cd3276f9fa40adef6380951903189de796.

The engine is nut enabled by default, so there is no point for these
flags.
2019-10-23 08:40:50 +02:00
Henrik "Henke37" Andersson
31c3b4cd32 SLUDGE: All games are unstable, since the engine is unstable. 2019-10-23 07:29:58 +03:00
D G Turner
904e58c35b SLUDGE: Really Fix MSVC Warnings 2019-10-03 04:57:18 +01:00
D G Turner
e698625916 SLUDGE: Fix Remaining MSVC Warning 2019-10-03 04:13:49 +01:00
D G Turner
743d64bf53 SLUDGE: Further Fixes for MSVC Warnings
This _should_ fix the remaining issues with signed vs. unsigned
warnings in the TransparentSurface blit method calls.
2019-10-03 03:56:31 +01:00
D G Turner
75ee80cf1e SLUDGE: Fix Some MSVC Warnings 2019-09-30 04:41:54 +01:00
Henrik "Henke37" Andersson
94a92e9fe2 SLUDGE: The engine does not support midi, mark detected games as such. 2019-09-29 19:34:16 +03:00
Sebastian Krzyszkowiak
bbed50ff27 SLUDGE: implement random built-in 2019-06-18 08:28:38 +03:00
Sebastian Krzyszkowiak
06e1d6808f SLUDGE: fix background position not taking camera into account
When a game sets camera position with aimCamera, the background should
move together with all the objects above it.
2019-06-18 02:13:05 +03:00
Sebastian Krzyszkowiak
5613caf322 SLUDGE: fix data file handling with custom encoding setting
The check was inverted - it failed when everything was alright and
succeded on error...
2019-06-18 01:32:43 +03:00
Sebastian Krzyszkowiak
a060d35418 SLUDGE: fix crash in FloorManager::setFloorNull
numPolygons wasn't getting reset to 0, so the next invocation was
trying to delete non-existent polygons
2019-06-18 00:10:03 +03:00
Sebastian Krzyszkowiak
b428c23c75 SLUDGE: fix crash in ResourceManager::readResourceNames 2019-06-17 23:08:00 +03:00
Sebastian Krzyszkowiak
e46d5efaea SLUDGE: fix use-after-free in RegionManager::removeScreenRegion 2019-06-17 22:11:14 +03:00
Sebastian Krzyszkowiak
373f0c91be SLUDGE: fix use-after-free in PeopleManager::killMostPeople 2019-06-17 22:11:14 +03:00
Filippos Karapetis
f4e8eed13d SLUDGE: Fix MSVC warnings
- Fix invalid check with empty()
- Change float suffixes to uppercase
- Fix potentially uninitialized variables
2019-05-27 14:53:43 +03:00
Filippos Karapetis
7c5acdaa4b SLUDGE: Fix a potentially uninitialized variable
Variable "n" was not initialized if "stillToGo" was non-zero
2018-12-23 20:43:28 +02:00
Bastien Bouclet
9a4c0ae281 ENGINES: Normalize the getName() result of metaengines
Also-By: Matthew Hoops <clone2727@gmail.com>
2018-12-10 06:47:27 +01:00
Paul Gilbert
11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
D G Turner
d1d521c61c SLUDGE: Fix Unused Function Compiler Warnings. 2018-07-29 09:40:32 +01:00
Cameron Cawley
f9489be3a9 ENGINES: Add missing dependencies for several engines 2018-06-30 00:22:34 +02:00
Simei Yin
8ead8de284 SLUDGE: Move save game getter to StackHandler 2018-05-31 23:15:09 +02:00
Simei Yin
fa72209845 SLUDGE: Move stack size getter to struct StackHandler 2018-05-31 23:15:09 +02:00
Simei Yin
80478ee470 SLUDGE: Move copyStack() to struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
ca583ebfcf SLUDGE: Move last stack finding function to struct VariableStack 2018-05-31 23:15:09 +02:00
Simei Yin
9fb57f944d SLUDGE: Move stack variable getter/setter to VariableStack 2018-05-31 23:15:09 +02:00
Simei Yin
dc18ec2fd0 SLUDGE: Move FastArray getter to struct FastArrayHandler 2018-05-31 23:15:09 +02:00
Simei Yin
399ff4788c SLUDGE: Move fastarray functions to struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
746fb3819f SLUDGE: Move value getters to struct Variable 2018-05-31 23:15:09 +02:00