Commit Graph
14 Commits
Author SHA1 Message Date
Filippos Karapetis a57900d8ca CGE2: Rewrite keymapper and add joystick support - bug 15188
Also, clean up the keyboard input code. The two quit actions
have been merged into one, as the second one was superfluous
2024-08-10 19:23:18 +03:00
Kaloyan Chehlarski bc7613e1fb CGE2: Fix write overflow compiler warning 2023-10-28 16:19:34 +03:00
PushmePullyu 7d4ca02f59 CGE2: Sfinx: Do not ignore TTS settings in exit dialog
Make sure TTS only plays in the exit dialog when enabled in the game
options ("Enable Text to Speech for Objects and Options").

Note that the game already checks the settings and enables/disables
TTS via Common::TextToSpeechManager::enable (cge2.cpp:188), but
this only works on Windows
(See commit eb29aea4b4).
2023-07-09 08:02:47 +02:00
PushmePullyu dfd39d9d80 CGE2: Sfinx: Fix crash in builds without TTS
Check if the TTS manager is available / not nullptr before
using it in the exit dialog.

Fixes #14383
2023-07-09 08:02:47 +02:00
Le Philousophe ceca603464 CGE2: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
taylorzhancher d3dd051e91 CGE2: Adding TTS feature 2021-07-26 12:35:27 +01:00
Tomasz Długosz eaab877d66 JANITORIAL: fix the name of original author of cge and cge2
The first name is Janusz, not Janus.
The correct name was used in AUTHORS and credits.
In case of doubts, see his personal webpage: https://www.jbw.pl/ - name is in the page footer
2020-04-18 20:59:57 +02:00
uruk 8eae09afca CGE2: Fix memory leak concerning the quit menu. 2014-08-03 11:36:56 +02:00
uruk 239fa2a5cf CGE2: Rename classes representing quit menu choices. 2014-08-03 10:50:53 +02:00
Strangerke 6558581d68 CGE2: Remove more checks on the return value of new 2014-08-03 10:33:37 +02:00
Strangerke f1b14c6d31 CGE2: Reduce the scope of some variables 2014-06-21 18:45:28 +02:00
Strangerke 7faa95bfdd CGE2: Avoid some signed/unsigned comparisons 2014-06-21 18:33:31 +02:00
uruk e708c1e5cd CGE2: Implement "quit menu".
Now the "main switch" on the menu panel is working.
Also move a couple of defines from cge2_main.h to cge2.h during the process.
2014-06-21 01:57:18 +02:00