Commit graph

59 commits

Author SHA1 Message Date
Le Philousophe
90b886097f ENGINES: Create a type aware advanced detector 2024-06-30 18:39:06 +02:00
Cameron Cawley
8c46a377ec HDB: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Torbjörn Andersson
e06f3c9a5a GUI: Allow game option checkboxes to be disabled
Depending on other game option checkboxes. This is used to
enable/disable the semi-smooth scrolling checkboxes for FM Towns Loom,
since it's only used when smooth scrolling is enabled.
2022-04-21 11:07:17 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
138f943076 HDB: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +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
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
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
eb78152664 HDB: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28
bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
Cameron Cawley
44f7f801a1 HDB: Add keymapper support 2020-08-27 10:34:59 +02:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Bastien Bouclet
68fbf9135d HDB: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko
45a287ce13 HDB: Added override keywords 2020-02-05 15:27:09 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08: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
Hubert Maier
79b70f9cf5 JANITORIAL: Keep copyright "sign" upper-case like the rest of the engines 2019-10-08 09:19:06 +02:00
Eugene Sandulenko
9e2bcfbf79 HDB: Remove ADGF_TESTING flag 2019-10-04 23:01:08 +02:00
Henrik "Henke37" Andersson
61e7069169 HDB: The engine does not use mid, mark the games as such. 2019-09-29 19:34:16 +03:00
D G Turner
6f265805ec HDB: Ensure Demos are Indicated in ScummVM GUI Launcher List 2019-09-13 20:33:55 +01:00
Eugene Sandulenko
6905c54b1e HDB: Set engine to testing 2019-09-04 23:35:01 +02:00
Eugene Sandulenko
036ef5fdfd HDB: Mark autosave slots with 'Auto:' in the GUI 2019-09-03 17:17:35 +02:00
Eugene Sandulenko
390152b0b8 HDB: Implement cheating as GUI option 2019-09-03 17:17:34 +02:00
Eugene Sandulenko
eaa972347f HDB: Increase number of slots to 99 and support saveload from the GMM 2019-09-03 17:17:33 +02:00
Eugene Sandulenko
9247adefec HDB: Fix isPPC() check 2019-09-03 17:17:31 +02:00
Eugene Sandulenko
517a261fbf HDB: Added Handango flag 2019-09-03 17:17:30 +02:00
Eugene Sandulenko
52f9e18d43 HDB: Use PocketPC platform enum 2019-09-03 17:17:30 +02:00
Nipun Garg
4539c04181 HDB: Fix warnings 2019-09-03 17:17:30 +02:00
Nipun Garg
469fbe1c8a HDB: Add isPPC Flag 2019-09-03 17:17:30 +02:00
Eugene Sandulenko
d1b906a442 HDB: Implement rest of the demo differences 2019-09-03 17:17:29 +02:00
Eugene Sandulenko
ac90e5541e HDB: Added more detection entries 2019-09-03 17:17:29 +02:00
Eugene Sandulenko
e0b0d85f5b HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Strangerke
0ce52ccc53 HDB: Implement removeSaveState() 2019-09-03 17:17:26 +02:00
Strangerke
616045496c HDB: (Hopefully) fix a c&p error in hasFeature() 2019-09-03 17:17:26 +02:00
Eugene Sandulenko
04901e7ac9 HDB: Fix load menu items 2019-09-03 17:17:26 +02:00
Eugene Sandulenko
312ebf6aaf HDB: Load thumbnail from the launcher 2019-09-03 17:17:26 +02:00
Eugene Sandulenko
43438a632c HDB: Support loading from the launcher 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
6fdd336ae4 HDB: Move HDBGame::hasFeature() to detection.cpp for consistency 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
8403960c99 HDB: Added more code for loading save states from the command line 2019-09-03 17:17:16 +02:00
Nipun Garg
9fbdad25b3 HDB: Improve isDemo() function definition 2019-09-03 17:16:49 +02:00
Nipun Garg
159e50c82f HDB: Add isDemo() 2019-09-03 17:16:49 +02:00
Nipun Garg
1ceeff0385 HDB: Add the Detector entry for hyperspace.mpc 2019-09-03 17:16:46 +02:00
Nipun Garg
ba1081b87c HDB: Correct the include paths from X.h to hdb/X.h 2019-09-03 17:16:42 +02:00
Nipun Garg
094bf4c06b HDB: Modify setGameFlags() to getGameFlags() 2019-09-03 17:16:42 +02:00