Commit Graph
176 Commits
Author SHA1 Message Date
antoniou79 e55490a8ba TOON: Fix music, sfx muted by default when adding the game 2022-08-02 15:44:35 +03:00
antoniou79 e442fa9731 TOON: Don't walk to flux when clicking on him
This is the behavior in the original game too
2022-06-28 19:42:28 +03:00
antoniou79 1380d40161 TOON: Don't display cutscene subtitles when text is OFF
Cutscene subtitles support is implemented but subtitles are still work in progress

I was able to test with subtitles provided by rzil (BLooperZ) in this PR:
https://github.com/scummvm/scummvm/pull/1887
2022-06-12 15:15:55 +02:00
antoniou79 8dec0798f5 TOON: Fix click on Play to resume resulting in Drew walking
If the player clicked and holded the left mouse button down on Play button, in-game Drew would walk to that spot
2022-06-12 15:15:55 +02:00
antoniou79 2db6be1038 TOON: Synch and persist game config with ConfMan properly 2022-06-12 15:15:55 +02:00
antoniou79 6e444fe3ff TOON: Adjust movie volume to max of other sound type volumes
The original game seems to do something similar to this
2022-06-12 15:15:55 +02:00
antoniou79 e8791aba9e TOON: Mute music now works in intro main menu
Pressing hotkey M now mutes the music as it should
2022-06-12 15:15:55 +02:00
antoniou79 41d4d4df3d TOON: Store textSpeed value and fix sound volume slider needle
The fix is for keeping the volume needle indicator at the same position upon resuming the Options Menu
2022-06-12 15:15:55 +02:00
antoniou79 cc89609e07 TOON: Do not allow disable speech and subtitles at the same time
The original deals with this by activating the subtitles (Font 1) when deactivating speech

The original also has the bug whereby on some edge cases (eg using the hotkeys to mute dialogue and disable text while in-game) both text and speech get disabled, which results in behavior like the actors are stuck doing nothing when examing an item or such. We fix this bug here.
2022-06-12 15:15:55 +02:00
antoniou79 d3ded0e6ec TOON: Handle hotkeys and related animations in menus 2022-06-12 15:15:55 +02:00
antoniou79 e70d636c50 TOON: Various fixes for Options and Main Menu
These bring them closer to the original behavior

Changes include:
- Proper sounds for buttons and switches
- Button clicking is effected in mouse down (not mouse up)
- A confirmation dialogue before quiting the game
- Button and slider animations in Options Menu (Main Menu has no button animations, just two frames)
- Reduced frequency of checking and updating a control's state
- (Demo) do not allow selection of middle Text option, which does not exist in Demo
- (Full Game) The text option dial now rotates towards the area clicked.
- Moving the mouse around while holding the left mouse button down affects at most one control (the selected one)
2022-06-12 15:15:55 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 3919f53326 ENGINES: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
Coen Rampen c786c75695 TOON: Implement sparkles on English demo options screen
This adds the random sparkle animation on the options screen of the English
demo.
2021-09-13 20:59:16 +02:00
Coen Rampen 389fe44dda TOON: Implement English demo font rendering
The English demo uses a different font format than the other versions of the
game. This implements text rendering using this format.
2021-09-13 20:59:16 +02:00
Coen Rampen f2185bfb35 TOON: Fix English demo options menu
The options menu of the English demo has less animations and no sound effects.
2021-09-13 20:59:16 +02:00
Coen Rampen 01daf7d22b TOON: Fix English demo inventory
In the English demo you start with less items than the German demo.
2021-09-13 20:59:16 +02:00
Coen Rampen 8a17747ea3 TOON: Add English demo character animation table
The English demo uses a different character animation table than the other
versions of the game.
2021-09-13 20:59:16 +02:00
Coen Rampen e92cd24d82 TOON: Added some comments on demo differences 2021-09-02 22:17:18 +02:00
Coen Rampen 4425437ad2 TOON: Skip main menu for demo
The demo version of the game does not have a main menu; it immediately starts a
new game.
2021-08-30 22:33:05 +02:00
Coen Rampen 78b66ad14f TOON: Make Virgin logo movie optional for demo
Not all demo versions seem to include the Virgin logo movie, so skip playing it
if it does not exist.
2021-08-30 22:33:04 +02:00
sluicebox 8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
ysj1173886760 b50b2251a4 TOON: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
aryanrawlani28 1612b6845a ENGINES: GUI: U32: Improve translation message usage 2020-08-30 14:43:41 +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
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
Thanasis Antoniou 573c10f0c8 TOON: Prevent segmentation fault if PAK file is missing
Could be related to ticket #11319

https://bugs.scummvm.org/ticket/11319
2020-02-28 10:57:53 +02:00
Paul Gilbert ed71bef83b TOON: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
BLooperZ 32b9b7226c TOON: plaintext format for subtitles 2019-11-18 02:02:14 +01:00
BLooperZ e87e18052c TOON: fix types + remove unused import 2019-11-18 02:02:14 +01:00
BLooperZ a2a4278c0f TOON: support SUBTITLES.PAK 2019-11-18 02:02:14 +01:00
BLooperZ ff039617bb TOON: formatting 2019-11-18 02:02:14 +01:00
BLooperZ 83285746b0 TOON: add support for cutscene subtitles 2019-11-18 02:02:14 +01:00
D G Turner 29aef74f66 TOON: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-09 03:24:47 +00:00
David Fioramonti e2e0f9f528 TOON: Add playtime to saved game
Supports saved games made in the current version or the the last saved game version.
2018-08-18 14:21:28 +02:00
Adrian Frühwirth 4bf0eac94d TOON: Enforce code formatting guidelines 2018-05-07 20:06:29 +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
Ben Castricum ebaab44cd1 ALL: Leave out instructions for engine data issues 2016-12-08 13:38:56 +01:00
Ben Castricum 55512414dd ALL: Change instructions for engine data file issues
The engine data files should be included in the package, so downloading
may not be the best suggestion. Instead refer to the README.
2016-12-06 14:16:37 +01:00
Ben Castricum 1cf3f50b74 ALL: Unify 'wrong version of engine data' message 2016-12-06 09:38:25 +01:00
Ben Castricum eb7ffb1e2c ALL: Unify 'corrupted engine data' message 2016-12-06 09:38:19 +01:00
Ben Castricum e1ec91b69a ALL: Unify 'missing engine data' message 2016-12-05 21:04:50 +01:00
Ben Castricum 38eb27212d ALL: savegame => saved game 2016-11-29 20:15:13 +01:00
rootfather 74d2992177 TOON: Enable translation for some strings 2016-11-26 14:54:08 +01:00
Strangerke 010e676184 TOON: Fix uninitialized variable 2016-06-13 07:13:46 +02:00
Eugene Sandulenko b53d8104b7 TOON: Plug memory leak 2016-05-31 17:12:18 +02:00
Eugene Sandulenko 29d6e9a754 JANITORIAL: Whitespace fixes 2016-05-31 17:12:18 +02:00
Ori Avtalion 253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Thierry Crozat 41ff2a9f02 TOON: Translate buttons in load and save dialogs. 2016-02-20 21:08:34 +00:00