Commit Graph

441 Commits

Author SHA1 Message Date
Bastien Bouclet
550af3953a TONY: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko
40684a2111 TONY: Added override keywords 2020-02-06 23:46:47 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
D G Turner
46eafcf96b TONY: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-30 19:45:43 +00:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
D G Turner
cb6b2a3631 TONY: Fix Missing Font Base Class Initialization
This was causing an MSVC warning.
2019-09-30 02:31:00 +01:00
Henrik "Henke37" Andersson
92a2a9afc6 TONY: The engine doesn't use MIDI, mark the games as such. 2019-09-29 19:34:16 +03:00
Cameron Cawley
f6015086e1 ENGINES: Add GUIErrorMessageFormat to replace duplicated functions (#1455) 2018-12-19 08:31:26 +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
Adrian Frühwirth
273e88b61d TONY: Enforce code formatting guidelines
These are all commented out but let's update them nevertheless to
reflect earlier renames of the methods in question.
2018-05-07 20:06:29 +02:00
Adrian Frühwirth
49116b4ae7 ALL: Use CLIP to clip volumes 2018-05-05 17:57:31 +02:00
Adrian Frühwirth
a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +02:00
Adrian Frühwirth
9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
Colin Snover
a5bc89102e ALL: Remove obsolete register keyword
The register keyword was deprecated from the C++11 standard,
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4193.html#809>,
and removed from the C++17 standard,
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340>, so
cannot exist in a well-formed C++17 program.

It has never done anything in GCC
<https://gcc.gnu.org/ml/gcc/2010-05/msg00113.html>
and because of the way it is specified in the standard, it is “as
meaningful as whitespace”
<http://www.drdobbs.com/keywords-that-arent-or-comments-by-anoth/184403859>.

The one remaining use of the register keyword is in the DS backend,
where it is used to create a local register variable using the
non-standard GCC Extended Asm feature.

Closes gh-1079.
2017-12-03 20:27:42 -06:00
Thierry Crozat
2b00829f09
Merge pull request #1041 from criezy/variadic-undefined
Fix undefined behaviour in variadic functions
2017-11-10 22:20:54 +00: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
Thierry Crozat
9b374acb2b TONY: Fix undefined behaviour in variadic functions
Passing a type that undergoes default argument promotion as last
argument of a variadic function results in undefined behaviour.
2017-10-06 01:01:16 +01:00
Ben Castricum
ebaab44cd1 ALL: Leave out instructions for engine data issues 2016-12-08 13:38:56 +01:00
Ben Castricum
0e47d71928 ALL: replace 2 more 'download engine data' instructions 2016-12-06 14:50:04 +01:00
Ben Castricum
55512414dd ALL: Change instructions for engine data file issues
The engine data files should be included in the package, so downloading
may not be the best suggestion. Instead refer to the README.
2016-12-06 14:16:37 +01:00
Ben Castricum
1cf3f50b74 ALL: Unify 'wrong version of engine data' message 2016-12-06 09:38:25 +01:00
Ben Castricum
eb7ffb1e2c ALL: Unify 'corrupted engine data' message 2016-12-06 09:38:19 +01:00
Ben Castricum
e1ec91b69a ALL: Unify 'missing engine data' message 2016-12-05 21:04:50 +01:00
Eugene Sandulenko
8f2a0eb662 TONY: Safer string manipulation 2016-06-17 12:10:11 +02:00
Eugene Sandulenko
b404524599 TONY: Complete class initializations 2016-06-17 12:10:11 +02: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
Eugene Sandulenko
69120f4e72 TONY: Removing more redundant checks 2016-05-09 14:24:32 +02:00
Eugene Sandulenko
d7fe475266 TONY: Remove redundant checks
Since we have ((color & 0x1f) * 6) / 6, it cannot be > 0x1f, thus removing these
checks as redundant.
2016-05-04 21:15:58 +02:00
Eugene Sandulenko
534f723fa5 TONY: Fix buffer overrun 2016-05-04 21:15:51 +02:00
Eugene Sandulenko
0d44f77ab3 TONY: Fix numerous memory leaks 2016-05-03 14:51:18 +02:00
Eugene Sandulenko
23d74fddb4 CONFIGURE: Introduced new engine dependency: highres
Some backends like GCW0 do no support graphics >320x240 due to
the hardware limitation (downscaling is possible but it will ruin
the pixel hunting which is often part of the gameplay).

Instead of manually updating the list of engines, we now introduce
a new dependency.

I marked all relevant engines, but some, like tinsel, require more
work with putting their relevant high-res games under USE_HIGHRES
define.
2016-03-05 14:25:56 +01:00
Johannes Schickel
2da54704af TONY: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Johannes Schickel
0285c5b628 TONY: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Strangerke
d919c66e99 TONY: Initialize _vdbCodec in contructor 2016-01-04 14:10:24 +01:00
Strangerke
1084fc023c TONY: As suggested by LordHoto, determine codec based on container signature instead of filename 2016-01-04 14:07:56 +01:00
Strangerke
94809c4995 TONY: Reduce variable scope, use MKTAG to check file signature 2016-01-04 13:53:11 +01:00
Strangerke
e6d8655a9b TONY: Add support to the new compressed speech containers 2016-01-04 13:43:36 +01:00
Strangerke
35e526d34b TONY: Fix Amiga Build by adding missing sound ifdefs 2016-01-03 00:52:35 +01:00
Strangerke
35f08ca0fb TONY: Add support for compressed music and sfx 2016-01-03 00:17:43 +01:00
Strangerke
92f3a9f482 TONY: Remove an unused variable 2016-01-01 04:25:26 +01:00
Strangerke
131d2f73e0 TONY: Fix typo in comment 2016-01-01 04:25:23 +01:00
Strangerke
d4e5b72d31 TONY: Simplify some code related to LOX in RMItem::readFromStream() 2015-12-31 14:56:05 +01:00
Strangerke
88c19138cf TONY: Remove more dead code related to unused raw codec 2015-12-31 14:48:38 +01:00
Strangerke
7ee36a97ee TONY: As codec is always ADPCM, remove some dead code 2015-12-31 14:41:18 +01:00
Strangerke
355420c1e5 TONY: Add detection for Tony Tough Czech "not installed" 2015-12-12 16:03:55 +01:00
Filippos Karapetis
b6aa297fc8 TONY: Fix inclusion of util.h 2015-07-04 01:51:48 +03:00
unknown
b0c76b3a17 TONY: Fix disabled ui after capturing guard on Ferris Wheel 2015-04-05 07:50:13 -05:00
unknown
f238e7563a TONY: Revert Italian detection entry 2015-04-04 17:59:33 -05:00
unknown
2b1bc8dc3c TONY: Add detection for Italian PC Magazine version 2015-04-03 21:01:06 -05:00
Filippos Karapetis
3575235ca6 TONY: Remove trailing whitespace 2014-10-28 16:13:40 +02:00