Commit Graph
248 Commits
Author SHA1 Message Date
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 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 fe37efbca2 ILLUSIONS: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Eugene Sandulenko a688ce330a ILLUSIONS: Added support for Russian Duckman 2020-09-13 02:15:53 +02:00
Eugene Sandulenko 5c758cd374 ILLUSIONS: Plug memory leaks on engine exit. Fixes #11237 2020-09-05 00:55:20 +02:00
Eugene Sandulenko b10b9bd929 ILLUSIONS: Fix subtitle speed in Duckman. Fxies #11636
The original was operating byte pointers and we work with uint16 *.
Thus, division by 2 is not needed for counting string length
2020-09-05 00:41:54 +02:00
Eugene Sandulenko d0167d0a11 ILLUSIONS: Hid deubg message deeper 2020-09-05 00:04:59 +02:00
Eugene Sandulenko 33a47d23b8 ILLUSIONS: Fixed crash in Duckman demo on attempt to launch the menu
Fixes #11190
2020-09-02 18:41:28 +02:00
aryanrawlani28 e5445fb901 GUI: U32: Small improvements/fixes
- Remove = operator in String, which compared to a U32String.
- Let implicit cast take care of results from getResultString, so in-future easy to spot new changes.
- Use uint32 for each char when encodingUrlStrings, to avoid unsafe comparision.
2020-08-30 14:43:41 +02:00
aryanrawlani28 579b370183 ILLUSIONS: Fix conversion to string 2020-08-30 14:43:41 +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
Eugene Sandulenko ac6932bd89 I18N: Added missing files to POTFILES 2020-08-27 20:26:45 +02:00
Eugene Sandulenko e3b773b761 ILLUSIONS: Rename clashing structures 2020-08-26 01:32:55 +02:00
Eric Fry ffd67acce8 ILLUSIONS: code formatting 2020-08-25 18:18:20 +10:00
Eric Fry bc85ff1868 ILLUSIONS: Fix wide text handling logic for big endian systems. (#11236) 2020-08-25 18:18:20 +10:00
Cameron Cawley 4cf9d7fa73 ILLUSIONS: Fix typo in variable name 2020-06-07 15:40:00 +01:00
mataniko 581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Anubhab Ghosh 5ecd4b0bbd ILLUSIONS: Fix some memory leaks (#2106) 2020-03-01 10:45:32 +11:00
Paul Gilbert 128bd50051 AGI: Remove autosave code 2020-02-16 15:44:28 -08:00
Paul Gilbert a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Bastien Bouclet e04b23bb72 ILLUSIONS: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko 1e76ee49ed ILLUSIONS: Added override keywords 2020-02-05 15:36:44 +01:00
Paul Gilbert 5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Cameron Cawley 46056aba3c ENGINES: Reduce winexe_*.h header includes 2020-01-11 17:34:12 +02:00
D G Turner 129988d0e9 ILLUSIONS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-16 11:30:12 +00:00
Bastien Bouclet bb813719b5 ENGINES: Change targets to have an 'engine ID'
The engine ID identifies which engine should be used to launch the target.
Also remove the 'single ID' system. Different games from engines that used
that system now have different game IDs.

Also-By: Matthew Hoops <clone2727@gmail.com>
2019-11-03 11:43:00 +01: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
Eric Fry 64cf3b6e9b ILLUSIONS: DUCKMAN: Fix endless SFX bug #11161 2019-09-23 20:39:13 +02:00
D G Turner 2c21c1a25e ILLUSIONS: Fix Further MSVC Warning
This was reported by Henke37 on IRC.
2019-09-15 22:40:17 +01:00
Filippos Karapetis ea39214f7a ILLUSIONS: Fix MSVC warnings
- Fix warnings about conversion between float and double
- Initialize potentially uninitialized variables
2019-05-27 14:53:38 +03:00
Bastien Bouclet 10ff73e6e0 ILLUSIONS: Push down the advanced detector include
So the whole engine is not rebuilt when making changes to shared code.
2018-12-10 19:11:25 +01:00
Cameron Cawley eea066b89b ILLUSIONS: DUCKMAN: Add support for the demo version (#1413) 2018-12-04 01:54:24 +02:00
Eugene Sandulenko 5ceb3be771 ILLUSIONS: Fix copy/paste bug. CID 1394433 2018-07-23 23:27:50 +02:00
Eugene Sandulenko e6b61c3874 ILLUSIONS: Fix warnings 2018-07-21 12:15:05 +02:00
Eric Fry 848b5a5ff5 ILLUSIONS: Formatting fixes 2018-07-20 06:43:33 +00:00
Eric Fry baf8011b07 ILLUSIONS: Fix merge error. 2018-07-20 06:43:33 +00:00
johndoe123 565de60234 ILLUSIONS: Clean up/fix some TODOs
(cherry picked from commit 66094e4)
2018-07-20 06:43:33 +00:00
johndoe123 617e9439cf ILLUSIONS: DUCKMAN: Implement MIDI music fading
(cherry picked from commit 056b303)
2018-07-20 06:43:33 +00:00
johndoe123 aee54f4bca ILLUSIONS: Minor cleanup
(cherry picked from commit 9abaa9e)
2018-07-20 06:43:33 +00:00
johndoe123 33ece271fd ILLUSIONS: Implement cursor movement via arrow keys
(cherry picked from commit 12e33c6)
2018-07-20 06:43:33 +00:00
johndoe123 65049228a8 ILLUSIONS: Remove old TODOs
(cherry picked from commit bb95440)
2018-07-20 06:43:33 +00:00
johndoe123 1f6aee019c ILLUSIONS: BBDOU: Rename variables (bubble and special code)
(cherry picked from commit 93255ca)
2018-07-20 06:43:33 +00:00
Eric Fry 8ca26ea2a0 ILLUSIONS: Use actor flag instead of magic number 2018-07-20 06:43:33 +00:00