272 Commits

Author SHA1 Message Date
Eugene Sandulenko
37f0024b0a
MACVENTURE: Adjust detection entries after MacResMan bugfix 2021-10-17 20:48:02 +03:00
Martin Gerhardy
dc5d474160 MACVENTURE: re-use the read stream to reduce heap allocations 2021-09-19 15:21:56 +02:00
Martin Gerhardy
b73889d2e0 MACVENTURE: pass by reference 2021-09-19 15:21:56 +02:00
Martin Gerhardy
9f479e06f4 MACVENTURE: fixed whitespaces 2021-09-19 15:21:56 +02:00
Divyam Ahuja
9ad16ff273 MACVENTURE: Initialize struct according to C++98 convention 2021-09-19 15:21:56 +02:00
DivyamAhuja
dd6508500c MACVENTURE: Fix Output console text width 2021-09-19 15:21:56 +02:00
DivyamAhuja
6bc5d0e9ae MACVENTURE: Fix object not dropping at left side of window 2021-09-19 15:21:56 +02:00
DivyamAhuja
0638fca683 MACVENTURE: Remove unnecessary adding of NULL character to string 2021-09-19 15:21:56 +02:00
DivyamAhuja
2e4117e388 MACVENTURE: Add title to windows 2021-09-19 15:21:56 +02:00
DivyamAhuja
d754ed0e27 MACVENTURE: Fix missing characters in some words in output console 2021-09-19 15:21:56 +02:00
DivyamAhuja
5f569ce0a6 MACVENTURE: Fix Main window working while there is still need for click to continue 2021-09-19 15:21:56 +02:00
DivyamAhuja
e43d08ff43 MACVENTURE: Fix Inventory window Width and Height reading 2021-09-19 15:21:56 +02:00
DivyamAhuja
40f825de6a MACVENTURE: Fix bounds for selecting objects 2021-09-19 15:21:56 +02:00
DivyamAhuja
3e88a642f0 MACVENTURE: Fix/Refactor code to work with changes made in macgui and other parts of ScummVM 2021-09-19 15:21:56 +02:00
trembyle
e9cac0842e MACVENTURE: Add detection for Uninvited demo
Also added Uninvited game ID and macro for demos
2021-09-19 14:52:46 +02:00
Orgad Shaneh
7adad5aaf5 ENGINES: Streamline auto-save write/delete protection
Some engines call setAutosave and some don't. isAutosave is used to
determine if a saved game is an autosave, but in fact, on most cases it
just falls back to comparing the name to "Autosave".

This is wrong for several reasons:
* Older versions of ScummVM used Autosave 0.
* The name "Autosave" is translated, so if you change the language, it
  won't be detected.

Instead of relying on the name, use the well-known getAutosaveSlot() from
Engine/MetaEngine.

Fixes #12735.
2021-08-23 13:34:35 +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
Paul Gilbert
0136043f09 COMMON: Revert Change Rect and Point to have int32 fields
This reverts commit 1c3e7fb4e9e761b26840ca7dd785e80dfa639f18.
2021-07-06 20:35:42 -07:00
Paul Gilbert
baccbedf50 GRAPHICS: Changed surface classes sizes from uint16 to int16 2021-07-04 18:24:27 -07:00
Paul Gilbert
1c3e7fb4e9 COMMON: Change Rect and Point to have int32 fields 2021-07-04 18:24:26 -07:00
sluicebox
8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
ysj1173886760
eb0412c21f MACVENTURE: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00: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
985faf8d8c MACVENTURE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
djsrv
a9346eea42 GRAPHICS: MACGUI: Improve grays naming 2020-08-07 18:55:17 -04:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Eugene Sandulenko
06fc491663 GRAPHOCS: MACGUI: Renamed MacWindow::getSurface() to getWindowSurface() 2020-04-14 00:27:49 +02:00
jepael
1fb3d61b56 MACVENTURE: Fix compiler warnings 2020-02-28 08:23:21 +02:00
Eugene Sandulenko
1dc515a9bf MACVENTURE: Fix crash related to off-screen rendering 2020-02-26 20:28:48 +01:00
Paul Gilbert
9f175c4053 ENGINES: Cleanup of savegame filenames generation
This removes filename methods when it matched the Engine method.
Secondly, ensuring there was an overriden getSaveStateName method
for engines that didn't do the standard target.00x save filenames
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
Paul Gilbert
0b46eaf913 MACVENTURE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
421af86d5a MACVENTURE: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko
2084fdd6c6 MACVENTURE: Added override keywords 2020-02-05 15:49:58 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Eugene Sandulenko
f9c0d1c827 MACVENTURE: Added override keywords 2020-01-31 13:55:49 +01: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
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
Tarek Soliman
a6ebe2d68c MACVENTURE: Mark all detection entries as ADGF_UNSTABLE 2019-10-23 11:30:42 -05:00
Eugene Sandulenko
35773e76b9 GRAPHICS: MACGUI: Unify MacMenuItem and MacMenuSubItem 2019-10-04 15:54:48 +02:00
D G Turner
d618cc983a MACVENTURE: Add Missing Switch Default Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-03 01:39:23 +01:00
D G Turner
6dcb7e0dbb MACVENTURE: Fix MSVC Warnings 2019-10-01 04:24:21 +01:00
Henrik "Henke37" Andersson
550c8c8201 MACVENTURE: Engine doesn't use MIDI, mark games as such. 2019-09-29 19:34:16 +03:00
Eugene Sandulenko
7f7730bd7f MACVENTURE: Initialize engine variables earlier 2019-09-29 16:57:44 +02:00
Filippos Karapetis
e94026e800 MACVENTURE: Fix MSVC warnings
- Added a CHECKME for a code which is never used at the moment
- Add default cases to switch statements
- Remove unused variables
- Fix integer variable assignments from booleans
2019-05-27 14:53:39 +03:00