Commit Graph

692 Commits

Author SHA1 Message Date
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
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Eugene Sandulenko
9b8aa5e135 CINE: Null terminate string. CID 1003886 2013-04-26 08:04:38 +03:00
Eugene Sandulenko
a8a267b668 CINE: Null terminate string. CID 1003884 2013-04-26 08:02:23 +03:00
Eugene Sandulenko
f70509e20b CINE: Null terminate string. CID 1003887 2013-04-26 08:01:07 +03:00
Max Horn
cdfd5f85c8 ENGINES: Silence clang warning about unused private member _vm
This affects the Console / debugger classes of multiple engines.
An alternative solution would have been to remove the unused _vm
member vars. However, it seems likely that in the future, the _vm
member could be useful for methods added to the console. So instead,
we add a simple assert(_vm) to silence the clang warning.
2013-04-18 23:50:19 +02:00
Johannes Schickel
c31d1971b5 CINE: Implement music fade out for Amiga/AtariST music. 2012-09-11 22:28:40 +02:00
Johannes Schickel
892710a0a3 CINE: Fix sfx channel use in Amiga and AtariST versions of FW.
This fixes a channel assignment issue in opcode 119. This also implements
opcode 120, which is basically a stereo channel swapped version of 119
(o1_playSample).

This affects the Amiga and AtariST versions. I put a TODO to check the DOS
version here.
2012-09-08 01:16:10 +02:00
Johannes Schickel
b48f5b78b7 CINE: Implement panning for sfx for FW Amiga and AtariST. 2012-09-08 01:16:10 +02:00