Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Martin Gerhardy
9d82fa51df
COMMON: removed USE_TTS check from engines
...
OSystem now just returns a nullptr if there is no text to speech manager instance
(because none is compiled into the binary, or the system doesn't provide support
for it). This removed the need for the engine authors to add scummvm osystem compile
time options checks into their engine code
2021-05-03 14:13:41 +03: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
d4d5b8906e
GUI: U32: Begin making TTS take in U32Strings for saying
...
Only for strings without an explicit action. The first level takes in a u32 string, encodes it, and passes it along further with the default action
- For gui widgets, the strings are passed in as native u32 strings.
- For everything else, they are being converted to u32 by Common::convertToU32... and then being passed along
2020-08-30 14:43:41 +02:00
Cameron Cawley
cc5abf5ebb
TTS: Fix crash when TextToSpeechManager is unavailable, clean up formatting
2020-05-27 12:43:49 +02:00
Filippos Karapetis
c2a1bb76d0
MADS: Slight fixes for the new TTS narrator feature
...
The narrator is now stopped when a dialog is closed prematurely. Also,
the header text is not narrated.
2020-02-22 21:15:49 +02:00
neuromancer
e7ff394f33
MADS: Enable the optional use of TTS to read descriptions as a narrator in Rex Nebular
2019-12-21 16:45:35 +02:00
Filippos Karapetis
8940601413
MADS: Draw the portrait in V2 game dialogs
2019-08-04 14:05:08 +03:00
Paul Gilbert
b4e3d4abc1
MADS: Changed engine to use Graphics::ManagedSurface
2016-03-14 20:56:26 -04:00
Paul Gilbert
d7420c9128
MADS: Extra conversation dialog setup
2016-01-18 17:12:54 -05:00
Paul Gilbert
5afdf3277e
MADS: Beginnings of loading Phantom-style dialogs
2016-01-17 17:57:10 -05:00
Paul Gilbert
d750c85fc8
MADS: Preliminary converstation message generation
2016-01-16 23:51:46 -05:00
Johannes Schickel
5dd69b4dd1
MADS: Make GPL header consistent with what we normally use.
2015-05-09 15:56:27 +02:00
Paul Gilbert
dd63cef93e
MADS: Fix memory leak in Dialog class
2015-04-11 15:38:31 -05:00
Paul Gilbert
43aad22eb2
MADS: Fix SceneInfo instance leak when showing dialogs
2015-03-08 23:53:10 -04:00
Paul Gilbert
926404bd10
MADS: Renamings of Layer and a transition type
2015-01-17 20:51:52 -05:00
Filippos Karapetis
f0bcacc7b3
MADS: Reset screen clip bounds before copying over a new screen
...
This is needed for the in-game menu, where a dialog spawns another one
2014-10-18 20:12:42 +03:00
Filippos Karapetis
33b770ac60
MADS: Move all the anim and text view code into a common class
...
The animation and text players are more or less common among all MADS
games
2014-10-15 11:43:30 +03:00
Paul Gilbert
01c18c8f40
MADS: Fix restoring upper palette area when dialogs close
2014-06-04 21:56:16 -04:00
Johannes Schickel
9866aba2e4
MADS: Slight formatting fixes.
2014-05-27 00:58:25 +02:00
Paul Gilbert
24243d57e6
MADS: Fix dialog colors for PictureDialog class
2014-05-11 23:57:01 -04:00
Paul Gilbert
8abcbf3fb0
MADS: Refactoring of dialog classes, more implementation of PictureDialog
2014-05-11 18:08:31 -04:00
Filippos Karapetis
b7dd01fdef
MADS: Remove trailing whitespace
2014-05-08 11:43:23 +03:00
Filippos Karapetis
87ad5a8397
MADS: Add a HACK to reuse the Nebular dialog class for now for V2 games
...
There aren't any dialogs shown yet for these games, we just reuse the
implemented class to avoid crashes when it's initialized
2014-04-27 21:20:02 +03:00
Paul Gilbert
1362414e77
MADS: Implement palette animation code
2014-04-19 22:49:14 -04:00
Paul Gilbert
531ebab4da
MADS: Added preliminary keyboard handling and keypress process stub
2014-04-08 22:04:43 -04:00
Paul Gilbert
4e13e74f27
MADS: Fix to correctly wrap lines in text dialogs
2014-04-06 17:50:07 -04:00
Paul Gilbert
4639d37609
MADS: Fixes for properly displaying the text of a message dialog
2014-04-04 09:35:18 -04:00
Paul Gilbert
7f15c6d5fd
MADS: Beginnings of proper look dialog display
2014-04-04 08:19:37 -04:00
Paul Gilbert
57f1c6e9d9
MADS: Implemented message parser for action dialog display
2014-03-30 21:10:07 -04:00
Paul Gilbert
89af9dde8c
MADS: Implemented message loading/decoding
2014-03-29 22:28:22 -04:00
Paul Gilbert
377cbbe77d
MADS: Cleanup of game and player fields used during initialization
2014-03-27 21:04:27 -04:00
Paul Gilbert
2b141aaba6
MADS: Fixes for screen objects loading and checking
2014-03-21 09:27:22 -04:00
Paul Gilbert
b831323c85
MADS: Added caching for font instances
2014-03-17 00:00:22 -04:00
Paul Gilbert
acba8f9254
MADS: Implementing user interface text display methods
2014-03-16 23:40:21 -04:00
Paul Gilbert
3f0cd4771c
MADS: Fixed handling of dirty rects to copy areas to the physical screen
2014-03-13 22:25:16 -04:00
Paul Gilbert
568fc31b30
MADS: Beginnings of code support for Scene::drawElements
2014-03-04 22:33:27 -05:00
Paul Gilbert
c49d7196fc
MADS: In progress implementation of loadScene
2014-02-25 23:10:51 -05:00
Paul Gilbert
4c867aa62f
MADS: Shift some fields and methods to Dialogs and Game classes
2014-02-24 00:38:49 -05:00
Paul Gilbert
37b788b7dd
MADS: Added skeleton framework for game scene classes
2014-02-24 00:20:53 -05:00
Paul Gilbert
8c9420a834
MADS: Added game initialisation code
2014-02-23 19:33:26 -05:00
Paul Gilbert
1d80edb2dd
MADS: Fixes for the display of dialogs
2014-02-23 13:39:53 -05:00
Paul Gilbert
6b774d2284
MADS: Copy protection dialog is starting to be displayed
2014-02-22 18:21:18 -05:00
Paul Gilbert
6c354bccf2
MADS: Implemented more logic for dialog display
2014-02-22 17:25:30 -05:00
Paul Gilbert
54c4515232
MADS: Beginnings of dialog class hierarchy
2014-02-22 08:39:44 -05:00