Commit graph

71 commits

Author SHA1 Message Date
Cameron Cawley
a6a369cdd3 GUI: Handle padding for the backend and engine options in the theme definitions 2024-06-14 01:15:12 +02:00
Cameron Cawley
efec9b2d25 GUI: Remove built-in scroll containers from OptionsContainerWidget 2024-06-14 01:15:12 +02:00
Aditya
a5b3353022 ALL: Decrease header dependency for gui_options.h
Now the number of times the header file gui_options.h
is added is much smaller.
2023-10-27 01:16:32 +02:00
antoniou79
d0ae22bc19 MOHAWK: RIVEN: Add tooltips for Riven game options 2022-02-19 22:26:56 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Lothar Serra Mari
c324a8d679 MOHAWK: MYST: Add tooltip description to CD-ROM simulation feature 2021-08-08 11:51:10 +02:00
Lothar Serra Mari
301c6457ca MOHAWK: MYST: Reword accessibility option for Selenitic Age 2021-08-08 08:44:47 +03:00
Lothar Serra Mari
552813545d MOHAWK: MYST: Add option to simulate CD-ROM loading times during card transition 2021-07-17 08:29:38 +02:00
Thierry Crozat
b7f86bd7aa MOHAWK: Fix curly apostrophe in GUI tooltip
As this is a non-ASCII character, it was throwing off xgettext.
2021-06-24 11:29:14 +01:00
Lothar Serra Mari
0976bbeb52 MOHAWK: Add tooltips for the engine options
Unfortunately, for the unexperienced Myst player, the engine options
regarding transisionts and 'Zip' mode are not exactly descriptive.

Luckily, the official manual has pretty neat descriptions of what those
options do, therefore adding them as tooltips.
2021-06-13 14:57:15 +02:00
AspireONE-zz
fdbfb6160f
MOHAWK (Myst): Allow fuzzy matching in the space ship puzzle
Enabling this new option can make it easier for hearing impaired
users to solve that puzzle
2021-06-12 21:07:18 +03:00
SupSuper
1b3915f222 MOHAWK: Add RTL support to Engine options tab
Options dialogs need to be named "GameOptions"
to be properly laid out in RTL.
2021-01-28 13:14:51 +00:00
Cameron Cawley
c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
aryanrawlani28
1d3e4d2800 MOHAWK: Do not create additional folders for riven & myst metaengines. 2020-10-03 14:56:36 +02:00
aryanrawlani28
b4a0fcca6c MOHAWK: Dialogs: Use the new classes to help in dialogs correctly. 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
bd19eaa5bf GUI: U32: More code improvements in engines and misc fixes
- Xeen's GUIError now takes in U32String
- Scumm's ValueDisplayDialog takes in U32
- Mohawk's InfoDialog & PauseDialog takes in U32
- Mohawk - in riven.cpp, Some assignment fixes
- Backends -in sdl.cpp, Remove incorrect conversion from iso8859 when setting text in clipboard
- Graphics - Add u32 strings instead of decoding each piece in format
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
Bastien Bouclet
ce0773eaf9 MOHAWK: MYST: Menu related fixes
* Allow showing the GMM using F5 during cutscenes in the non 25th
  versions.
* Autosave when quitting from the GMM when it was opened using F5
2020-04-08 20:19:18 +02:00
Bastien Bouclet
40cb2f81e7 MOHAWK: RIVEN: Menu related fixes
* Allow showing the GMM using F5 during cutscenes in the CD/DVD version
* Autosave when quitting from the GMM when it was opened using F5
* Allow changing the language when clicking the options button in the
  main menu in the 25th edition

Refs #11399.
2020-04-08 20:19:18 +02:00
Bastien Bouclet
1d731aeef9 MOHAWK: Simplify retrieving game features 2020-03-28 07:38:39 +01:00
Bastien Bouclet
c9476543e0 MOHAWK: MYST: Allow changing the game language while on the main menu 2020-03-28 07:38:39 +01:00
Bastien Bouclet
195d593405 MOHAWK: RIVEN: Allow changing the game language at run-time 2020-03-28 07:38:39 +01:00
Bastien Bouclet
1f5d4d1fdd MOHAWK: RIVEN: Configuration dialog changes
* Unify the custom options dialog (previously accessed through F5), and
  the in-game options dialog accessed through the Global Main Menu.
* Change the default keybinding for F5 to show the GMM for the non-25th
  anniversary editions of the game. This allows easy access to
  the load and save functionality. With the 25th anniversary edition,
  the main menu accessed through ESC should be used instead.
2020-03-28 07:38:39 +01:00
Bastien Bouclet
1be3c3c7c4 MOHAWK: MYST: Configuration dialog changes
* Unify the custom options dialog (previously accessed through F5), the
  engine options tab and the in-game options dialog accessed through the
  Global Main Menu.
* Change the default keybinding for F5 to show the GMM for the non-25th
  anniversary editions of the game. This allows easy access to
  the load and save functionality. With the 25th anniversary edition,
  the main menu accessed through ESC should be used instead.
* Change the Quit button in the Global Main Menu to show the credits
  before quitting. This is to reproduce the original game behavior.
2020-03-28 07:38:39 +01:00
D G Turner
dbd7581c41 MOHAWK: Remove Unused Engine Pointer from Riven Options Dialog
Flagged by GCC -Wunused-private-field
2019-12-14 21:31:44 +00:00
Bastien Bouclet
8a02d0efad MOHAWK: MYST: Save the options to ConfMan when the game is not started 2019-10-30 19:54:12 +01:00
Bastien Bouclet
998bd303c6 MOHAWK: RIVEN: Save the options to ConfMan when the game is not started
That way changes made while on the main menu with no game started are
persisted across sessions. When a game is started, the options are saved
to the savegame as previously.
2019-10-29 21:29:47 +01:00
D G Turner
1f3aaac12c MOHAWK: Silent Compiler Warning About Unused VM Pointer.
This can be restored if required at a later time.
2018-07-29 06:00:42 +01:00
Bastien Bouclet
4b900cc432 MOHAWK: RIVEN: Remove the load/save/quit buttons from the options dialog
Those features can now be accessed through the main menu
2018-06-29 13:31:54 +02:00
Bastien Bouclet
73b3a43b89 MOHAWK: MYST: Introduce a main menu stack
Used in the 25th Anniversary edition of Myst ME
2018-06-29 13:15:01 +02:00
Bastien Bouclet
c0fa7ceae5 MOHAWK: MYST: Clean up the options dialog
Also load and save games using ctrl-o / ctrl-s.
2018-06-14 21:04:44 +02:00
Bastien Bouclet
47ddd9c214 MOHAWK: MYST: Move the current stack id to ScriptParser 2018-06-13 07:55:55 +02:00
Bastien Bouclet
ea60aef8a8 MOHAWK: MYST: Simplify memory management of the active stack 2018-06-13 07:55:55 +02:00
Bastien Bouclet
6798f9c77e MOHAWK: Don't allow displaying the map when the game is not interactive
Fixes Trac#10526 and Trac#10531.
2018-05-17 20:49:28 +02:00
dafioram
519e02da47 MOHAWK: MYST: Turn held page state into an enum
Previously, the held page stage was an unsigned int 16
with values 0-13. The enum will make its state more clear.
2018-04-25 18:46:50 +02:00
Bastien Bouclet
84b2dc5cc8 MOHAWK: Fix some clang-tidy warnings 2018-03-31 13:36:09 +02:00
Bastien Bouclet
a33548c0d2 MOHAWK: RIVEN: Add keyboard shortcuts for loading and saving
Those shortcuts are documented in the original game manual.
2017-12-20 19:16:07 +01:00
Bastien Bouclet
ad7f94f10f MOHAWK: Add a transition speed widget to the settings dialog 2017-07-03 08:50:10 +02:00
Thierry Crozat
191a9a0c64 MOHAWK: Load games from outside the options dialog loop
Loading games from inside the dialog loop may cause cursor
glitches. This commits applies the same fix to the
MohawkOptionsDialog as the one that already existed for
the global main menu. This finished to fix bug #7164.
2016-08-03 22:50:06 +01:00
Bastien Bouclet
0440ff64f1 MOHAWK: Have the Myst and Riven options dialog share a base class
Now the Riven options dialog has the same features as the Myst one:
- Screen centering
- Save / Load / Quit buttons
2016-07-04 20:47:16 +02:00
Bastien Bouclet
d35d8efc50 MOHAWK: Change the Riven options dialog's cancel button not to save the settings 2016-07-04 20:47:16 +02:00
Bastien Bouclet
0c57c99f00 MOHAWK: Change the Riven options dialog not to subclass GUI::OptionsDialog 2016-07-04 20:47:16 +02:00
Bastien Bouclet
f427fccc03 MOHAWK: Make the Quit button show the credits 2016-03-05 20:49:12 +01:00
Bastien Bouclet
6f56f2efe1 MOHAWK: Add Save, Load and Quit buttons to the Myst Dialog
So that it is possible to play the game without knowing about the GMM
2016-02-22 08:44:55 +01:00
Bastien Bouclet
524d7ec5ec MOHAWK: Center the options dialog 2016-02-22 08:44:55 +01:00
Bastien Bouclet
c3c09a1c83 MOHAWK: MystOptionsDialog should not subclass GUI::OptionsDialog 2016-02-22 08:44:55 +01:00
Johannes Schickel
abd9e92086 MOHAWK: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Bastien Bouclet
611900d3c3 MOHAWK: The cancel button of Myst's dialog was actually saving 2012-12-16 06:55:07 +01:00
Eugene Sandulenko
39a49bf817 MOHAWK: Explain some obscure strings to translators 2011-08-20 14:18:26 +01:00