Commit Graph
700 Commits
Author SHA1 Message Date
Bastien Bouclet 8fb149e3c7 ENGINES: Change MetaEngine::findGame to return a plain game descriptor 2018-05-10 09:04:23 +02:00
Adrian Frühwirth 49116b4ae7 ALL: Use CLIP to clip volumes 2018-05-05 17:57:31 +02:00
Colin Snover 6e157429b7 BACKENDS: Fix window sizing of games that switch between multiple resolutions 2017-10-07 12:30:29 -05: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
Eugene Sandulenko c76e2666f5 JANITORIAL: Fix GCC 7 fall through warning 2017-08-11 20:40:37 +02:00
Torbjörn Andersson 462f1c9859 JANITORIAL: Silence more GCC 7 warnings
There were all flagged as intentional fall throughs. I simply changed
the comments to something GCC would recognize.
2017-08-06 12:26:05 +02:00
Ben Castricum b041618a42 ALL: Remove comma before the word 'instead' 2016-11-29 20:22:19 +01:00
rootfather 96a1aa3e05 CINE: Update POTFILES 2016-11-24 11:57:10 +01:00
Eugene Sandulenko 40290fb244 CINE: Move debug channel registration to the first place in the constructor
Otherwise we could miss some of the debug output as the channels are not yet
registered.
2016-07-28 11:33:15 +03:00
Eugene Sandulenko 33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +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 016a6000e4 CINE: Ensure openCD() is called 2016-03-13 13:52:35 +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
Kirben 27e5cfbd1b CINE: Fix sound effects stopping the music in the DOS CD version of Future Wars. 2016-03-01 20:36:36 +11:00
Kirben e5974027ec CINE: Fix restoring background music when loading saved game in DOS CD version of Future Wars. 2016-03-01 20:08:03 +11:00
Johannes Schickel 7ab0de238e CINE: Fix SPL resource loading (thus SFX).
Confirmed against DOS disasm. There is no header for SPL data.
2016-02-28 12:25:14 +01:00
Johannes Schickel 0308717744 CINE: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Johannes Schickel 507bfe2a69 CINE: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Ori Avtalion d8045c6727 JANITORIAL: Fix clang printf warnings 2016-01-07 14:55:32 +02:00
Johannes Schickel f4022c0ab8 CINE: Add POTFILES file.
e52cf3e7aa added translatable strings to Cine's
detection.cpp. Thus, there should be a POTFILE to allow checking the file
when building our translation base file.
2015-12-28 05:30:59 +01:00
Johannes Schickel c9bda09bc0 CINE: Prevent buffer overruns in scummVMSaveLoadDialog. 2015-12-28 00:36:24 +01:00
Johannes Schickel de0b5b62ab CINE: Let makeLoad take a Common::String as parameter. 2015-12-28 00:35:43 +01:00
Johannes Schickel 8c1fc40d3d CINE: Implement extra GUI options using AD's features. 2015-12-28 00:14:11 +01:00
Johannes Schickel 796ea1468f CINE: Remove superflous default value registration for extra GUI options. 2015-12-28 00:14:11 +01:00
Filippos Karapetis 1688a1b239 CINE: Fix compilation 2015-12-28 00:39:47 +02:00
Filippos Karapetis e52cf3e7aa CINE: Add support for ScummVM save/load menus 2015-12-28 00:31:50 +02:00
Torbjörn Andersson 61b14539c4 CINE: Show splash screen in CD version of Future Wars 2015-09-17 22:19:36 +02:00
Kirben dce5c96cc2 CINE: Correct size of arrays for CD version of Future Wars. 2015-09-13 19:51:39 +10:00
Kirben 8c5e6d2be4 CINE: Add support for CD music in the CD version of Future Wars. 2015-09-13 14:24:55 +10:00
Matthew Hoops bed9da8b9d AUDIO: Remove all AudioStream access to OPL 2015-07-07 20:19:47 -04:00
Matthew Hoops 984cd9b018 CINE: Use the built-in OPL timer 2015-07-07 20:19:43 -04:00
Matthew Hoops 2e8f9dcec9 AUDIO: Remove the sample rate configuration from the OPL code 2015-07-07 20:19:42 -04:00
Matthew Hoops f1f29302f5 AUDIO: Remove the legacy OPL API 2015-07-07 20:19:42 -04:00
Kirben 3d72bcfa64 CINE: Add English DOS demo of Operation Stealth. 2015-05-17 15:42:20 +10:00
Johannes Schickel ae4ffe01f0 ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
Strangerke ff569b0d2e CINE: Add a safeguard to avoid a divide by zero in Palette::save() 2014-05-25 18:11:14 +02:00
Strangerke 58fcb43c19 CINE: Add a safeguard to avoid incrementing a null pointer 2014-05-25 17:38:28 +02:00
Strangerke 9dcb559488 CINE: Add a safeguard, split makeCommandLine() per game type 2014-03-22 11:42:06 +01:00
Strangerke 87c457a223 CINE: Initialize some unitialized variables 2014-03-16 14:51:55 +01:00
Strangerke 95728f4890 CINE: Avoid possible string buffer overrun by using strlcpy and strlcat 2014-03-16 14:24:45 +01:00
Johannes Schickel 4ad7c5b40d CINE: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Strangerke 2937727018 CINE: Reduce the scope of some variables, optimize a couple of iterator increment 2014-02-09 20:41:08 +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
Eugene Sandulenko a71e59fd2d CINE: Remove unnecessary check. CID 1004117 2013-11-03 01:28:03 +02:00
D G Turner c71b149523 CINE: Ensure that Adlib driver callbacks are initialized. CID 1003411. 2013-10-02 05:34:27 +01:00
D G Turner 93e5f1fddc CINE: Fix for possible uninitialized variable usage. CID 1086890. 2013-10-02 05:09:03 +01:00