Commit Graph
123 Commits
Author SHA1 Message Date
athrxx bd1dbecde9 TTS: (ENGINES) - add support for tts enable function
The new option only works as intended if the engine that have TTS support apply their own settings. It cannot be globally implemented before and after runGame(), since the engines don't all use the same config manager variables (sometimes "tts_enabled_speech", "tts_enabled" or "tts_narrator, sometimes more than one of these).
2022-04-26 21:08:41 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
D G Turner e821511050 CGE: Fix Misleading Indentation GCC Warnings from TTS Addition 2021-07-18 05:31:51 +01:00
Twan 92e1d2079c CGE: Add Text To Speech (TTS) for Soltys
Add TTS to the opening story, game objects, game options and the ending message
2021-07-17 09:27:42 +03:00
sluicebox 8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
ysj1173886760 3ad0a9573a CGE: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +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 185fb72783 GUI: U32: Improve U32 code
- Revert accidentally put translations in mt32.cpp
- Use U32::format in some places earlier missed
- Add %u and %i for u32::format
- Add support for GUIErrorMsgFormat to use u32::format internally
- Use the above whereever needed
- Improve linux tts by removing redundant code
- Some places I had changed nullptr -> "". Revert this
2020-08-30 14:43:41 +02:00
aryanrawlani28 bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
mataniko 581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Paul Gilbert 5b25e3ec7e CGE: Refactor to use Engine debugger 2020-02-16 13:07:19 +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
uruk 5512711434 CGE: Replace magic numbers with defines. 2014-04-29 09:39:24 +02:00
Strangerke 0a9b8978ee CGE: Remove a useless variable, remove some associated dead code 2014-03-15 11:19:21 +01:00
Strangerke 62c4062841 CGE: Reorder CGEEngine constructor 2014-03-15 11:15:55 +01:00
Strangerke 1cf283bfa7 CGE: Move several variable initializations to the constructor 2014-03-15 11:09:52 +01:00
Strangerke f2a0d591fd CGE: Fix obsolete debug message 2014-03-10 21:58:11 +01:00
Strangerke 2be4c69939 CGE: Fix some uninitialized variables 2014-03-02 20:44:25 +01:00
Strangerke 2c7f6a9d1d CGE: Some British to American english 2014-02-19 21:45:20 +01:00
Johannes Schickel ed40653105 CGE: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Eugene Sandulenko f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Strangerke d73ed91051 CGE: Remove unused Demo text id 2012-06-28 07:25:56 +02:00
Strangerke 647bc59f99 CGE: Rename variable 2012-06-28 07:19:54 +02:00
Strangerke ee14ef5348 CGE: Add ending message to tell the user he finished the game. Fix bug #3538396 2012-06-27 22:12:37 +02:00
Strangerke c4df905e0c CGE: Fix bug #3537529 2012-06-24 21:25:53 +02:00
Max Horn 4202d45fce CGE: Avoid including advancedDetector.h from cge.h 2012-02-22 18:25:37 +01:00
Strangerke b3c9b51e46 CGE: Add to the console a function to display boundaries 2011-11-28 18:54:01 +01:00
Paul Gilbert 37756c9ffe CGE: Better fix for restoring savegames when a cut-scene is active 2011-11-27 22:16:52 +11:00
Paul Gilbert e4c1305826 CGE: Disable restoring games whilst a cut-scene is active
This is because previously after restoring you could no longer move the Chief.
2011-11-27 18:43:07 +11:00
Strangerke 3d59d9a137 CGE: Add RTL, hook Main Menu to right click on audio button 2011-11-16 00:00:07 +01:00
Paul Gilbert b1c10ef2f0 CGE: Don't allow saving game during cut-scenes 2011-11-08 20:32:41 +11:00
Strangerke 2d882fdf18 CGE: Rename Snail into CommandHandler, plus some associated renamings 2011-09-18 11:25:34 +02:00
Strangerke d574cfe272 CGE: Move _talk and _text to CGEEngine 2011-09-17 17:27:05 +02:00
Strangerke 3583c949f2 CGE: Move some more globals to CGEEngine 2011-09-17 17:17:22 +02:00
Strangerke 4778ff720c CGE: Move some more globals to CGEEngine 2011-09-17 10:54:50 +02:00
Strangerke 938c08ae58 CGE: Get rid of some more global functions and static members 2011-09-16 20:31:39 +02:00
Strangerke c993108207 CGE: Transform some static and globals into class members 2011-09-15 08:00:54 +02:00
Strangerke d28ac81a12 CGE: Rename cave into scene 2011-09-14 08:15:30 +02:00
Strangerke 82e0b6fc4b CGE: Rewrite fileIO 2011-09-14 00:10:59 +02:00
Strangerke c9900b605a CGE: Some more cleanup in fileIo 2011-09-13 00:28:31 +02:00
Strangerke 5d8bbc2f48 CGE: Remove IoBuf and CFile 2011-09-13 00:07:00 +02:00
Strangerke 08d87130aa CGE: Use EncryptedStream in Text: rewrite caching, remove some methods. 2011-09-11 14:19:46 +02:00
Strangerke 0784b7e0b4 CGE: Remove Dat class 2011-09-09 20:03:23 +02:00
Strangerke 4848683e56 CGE: Remove some static variables from fileIO 2011-09-09 18:24:11 +02:00
Strangerke 45de8747d5 CGE: Clean up and split snBarrier(), remove progName() 2011-09-07 22:37:03 +02:00
Strangerke 52f669c93c CGE: Replace Hxy by Common::Point 2011-09-06 23:14:49 +02:00
Strangerke 39d09d5865 CGE: Cleanup: remove residuals of the demo code
Thanks to fingolfin and LordHoto for pointing it out
2011-09-06 22:59:10 +02:00
Strangerke 5bad1a7c7f CGE: Take into account some of LordHoto's comments 2011-09-06 00:43:40 +02:00
Strangerke 76f410958a CGE: Use F5/F7 to display the save/load dialog box 2011-09-04 14:28:12 +02:00
Strangerke 5e0c546aa9 CGE: Remove code related to demos, and tag demos as unsupported 2011-08-29 22:51:45 +02:00