93839 Commits

Author SHA1 Message Date
Bastien Bouclet
930ff55421 KEYMAPPER: Simplify the event mapping logic 2020-01-26 19:07:53 +01:00
Bastien Bouclet
7edff01e69 KEYMAPPER: Move the remap event capture logic out of the keymapper 2020-01-26 19:07:53 +01:00
Bastien Bouclet
63142d8090 COMMON: Event observers can't eat poll notifications anymore
It did not make much sense, and was unused.
2020-01-26 19:07:53 +01:00
Bastien Bouclet
28e3f2aed7 KEYMAPPER: Remove dead code 2020-01-26 19:07:53 +01:00
Bastien Bouclet
e197a75829 KEYMAPPER: Action can generate only a single event 2020-01-26 19:07:53 +01:00
Bastien Bouclet
a449b87c5d KEYMAPPER: Remove action id length restriction 2020-01-26 19:07:53 +01:00
Bastien Bouclet
b7a816f1eb KEYMAPPER: Clean up the classes dependencies 2020-01-26 19:07:53 +01:00
Scott Percival
4f846db925 DIRECTOR: LINGO: Fix sign bit offset in float conversion 2020-01-26 12:18:00 +08:00
Scott Percival
8e738e4b12 DIRECTOR: LINGO: Allow on-demand creation of globals 2020-01-26 12:18:00 +08:00
sluicebox
2df444cecb SCI32: Implement kInputText for PHANT2 easter eggs
Implements kInputText, which displays a black and white utility dialog
with a title and a text box in a fixed position using the system font.
The only known game that uses this is Phantasmagoria 2 for several
easter eggs, which now work. This was probably used by internal scripts
during game development.

kEditText and kInputText share a function in Sierra's interpreter for
processing events, so that code has been factored out and placed in
GfxControls32::processEditEvent().

GfxText32 can now measure text pixel height as SSCI did by identifying
the tallest character height in the current text, which the newly added
titled font bitmap code requires.

Fixes bug #10570
2020-01-25 18:11:57 -08:00
aviloria
0bb03f0afa WINTERMUTE: Add russian localization of "The Lost Crown"
Russian translation of the game "The Lost Crown - A Ghost Hunting Adventure" (Akella DVD version)
2020-01-26 01:26:54 +02:00
athrxx
70e62a757b KYRA: (HOF) - fix bug #6314 (Wrong MIDI notes
sometimes heard at beginning of new s)

This is an attempt to fix that bug. It works for me, but it should see more testing.

I have tested the Windows "Microsoft GS Wavetable Synth" and our builtin MT-32 emulation. Both work fine with it. I presume the same will be true for all relevant hardware devices.

I haven't fully analyzed how the original driver silences the device (and I won't if I don't have to). My impression is that it does not send CC 0x78 (like I do). It seems to send only the CCs we have implemented (0x40, 0x60, 0x7B...). Maybe this whole bug is simply a race condition issue that the original didn't have...
2020-01-25 18:24:58 +01:00
Lothar Serra Mari
f06e402f74 NEWS: Merge 2.1.1 NEWS to master 2020-01-25 14:24:39 +01:00
athrxx
35abb67378 KYRA: (HOF) - minor fix to anim coords (bug #11321) 2020-01-25 13:08:43 +01:00
athrxx
1d5fd780ce KYRA: (HOF) - fix bug #3721 (Sound and speech plays at the same time) 2020-01-25 13:08:39 +01:00
Eugene Sandulenko
5467ca6330 DIRECTOR: Whitespace fixes 2020-01-25 12:09:07 +01:00
Eugene Sandulenko
34fe0bcccb DIRECTOR: LINGO: Tidy up the code 2020-01-25 12:06:18 +01:00
Scott Percival
fb86c30722 DIRECTOR: LINGO: Load floating point constants 2020-01-25 13:51:52 +08:00
Eugene Sandulenko
8baaa873a1 DIRECTOR: LINGO: Implement 'the number of cast <x>' 2020-01-25 00:02:20 +01:00
Eugene Sandulenko
1596aeaa4e DIRECTOR: LINGO: Improve debug output 2020-01-25 00:00:58 +01:00
Eugene Sandulenko
f1c3343772 DIRECTOR: LINGO: Implement referring cast members by their names 2020-01-24 23:58:42 +01:00
Eugene Sandulenko
86e4752da4 CREDITS: Add Scott Percival in a proper way 2020-01-24 22:03:04 +01:00
Roland van Laar
4b5d238233 DIRECTOR: LINGO: Add numberofwords implementation.
b_numberofwords counts the number of words in a string.

We check of the current char in a string is a space,
if so check if the previous one wasn't a space, then count it as a word.

Director 4 counts everything non-space (i.e. \n, \t, etc) as a
word seperator. A word can be a single '.'.

Include better stringassignment for b_numberoflines.
2020-01-24 21:14:14 +01:00
Scott Percival
44d985d122 DIRECTOR: LINGO: Process variable and argument names 2020-01-25 01:38:39 +08:00
Scott Percival
f1e6fe5109 CREDITS: Add myself to Director 2020-01-25 01:38:39 +08:00
Eugene Sandulenko
14cce9f9c0 PRINCE: I18N: Update translation (English)
Currently translated at 95.3% (2627 of 2757 strings)
2020-01-24 17:17:23 +00:00
Thanasis Antoniou
06cee1bd92 BLADERUNNER: Add the adjustment value to vk stats (debugger) 2020-01-24 12:45:36 +02:00
Filippos Karapetis
b6db761e3e DREAMWEB: Remove unused code 2020-01-24 01:42:25 +02:00
rsn8887
1489f2ed0f OPENGL: Fix GUI centering when using Fit to window (4:3) mode 2020-01-23 15:06:08 -06:00
Thierry Crozat
ea53202de9 IPHONE: Disable idle timer while an engine is running 2020-01-23 20:33:37 +00:00
Cameron Cawley
c229b9235a GUI: Regenerate the theme archives
Fixes a regression from commit 8c1d277.
2020-01-23 19:44:30 +00:00
Eugene Sandulenko
7913684285 DIRECTOR: Fix regression in BITD image parsing 2020-01-23 15:03:25 +01:00
Eugene Sandulenko
ae6155f781 DIRECTOR: LINGO: Fix 'sound <op>' lexing 2020-01-23 14:10:14 +01:00
Scott Percival
145bdc88c9 DIRECTOR: LINGO: Only load Lnam with the highest ID 2020-01-23 19:20:15 +08:00
Scott Percival
67263c560c DIRECTOR: LINGO: Add seek size checks to bytecode parser 2020-01-23 18:46:47 +08:00
Filippos Karapetis
87c8b60ee1 DREAMWEB: Change the vsync code to use a delay, instead of an interrupt
This adjusts the screen update code to check for events more often,
which will help with the game's responsiveness on some platforms
2020-01-23 00:36:14 +02:00
Roland van Laar
9b63c7b83e DIRECTOR: LINGO: Implement code layout advice. 2020-01-22 23:00:12 +01:00
Roland van Laar
00b49814c5 DIRECTOR: LINGO: Add number of functions.
numberofchars: Is the string length
numberofitems: Count of ','. An empty string counts as 1 item.
numberoflines: Count of '\n'. An empty string counts as 1 line.
2020-01-22 23:00:12 +01:00
sluicebox
ddaa136e26 SCI32: Fix GK1 Day 6 empty booth messages
Fixes incorrect messages. Thanks to ZvikaZ for discovering this.
2020-01-22 13:53:25 -08:00
Bastien Bouclet
0339b9a6bf SDL: Use the name of the running target as a base for screenshot files 2020-01-22 21:27:38 +02:00
Eugene Sandulenko
8c88688908 DIRECTOR: LINGO: Added test for 'the number of menuItems' 2020-01-22 17:28:01 +01:00
Eugene Sandulenko
65e857e503 DIRECTOR: LINGO: Fixed parsing for 'the number of menuItems of menu <xx>' 2020-01-22 17:28:01 +01:00
rsn8887
b8cf747ad5 OPENGL: Implement stretch mode Fit to window (4:3) 2020-01-22 04:24:42 -06:00
Filippos Karapetis
daed2a3a40 GUI: Fix build when dynamic plugins are enabled 2020-01-22 09:19:38 +02:00
Cameron Cawley
8c1d277a77 GUI: Use a ScrollContainer for the Misc tab
Fixes Trac #10961
2020-01-22 07:55:42 +02:00
Cameron Cawley
c0aa5b9332 GUI: Split GlobalOptionsDialog::build() into multiple functions 2020-01-22 07:55:42 +02:00
sluicebox
8fcff44b40 SCI32: Fix PHANT2 computer scrollbar crash
Fixes bug #10391
2020-01-21 21:02:48 -08:00
D G Turner
88aaabc913 SCI: Fix Missing Default Switch Case Warning in Resource Patcher
This is flagged by GCC if -Wswitch-default is enabled.
2020-01-22 02:55:47 +00:00
Eugene Sandulenko
b2f160ba2a DIRECTOR: LINGO: Added parsing 'the number of menuItems of menu <menu>' 2020-01-21 23:55:24 +01:00
Eugene Sandulenko
79d381ad6e DIRECTOR: LINGO: Fix regression in parsing code 2020-01-21 23:44:45 +01:00