Commit Graph
86814 Commits
Author SHA1 Message Date
stevenhoefel 9cb400e05c DIRECTOR: Style fixes plus 1/8bpp corrections. 2017-01-13 22:39:58 +11:00
Eugene Sandulenko 08cdd94973 DIRECTOR: Lingo: Implemented grammar for arrays 2017-01-13 09:51:26 +01:00
Eugene Sandulenko 72c676b0be DIRECTOR: Fix compiler warnings 2017-01-13 08:32:31 +01:00
stevenhoefel ef295bfd1d DIRECTOR: D4 image loading based on BPP. 2017-01-13 15:32:00 +11:00
Paul Gilbert c199d2e55d TITANIC: Stop moving other items during drag operations 2017-01-12 21:49:56 -05:00
stevenhoefel 804058eb21 DIRECTOR: Fix variable shadowing and array declarations. 2017-01-13 12:40:55 +11:00
Paul Gilbert 92693a9ccd TITANIC: Fixes for unlocking music system 2017-01-12 20:18:20 -05:00
stevenhoefel 6e04b361b2 DIRECTOR: Implement Shape Patterns and Borders for D3. 2017-01-13 12:17:36 +11:00
Paul Gilbert 457c8548a9 TITANIC: Renaming of CCarry fieldE0 2017-01-12 19:51:09 -05:00
Eugene Sandulenko 042f5cc2ca DIRECTOR: Lingo: Added stubs of List functions in D4 2017-01-13 00:03:42 +01:00
Colin Snover d34e5266ed SCI32: Fix bad scroll delta in GK2 inventory
Fixes Trac#9648.
2017-01-12 15:04:45 -06:00
Colin Snover ba50f88a3c SCI32: Fix crash trying to clip invalid rects generated by transitions
In PQ4CD, when leaving the shooting range through the front door,
some transition screen items will be generated that have invalid
dimensions. SSCI simply clips these rectangles to zero.
2017-01-12 13:16:53 -06:00
Colin Snover 92f185c83c SCI32: Add Hoyle5 to the list of game versions 2017-01-12 13:14:25 -06:00
Colin Snover dd13fdfe17 SCI32: "Fix" renderer for PQ4CD
PQ4CD and several other games contain a hack in two renderer
methods to avoid rendering invalid screen items with zero or
negative-dimension target rects. This prevents PQ4CD from
crashing during the fifth phase of target practice.
2017-01-12 13:14:10 -06:00
Colin Snover 54e94c572a SCI32: Add workarounds, transitions, fixes for PQ4CD 2017-01-12 13:14:03 -06:00
D G Turner d5f0d1fdb2 GUI: Fix Unused Variable Compiler Warning when USE_PNG not set. 2017-01-12 10:00:17 +00:00
D G Turner 7db886e02f VKEYBD: Remove Unused Variable. 2017-01-12 09:59:27 +00:00
Thierry Crozat dffd8c80e3 I18N: Update translations templates 2017-01-12 10:39:54 +01:00
D G Turner 72dbd12811 GUI: Replace sprintf() with safer String::format() in KeysDialog. 2017-01-12 09:46:14 +00:00
D G Turner adbf18abca BACKENDS: Fix Shadowing Compiler Warning for isDirectory symbol.
This should ensure that any future cut-and-paste for new backends do not
repeat this same warning issue.
2017-01-12 08:22:40 +00:00
D G Turner 6c4b89e6dc MACVENTURE: Fix Comparison Always True Compiler Warning.
There is no need for ABS() call as the parameters called on are both
unsigned integers.
2017-01-12 07:11:46 +00:00
D G Turner 09269c2e4c MADS: Fix Unused Private Variable Compiler Warning. 2017-01-12 06:41:00 +00:00
D G Turner f87bf8a7b7 XEEN: Fix Unused Variable Compiler Warning. 2017-01-12 05:59:50 +00:00
D G Turner 2615e95768 WII: Fix Variable Shadowing Compiler Warnings. 2017-01-12 05:45:41 +00:00
D G Turner 4dc175a4c2 WIN32: Fix Variable Shadowing Compiler Warnings.
These are emitted when using the MinGW compiler.
2017-01-12 05:44:50 +00:00
stevenhoefel 16439b346f DIRECTOR: Use shared cast member data when rendering shared cast item. 2017-01-12 16:24:12 +11:00
D G Turner 70d3726034 COMMON: Replace sprintf() with safer String::format() in JSON module. 2017-01-12 04:50:45 +00:00
D G Turner 64a3f893d1 ADL: Fix Uninitialized Variable Compiler Warnings. 2017-01-12 04:11:28 +00:00
D G Turner b914aa8861 DIRECTOR: Fix Further Compiler Warnings. 2017-01-12 03:27:36 +00:00
stevenhoefel 1e47d4a13c DIRECTOR: D3 frame/sprite scripts. Categorise scripts into groups. 2017-01-12 14:08:53 +11:00
Paul Gilbert 6cea9c4382 TITANIC: Fix leaving restaurant table close-up 2017-01-11 21:24:19 -05:00
Paul Gilbert aeb05bd965 TITANIC: Fix behaviour of Phonograph Lid 2017-01-11 21:12:58 -05:00
Paul Gilbert 7dc50cc411 TITANIC: Fix Barbot response to requesting vision center 2017-01-11 20:55:09 -05:00
Paul Gilbert 61140e6340 TITANIC: Fix return value of BarbotScript doSentenceEntry 2017-01-11 20:13:45 -05:00
Eugene Sandulenko c59b115d1f DIRECTOR: Lingo: Fix another warning pointed by digitall 2017-01-12 00:31:55 +01:00
Eugene Sandulenko 979b0e94b3 DIRECTOR: Lingo: Fix warnings in lexer generated code 2017-01-12 00:30:43 +01:00
stevenhoefel c4cabdef0f DIRECTOR: Hooks for both cast member and cast frame events. 2017-01-12 09:45:23 +11:00
stevenhoefel 1f95f5c161 DIRECTOR: Hook Lingo events through. Tie in frame events. 2017-01-12 08:58:48 +11:00
Eugene Sandulenko 5c985ab549 DIRECTOR: Fix warnings 2017-01-11 19:45:23 +01:00
Eugene Sandulenko a1500016ff DIRECTOR: Process Cast scripts when dumping 2017-01-11 19:40:37 +01:00
Eugene Sandulenko 74f008e14e DIRECTOR: Lingo: Proper processing of me() in factories 2017-01-11 19:27:19 +01:00
Eugene Sandulenko 8eb8f9b0ef DIRECTOR: Lingo: Fixed argument count for factory methods 2017-01-11 19:27:19 +01:00
Eugene Sandulenko 895e02e1f6 DIRECTOR: Lingo: Fixed parsing of builtins with arglist 2017-01-11 19:27:19 +01:00
Colin Snover 320d6c8255 SCI32: Fix uninitialised read of cursor background at start of game 2017-01-11 12:02:12 -06:00
Thierry Crozat 5947f5a038 I18N: Update translations templates 2017-01-11 18:18:57 +01:00
Colin Snover d951026578 SCI32: Add workarounds for PQ:SWAT 2017-01-11 11:13:45 -06:00
Colin Snover 63ad0a6715 SCI32: Fix null references in Robot decoder
Failing to reduce the size of the ScreenItem arrays causes other
parts of the decoder (like RobotDecoder::getFrameSize) to try
reading ScreenItems that were already destroyed and nulled out in
the list. (In SSCI, the screen item count was held in a separate
property instead of being part of the screen item list.)
2017-01-11 11:13:44 -06:00
Colin Snover e00c773d95 SCI32: Remove backslashes from PQ:SWAT extra save game files
The original interpreter created subdirectories for each in-game
profile, but copying this behaviour would add a lot of
superfluous complexity to the save game system in ScummVM, and
may not be portable to all supported platforms. Instead, when the
game tries to save its files to a subdirectory, the backslash in
the file name is replaced with an underscore so it can be created
successfully on filesystems where backslash is an illegal file
name character.

This has a side-effect of causing all save games to be displayed
under all profiles, instead of just the ones "belonging" to a
particular profile, but this seems like a reasonable trade-off
given that there is no reason to play this game with more than one
profile.
2017-01-11 11:13:44 -06:00
Colin Snover 4eecd48c64 SCI32: Remove unnecessary call to unalloc
When the Resource is deleted, it will deallocate the memory, so
it is not necessary to do that manually.
2017-01-11 11:01:38 -06:00
Colin Snover 7156a82a64 SCI32: Improve mouse responsiveness
This is most noticeable at the beginning of the game during
benchmarking, where the benchmarking loop used to cause the mouse
to get stuck for the duration of the benchmark.
2017-01-11 11:01:38 -06:00