Commit Graph

59406 Commits

Author SHA1 Message Date
Eugene Sandulenko
6ff4e96d58 DIRECTOR: LINGO: Added another test for 'return' constant 2019-12-24 00:19:27 +01:00
Eugene Sandulenko
701d74fc31 DIRECTOR: LINGO: Added another use case for 'return' constant 2019-12-24 00:19:26 +01:00
Eugene Sandulenko
a203a5b0d5 DIRECTOR: LINGO: Added test for 'return' constant 2019-12-24 00:19:26 +01:00
Eugene Sandulenko
53f82149ae DIRECTOR: LINGO: Replace \r with \n in return constant. 2019-12-24 00:19:26 +01:00
Eugene Sandulenko
15c5d33b88 DIRECTOR: LINGO: Preprocess 'return' constant so it compiles 2019-12-24 00:19:26 +01:00
Thierry Crozat
ca781b7389 BLADERUNNER: Use virtual keyboard feature in save screen
This is used on platforms that have a virtual keyboard, such
as iOS, to show/hide the virtual keyboard when we expect text
input.
2019-12-23 18:06:50 +01:00
Eugene Sandulenko
0b6ab63586 DIRECTOR: LINGO: Added tests for new grammar 2019-12-23 13:14:54 +01:00
Eugene Sandulenko
b2ce2231a1 DIRECTOR: LINGO: Fix regression in 'go' keyword grammar 2019-12-23 13:14:54 +01:00
Eugene Sandulenko
e0340374c8 DIRECTOR: LINGO: Fix ENDCLAUSE lexer regexp 2019-12-23 13:14:54 +01:00
Eugene Sandulenko
3e835a9e2a DIRECTOR: LINGO: Simplified grammar for 'go' keyword 2019-12-23 13:14:54 +01:00
D G Turner
59b639ed4d SCUMM: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-23 11:56:16 +00:00
D G Turner
d5808d2903 DIRECTOR: Fix Signed vs. Unsigned Compiler Warnings 2019-12-23 10:29:30 +00:00
Scott Percival
e943f8c291 DIRECTOR: LINGO: Fix string constants, make constant pushing inline 2019-12-23 08:58:14 +08:00
Scott Percival
d1347b0ce1 DIRECTOR: LINGO: Add define() support for bytecode 2019-12-23 08:58:14 +08:00
Scott Percival
48499ac10a DIRECTOR: Fix _nextFrame from getting clobbered by exitFrame events 2019-12-23 08:58:14 +08:00
Scott Percival
9bbacd0539 DIRECTOR: LINGO: String equality is case insensitive 2019-12-23 08:58:14 +08:00
Scott Percival
afea378714 DIRECTOR: LINGO: Add string support to c_eq and c_neq 2019-12-23 08:58:14 +08:00
Scott Percival
1c13d5d605 DIRECTOR: Load compiled Lingo scripts based on cast id 2019-12-23 08:58:14 +08:00
Scott Percival
86a3581847 DIRECTOR: Add intial loader for Lctx blocks 2019-12-23 08:58:14 +08:00
athrxx
3ca1b8aac2 KYRA: (EOB) - fix possible invalid mem access
(this could happen if you create a new character, then immediately delete it, then return to the main menu via Esc and then load a save file)
2019-12-22 22:15:42 +01:00
Roland van Laar
e11311e9b6 DIRECTOR: Add wait between beeps.
The delay was choosen based on hearing the delay
in the original Director 4 beep script.
2019-12-22 21:03:16 +01:00
Roland van Laar
b5ff682fd2 DIRECTOR: Fix calling of Beep
- Converts beep called with zero args to beep(1)
- Beep arg starts counting at 1.
2019-12-22 21:03:16 +01:00
athrxx
a9e07c314f KYRA: (EOB/PC98) - add paranoia assert 2019-12-22 19:15:33 +01:00
athrxx
a48591ae0d KYRA: (HOF) - fix bug #10877 (Sound issues in the Legend of Kyrandia 2) 2019-12-22 19:09:34 +01:00
Eugene Sandulenko
8e6304bd13 DIRECTOR: Fix implementation of converting references to strings 2019-12-22 14:49:43 +01:00
Eugene Sandulenko
8895ca3c1f DIRECTOR: Store also unformatted text for text cast 2019-12-22 14:49:23 +01:00
Eugene Sandulenko
b85dd2d923 DIRECTOR: LINGO: Fix grammar for references 2019-12-22 14:28:11 +01:00
Eugene Sandulenko
7ee1c5d6fa DIRECTOR: It is fine to have non-existent references in score. Thus, hide the warning 2019-12-22 14:16:49 +01:00
Eugene Sandulenko
bfba1d28b7 DIRECTOR: Improved debug output 2019-12-22 13:24:30 +01:00
sluicebox
abc5e88d38 SCI32: Fix PHANT1 Stab flag reset in chapter 7 2019-12-21 18:31:15 -07:00
sluicebox
39feeca50c SCI32: Fix PHANT1 videos with out of sync censorship 2019-12-21 18:31:15 -07:00
sluicebox
bc87edada4 SCI32: Fix PHANT1 Chapel west exit during chase 2019-12-21 18:31:15 -07:00
sluicebox
540290ee3a SCI32: Fix PHANT1 when quitting ScummVM during chase 2019-12-21 18:26:08 -07:00
sluicebox
649c801839 SCI: Implement kFileIOCopy
Allows patching a Phantasmagoria 1 script to copy instead of rename.
Although most games can call this through their File:copy script, none
have been discovered yet that do.
2019-12-21 18:26:07 -07:00
sluicebox
568a5bcd7c SCI32: Fix PHANT1 Chase history deletion in chapter 7
blerg
2019-12-21 18:26:07 -07:00
sluicebox
7f603daf18 SCI32: Fix PHANT1 Wine cask hotspot in chapter 5 2019-12-21 18:17:40 -07:00
Eugene Sandulenko
af7a605955 DIRECTOR: LINGO: Remove D4-specific tests 2019-12-22 00:14:56 +01:00
Eugene Sandulenko
4dfc0c53cd DIRECTOR: LINGO: Fix 'me' syntax. It is a function 2019-12-22 00:10:25 +01:00
Eugene Sandulenko
5574279ccd DIRECTOR: LINGO: Register only builtins per Director version 2019-12-22 00:10:25 +01:00
neuromancer
bd92f2d00a SHERLOCK: Enable the use of TTS to read descriptions as a "narrator" for The Case of Serrated Scalpel 2019-12-21 16:49:13 +02:00
neuromancer
e7ff394f33 MADS: Enable the optional use of TTS to read descriptions as a narrator in Rex Nebular 2019-12-21 16:45:35 +02:00
athrxx
4e7e0344de KYRA: (EOB) - fix party transfer from PC-98 to other platforms
Unlike the original, ScummVM intends to allow EOB1 party transfer between any versions (Amiga->DOS or vice versa). Now, this also works from PC-98 to non-PC-98.
2019-12-20 23:55:05 +01:00
neuromancer
d0571e6ab5 LURE: Enable the optional use of TTS to read descriptions as a narrator 2019-12-20 23:50:44 +02:00
Eugene Sandulenko
986ceec96c DIRECTOR: LINGO: Added debugging lines for GLR parser 2019-12-20 20:03:13 +01:00
Eugene Sandulenko
af443e7892 DIRECTOR: LINGO: Fix matching local arguments while parsing 2019-12-20 19:41:01 +01:00
Eugene Sandulenko
e972d5109f DIRECTOR: LINGO: Match local arguments during parsing 2019-12-20 19:40:53 +01:00
Eugene Sandulenko
bd1c0add82 DIRECTOR: LINGO: Added more granularity to definition parse state 2019-12-20 19:40:11 +01:00
athrxx
44d8eaf71c KYRA: (EOB/PC98) - remove unused variable 2019-12-20 15:43:45 +01:00
athrxx
c8544430df KYRA: (EOB2/FM-TOWNS) - fix minor color glitch
- in nightmare sequence in dungeon level -4
- can not always be noticed
2019-12-20 14:32:24 +01:00
athrxx
2d7355dcf2 KYRA: (EOB/PC98) - fix music mute setting
(this has to be done a bit different for PC-98, since - unlike the other currently supported platforms - PC-98 has ingame music)
2019-12-20 14:32:24 +01:00
Eugene Sandulenko
c5c8f3458b DIRECTOR: LINGO: Improved debug output 2019-12-20 10:41:32 +01:00
D G Turner
b21632c835 MUTATIONOFJB: Fix Unused Variable Compiler Warning 2019-12-20 08:06:09 +00:00
D G Turner
0ff7f10a50 GLK: ADRIFT: Fix Unused Constant Compiler Warning 2019-12-19 14:49:07 +00:00
D G Turner
3fb386a2f9 FULLPIPE: Remove Unused Private Members from Sound Class
These cause warnings from Clang when -Wunused-private-field is set.

Was initially unsure if this class was saved as it was a subclass of
MemoryObject, but changing this appears to be safe as the save method
is not implemented in any case.
2019-12-19 14:19:14 +00:00
lolbot-iichan
ea27ffd8a3 WINTERMUTE: Refactor UIEdit::handleKeypress()
This fixes https://bugs.scummvm.org/ticket/11033

Removed checking printable property for system keys.
Refactored whole function to make it a bit more readable.

Reference implementations:
https://github.com/retrowork/wmelite/blob/master/src/UIEdit.cpp#L724

https://github.com/retrowork/Wintermute-Engine/blob/master/src/engine_core/wme_base/UIEdit.cpp#L708
2019-12-19 15:50:25 +02:00
lolbot-iichan
8a93f2c9f4 WINTERMUTE: Handle isCurrentPrintable property for WME 1.x and WME Lite
1. Moved KEYCODE_SPACE to "alphanumeric or punctuation" group.
2. Splited "else" into before and after WME_LITE.
2019-12-19 15:50:25 +02:00
Eugene Sandulenko
6ce34299ff DIRECTOR: LINGO: Make 'method {identifier}' as a single token.
This lets avoid clashes with method names matching built-ins.
2019-12-19 14:33:56 +01:00
D G Turner
fc5eb5ecf8 GLK: ARCHETYPE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-19 13:16:18 +00:00
D G Turner
e7bbc33797 GLK: FROTZ: Fix Missing Default Switch Case
This is flagged by GCC if -Wswitch-default is enabled.
2019-12-19 11:05:20 +00:00
Eugene Sandulenko
d00ee14158 DIRECTOR: LINGO: Fix crash for commandless menu items 2019-12-18 22:47:32 +01:00
Eugene Sandulenko
2847723f0b DIRECTOR: LINGO: Remove unnecessary global references 2019-12-18 22:47:32 +01:00
Eugene Sandulenko
836e470470 DIRECTOR: LINGO: Properly process dontPassEvent flag 2019-12-18 22:47:32 +01:00
Eugene Sandulenko
1d1f09f072 DIRECTOR: LINGO: Rename dontPassEvent and simplify code 2019-12-18 22:47:31 +01:00
Eugene Sandulenko
98b8b8d730 DIRECTOR: LINGO: b_nothing was implemented awhile ago 2019-12-18 22:47:31 +01:00
Eugene Sandulenko
ce9b358034 DIRECTOR: LINGO: Process specific event in sprite script for D3 2019-12-18 22:47:31 +01:00
Eugene Sandulenko
034f629f0e DIRECTOR: LINGO: Hid more noise warnings 2019-12-18 22:47:31 +01:00
athrxx
4b7a48fb75 KYRA: fix broken builds (now for real?) 2019-12-18 22:29:49 +01:00
athrxx
d98b5fe824 KYRA: - fix broken builds 2019-12-18 22:04:04 +01:00
athrxx
64b897a560 KYRA: (EOB/PC98) - minor sfx code tweak
The original adds a delay after track 28.
2019-12-18 20:50:48 +01:00
athrxx
e4439fb1a5 KYRA: (EOB/PC98) - fix dialogue button glitch
Don't use y-coords from LOL-PC98 (which are all 4/8 aligned due to its use of the text mode instead of graphics mode)
2019-12-18 20:50:48 +01:00
athrxx
04e85a0f3d KYRA: (Amiga) - minor code reduction
(eliminate some duplicate code for dirty rect handling)
2019-12-18 20:50:47 +01:00
athrxx
e2d4f1e6f1 KYRA: (EOB) - minor sequence code cleanup 2019-12-18 20:50:47 +01:00
athrxx
ce5c746dcb KYRA: (EOB) - add lines lost during rebase
Seems that I accidently removed some of digitall's changes while rebasing (I moved that particular code block to a new function).
2019-12-18 20:50:47 +01:00
athrxx
78cf151a8e KYRA: (EOB/PC98) - adapt character stats page layout
The PC98 version has as slightly different layout for the character stats page.
2019-12-18 20:50:46 +01:00
athrxx
c172e047d6 KYRA: cleanup screen class destruction
Object now destructs cleanly even before init() has been called. This has no practical relevance, but should be fixed nonetheless.
2019-12-18 20:50:46 +01:00
athrxx
f446242215 KYRA: (EOB/PC98) - fix original save file loading 2019-12-18 20:50:46 +01:00
athrxx
f01d432c25 KYRA: (EOB/PC98) - implement ending sequence
(The PC-98 version has its own unique ending sequence)
2019-12-18 20:50:46 +01:00
athrxx
fde5925037 KYRA: (EOB/PC98) - fix character generator glitches 2019-12-18 20:50:45 +01:00
athrxx
4ce2d593e5 KYRA: (EOB/PC98) - text displayer color fix 2019-12-18 20:50:45 +01:00
athrxx
d4b9bda332 KYRA: (EOB/PC98) - fix keymap
(unlike LOL/PC98 we have the same key codes as in the DOS version)
2019-12-18 20:50:45 +01:00
athrxx
3646aff6d4 KYRA: (EOB/PC98) - fix preferences menu 2019-12-18 20:50:45 +01:00
athrxx
5a1162e999 KYRA: (EOB/PC98) - fix Japanese text display 2019-12-18 20:50:44 +01:00
athrxx
1f42999a7c GRAPHICS: implement left sided shadowing for SJIS font
The current shadow mode draws a shadow on the right side of the character. This allows drawing one on the left.
Adapt LOOM/PCE accordingly.
2019-12-18 20:50:44 +01:00
athrxx
33cce35baa KYRA: (EOB/PC98) - fix level block drawing 2019-12-18 20:50:43 +01:00
athrxx
ddb6ca441b KYRA: (EOB/PC98) - fix level loading and some cleanup
(no block drawing yet)
2019-12-18 20:50:43 +01:00
athrxx
512fe08367 KYRA: (EOB/PC98) - allow both graphics mode / text mode text display for sjis font
The assumption till now was that PC-9801 games in 16 color mode will always use text mode for text display. However, EOB1 uses text mode for intro and ending sequence and graphics mode for ingame.
Add new font variant for this and also do some cleanup, since the text displayer code really needs it.
(The problem is that at least 3 different Japanese publishers did the Japanese ports for the various games and every one of them did his own hacks for his specific target.)
2019-12-18 20:50:43 +01:00
athrxx
feca6f5a26 KYRA: (EOB/PC98) - fix syntax warnings 2019-12-18 20:50:42 +01:00
athrxx
a0828a000b KYRA: (EOB/PC98) - fix intro and main menu screen 2019-12-18 20:50:42 +01:00
athrxx
1db3ec1f71 KYRA: (EOB/PC98) - add bitmap decoders
The PC98 version has a modified version of decodeFrame4() and also requires planar decoding (similiar to Amiga).
2019-12-18 20:50:42 +01:00
athrxx
7cae73aae3 KYRA: (EOB/PC98) - initial startup fix
- hook up static resources, sound code, etc
- nothing really working yet, though (except the music)
2019-12-18 20:50:41 +01:00
athrxx
f74f4929a0 KYRA: (EOB/PC98) - add static resources 2019-12-18 20:50:41 +01:00
athrxx
5cea166585 KYRA: (EOB/PC98) - add sound driver 2019-12-18 20:50:40 +01:00
athrxx
b8a44c9577 KYRA: (EOB/PC98) - add detection entry 2019-12-18 20:50:40 +01:00
athrxx
21b5f9262c AUDIO: (FM-TOWNS/PC-98) - fix regression from 0e734722
My commit 0e734722 causes lockups in SCUMM (sometimes) and SCI (very often). I didn't like the way I had fixed this before, but in the end I now had to do it in a similar way.
2019-12-18 20:50:39 +01:00
D G Turner
d67885f4f3 GLK: ALAN3: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-18 06:22:52 +00:00
Eugene Sandulenko
26d0931499 ENGINES: Added clarifying comment 2019-12-17 23:59:51 +01:00
Eugene Sandulenko
d17464e86b ENGINES: We must poll events in order to show the window on some platforms.
This is a regression from b86840087. The side effect of it that on Mac the
splash screen in not visible at all. I hope that this does not trigger same crash,
as it happens now only once.
2019-12-17 23:57:59 +01:00
Scott Percival
7c919f70d4 DIRECTOR: Fix calling convention for b_go 2019-12-18 02:12:53 +08:00
Scott Percival
e86c71ae20 DIRECTOR: Remove target for a test archive
This reverts commit 127c346816.
2019-12-18 00:01:56 +08:00
Eugene Sandulenko
05c046252e DIRECTOR: Added debug channel for executing precompiled bytecode 2019-12-17 16:58:00 +01:00