Commit Graph
45 Commits
Author SHA1 Message Date
Vladimir Serbinenko 0c5aba0394 PLUMBERS: Add missing initialization of few fields
Namely _compositeSurface, _videoDecoder and _ctrlHelpImage

Missing init causes felete of random pointer and a crash when running
windows version of Plumbers.
2022-12-12 07:16:34 +01:00
Cameron Cawley f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
eientei e9bb89b5d9 PLUMBERS: Add 3DO md5 hash 2022-05-29 09:52:34 +03:00
D G Turner c502cae231 PLUMBERS: Add File MD5 Checksum to Detection Entry
This avoids false positive detections on unsupported games with
matching files by name and size.
2022-03-26 11:34:34 +00:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh b56293beaf PLUMBERS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Max Horn 2f1f8f502e DEVTOOLS: move credits from devtools/credits.pl to engines
This employs a "lazy" approach: the "format" for the credits stays
exactly as it was, i.e., perl code. Of course one may want to change
this to another format (e.g. YAML, JSON, XML; or also shell script or
AWK, like `configure.engine` uses). But I deliberately kept it simple,
to get a minimal change that is easy to verify. Any further changes to
e.g. the format can be layered atop this.
2021-08-05 00:01:46 +02:00
ysj1173886760 e52a3bf7ec PLUMBERS: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Cameron Cawley 4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Vladimir Serbinenko f42300b6f5 PLUMBERS: Add 16bit dependency
It's needed to handle 3DO variant of the game.
2020-10-25 03:15:52 +01:00
Vladimir Serbinenko 4e53ae7fed PLUMBERS: don't use memset when initing
memsetting over Common::String is a bad idea and creates a weird behaviour.
2020-10-25 03:14:25 +01:00
Vladimir Serbinenko fbc2c929e3 PLUMBERS: fix Surface forward declaration 2020-10-24 23:08:14 +02:00
Vladimir Serbinenko 125fd9d80c PLUMBERS: support for 3DO version
It was fun to reverse engineer but the game is garbage, so I didn't test
it a lot, please report bugs.

Currently missing parts:

* effect when changing between scenes
* 3DO boot logo
* return to previous scene
* hide cursor
2020-10-24 00:59:01 +02:00
Eugene Sandulenko 7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko 7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +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 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 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 ff74297940 PLUMBERS: Move detection related code to a new folder, add new Detection module. 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
mataniko 06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +02:00
Paul Gilbert ed7852f853 PLUMBERS: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet f8632ec766 PLUMBERS: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko 4731d35872 PLUMBERS: Added override keywords 2020-02-05 16:05:38 +01:00
Paul Gilbert 5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Cameron Cawley d57fd20eba PLUMBERS: Clean up includes 2020-02-02 09:55:38 +01:00
D G Turner 25545ff372 PLUMBERS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-27 01:15:38 +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
Henrik "Henke37" Andersson 2f3549cad4 PLUMBERS: The "game" doesn't use MIDI, mark it as such. 2019-09-29 19:34:16 +03: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
Cameron Cawley f9489be3a9 ENGINES: Add missing dependencies for several engines 2018-06-30 00:22:34 +02:00
Adrian Frühwirth cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Bastien Bouclet 30c20f2d3c PLUMBERS: Push down the AD includes 2018-05-01 12:48:05 +02:00
whitertandrek 00e8bc1945 PLUMBERS: Optimized heap allocation
No sense in deleting and then allocating an object again because loadStream method destroy previous data.
2018-04-07 11:33:13 +02:00
whitertandrek 6e661ab485 PLUMBERS: Removed unnecessary calls
destructor of Common::File anyway calls close method
2018-04-07 11:33:13 +02:00
whitertandrek c77e34b607 PLUMBERS: Change file allocation from heap to stack 2018-04-07 11:33:13 +02:00
whitertandrek b643af27c3 PLUMBERS: Remove unnecessary conditional
delete perfoms the check anyway
2018-04-07 11:33:13 +02:00
Eugene Sandulenko 8c962f9a04 PLUMBERS: Remove unused parameter 2018-03-26 10:27:33 +02:00
Thierry Crozat 9d61d70c0d PLUMBERS: Remove unstable flag and enable by default 2017-11-26 01:56:48 +00:00
Colin Snover 432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Strangerke 29b7ada2be PLUMBERS: Initialize some variables 2017-05-31 21:59:15 +02:00
Retro-Junk e4ab357d14 PLUMBERS: Add engine for Plumbers Don't Wear Ties 2017-05-03 00:42:13 +01:00