Commit Graph

100732 Commits

Author SHA1 Message Date
Cameron Cawley
da978f3a2f WIN32: Simplify string conversion 2020-09-12 11:59:23 +02:00
Cameron Cawley
6e0c93dc46 COMMON: Add helper functions for converting strings 2020-09-12 11:59:23 +02:00
Paul Gilbert
89ae351ca5 GLK: COMPREHEND: Additions to game data loading 2020-09-11 21:38:02 -07:00
Fiodar Stryzhniou
80c29d1c94 Symbian: fix incorrect return type in SymbianActions::actionName().
Symbian: silence more warnings from SDK headers.
Symbian: add new project files.
2020-09-12 01:00:36 +02:00
Lothar Serra Mari
90b8f41bf6 NEWS: Update German NEWS file 2020-09-11 20:04:17 +02:00
Eugene Sandulenko
8840502cdb NEWS: Mention FT Remastered support 2020-09-11 15:54:34 +02:00
Eric Fry
bc59673407 DRAGONS: Fixed background dialog for non US versions. Fixes #11616 2020-09-11 23:41:38 +10:00
Eugene Sandulenko
cff73c14d1 SCUMM: Implemented codec20 for SMUSH. Fixes #10899
It is a simple copying codec, used in FT Classic in Remaster.
2020-09-11 15:23:03 +02:00
Cameron Cawley
d20122d916 PARALLACTION: Fix assert when starting The Big Red Adventure 2020-09-11 09:05:05 +01:00
Lothar Serra Mari
b50368a1d8 NEWS: Mention Discord integration on supported platforms 2020-09-11 09:30:42 +02:00
Lothar Serra Mari
31af3cbd9d MOHAWK: Silence GCC warning, properly format warning string
Thanks to SupSuper for helping with this!
2020-09-11 09:26:02 +02:00
Cameron Cawley
4a1d7a1753 ULTIMA: Disable unstable subengines by default 2020-09-10 19:38:55 -07:00
Cameron Cawley
44147fd01a GLK: Disable unstable subengines by default 2020-09-10 19:38:40 -07:00
Eric Fry
c4d394654a DRAGONS: Fixed cutscene subtitles for non US versions. 2020-09-11 09:01:52 +10:00
Thierry Crozat
77f45f8ca6 GRIFFON: Add default mapping for game controllers 2020-09-10 17:56:55 +01:00
Eric Fry
45b57f18d2 DRAGONS: Fixed cutscene dialogs for non US versions Trac#11613 2020-09-10 23:37:21 +10:00
Thierry Crozat
cce713ee4c GRIFFON: Add keymapper input support 2020-09-10 03:17:58 +01:00
Paul Gilbert
44a19cc570 GLK: LEVEL9: Fix array overrun 2020-09-09 19:04:30 -07:00
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