Commit Graph
251 Commits
Author SHA1 Message Date
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
Bastien Bouclet 779f2f549a CRYO: Push down the AD includes 2018-05-01 12:48:05 +02:00
Adrian Frühwirth a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +02:00
Adrian Frühwirth 9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
Colin Snover 10f1eab3c9 CRYO: Stop packing struct containing pointers
This struct packing causes the pointer-to-member-function to become
unaligned, and does not seem necessary in any way.

Closes gh-1081.
2018-01-12 00:44:48 -06:00
Colin Snover 432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Torbjörn Andersson 6cda47ca3d JANITORIAL: Remove superfluous semicolons 2017-04-18 06:49:14 +02:00
Strangerke e4b7f699be CRYO: Fix crash when restarting the game 2017-02-27 00:59:17 +01:00
Willem Jan Palenstijn a8cbc03acc CRYO: Improve macro safety 2017-02-26 22:45:03 +01:00
Eugene Sandulenko 2168ac1ef0 CRYO: Fix warning 2017-02-26 22:34:25 +01:00
Strangerke e12a25cb75 CRYO: Improve syncTapePointers 2017-02-26 20:54:35 +01:00
Strangerke 32965e44e3 CRYO: Some renaming 2017-02-24 23:55:11 +01:00
Strangerke e878332cc4 CRYO: Fix a bug in syncTapePointers 2017-02-21 00:44:38 +01:00
Strangerke 9f6ffed6ff CRYO: Rename sync functions 2017-02-19 21:34:19 +01:00
Strangerke 6c4635ac7d CRYO: Rewrite save/load game functions 2017-02-19 21:34:16 +01:00
Strangerke 70f1cd6efe CRYO: Remove some more dead code, remove _keyboardHeld 2017-02-12 18:10:25 +01:00
Strangerke 2adc84e728 CRYO: Some code simplification, remove dead code 2017-02-12 17:44:07 +01:00
Filippos Karapetis a7d681764f CRYO: Merge spriteOnSubtitle() into drawSprite() 2017-02-12 00:54:39 +02:00
Filippos Karapetis d3d5ff2a88 CRYO: Split graphics and resource-related functions into separate files 2017-02-12 00:54:39 +02:00
Filippos Karapetis c40b74bb28 CRYO: Merge the two noclipax() methods and rename to drawSprite() 2017-02-12 00:54:38 +02:00
Filippos Karapetis 8eb38c0933 CRYO: Rename variables to conform to our code formatting guidelines 2017-02-11 21:53:10 +02:00
Filippos Karapetis e95ed8eb90 CRYO: Clean up and document some variables 2017-02-11 21:51:36 +02:00
Filippos Karapetis 5d119b6038 CRYO: Add cryo.dat to all messages related to it 2017-02-11 20:48:52 +02:00