Commit Graph
137148 Commits
Author SHA1 Message Date
Matthew Duggan 3f15ca1c4f ULTIMA8: Fix blends to SDL surface (corrects lamps, smoke, etc) 2020-02-21 20:28:04 -08:00
Eugene Sandulenko bb15df9eac DIRECTOR: LINGO: Fix archiveIndex for defined functions 2020-02-22 00:33:59 +01:00
Mathias Parnaudeau 2cad855184 TINYGL: Fix wrong access to the list of dirty rects
The function end() of a list does not return the last element but a fake element
after the last one, for the need of the iterator.
Trying to access to the data of the element returned by end() and that has no
such field, that caused a stack buffer overflow, reading uninitialized data.

Called function back() instead, to get the last element of the list.
2020-02-21 07:20:11 +01:00
Mathias Parnaudeau 75de72f38f GRIM: Add one missing character description in emerFont data
The builtin font emerFont is currently used to display FPS.
Each graphics engine reads this array to render each of the 96 characters,
from 32 to 127 the ASCII table.

TinyGL and OpenGL-shaders read the array out of bound because they read
data for the 96th character in emerFont that only describes 95.
No problem was hightlighted with OpenGL engine because it only read 95
characters, with no consequence as the character 127 is DEL, so never
displayed.

To be compliant with the global implementation, data for character 127
is added in emerFont (will display nothing) and the OpenGL engine is
changed accordingly.
2020-02-21 07:17:48 +01:00
Mathias Parnaudeau e395d8d15d GRIM: Fix resource leak calling releaseMovieFrame
In EMI and GRIM games, a resource leak was found with OpenGL and
OpenGL-shaders engines: releaseMovieFrame() was not called in the destructor
of these graphics drivers (and never called at all on exit).
This patch calls explicitely realeaseMovieFrame.

Note that is was already done correctly with TinyGL.
2020-02-21 07:16:34 +01:00
Cameron Cawley e41832141c RISCOS: Fix missing include 2020-02-21 07:12:31 +01:00
Mathias Parnaudeau a8e8b71550 EMI: Check _musicTable is null before it is used
After having installed EMI data and started the game, if we are in the situation
where it is asked to rename resource file FullMonkeyMap.imt from both CDs
into FullMonkeyMap1.imt and FullMonkeyMap2.imt, the game tries to start but
leads to an immediate segmentation fault.

In EMISound::setMusicState, _musicTable is checked againt nullptr but ... after
it is used. This check is moved up.
2020-02-21 07:11:56 +01:00
Paul Gilbert 93aa5997c6 ULTIMA8: Moving console methods into Debugger 2020-02-20 22:04:57 -08:00
Paul Gilbert 46c68a4545 ULTIMA8: Moved audio process console cmds to Debugger 2020-02-20 21:15:37 -08:00
Paul Gilbert 437cd591bf ULTIMA8: Move Quick Avatar Mover console cmds into Debugger 2020-02-20 20:57:33 -08:00
Paul Gilbert 681d4cb8df ULTIMA8: Move GameMapGump console methods into Debugger 2020-02-20 20:31:00 -08:00
Paul Gilbert fa8d4e5f3b ULTIMA8: Remove deprecated ifdef blocks 2020-02-20 19:09:31 -08:00
Paul Gilbert ec3060cb7a ULTIMA8: Update remainder of Console code for ScummVM 2020-02-20 19:03:38 -08:00
Eugene Sandulenko 6a648e185c DIRECTOR: More robust path handling 2020-02-21 01:34:29 +01:00
Eugene Sandulenko a281fc21a2 DIRECTOR: Removed excess debug ouptut 2020-02-21 01:10:37 +01:00
Carlo Bramini 5ffd747613 BLADERUNNER: Set 'ditheringFactor' as static const object. (#2075)
looks good
2020-02-21 00:35:57 +01:00
Eugene Sandulenko edfd14f805 DIRECTOR: Generalized path conversion 2020-02-20 22:56:21 +01:00
Eugene Sandulenko 21615c9e50 DIRECTOR: Try to decrease depth level when opening director files 2020-02-20 22:56:21 +01:00
Eugene Sandulenko 0a04aac01e DIRECTOR: Convert paths loaded from projector file 2020-02-20 22:56:21 +01:00
Eugene Sandulenko 3c454eb282 DIRECTOR: Read start movie name from Mac Projector file 2020-02-20 22:56:21 +01:00
Eugene Sandulenko f5c899aae6 DIRECTOR: Improved debug output 2020-02-20 22:56:21 +01:00
Eugene Sandulenko e4d05b5323 DIRECTOR: Safety check for palette size 2020-02-20 22:56:21 +01:00
Thanasis Antoniou 32258cf4fd BLADERUNNER: Fix broken zbuf draw for debugger 2020-02-20 22:41:00 +02:00
Bastien Bouclet eba793f3fd SKY: Implement keymapper integration 2020-02-20 20:06:37 +01:00
Paul Gilbert 5c2f3f0569 ULTIMA8: Remove the joystick cursor process 2020-02-19 21:35:36 -08:00
Paul Gilbert b2fd3ccacc ULTIMA8: Implement the toUnicode method 2020-02-19 19:51:08 -08:00
Paul Gilbert 3ebdf3a2df ULTIMA8: Remove original game detector 2020-02-19 19:22:36 -08:00
Paul Gilbert 906929338c ULTIMA8: Removing more unused code 2020-02-19 18:28:42 -08:00
Thanasis Antoniou 1cb608ef54 SWORD1: Fix blank in-game control panel menu 2020-02-20 03:58:30 +02:00
Zvika Haramaty e4473c067f CONFIGURE: --help: indent subengines
Instead of showing subengines directly under their parent engine, like:
	illusions              Illusions Engine engine
	kyra                   Kyra engine
	lol                    Lands of Lore in Kyra engine
	eob                    Eye of the Beholder in Kyra engine
	lab                    Labyrinth of Time engine

Show them slightliy indented, like:
    illusions              Illusions Engine engine
	kyra                   Kyra engine
	- lol                  Lands of Lore in Kyra engine
	- eob                  Eye of the Beholder in Kyra engine
	lab                    Labyrinth of Time engine

It keeps the list sorted, and makes it easier to skim through it.
2020-02-19 23:15:23 +02:00
Zvika Haramaty 755a26ab04 CONFIGURE: fixed documentation for '--with-sdl-prefix=' flag 2020-02-19 23:15:23 +02:00
Zvika Haramaty 5ab4185257 SCI: using only channels 1-8 on GM devices
There are many situations that GM sounds worse than MT, even for games
that were written for GM.
I think this is related to this.
And, there is a note in midi.cpp:
// NOTE: SSCI uses channels 1 through 8 for General MIDI as well, in the drivers I checked

Also, issue #6686 reports that using the "higher" channels causes
problem on a real SC-55.

This change solves at least: #6686, #9735 and #10297
2020-02-19 08:08:40 +02:00
lolbot-iichan 887db8a821 WINTERMUTE: Fix game keymappings 2020-02-19 08:04:25 +02:00
lolbot-iichan e0aed04e85 WINTERMUTE: Keymaps for most games 2020-02-19 08:04:25 +02:00
lolbot-iichan f4cd447c9e WINTERMUTE: Add minimal keymapping
Those 4 keys are enough to complete most game:
https://wiki.scummvm.org/index.php?title=Wintermute/Controls
2020-02-19 08:04:25 +02:00
lolbot-iichan a686b85688 WINTERMUTE: Handle Ctrl&Shift at BaseKeyboardState 2020-02-19 08:04:25 +02:00
lolbot-iichan 7edaf3f2f7 KEYMAPPER: Enable remapping of the mouse wheel 2020-02-19 08:04:25 +02:00
Paul Gilbert 1ec969c00f ULTIMA8: Compilation fix 2020-02-18 21:44:22 -08:00
Paul Gilbert 39d9d152cb ULTIMA8: Move stream objects from being global objects to Console class 2020-02-18 21:38:01 -08:00
Paul Gilbert a840f128a1 ULTIMA8: Removing redundant code 2020-02-18 20:49:02 -08:00
Paul Gilbert 79608f497a ULTIMA8: Switch fall-through messages 2020-02-18 17:59:48 -08:00
George 4e6f1bc24d PRINCE: I18N: Update translation (English)
Currently translated at 100.0% (2717 of 2717 strings)
2020-02-18 23:18:00 +00:00
Eugene Sandulenko a99b9d78b0 DIRECTOR: LINGO: Fixed code generation for repeat..with 2020-02-18 22:37:55 +02:00
Roland van Laar 277d807168 DIRECTOR: LINGO: repeat with a in list tests
Add three tests:
- exit during repeat with
- return during repeat with
- handle list expr and not a variable in repeat with

The last test is added since it's not supported and breaks
code execution.
2020-02-18 18:28:37 +01:00
Paul Gilbert d90d18027d ULTIMA8: Fix switch character constants 2020-02-17 22:08:06 -08:00
Paul Gilbert a3910a7810 ULTIMA8: Fix ShapeRenderedText constructor params 2020-02-17 21:56:13 -08:00
Paul Gilbert 16379e7856 ULTIMA8: Fixing compiler warnings 2020-02-17 21:30:36 -08:00
Paul Gilbert d47abaeb50 ULTIMA8: Janitorial 2020-02-17 20:49:49 -08:00
Paul Gilbert de5c5f17bb ULTIMA8: Miscellaneous class fields renaming 2020-02-17 20:39:27 -08:00
Paul Gilbert 816a1a9da3 ULTIMA8: Renaming font classes fields 2020-02-17 19:42:21 -08:00