Commit Graph

396 Commits

Author SHA1 Message Date
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Eugene Sandulenko
7e43cad1bc QUEEN: Added override keywords 2020-01-31 14:13:13 +01:00
BLooperZ
63116a2678 QUEEN: fix bellboy dialogue - bug #11272 2019-12-08 23:33:06 +02:00
sluicebox
b8390fa161 GRAPHICS: Add interface for horizontal shake 2019-11-19 00:20:40 +01:00
D G Turner
81468e2193 QUEEN: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-15 03:38:19 +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
6cf52b515d QUEEN: Prevent hang when closing core during dialog
Co-authored-by: jdgleaver <jdgleaver@users.noreply.github.com>
2019-09-22 23:18:14 +02:00
Cameron Cawley
de879dd538 QUEEN: Disable load/save until game is properly initialised
Co-authored-by: jdgleaver <jdgleaver@users.noreply.github.com>
2019-09-22 23:17:36 +02:00
Niv Baehr
0377045f0e QUEEN: Skip talk on right click 2019-07-30 22:25:14 +03:00
aviloria
41c29b57db QUEEN: Remove a bad detection entry 2019-07-11 03:02:32 +03:00
D G Turner
1c37569ce2 QUEEN: Fix GCC Compiler Warnings
These are further warnings of the use of memset to clear a non-trivial
structure / class. Since it is trivial to add a default constructor to
these to initialise them instead, the memset calls can be removed.
2019-05-07 23:16:50 +01: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
Eugene Sandulenko
d516f57561 QUEEN: Added detection for Russian interview demo 2018-07-05 22:18:44 +02:00
Eugene Sandulenko
efced47369 QUEEN: Added detection for Russian version 2018-07-03 21:47:23 +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
lotharsm
d6e6aca7e3 QUEEN: Add detection entry for Italian GoG.com release 2018-05-22 09:54:38 +02:00
lotharsm
cb33dd6de3 QUEEN: Add detection entry for French GoG.com release 2018-05-22 09:54:38 +02:00
lotharsm
ff68947ac1 QUEEN: Add detection entry for German GoG.com release 2018-05-22 09:54:38 +02:00
Bastien Bouclet
cf1ebf2951 ENGINES: Add unknown game variants to the game detector results 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
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
0b07029274 QUEEN: Silence GCC 7 warnings about potential buffer overflow
Use snprintf() instead of sprintf() to limit how much is written
to the buffer. Note that there are other places where it looks
like it could overflow, but they did not trigger warnings and I'm
guessing that it doesn't overflow in reality.
2017-08-06 20:06:18 +02:00
Torbjörn Andersson
70a2ca8b7d JANITORIAL: Silence more GCC 7 warnings
All these fall through were marked as deliberate, so again I've only
changed the comment to silence GCC.
2017-08-06 13:30:51 +02:00
D G Turner
d2a7c296a2 COMMON: Migrate Various Endian Functions to Common from Engine Code.
Thanks to N.E.C <beholdnec@gmail.com> for this.
2017-07-30 22:03:29 +02:00
Eugene Sandulenko
d958287e84 QUEEN: Improved Russian fonts 2016-12-11 00:08:40 +01: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
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Eugene Sandulenko
47c6a28e72 QUEEN: Added some md5s. Bug #6946 2016-03-28 12:13:02 +02:00
Johannes Schickel
3aecd8ef2a ENGINES: Make variable names of ADGameDescription conform to our guidelines.
gameid     -> gameId
guioptions -> guiOptions
2016-03-08 19:01:38 +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
Johannes Schickel
cb07a1bb1d QUEEN: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Eugene Sandulenko
29670a1a1e QUEEN: Added detection for Russian Floppy 2016-02-20 19:27:02 +01:00
Johannes Schickel
7bfd432223 QUEEN: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Matthew Hoops
bed9da8b9d AUDIO: Remove all AudioStream access to OPL 2015-07-07 20:19:47 -04:00
Walter van Niftrik
b367ea548d QUEEN: Implement original music volume handling 2015-07-07 20:19:46 -04:00
Matthew Hoops
4a4ad97fd3 QUEEN: Use the built-in OPL timer 2015-07-07 20:19:44 -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
Filippos Karapetis
2e41909020 QUEEN: Immediately stop actor movement when the game is exiting
This allows the engine to quit immediately while actors are moving,
e.g. while Joe is walking towards Lola's bedroom
2015-05-12 00:29:20 +03:00
Filippos Karapetis
b5b5417d64 QUEEN: Allow the engine to quit while dialog options are shown 2014-10-27 03:36:52 +02:00
Filippos Karapetis
0db09d334c QUEEN: Fix bug #6700 - "FOTAQ: Weird Response Glitches"
Pending mouse clicks and keypresses are now cleared before and after
the game options screen or dialog options are shown
2014-10-27 03:18:41 +02:00
Thierry Crozat
7d856cb4ad QUEEN: Update list of files that contain translatable strings 2014-10-04 01:03:00 +01:00
Johannes Schickel
ae4ffe01f0 ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
Johannes Schickel
daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
D G Turner
a48e54c459 QUEEN: Improve parameter validation in debug console.
This fixes the issues reported in Feature Request #218 - "DEBUGGER:
Add parameter validation".
2014-04-22 03:40:51 +01:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
34552b9ee7 QUEEN: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Strangerke
8df46608ad QUEEN: Silent some CppCheck warnings by reducing some variable scopes 2014-02-16 14:39:59 +01:00
Strangerke
9f4628c2ef QUEEN: Fix previous commit 2014-02-15 18:08:29 +01:00
Strangerke
e071136108 QUEEN: Add detection of French versions reported in bug #6534 2014-02-15 18:02:44 +01:00
David Turner
ae16c989ae Merge pull request #407 from digitall/advancedDetector_queen
Migration of Queen Engine to Advanced Detector
2014-02-10 15:05:20 +00:00
D G Turner
1348b82aaa QUEEN: Migrate extra gui options to AdvancedMetaEngine handling. 2014-02-10 15:02:36 +00:00
D G Turner
7d4c625c4e QUEEN: Switch all savegame usage back to "queen.sXX" format.
The target is not just a bare "queen", but is postfixed by language
variant (and CD if used).

Using this for the savegame naming would be good as it allows several
language variants to have different co-existing savegame sets without
causing conflicts. However, if the savegame format is the same across
all language variants, then using the same naming allows easier
switching between languages if testing.

Currently the queen engine uses a single set of savegames named in the
format "queen.sXX" which are used for all languages, as the format
appears to be compatible across language variants. This may require
changing in future, if a variant with incompatible savegame format
is discovered.
2014-02-10 14:59:44 +00:00
D G Turner
d1b7fd9b87 QUEEN: Migrate listSaves() function to game target for save naming. 2014-01-21 11:39:28 +00:00
D G Turner
7382fe0ba2 QUEEN: Fix missing GUIO_NOSPEECH flag on Demo and Floppy AD entries.
Also, add missing Spanish DOS CD entry in skeleton form.
2014-01-20 01:59:32 +00:00
D G Turner
6814ce68bf QUEEN: Disable detection entries with unknown MD5sums.
This forces detection of the entries with missing MD5sums via the
fallback detector. This triggers will then trigger a warning
with the associated md5sum for the user to report to the team.
2014-01-14 23:11:20 +00:00
D G Turner
be9833a43f QUEEN: Switch unknown md5sums in detection entries for NULL.
This tells the advanced detector to skip MD5 validation for this
detection entry, so only filename and size are used as per the
original detection code.
2014-01-14 23:07:54 +00:00
D G Turner
6db7b81d5c QUEEN: Restore previous detection code as fallback detector. 2013-12-10 02:04:25 +00:00
D G Turner
5dca63221d QUEEN: Add further detection entries for Advanced Detector.
These are based on queen.1 file lengths from qtable devtool.
2013-12-10 01:17:19 +00: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
D G Turner
4ad17f29ba QUEEN: Add detection entries for Advanced Detector.
Some of the uncompressed language variant entries are missing
currently.
2013-10-05 06:24:42 +01:00
D G Turner
54e44486b0 QUEEN: Initial work to migrate to Advanced Detector.
This breaks the detection until the required checksums for each version
are added and/or the fallback detection is fixed.
2013-10-05 06:24:42 +01:00
D G Turner
2c0ed5e252 QUEEN: Minor cleanup of detection code. 2013-10-05 06:24:42 +01:00
D G Turner
b61c770d0f QUEEN: Move current detection code into separate source file. 2013-10-05 06:24:42 +01:00
Johannes Schickel
378387c903 I18N: Move specification of engine specific files to enginedir/POTFILES.
This allows to keep the engines to specfiy the files for translation close to
the engine sources itself.

Thanks to criezy for his suggestion on this approach.
2013-08-12 17:54:31 +02:00
Filippos Karapetis
bdd131450f QUEEN: Fix bug #3612408 - "QUEEN: Can't quit from ScummVM while ending cutscene"
We now check if the engine should quit in the loop of the end credits animation
2013-05-11 17:20:57 +03: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
Max Horn
b791edabf7 ENGINES: Remove a bunch of unused private member variables
All instances uncovered by clang warnings.
2013-04-18 23:50:20 +02:00
Johannes Schickel
b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
Johannes Schickel
5673dc1692 QUEEN: Rename override to overrideCmd.
This fixes compilation on pre-C++11 compilers.
2013-01-26 14:43:21 +01:00
Tomas Jakobsson
25752922ef QUEEN: Update to new IFFDecoder for ILBM images 2013-01-06 20:04:45 +01:00
Johannes Schickel
b0ba4b01a4 COMMON: Add wrapper for isprint.
This is done in the spirit of 658080deed.
2012-12-13 21:08:47 +01:00
Thierry Crozat
90788da0fc QUEEN: Workaround a bug in the llvm-g++ compiler
That code made llvm-g++ 4.2.1 crash when compiling with
optimizations.
2012-12-02 22:57:15 +00:00
D G Turner
e9c3d14307 QUEEN: Fix compilation. 2012-11-19 23:14:30 +00:00
D G Turner
362e195a5f QUEEN: Remove unused, but set variable, personWalking from Talk::talk(). 2012-11-19 23:00:40 +00:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Filippos Karapetis
d182fe0221 QUEEN: Switch to the common PCX decoder 2012-09-13 01:49:58 +03:00
Torbjörn Andersson
e21bd10749 QUEEN: Change description on the "alt_intro" option
It's not a floppy version intro, so call it "Alternative intro"
instead. It's too late to make this change in 1.5.0 because it
would need translation changes. (When the option was first added,
it *was* called "Alternative intro" but it got changed along the
way.)
2012-07-19 05:53:55 +02:00
Filippos Karapetis
6a49d3eadd ENGINES: Return all available custom GUI options if no target is specified
This is used to set default settings for all custom game options when an
engine starts
2012-03-31 13:55:03 +03:00
Filippos Karapetis
6a6831014c QUEEN: Implement saving/loading during runtime from the GMM 2012-03-26 01:02:04 +03:00
Filippos Karapetis
c12990d37f QUEEN: Only show the option for the alternative intro in the CD version 2012-03-25 16:24:04 +03:00
Torbjörn Andersson
ae102a2b54 QUEEN: Add GUI option for alt-intro
Ideally, this should only be added to the CD version but I don't think
we provide any mechanism for telling the CD and floppy versions apart.
2012-03-25 11:58:09 +02:00
Max Horn
367131ef0e COMMON: Move Language and Platform functionality into separate files 2012-02-26 15:21:36 +01:00
Max Horn
215b41b244 COMMON: Move RenderMode and GUIOptions functionality into separate files 2012-02-26 15:19:31 +01:00
Willem Jan Palenstijn
9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn
4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Max Horn
658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Alyssa Milburn
9f8520fb81 QUEEN: Fix clicking at the pinnacle.
Check where the click was *before* scrolling the view, so that
it works with a touchscreen. Also, check shouldQuit() here.
2012-02-04 19:49:52 +01:00
Torbjörn Andersson
055260769c QUEEN: Remove unused variable
As far as I can tell, this 'canQuit' variable (originally 'CANTQUIT')
has been replaced by the _vm->input->canQuit() method in all other
cases. However, I'm not at all sure what effect this change will have.
2011-11-20 10:37:44 +01:00
Eugene Sandulenko
290515d2ab QUEEN: Comment unused variable 2011-11-14 22:23:21 +02:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Johannes Schickel
af19990980 QUEEN: Made some static data const. 2011-09-08 20:07:36 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Littleboy
b694a78f62 ANALYSIS: Add static casts to is* functions
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results.
See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23 08:52:52 -04:00