273 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
158cf7734b CRYO: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
eientei
03696b0035 CRYO: Add MD5 for non-interactive demo 2021-10-25 16:13:30 +03:00
Cameron Cawley
f24b71100b CRYO: Remove unused variable 2021-09-03 00:41:58 +03:00
Cameron Cawley
e022d80447 CRYO: Support Return to Launcher 2021-09-03 00:41:58 +03:00
Cameron Cawley
c955cc3c3d CRYO: Ensure all variables are initialised on startup 2021-09-03 00:41:58 +03:00
Cameron Cawley
a8cbad4c2e CRYO: Fix memory leaks 2021-09-03 00:41:58 +03:00
Cameron Cawley
5df9601e18 CRYO: Add const to all static tables 2021-09-03 00:41:58 +03:00
Cameron Cawley
644e7354f5 CREDITS: Update credits 2021-08-22 22:25:33 +03:00
sluicebox
8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
Torbjörn Andersson
7b77a2ad32 CRYO: Fix typo in palette initialization 2021-06-10 12:52:14 +02:00
Strangerke
46a78cd358 CRYO: Initialize some uninitialized variables in eden_graphics 2021-06-10 08:07:55 +01:00
Strangerke
40f097e2c5 CRYO: Initialize uninitialized variables in eden.cpp 2021-06-09 23:17:27 +01:00
Strangerke
d06c4696a9 CRYO: Remove useless includes 2021-06-09 21:49:35 +01:00
Strangerke
43098ca47b CRYO: Save Preferred Subtitle Language to config, load it in InitPrefs instead of using the default language 2021-06-02 21:33:08 +01:00
Strangerke
996e2386b6 CRYO: Fix crash in showMovie 2021-06-02 21:31:45 +01:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Cameron Cawley
46e696d417 CRYO: Use the common HNM decoder 2021-04-17 21:48:46 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Cameron Cawley
4714d67188 CRYO: Avoid packing structures containing objects or function pointers 2021-04-07 15:42:38 +01:00
Fiodar Stryzhniou
9b0f0eb1af CODESTYLE: remove C++ headers, use int64 instead __int64_t. 2021-02-26 19:29:33 +01:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Torbjörn Andersson
ba37c52047 JANITORIAL: Remove some unnecessary semicolons 2020-11-17 07:22:49 +01: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
fb458421cf CRYO: Split detection features & adapt to new plugins. 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
Eugene Sandulenko
5752cb110d CRYO: Use ScummVM packing headers instead of direct #pragmas 2020-04-04 13:52:25 +02:00
Paul Gilbert
e86c21351a CRYO: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
62b7979cd9 CRYO: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko
70d454310c CRYO: Added override keywords 2020-02-05 15:02:07 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Cameron Cawley
16b2b3ac8f CRYO: Remove dead code 2020-01-03 10:37:26 +02:00
Cameron Cawley
b2452d6ffd CRYO: Use byteswap functions from common/endian.h 2019-11-09 01:08:14 +02:00
Bastien Bouclet
d5bab0cd2a CRYO: Revert copyright string change 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
Tarek Soliman
ca825e5cf9 CRYO: Mark demo detection entries as ADGF_UNSTABLE 2019-10-23 11:44:58 -05:00
D G Turner
9bc03dc117 CRYO: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-17 15:47:32 +01:00
Henrik "Henke37" Andersson
452cceb5c6 CRYO: Game does not use MIDI, mark it as such. 2019-09-29 19:34:16 +03:00
sluicebox
a9b4ec721c CRYO: Add newline to end of eden_graphics.h 2019-09-21 16:26:19 -07:00
David Fioramonti
1ed2cd40f3 CRYO: EDEN: Move graphics into a separate class
Eden game object now contains a graphics object with which to
delegate graphics operations and store states of the graphics.

Much of the video playing is done in the graphics class
so I have moved a lot of the video state into there.

Some graphics related variables were moved out of eden and into
graphics, but many are still in eden.

Since they are still coupled there are lots of getters and setters.
For example both eden_graphics and eden share a handle to the same
video object.

I have made a few more things public than desirable.

I changed graphics to eden_graphics since it is specialized to eden
and not just cryo.
2019-09-11 12:28:28 +03:00
Filippos Karapetis
5724a1f385 CRYO: Fix MSVC warnings
- Add missing default switch cases
- Specify packing for structs with pointers to complex objects
- Change literal suffixes to uppercase
- Replace uses of malloc() with new []
2019-05-27 14:53:38 +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
D G Turner
dcfc00dba4 CRYO: Fix Comparison Always True Compiler Warnings.
These occurred while compiling in Raspberry Pi Raspbian latest and
appear to be due to char being interpreted as unsigned by default,
rather than signed in two data structures. Have replaced with explicit
types to avoid this issue.
2018-11-14 02:00:31 +00:00
D G Turner
733cb7dcc7 CRYO: Fix Debug Statement Format String Compiler Warnings.
Some of the debug statements in the engine compute values or sizes of
various items by pointer subtraction (which is probably not recommended;
I am not sure if this is why some of the structs were previous packed as
noted and removed by snover).

In any case, the subtractions should result in relatively small integer
values, but using these into debug() calls with printf style format
strings can cause warnings from the compiler with the format specifier
depending on the underlying pointer sizes.

To avoid these, have recast these to int. If this does cause any issues,
they should be limited to debug() value changes and thus not a
functional issue with the engine, which can be corrected by the engine
developers.
2018-07-29 03:32:40 +01:00
Adrian Frühwirth
bc949250de JANITORIAL: Convert line endings from CRLF/mixed to LF 2018-05-24 15:30:55 +02:00