Commit Graph
2026 Commits
Author SHA1 Message Date
Eugene Sandulenko aa0f898f85 TSAGE: Added support for uninstalled floppy version 2020-11-29 00:48:45 +01:00
Eugene Sandulenko 092886fcb3 I18N: Clarify files in POTFILES 2020-11-28 17:41:24 +01:00
Eugene Sandulenko 7df2ef70e8 TSAGE: Mark Spanish CD version of Blue Force as unsupported 2020-11-28 17:41:23 +01:00
Eugene Sandulenko 7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko 7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +02:00
aryanrawlani28 d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28 a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28 29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28 f3b9477893 ENGINES: ALL: Add header guards for the new detection-header files. 2020-10-03 14:56:36 +02:00
aryanrawlani28 8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28 d001efc534 TSAGE: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28 4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28 e22b32abfe GUI: U32: Use Common::U32String::format where necessary and GUIError to u32
- Where necessary as in, where translated messages are used.
- GUIErrorMessage now takes in U32String
- error messages across some engines use U32Strings. they are changed because they show a message dialog.
2020-08-30 14:43:41 +02:00
Eugene Sandulenko fe0193b914 JANITORIAL: Remove unndeded "common/translation.h" include 2020-08-27 20:26:45 +02:00
Eugene Sandulenko b53a7db0da ALL: Switch to Common::hypotenuse() 2020-06-06 15:08:52 +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 120ee778f2 TSAGE: Fix crash clicking on Options sound button 2020-03-10 08:00:41 +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 0107aace67 TSAGE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet b0e26f1989 TSAGE: Remove duplicate override keywords 2020-02-09 12:58:21 +01:00
Bastien Bouclet 5bf2783433 TSAGE: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko 07d3918387 TSAGE: 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 27d26a49ea TSAGE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-28 02:10:52 +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
aviloria 0fd412ca16 TSAGE: Removed "pirated" flag from Spanish fanmade translation
TSAGE: Removed "pirated" flag from Spanish fanmade translation
2019-08-12 21:31:08 +03:00
Paul Gilbert c68d17e9ac TSAGE: R2R: Add Spanish translation detection entry flagged as pirated
I decided it was worthwhile to have an entry for it, but flagged as
pirated, so we don't accidentally add it in as supported later on.
2019-08-08 20:19:25 -07:00
Paul Gilbert efd594993d TSAGE: Don't allow saving in Ringworld copy protection dialog 2018-08-21 19:24:25 -07:00
Paul Gilbert cce93d3b44 TSAGE: Fix ejecting disc from left cycle's drive in Ringworld 1 2018-08-20 20:02:13 -07:00
Paul Gilbert 11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
Adrian Frühwirth 990a0c203a TSAGE: Enforce code formatting guidelines 2018-05-07 20:06:30 +02:00
Adrian Frühwirth 00e59a3122 ALL: Load savegame thumbnail only when necessary
This commit introduces the following changes:

1. Graphics::loadThumbnail()

   Now returns a boolean and takes a new argument skipThumbnail which
   defaults to false. In case of true, loadThumbnail() reads past the
   thumbnail data in the input stream instead of actually loading the
   thumbnail. This simplifies savegame handling where, up until now,
   many engines always read the whole savegame metadata (including
   the thumbnail) and then threw away the thumbnail when not needed
   (which is in almost all cases, the most common exception being
   MetaEngine::querySaveMetaInfos() which is responsible for loading
   savegame metadata for displaying it in the GUI launcher.

2. readSavegameHeader()

   Engines which already implement such a method (name varies) now take
   a new argument skipThumbnail (default: true) which is passed
   through to loadThumbnail(). This means that the default case for
   readSavegameHeader() is now _not_ loading the thumbnail from a
   savegame and just reading past it. In those cases, e.g.
   querySaveMetaInfos(), where we actually are interested in loading
   the thumbnail readSavegameHeader() needs to explicitely be called
   with skipThumbnail == false.

   Engines whose readSavegameHeader() (name varies) already takes an
   argument loadThumbnail have been adapted to have a similar
   prototype and semantics.
   I.e. readSaveHeader(in, loadThumbnail, header) now is
   readSaveHeader(in, header, skipThumbnail).

3. Error handling

   Engines which previously did not check the return value of
   readSavegameHeader() (name varies) now do so ensuring that possibly
   broken savegames (be it a broken thumbnail or something else) don't
   make it into the GUI launcher list in the first place.
2018-04-07 09:26:20 +02:00
Paul Gilbert 8c850f82ec TSAGE: R2R: Clicking F5 fro Options dialog 2017-12-16 17:49:33 -05:00
Paul Gilbert 5dad41851e TSAGE: R2R: Fix brief flash of UI when starting demo 2017-11-22 19:41:49 -05:00
Paul Gilbert bf8e4f5dd0 TSAGE: R2R: Fix corruption of demo intro text 2017-11-22 19:12:40 -05:00
Paul Gilbert 13f74027e8 TSAGE: Fix loading savegames with unreferenced dynamic objects 2017-11-21 21:05:40 -05:00
Colin Snover 2e034c0550 TSAGE: Fix crash on RTL 2017-11-20 18:43:18 -06:00
Colin Snover fe45300891 TSAGE: Fix deadlocks in audio code
Fixes Trac#6618, Trac#6638, Trac#7011.
2017-11-20 18:43:18 -06:00
Colin Snover 7fc9e381b8 TSAGE: Fix invalid C-style casts to unrelated classes 2017-11-20 18:43:18 -06:00
Colin Snover b20670e564 TSAGE: Remove member access of null pointer 2017-11-20 18:43:17 -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
Thierry Crozat b1ba071ea8 TSAGE: 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-08 14:51:04 +01: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
Paul Gilbert 0338733d4b TSAGE: BF: Add missing break to switch statement 2017-08-06 22:33:55 -04: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
Hein-Pieter van Braam 78b2a76076 TSAGE: remove accidentally added file
Commit aee71314 seems to have accidentally added a temp file containing
a libtsage.a file. We remove it here.
2017-06-26 13:56:25 +02:00
Paul Gilbert 902ce47c05 TSAGE: R2R: Don't allow F8 to start credits when they're already on 2017-02-21 21:21:32 -05:00