Commit Graph
137148 Commits
Author SHA1 Message Date
AndywinXp 158a347c94 SCUMM: GUI: Allow ALT-X combination on games which supported it 2022-09-08 19:10:42 +02:00
AndywinXp 6d4de4e527 SCUMM: DETECTION: Add GUIO_ORIGINALGUI flag to v4 games 2022-09-08 19:10:42 +02:00
AndywinXp 880c78b023 SCUMM: GUI: Implement v4 GUI and menu 2022-09-08 19:10:42 +02:00
AndywinXp 9c2e357172 SCUMM: GUI: Fix v6 cursor handling
In v6 most of the cursor substitution is done via scripts.
2022-09-08 19:10:42 +02:00
athrxx b37ad8d06e SCUMM: (v6/EGA) - fix mouse cursor being dithered/scaled more than once 2022-09-08 19:10:42 +02:00
athrxx 6f81942133 SCUMM: (GUI) - replace some strcpy calls with Common::strlcpy
Unfortunately, the Scumm engine is still full of strcpy calls, although we tried to get rid of these in many of the other engines. I'll try to kill the other (numerous) use cases, too, but that needn't go into this PR.
2022-09-08 19:10:42 +02:00
athrxx ce4ed0bbf1 SCUMM: (COMI) - rename _savegameThumbnail
The new GUI code has a variable of the exact same name in the base class scope. It does not cause issues for me, but I guess it would at least provoke a warning on some compiler. We really don't need to wait for that...

I also renamed the _savegameThumbnailPalette, just for consistency.
2022-09-08 19:10:42 +02:00
athrxx fa8cff6248 SCUMM: (GUI) - initialize vars
(this is necessary after the mem leaks fix)
2022-09-08 19:10:42 +02:00
athrxx 28e1b022ce SCUMM: (GUI) - avoid buffer overflow in convertMessageToString 2022-09-08 19:10:42 +02:00
athrxx 491232a2a2 SCUMM: (GUI) - fix memory leaks 2022-09-08 19:10:42 +02:00
AndywinXp 76db64e365 SCUMM: GUI: Fix Amiga menu content 2022-09-08 19:10:42 +02:00
AndywinXp a431385a4f SCUMM: GUI: Fix cursor transparency issues in v6 2022-09-08 19:10:42 +02:00
AndywinXp 36dce20400 SCUMM: GUI: Allow screenshots to be taken without clearing banners 2022-09-08 19:10:42 +02:00
AndywinXp 43c6896c53 SCUMM: GUI: Disable original GUI for MI2 non-interactive demo 2022-09-08 19:10:42 +02:00
AndywinXp 222bb5c2fa SCUMM: DETECTION: Fix detection for MI2 non-interactive demo 2022-09-08 19:10:42 +02:00
AndywinXp 251d6ab20d SCUMM: Fix parenthesis warning in input.cpp 2022-09-08 19:10:42 +02:00
AndywinXp eadacafd1b SCUMM: Fix warnings 2022-09-08 19:10:42 +02:00
AndywinXp a56bf5c4e1 SCUMM: GUI: Implement voice mode settings for Indy4 Talkie 2022-09-08 19:10:42 +02:00
AndywinXp f7c8b670d8 SCUMM: GUI: Replace non-ASCII characters with portable variations 2022-09-08 19:10:42 +02:00
AndywinXp 9bca06429f SCUMM: GUI: Implement v5 GUI and Menu 2022-09-08 19:10:42 +02:00
AndywinXp a79b55e3f0 SCUMM: GUI: Fix cursor related v7 GUI crash 2022-09-08 19:10:42 +02:00
AndywinXp 261978a137 SCUMM: GUI: Games under v7 shouldn't close the menu on failed queryQuit() 2022-09-08 19:10:42 +02:00
AndywinXp 9bd0a40ea2 SCUMM: GUI: Implement the volume and speed sliders for v6
Also, make it necessary for volume sliders to press SHIFT
2022-09-08 19:10:42 +02:00
AndywinXp ee3084bb93 SCUMM: GUI: Fix using nullptr byte array 2022-09-08 19:10:42 +02:00
AndywinXp 025d25a1f1 SCUMM: GUI: Fix pre-v7 text rendering over GUI 2022-09-08 19:10:42 +02:00
AndywinXp 194555c3a7 SCUMM: GUI: Implement v6 GUI and Menu 2022-09-08 19:10:42 +02:00
AndywinXp 914ec0084a SCUMM: GUI: Change the load page title of the menu only with a valid savegame 2022-09-08 19:10:42 +02:00
AndywinXp b881a3f600 SCUMM: GUI: Create proper thumbnail for savegames created within the original menu 2022-09-08 19:10:42 +02:00
AndywinXp 16661b2109 GRAPHICS: Add function to create thumbnail without binding it to a output stream 2022-09-08 19:10:42 +02:00
AndywinXp 8356072add SCUMM: GUI: Fix a color glitch when loading a game during a SMUSH movie 2022-09-08 19:10:42 +02:00
AndywinXp ef8797e65f SCUMM: GUI: Fix text color rendering glitch after getting out of the menu 2022-09-08 19:10:42 +02:00
AndywinXp 6e96d5f853 SCUMM: GUI: Fix warning 2022-09-08 19:10:42 +02:00
AndywinXp 8ec54a8a26 SCUMM: GUI: Fix GUI rendering in rooms with vertical scrolling 2022-09-08 19:10:42 +02:00
AndywinXp ddb54b30a4 SCUMM: GUI: Implement saving and loading routines for the old style menu 2022-09-08 19:10:42 +02:00
AndywinXp 2417448791 SCUMM: Change _defaultTalkDelay to _defaultTextSpeed
From now on we're reasoning in terms of text speed, just like the interpreter does,
which means: delay == 9 - speed.
This allows us to sync the internal GUI and the ScummVM GUI more easily, and
allows for a better correspondence to the original interpreters.
2022-09-08 19:10:42 +02:00
AndywinXp 457bcb67db SCUMM: GUI: Implement the majority of the v7 Main Menu 2022-09-08 19:10:42 +02:00
AndywinXp d1b73e1ffe SCUMM: GUI: Add functional main GUI banners for v5-6-7 2022-09-08 19:10:42 +02:00
AndywinXp 9ef023b11c SCUMM: GUI: Refactor internal GUI code 2022-09-08 19:10:42 +02:00
Avijeet aa46426a3a AVALANCHE: Use correct sprite data during arrow trap 2022-09-07 23:12:38 +02:00
Avijeet bd302f4c19 AVALANCHE: Update direction arrow when mouse is used to move 2022-09-07 23:12:38 +02:00
athrxx 3ac55f9246 SCUMM: (IMS) - add some checks during init
Make sure GM init is only done with an actual GM setup.
These are mostly the same checks we already do in the
engine, but it still seems better to do this
2022-09-07 23:07:58 +02:00
athrxx ee4fb8749d SCUMM: (IMS) - properly distinguish between PC Speaker and AdLib 2022-09-07 23:07:34 +02:00
Walter Agazzi 8d79b95b1c DIRECTOR: Add detection for Mission to McDonaldland 2022-09-07 22:48:26 +02:00
athrxx ec03fd5243 SCUMM: (SAMNMAX) - fix GM/AdLib distinction
In SAMNMAX the player wouldn't properly distinguish between GM and AdLib, because the sound all have the same 'Midi' tag. Now, this gets tested in a way than works for all targets.
2022-09-07 22:43:54 +02:00
athrxx 755e6222bb SCUMM: (DOTT) - properly set detune for new midi parts
(after changing the detune handling a bit, we also need to
have it in Part::sendAll())
2022-09-07 18:56:57 +02:00
D G Turner 732ef412a2 GROOVIE: Fix Format for 64-bit Integer GCC Compiler Warning 2022-09-07 15:05:10 +01:00
Roland van Laar 8fb3f71ed2 DIRECTOR: LINGO: TESTS: fix test timeouts
Set PuppetTransitions after move commands.
move does a force render. Combined with puppetTransitions it just waits and causes a timeout on the buildbot.
2022-09-07 15:48:48 +02:00
Roland van Laar 9b9d02e209 DIRECTOR: LINGO: XOBJ: STUB readPict in FileIO
C.H.A.O.S. Continuum got stuck when trying to read PICT files. Now the
game interface will still react to user input.

Stubbing readPict makes lingo code not error out and continue.
The underlying `set the picture for cast` is already stubbed.
2022-09-07 12:09:29 +02:00
Roland van Laar 58201f765b JANITORIAL: DIRECTOR: fix missing namespace member 2022-09-07 10:57:15 +02:00
Roland van Laar 55ba933b76 DIRECTOR: LINGO: XOBJ: Implement MoovXOBJ
The game C.H.A.O.S. Continuum (D3, win) uses an XOBJ to play Quicktime Video.

Implements the methods that are called in game.
In contrast to the documentation the mMovieDone function returns true when the movie is _not_ done. Otherwise movies are disposed of while playing.
The videos don't use sound.
2022-09-07 10:57:15 +02:00