293 Commits

Author SHA1 Message Date
Hubert Maier
c08c064cf1
MACVENTURE: Correct spelling mistake
occassion -> occasion
2022-10-27 15:56:14 +02:00
D G Turner
3a419a580a MACVENTURE: Remove Another Unused Variable Causing GCC Compiler Warning 2022-09-06 00:12:31 +01:00
D G Turner
89114c992a MACVENTURE: Remove Unused Variable Causing GCC Compiler Warning 2022-09-05 23:14:53 +01:00
Avijeet
e5877985ff MACVENTURE: Change comment 2022-09-04 20:30:02 +02:00
Avijeet
081c3db06b MACVENTURE: Fix window titles 2022-09-04 20:30:02 +02:00
Avijeet
26c3c4f160 MACVENTURE: Invert exit window's color when active 2022-09-04 20:30:02 +02:00
Avijeet
e97bdbd5a5 MACVENTURE: Fix text alignment of window titles 2022-09-04 20:30:02 +02:00
Avijeet
300a575b86 MACVENTURE: Trim inventory window title to fit it in the border 2022-09-04 20:30:02 +02:00
Avijeet
51543aa523 MACVENTURE: Use MacMenu::loadMenuResource 2022-09-04 20:30:02 +02:00
Avijeet
64d4c93568 MACVENTURE: Support return to launcher 2022-09-04 20:30:02 +02:00
Cameron Cawley
47755b4b38 COMMON: Make better use of inlining in BitStream functions 2022-08-28 00:05:31 +03:00
Eugene Sandulenko
1326ae2a62
MACVENTURE: Drop unneeded assignment. The same value is in the default constructor 2022-08-14 16:46:21 +02:00
eientei
c19597d49d MACVENTURE: Fix detection for Deja Vu 1993, others 2022-08-14 16:44:51 +02:00
eientei
4dac7b3f20 MACVENTURE: Add more Mac and IIGS versions to detection 2022-08-08 04:52:27 +03:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
D G Turner
3d6c0f8ab3 MACVENTURE: Remove Redundant Duplication Declaration
This causes a GCC Warning when -Wredundant-decls is enabled.
2022-03-06 11:33:45 +00:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Henrik "Henke37" Andersson
331f59873b MACVENTURE: Correct datatype for active flag
This silences a warning in MSVC about an unsafe operation
2021-12-05 23:44:55 +01:00
Orgad Shaneh
619a6bafe3 MACVENTURE: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
78ef6203de ENGINES: Fix getSavegameFile for almost all engines
Use kSimpleSavesNames correctly, add where needed, remove where needed.

Trac #12977
2021-11-10 21:49:48 +00:00
Orgad Shaneh
fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5831dc5adcee140f38aacc4a5db2518 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5831dc5adcee140f38aacc4a5db2518.
2021-10-24 16:46:06 +02:00
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