Commit Graph

326 Commits

Author SHA1 Message Date
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