Commit Graph
86814 Commits
Author SHA1 Message Date
Colin Snover 7b90f0693a IMAGE: Return correct pixel format for Indeo3
This gives Indeo3 the same behavior as other codecs when
encapsulated in a container that provides bit depth information
(e.g. AVI).

Closes #888.
2017-01-11 10:59:55 -06:00
D G Turner 68de00b367 BLADERUNNER: Fix Unused Variable Compiler Warnings. 2017-01-11 15:10:01 +00:00
D G Turner e66cec0250 BLADERUNNER: Fix Variable Shadowing Compiler Warnings. 2017-01-11 15:09:14 +00:00
Eugene Sandulenko 23e0bc5d8d DIRECTOR: Lingo: Improvements to me() handling in factories 2017-01-11 10:38:14 +01:00
Eugene Sandulenko 8fa8b4578f DIRECTOR: Better trace for Lingo tests 2017-01-11 10:34:33 +01:00
Eugene Sandulenko 9feebaf649 DIRECTOR: Lingo: Add debug print out of immediate floats 2017-01-11 10:18:20 +01:00
stevenhoefel c4f5d262c8 DIRECTOR: Further work on TextCast and Button alignment. 2017-01-11 16:50:11 +11:00
Paul Gilbert 7937726581 TITANIC: Remove duplicated fields from TTsynonym 2017-01-10 22:09:04 -05:00
stevenhoefel 12032bb518 DIRECTOR: Round rectangles for Buttons. Improved TextCast alignment. 2017-01-11 11:25:31 +11:00
Eugene Sandulenko 3f491601f3 DIRECTOR: Lingo: Implemented 'duplicate cast' stub
That is yet-another deviation from clean grammar rules in origial.
In order to avoid mess, two-word builtins are implemented, and
'sound <op>' are also switched to that method.
2017-01-11 00:21:32 +01:00
Eugene Sandulenko d7ea2b0bc6 DIRECTOR: Lingo: Started documenting D4 keywords 2017-01-11 00:21:32 +01:00
Filippos Karapetis 09d06855c5 SCI32: Add a workaround for the demo version of LSL7 2017-01-11 00:37:43 +02:00
Eugene Sandulenko e87f872122 DIRECTOR: Lingo: Clarify which of 'the entities' need id 2017-01-10 21:48:55 +01:00
Eugene Sandulenko 2cc9404ea4 DIRECTOR: Lingo: Add time-related stubs. This completes D3 grammar
All of the Director 3.0 grammar should be parseable now, albeit buggy,
especially because many stubs do not push their result values
which leads to a stack underflow.
2017-01-10 21:47:47 +01:00
Eugene Sandulenko 0e58b35c67 DIRECTOR: Lingo: Implemented stub for 'the time' entity 2017-01-10 18:58:37 +01:00
Eugene Sandulenko af2a917ab2 DIRECTOR: Lingo: Added sub for 'the date' entity 2017-01-10 18:44:01 +01:00
Willem Jan Palenstijn 87c57e42de GRAPHICS: Fix build 2017-01-10 14:54:14 +01:00
stevenhoefel 19b0cc784d DIRECTOR: Load Shared Cast Bitmaps (anchor point is incorrect).
More Text Cast Formatting.
2017-01-10 23:13:45 +11:00
Eugene Sandulenko 66624ef927 DIRECTOR: Smarter checks for 'end' clause in grammar/lexer 2017-01-10 11:06:42 +01:00
Thierry Crozat 5df6cdca6e I18N: Update translations templates 2017-01-10 07:23:23 +01:00
D G Turner 2ab0927407 GUI: Suppress Unused Variable Warning For Some Build Configurations.
This fix is not totally clean as it spuriously uses the
serverLabelPosition variable in one case of the preprocessor ifdef
configuration, but with the current structure, this is a simple hack to
fix.

A better solution would be to rewrite some of these functions to remove
some of the preprocessor usage if possible.
2017-01-10 06:27:09 +00:00
Thierry Crozat b7d963e214 I18N: Update translations templates 2017-01-10 07:08:48 +01:00
D G Turner 26452df855 SCI: Fix Unused Variable Compiler Warning when SCI32 is not enabled.
The bytesWritten variable is not used if SCI32 is not enabled. Fixed by
adding this and success flag to the debug console print.
2017-01-10 06:14:03 +00:00
D G Turner df84aee6a3 CLOUD: Add FIXME comment.
This is generating a compiler warning for set-but-unused, but it looks
as if this is meant to be used in some way i.e. code is unfinished or
orphaned.
2017-01-10 05:19:13 +00:00
D G Turner 32809534fd CLOUD: Fix Remaining Shadowing Compiler Warnings. 2017-01-10 05:15:56 +00:00
D G Turner ace486cef4 CLOUD: Fix Various Shadowing Compiler Warnings from errorCallback. 2017-01-10 04:45:22 +00:00
D G Turner 1bdeff2d56 CLOUD: Fix Two Variable Shadowing Compiler Warnings. 2017-01-10 04:14:28 +00:00
D G Turner cff454d5e7 VIDEO: Fix Two Further Signed vs. Unsigned Compiler Warnings. 2017-01-10 03:23:31 +00:00
D G Turner 8ae904e154 GRAPHICS: Correct Unsigned vs. Signed Comparison Compiler Warning. 2017-01-10 03:13:08 +00:00
Colin Snover f1ca9ccc64 SCI32: Fix kSetLanguage 2017-01-09 19:38:59 -06:00
Colin Snover e18e6399ac SCI32: Fix bad rendering of Sierra logo in MGDX 2017-01-09 19:34:54 -06:00
Colin Snover b895b4b075 SCI32: Disable compression for Phantasmagoria save files 2017-01-09 19:34:54 -06:00
Colin Snover 126378fa26 SCI32: Fix bad coordinates in PQ:SWAT demo 2017-01-09 19:34:54 -06:00
Colin Snover c48c24d1d3 SCI32: Fix Torin demo crash 2017-01-09 19:34:54 -06:00
Colin Snover e729a31edc SCI32: Fix SQ6 demo crash 2017-01-09 19:34:54 -06:00
Colin Snover 4a930d0368 SCI32: Fix GUIOs for all SCI2-2.1late games 2017-01-09 19:34:54 -06:00
Colin Snover c01b5fe619 SCI32: Mark non-interactive Lighthouse demo as non-interactive 2017-01-09 19:34:54 -06:00
Colin Snover c8b05f03ad SCI32: Fix invalid bitmap deletion in AVIPlayer 2017-01-09 19:34:54 -06:00
Colin Snover b818e54027 SCI32: Fix crashes and bad cel positioning in GK2 demo 2017-01-09 19:34:54 -06:00
Colin Snover 70cfdb6a1f SCI32: Ignore .OLD extension when searching Audio36 patches
KQ7 2.00b includes a SIERRINF.OLD file which should not be matched.
2017-01-09 19:34:54 -06:00
Colin Snover 2ce1807359 SCI32: Generalise uninitialised read workarounds for RAMA 2017-01-09 19:34:54 -06:00
Colin Snover 8cce4f1b8c SCI32: Ignore attempts to free null array reg_ts 2017-01-09 19:34:54 -06:00
Colin Snover 7567940ba1 SCI32: Clean up SCI3-only opcodes
SCI3 includes four new opcodes:

* op_info[0x26][0] puts -info- flag in accumulator
* op_infoSP[0x26][1] pushes -info- flag to stack
* op_superP[0x27][0] puts -super- reference in accumulator
* op_superPSP[0x27][1] pushes -super- reference to stack

The implementation of these opcodes was correct already, but the
opcode names given were a bit misleading (the value is not always
stored to accumulator), and magic numbers were used for these
opcodes in places.

A review of the opcode table in Phant2 indicates that there are
no other new opcodes for SCI3.
2017-01-09 19:34:54 -06:00
Colin Snover bd9bc7ce87 SCI32: Clean up comment on kSetHotRectangles
Since this feature is now implemented, it is not necessary to
describe its intended functionality here.
2017-01-09 19:34:54 -06:00
Colin Snover 01e6d07360 SCI32: Split kCelInfo into subops
Different subops have different call signature requirements.
2017-01-09 19:34:54 -06:00
Colin Snover 8987d9a889 SCI32: Enable playback of stereo audio 2017-01-09 19:34:54 -06:00
Colin Snover 3e2f4a66f6 SCI32: Remove SCI3 workarounds hack 2017-01-09 19:34:54 -06:00
Colin Snover 97a47852c1 SCI32: Fix kSetShowStyle signature for SCI3 2017-01-09 19:34:54 -06:00
Paul Gilbert ec8845a6bf TITANIC: Fix Barbot's introduction spiel 2017-01-09 19:36:13 -05:00
Eugene Sandulenko 677dd99bdb DIRECTOR: Lingo: Added stubs for D3 Text-related syntax 2017-01-10 01:02:56 +01:00