364 Commits

Author SHA1 Message Date
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Paul Gilbert
87406e66b7 MADE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
53fdcfbf0e MADE: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko
90074c1635 MADE: Added override keywords 2020-02-05 15:53:16 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Eugene Sandulenko
567ca7f402 MADE: Added detection keywords 2020-01-31 13:56:51 +01:00
D G Turner
00f1679ceb MADE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-15 10:20:05 +00: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
Cameron Cawley
e0c1cb063c MADE: Remove unused structure
The code that used this was removed in commit 9ba6b79
2019-09-28 22:39:53 +03:00
dafioram
717d7adc6e MADE: Split out the game detection entries and add a note for Manhole ME
The Manhole: Masterpiece Edition is not a MADE engine and should not be
added to the detection list. It is a HyperCard-like engine
2019-09-02 20:26:38 +03:00
jepael
fa06dd972b MADE: Remove unused variable 2019-07-16 18:51:45 +03:00
Eugene Sandulenko
9ba6b79e1a MADE: Remove leftover code. This lets run gracefully with -p parameter 2019-06-10 12:55:08 +02:00
Bastien Bouclet
61f9398b04
Merge pull request #1187 from bgK/detection-refactor-unknown
ENGINES: Return unknown game variants with the list of detected games
2018-05-28 18:43:15 +02:00
Adrian Frühwirth
5dda21c1c2 MADE: Do not attempt to read from non-existing file
Fixes Trac#10534.
2018-05-20 19:53:14 +02:00
Bastien Bouclet
cf1ebf2951 ENGINES: Add unknown game variants to the game detector results 2018-05-10 09:04:23 +02: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
Thierry Crozat
902b191266 MADE: Fix static noise when playing sounds
This was a regression introduced in commit 298ea1a.
This fixes bug #9753.
2017-09-07 00:52:50 +01:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Eugene Sandulenko
4d4a5837bf MADE: Initialize delta sound buffer 2016-05-09 12:57:27 +02:00
Eugene Sandulenko
375cac6d79 MADE: Init class variables 2016-05-02 17:27:49 +02:00
Eugene Sandulenko
298ea1a76e MADE: Cleanup 2016-05-02 15:19:08 +02:00
Eugene Sandulenko
62142e5add MADE: Plug memory leak 2016-05-02 15:19:08 +02:00
Matthew Hoops
aa6ff44440 BACKENDS: Only expose one set of functions for AudioCDManager
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13 13:57:19 +01:00
Matthew Hoops
fb6fe1332a BACKENDS: Move to an openCD() without parameters as the public API 2016-03-13 13:52:24 +01:00
Johannes Schickel
0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Torbjörn Andersson
c06bf58217 MADE: Fix palette fade in/out
The final palette wasn't set so, for instance, at the beginning of
the RTZ intro the Infocom logo wouldn't completely fade to back. I
think this is the correcet fix for that.
2015-07-19 20:32:06 +02:00
Willem Jan Palenstijn
0fbf90d14c MADE: Fix overflow in audio interpolation
The interpolation code for deltaType > 0 read past the end of the
workChunkSize-sized filled area of the buffer (which matches what MADE
did, as far as I can tell). Avoid this by repeating the last value.
2015-07-19 20:27:19 +02:00
Willem Jan Palenstijn
1a4f477d61 MADE: Fix movie audio glitches caused by reset of audio decoder
The sound buffer used in decompressSound() is now stored so that
it can be re-used in the next call of decompressSound, specifically
in chunk type 1.

This caused some clicking/static in the intro of Return to Zork.

Thanks to eriktorbjorn for noticing the glitch and writing most of the patch.
2015-07-19 20:26:50 +02:00
Martin Kiewitz
cae493523c MADE: Music: initialize musicType variable
wasn't initialized in case milesAudio was disabled
2015-07-05 21:26:08 +02:00
Torbjörn Andersson
2b3553306d MADE: Delete AdLib instrument stream after driver initialization 2015-07-05 01:32:53 +02:00
Torbjörn Andersson
cc471ecd07 MADE: Cleanup AdLib driver initialization...
... as per m_kiewitz's suggestions.
2015-07-05 01:09:55 +02:00
Torbjörn Andersson
672bdeff1f MADE: Allow loading of sample.ad from rtzcd.red
At the moment, AdLib music doesn't work yet though. At least not
for this particular case.
2015-07-05 00:08:15 +02:00
Kirben
3ad35f760c MADE: Limit Miles audio to Return to Zork only, and enable Adlib support. 2015-07-02 23:05:50 +10:00
Kirben
46babcc3c4 MADE: Add Miles support for RTZ, currently disabled for Adlib due to known issues. 2015-07-02 20:30:49 +10:00
Strangerke
ae2ba18af3 MADE: Initialize some variables 2015-01-28 07:47:28 +01:00
Strangerke
a1a99745f6 MADE: Initialize some more variables, remove an useless variable 2015-01-27 07:21:52 +01:00
Strangerke
849f383169 MADE: Initialize some variables, remove a useless variable 2015-01-27 07:14:55 +01:00
Matthew Hoops
bf90d36024 MADE: Print v1 database debugging at level 1 instead of all the time 2014-07-11 23:35:38 -04:00
Matthew Hoops
9b282326aa MADE: Error out when a picture cannot be found 2014-07-11 23:32:44 -04:00
Matthew Hoops
3ddf04465e MADE: Error out when a blocks file fails to open 2014-07-11 23:29:37 -04:00
Johannes Schickel
5b70d34479 MADE: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Johannes Schickel
0e017f007a Merge pull request #375 from digitall/engineAutoPlug
RFC: Pluggable Engines #2 (No Python, just evolution of current configure shell and make code)
2013-11-26 02:27:11 -08:00
Strangerke
86231d14d5 MADE: Janitorial - Fix spacing errors 2013-11-24 19:17:18 +01:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
Johannes Schickel
233512fe10 MADE: Create MusicPlayer in run() instead of MadeEngine's constructor.
This fixes MT-32 emulator initialization. When the constructor is run the
paths like extrapath etc. are not yet set up. Thus, the MT-32 emulator would
not be able to find the necessary roms in case they are in the extrapath.
2013-11-03 19:17:13 +01:00