733 Commits

Author SHA1 Message Date
Eugene Sandulenko
ac6932bd89 I18N: Added missing files to POTFILES 2020-08-27 20:26:45 +02:00
Eugene Sandulenko
956b33a411 CINE: Fix warnings 2020-08-26 01:32:55 +02:00
Eugene Sandulenko
0ae7db07ea CINE: Added detection for another FR floppy OS. Bug #11617 2020-08-25 20:08:29 +02:00
Eugene Sandulenko
26f44a64c9 CINE: Put Operation Stealth to testing 2020-08-23 17:00:15 +02:00
Eugene Sandulenko
81975911f7 CINE: Fix compilation 2020-08-22 22:58:43 +02:00
Kari Salminen
f1809916a4 CINE: Fix autosave thumbnail generating.
Using the current screen contents for autosaves now.
For non-autosaves the screen contents before opening
the system menu are used.
2020-08-01 20:26:44 +02:00
Kari Salminen
24c7e0e70c CINE: FW: Fix disabled action menu after loading.
Future Wars PC disassembly does not save disableSysteMenu variable.
After adding versioning to Future Wars saves this value was also
saved and loaded but using it on load seems to have caused the
action menu (EXAMINE, TAKE, INVENTORY, ...) to be disabled sometimes
when it is not supposed to be disabled. Thus, now skipping the loading
of disableSystemMenu variable for versioned Future Wars saves.
2020-08-01 20:26:44 +02:00
Kari Salminen
8c34f865e8 CINE: FW: Fix Roland MT-32 sample playing.
Fix bug #11547 ("CINE: FW: Game crashes during intro with MT-32 music").
Future Wars PC disassembly passes 256 to writeInstrument and
writeInstrument overwrites it with value 246 here. So the value
becomes 246 in the end.
2020-08-01 10:42:21 +02:00
Kari Salminen
21e3086244 CINE: Simplify assert in freeAnimDataRange. 2020-07-31 10:38:42 +02:00
Kari Salminen
d11445b672 CINE: Add _animDataTable bounds checkings.
Hopefully a fix for Coverity check CID 1430586
("Untrusted value as argument").
2020-07-31 10:38:42 +02:00
Eugene Sandulenko
53f7e430fc CINE: Use strlcat 2020-07-27 12:24:47 +02:00
Eugene Sandulenko
a3ee49ad25 CINE: Remove unnecessary check. uints are always >= 0 2020-07-27 12:22:18 +02:00
Kari Salminen
580a7e6568 CINE: Fix formatting, string copy and signedness.
Fix code formatting, string copying (strncpy -> strlcpy) and signedness (int -> uint).
2020-07-25 00:33:42 +02:00
Kari Salminen
9c68b62eb9 CINE: Fix clang compilation and DeepCode warning.
Change structure initialization from C++11 style to older style to fix
clang compilation. Add null check to fix DeepCode warning about
possible undefined behaviour.
2020-07-25 00:33:42 +02:00
Kari Salminen
2ca52fc007 CINE: Add support for Operation Stealth.
Add support for Operation Stealth PC 16 and 256 color versions with
AdLib and Roland MT-32 sound. Add support for 20 extended savegames
(Thumbnails, playtime etc) for both Future Wars and Operation Stealth
(20 because it fits on screen using the original save/load interface).

Details:
 - Add versioning to Future Wars and Operation Stealth savegames.
 - Add fade in effect to both Future Wars and Operation Stealth.
 - Add mouse wheel support and keyboard support to moving in menus.
 - Map middle mouse button to pressing both left and right buttons.
 - Make interface more responsive (See manageEvents() and drawFrame()).
 - Amiga versions should be completable but sound may or may not work.
 - Atari ST versions completely untested.

Game options currently supported:
 - Using original save/load interface
 - Using transparent dialog boxes in 16 color scenes (Also for PC)

Console commands currently supported:
 - labyrinthCheat (For cheating in Operation Stealth's labyrinths)
 - disableLabyrinthCheat (Disabling labyrinth cheat)
 - disableHacks (Disabling hacks, useful for testing)
 - enableHacks (Enabling hacks, useful for testing. On by default)
2020-07-25 00:33:42 +02:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +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
Paul Gilbert
9f175c4053 ENGINES: Cleanup of savegame filenames generation
This removes filename methods when it matched the Engine method.
Secondly, ensuring there was an overriden getSaveStateName method
for engines that didn't do the standard target.00x save filenames
2020-02-16 15:44:28 -08:00
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Paul Gilbert
21dd3be444 CINE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
0d85e92cf7 CINE: Remove duplicate override keywords 2020-02-09 12:58:14 +01:00
Bastien Bouclet
f66925f148 CINE: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko
1203705666 CINE: Added override kyewords 2020-02-05 14:55:09 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
D G Turner
575531a235 CINE: Use Advanced Detector LISTEND Macro in Detection Entries 2019-12-04 04:56:33 +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
D G Turner
f7593adb3e CINE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-17 00:47:34 +01:00
athrxx
a6bf63bc1a SCI: revert accidental commits 2019-07-17 20:46:32 +02:00
athrxx
ea9e7df0a8 CINE CP 2019-07-17 17:38:25 +02:00
athrxx
80f163b0fc ALL: revert accidental commits 2019-06-21 14:19:42 +02:00
athrxx
08dba769f1 CINE CP 2019-06-21 14:06:10 +02: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
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