Commit Graph
111291 Commits
Author SHA1 Message Date
SupSuper b68ae5af8d CI: Add discord-rpc to test matrix 2020-09-10 01:50:12 +01:00
Thierry Crozat 982ecb4f93 GUI: Fix use of uninitialized variable in ListWidget constructor
The _scrollBarWidth variable was used (to create the ScrollBarWidget)
before it was initialized.
2020-09-10 00:34:45 +01:00
Thierry Crozat adbd5cfd54 GRIFFON: Fix use of uninitialized variables reported by valgrind 2020-09-10 00:34:45 +01:00
Thierry Crozat cb65fc2671 GRIFFON: Fix out of bound write when loading map
This was a bug present in both the original FreeBASIC code and the
C port by Dmitry Smagin. So having no referemce, I am not completely
sure this is the correct way to fix it, but I have not detected any
issue playing the game after this change.
2020-09-10 00:34:45 +01:00
Kari Salminen 70d16a3689 CINE: FW: Fix command line updating
In Future Wars the command line was not always updated and thus failed
sometimes to be up to date (i.e. showing wrong text, e.g. "EXAMINE" only
when it should have read "EXAMINE scaffolding" because the mouse cursor
was on the scaffolding).

Now we just always update the command line for both Future Wars and
Operation Stealth which seems to fix the command line updating.

I think this probably was a regression caused by adding support for
Operation Stealth (i.e. pull request #2365) and the efforts made in it
to make the user interface responsive.
2020-09-10 00:34:32 +01:00
Kari Salminen eabd1c243d CINE: Fix loading inexistent music.
The Italian Amiga version of Future Wars tries to load music from file
"TELESONG.DAT" which does not exist. Previously after this starting to
play music might either try to play a null stream and crash or play an
old wrong music in memory. Fix that by setting the stream to null if
no music exists (Checked that the stream is destroyed i.e. the
destructor is run so it should be safe to set the _moduleStream variable
to nullptr directly).
2020-09-10 00:34:32 +01:00
Kari Salminen 1642259e4f CINE: FW: Fix 8 half speed scenes (Amiga/Atari ST)
Previously there was a fix for bug #2669415
("FW: half walking speed in a screen") which only addressed a single
scene in Amiga and Atari ST versions of Future Wars.

This fix fixes half walking speed in 8 more scenes in Amiga and Atari ST
versions of Future Wars. The scenes were identified by playing through
an Italian version of Amiga Future Wars.

3 more scenes were left over with half walking speed because they could
not be fixed as easily (i.e. using this fix on them broke the scenes in
some way, made them too fast or made the people walk into wrong
positions or something else). The scenes left over are the ones using
the following background files:
- "L10.PI1": The medieval castle's hall.
- "L18.PI1": The medieval castle's teleport room.
- "L45.PI1": Space station's computer room.
2020-09-10 00:34:32 +01:00
Kari Salminen be3c84c8e8 CINE: Fix total playtime loading from savegame.
Total playtime is kept as milliseconds in the engine. It is saved as
seconds. Previously it was not converted to milliseconds on load but
seconds were took as milliseconds (i.e. 10s -> 10ms). Fix that by
converting total playtime on load from seconds to milliseconds.
2020-09-10 00:34:32 +01:00
Kari Salminen 8c0a71444f CINE: Try to fix bad_alloc with empty event queue
Previously I encountered an std::bad_alloc with the code in manageEvents
pushing an empty Event into the event queue. It did not happen very
often but I got it to appear while debugging at least once or maybe
twice.

This is an attempt to fix this possible behaviour by not pushing empty
events into the event queue but making sure the current status is
checked without needing to push empty events into an empty event queue.

I played through Italian Amiga version of Future Wars with this change
and encountered no problems with it.
2020-09-10 00:34:32 +01:00
Kari Salminen 1ce7db5572 CINE: Fix using F3 for INVENTORY and F4 for USE.
Previously the inventory could be summoned multiple times by pressing
F3 or F4. Fix that by keeping track when the inventory has been opened
and not allowing multiple use of it simultaneously.
2020-09-10 00:34:32 +01:00
Kari Salminen 7b3b07eb37 CINE: Fix mouse responsiveness after player death
After player has died it was hard to get the system menu to appear by
pressing the left and right mouse buttons simultaneously or the middle
mouse button. Fix that by using the maximum values of the mouse button
states for the polling period (Around 110ms at default play speed).
2020-09-10 00:34:32 +01:00
Kari Salminen 86c21a73ff CINE: FW: Fix Amiga/Atari ST copy protection text
Fix transparency of page number and grid position (e.g. 04 and D2) in
the copy protection scene of Amiga and Atari ST versions of Future Wars.
2020-09-10 00:34:32 +01:00
Kari Salminen 7ff9d16bf2 CINE: Loop Amiga music instead of playing it once
Make Amiga music loop until fade out when changing scene. This is
based on watching a video of Future Wars Amiga walkthrough, not on
playing the Amiga version or reading its disassembly. But it does seem
that the music loops instead of just playing once.
2020-09-10 00:34:32 +01:00
antoniou79 96df8c91b5 BLADERUNNER: Minor cleanup, comments update and a spelling fix 2020-09-10 00:51:22 +03:00
antoniou79 9dcc3ec7a1 BLADERUNNER: Fix for ActorClues::getModifier and minor cleanup
The weight var is supposed to be from the otherActor (2nd argument)

Also removed a redundant function and did some minor readbility changes
2020-09-10 00:51:22 +03:00
Cameron Cawley 8aab4b0361 RISCOS: Add a VFP optimized target for newer hardware 2020-09-09 20:37:17 +01:00
Filippos Karapetis ffb0b2b743 STARTREK: Fix typo 2020-09-09 22:36:11 +03:00
Filippos Karapetis ed24377900 STARTREK: Move resource-related functions into a separate class 2020-09-09 22:36:11 +03:00
Filippos Karapetis 40bfdb8d7a STARTREK: Plug memory leaks 2020-09-09 22:36:10 +03:00
Filippos Karapetis df536ad6f8 STARTREK: Reduce usage of SharedPtr in sprites 2020-09-09 22:36:10 +03:00
Eric Fry 97294bcab4 DRAGONS: Fixed flicker not animating while talking with default responses 2020-09-09 22:22:36 +10:00
Paul Gilbert 209a738cbb GLK: COMPREHEND: Fix loading of OO-Topos header data 2020-09-08 19:23:36 -07:00
Paul Gilbert b0f778130e NUVIE: Rename clashing ScrollEventType enum 2020-09-08 18:55:42 -07:00
Paul Gilbert 4c806b63a1 GLK: COMPREHEND: Fix loading of OOTopis strings 2020-09-08 18:45:40 -07:00
Paul Gilbert 46702ce2bc GLK: COMPREHEND: Add extra info to script debugs 2020-09-08 18:45:40 -07:00
SupSuper b123a21eed BACKENDS: Add support for qualified game IDs in taskbar icons 2020-09-09 01:58:20 +01:00
Cameron Cawley ffe666c6b2 CONFIGURE: Improve reporting the SDL version 2020-09-08 23:27:23 +01:00
Cameron Cawley 80f0cf9f41 RISCOS: Improve compilation flags 2020-09-08 23:27:12 +01:00
athrxx 38ddb196b3 AUDIO: (FM-TOWNS) - whitespace 2020-09-08 23:02:34 +02:00
athrxx 85755c893a AUDIO: (FM-TOWNS) - make use of Common::ObjectPool 2020-09-08 23:02:33 +02:00
Thierry Crozat 7e05309077 KEYMAPPER: Translate hardware input description
The strings were already marked for translation, but were not actually
translated.
2020-09-08 21:25:02 +01:00
Thierry Crozat c5ede297ea JANITORIAL: Simplify some code that use U32String::format 2020-09-08 21:24:27 +01:00
Thierry Crozat 54f825359f COMMON: Allow using U32String::format with a C string format string 2020-09-08 21:22:04 +01:00
sluicebox 6a9ad2daf2 SCI32: Update hi-res detection for PQ4 Mac 2020-09-07 17:02:01 -07:00
Cameron Cawley 2c88bb7c8f DRAGONS: Fix name of keymapper action 2020-09-08 08:51:38 +10:00
Paul Gilbert 5079810edf ULTIMA: Regenerated ultima.dat data file 2020-09-07 12:58:04 -07:00
Paul Gilbert 9e0cd0c1ad NUVIE: Hook up Nuvie audio controls to ScummVM's 2020-09-07 12:28:22 -07:00
BeWorld 0e4e606e36 MORPHOS : add kFeatureOpenUrl
Enable OpenURL
2020-09-07 19:10:16 +01:00
BeWorld 81fe49242a MORPHOS: Add OpenURL support
- add OpenURL support
- setupIcon doesnt working with SDL2 MorphOS
2020-09-07 19:10:05 +01:00
sluicebox a455e23c5f SCI32: Use CursorManager to show/hide Mac cursors
Fixes cursor disappearing after closing overlay dialog
2020-09-07 07:39:10 -07:00
sluicebox 0d37562e69 SCI32: Set correct PQ4 Mac detection flags 2020-09-07 07:39:10 -07:00
Lothar Serra Mari e50c9c70cc NEWS: Update German NEWS file 2020-09-07 15:49:10 +02:00
Eric Fry f63025dc30 DRAGONS: Fixed coverity warning about negative indexing 2020-09-07 22:15:32 +10:00
Eric Fry 2dce756c50 DRAGONS: Allow quitting while talking to actors 2020-09-07 21:55:44 +10:00
Eric Fry b657a83cf0 DRAGONS: Fixed dialog clearing in dance mini game 2020-09-07 21:46:39 +10:00
sluicebox 6d8c4c783f SCI32: Fix LSL6 HIRES Mac planes when restoring
Fixes an incorrect game-id test which prevented deleting planes
2020-09-06 23:40:25 -07:00
sluicebox c4eda7ab4a SCI32: Set Mac gamma level 2020-09-06 21:56:58 -07:00
Thierry Crozat 37eb6291fe CREDITS: Add credits for supernova Italian translation 2020-09-07 02:09:07 +01:00
Thierry Crozat 28dbd83136 SUPERNOVA: Add detection entry for Italian translation 2020-09-07 02:07:15 +01:00
Thierry Crozat 52adc335f1 SUPERNOVA: Add Italian translation for part1 in engine data file
This translation was provided by Walter Agazzi.
2020-09-07 02:04:39 +01:00