Commit Graph

73510 Commits

Author SHA1 Message Date
Eugene Sandulenko
52abd69551 SCUMM: Use more portable rounding function 2016-07-19 16:22:59 +03:00
Eugene Sandulenko
8af6a0ddd2 Merge pull request #785 from segrax/master
SCUMM: Maniac V0: Walkbox / Timing improvements
2016-07-19 14:22:17 +03:00
Robert Crossfield
67071b42bc SCUMM: Maniac V0: Implement 'simulator' for CPU lag (as the original engine occasionally ran at less than 60Hz). Fix call to 'getClosestPtOnBox', whcih was being passed X * V12_X_MULTIPLIER and Y * V12_Y_MULTIPLIER, but the box coordinates, where not 2016-07-19 20:39:58 +10:00
Lothar Serra Mari
fdd21f1942 NEWS: Mention the changes introduced since the last NEWS update
I tried to cover most of the things that seem to be interesting
for the end user. I excluded the SCI32 stuff because a) it's not
officially supported and b) I don't have the slightest clue what
most of the changes to the SCI32 engine do. :)

Please excuse if you made a noteworthy contribution I missed
to mention in this NEWS update. It was not on purpose.
2016-07-19 11:38:37 +02:00
Robert Crossfield
44000ba826 SCUMM: Maniac V0: Implement original walkbox queue, Cleanup actor walk code 2016-07-19 18:54:14 +10:00
Lothar Serra Mari
8d8503863a I18N: Update revision date in de_DE.po 2016-07-19 09:47:05 +02:00
Lothar Serra Mari
ba308cd289 I18N: Regenerate translations data file 2016-07-19 09:30:38 +02:00
Lothar Serra Mari
e6b9a06df4 I18N: Update German translation 2016-07-19 09:29:22 +02:00
Lothar Serra Mari
ccb99d4a74 I18N: Regenerate translations template from source code 2016-07-19 09:26:03 +02:00
Eugene Sandulenko
aadc853146 FULLPIPE: Adjusted debug output 2016-07-18 22:40:52 +03:00
Robert Crossfield
1a880c748c SCUMM: Maniac V0: Clear the text area of the screen on fade out 2016-07-17 16:40:49 +10:00
Torbjörn Andersson
246d48b467 WAGE: Free memory used by loadWorld() debug code 2016-07-15 11:41:50 +02:00
Torbjörn Andersson
72269b6c9d WAGE: Fix memory leak in drawBitmap()
The 'tmp' surface was never freed when in _boundsCalculationMode.
2016-07-15 11:29:19 +02:00
Torbjörn Andersson
9284204cf6 WAGE: Free memory for buttons when dialog is destroyed 2016-07-15 11:24:05 +02:00
Eugene Sandulenko
48f99d0b93 Merge pull request #783 from bgK/create-project-cmake-builder
DEVTOOLS: Add a CMake project generator to create_project
2016-07-13 18:56:36 +02:00
Eugene Sandulenko
30e0592162 GUI: Regenerate built-in theme 2016-07-12 22:43:55 +02:00
Eugene Sandulenko
3359abbe5f Merge pull request #784 from Tkachov/tabwidget-height-fix
GUI: Fix TabWidget height issues
2016-07-12 22:42:18 +02:00
Colin Snover
a9b7b40c66 SCI32: Disable kernel call 0x23 on LSL6hires
LSL6hires calls 0x23 (Graph/Robot) from game scripts, but it is a
null function in the game's interpreter.
2016-07-12 14:43:56 -05:00
Colin Snover
e133c74403 SCI32: Fix unnecessary palette updates
Some games load palettes that include color 255, but this is
hardcoded to white in SSCI, so just ignore it during merges since
it is ignored when the hardware palette is updated anyway.
2016-07-12 14:43:56 -05:00
Colin Snover
efc12ffc5c SCI32: Avoid flash of incorrect colour when palettes are changed
Avoid forcing the screen to refresh after a palette change if the
screen is also about to be drawn to, as the palette change + draw
is intended to be an atomic operation.
2016-07-12 14:41:17 -05:00
Alexander Tkachev
64a79fd1ab GUI: Fix TabWidget height issues
Changes theme stx files to specify TabWidget's type. That fixes wrong TabWidget height.

Changes TabWidget's getHeight() to return not only "children" height, but also tabs height. That fixes wrong clipping area.

Changes Widget's findWidget to use getHeight(). That fixes bug when widgets in the bottom of TabWidget were not reacting to the mouse events.
2016-07-12 22:37:57 +06:00
Colin Snover
53ab0b2805 SCI32: Fix broken background volume in Torin during speech 2016-07-11 16:23:46 -05:00
Colin Snover
b37ebb61eb Revert "SCI32: Add blackline option to KQ7 2.00b DOS"
This reverts commit 1ab87e3f8f.

VMD and DUK are the formats that get blacklined, not Robot.
2016-07-11 14:27:57 -05:00
Colin Snover
1cf1b88c7d SCI32: Add ADGF_DEMO flag to Hoyle 5 detection 2016-07-11 13:55:17 -05:00
Colin Snover
1ab87e3f8f SCI32: Add blackline option to KQ7 2.00b DOS
KQ7 DOS uses Robot video in place of AVI.
2016-07-11 13:55:17 -05:00
Martin Kiewitz
d5dfd41ed1 SCI: Update script patch comments 2016-07-11 20:45:19 +02:00
Colin Snover
593560e876 SCI32: Add detection for Hoyle 5 demo 2016-07-11 13:02:27 -05:00
Martin Kiewitz
9dd5ee988b SCI32: Improve kq7 subtitle script patch
Subtitle box should now always use color 255, which should be
white all the time. Normally it uses color 7, which is white
most of the time, but for example pink/purple at the start of
chapter 5.
2016-07-11 19:04:18 +02:00
Colin Snover
08821cf4e3 SCI32: Give planes a default type
With the addition of the transparent pic type code, the _type
property would be read uninitialised by setType if _pictureId was
set to kPlanePic.

CID 1357230, 1357231.
2016-07-11 10:39:50 -05:00
Colin Snover
f171db965c SCI32: Guard against no split count
CID 1357229.
2016-07-11 10:39:50 -05:00
Colin Snover
e4588a7134 SCI32: Silence non-monitored channels while monitoring is active 2016-07-11 10:39:50 -05:00
Colin Snover
60c3663142 SCI32: Fix incorrect logic of cycler overflow 2016-07-11 10:39:50 -05:00
Colin Snover
bc362e5b7c SCI32: Minor cleanup of GfxPalette32 2016-07-11 10:39:50 -05:00
Colin Snover
8fb55564a6 SCI32: Fix bad output caused by missing palette copies
Sometimes, games accidentally use palette entries that are not
marked as used and expect them to be a particular colour, like the
Phantasmagoria title screen, or the white palette entry (always
255 in DOS/Win).
2016-07-11 10:39:50 -05:00
Colin Snover
6a13adb638 SCI32: Fix sign comparison warning 2016-07-11 10:39:50 -05:00
Colin Snover
4cfc387602 SCI32: Split GfxPalette and GfxPalette32 + HunkPalette 2016-07-11 10:39:50 -05:00
Colin Snover
7f53a26d9e SCI32: Split kPalCycle into subop functions 2016-07-11 10:39:50 -05:00
Colin Snover
ec73fa1e4a SCI32: Fix audio deadlocks
Several functions in Audio32 would call into the mixer to pause
or resume the audio handle, which would cause a deadlock if the
mixer's mixCallback timer fired while one of these functions was
running on the main thread.

To address this, calls to mixer to pause/unpause the digital audio
handle have been removed. Since this was just an optimisation to
prevent unnecessary calls to fill the audio buffer, the only
problem now is that a tiny amount of CPU is wasted on unnecessary
callbacks to read from the empty SCI mixer.
2016-07-11 10:39:50 -05:00
Colin Snover
1714cf8aa5 SCI32: Minor Audio32 cleanup 2016-07-11 10:39:50 -05:00
Torbjörn Andersson
11ec5ad5a3 GRAPHICS: Fix copy/paste error in blitAlphaBitmapClip() (CID 1357410) 2016-07-11 05:43:24 +02:00
Torbjörn Andersson
6eabc887e1 GRAPHICS: Fix copy/paste error in blitSurfaceClip (CID 1357411) 2016-07-11 05:41:04 +02:00
Martin Kiewitz
eeafe230b9 SCI32: Fix an issue with the KQ7 subtitles script patch
Volume was lowered, but not raised afterwards for certain cases
Original script patch was commited in
b676530528
2016-07-11 00:26:05 +02:00
Martin Kiewitz
b676530528 SCI32: Add script patch to fix/improve KQ7 subtitles
Needs lots of testing of course
Applies to 1.51 and 2.00
2016-07-10 23:40:29 +02:00
Bastien Bouclet
504ffd2aba MOHAWK: Switch Riven saves to a slot based naming scheme
Existing saves are compatible but must be renamed to riven-###.rvn
2016-07-10 22:01:03 +02:00
Bastien Bouclet
f78bb08b18 MOHAWK: Save ScummVM specific metadata in the Riven saves
- Thumbnail
- Save date
- Save description
- Total play time
2016-07-10 22:01:03 +02:00
Bastien Bouclet
792548f28f MOHAWK: The French DVD version of Riven is just a repackaged CD version 2016-07-10 22:01:02 +02:00
Bastien Bouclet
c06e347d90 MOHAWK: Make the Riven saved games loadable by the original engine 2016-07-10 22:01:02 +02:00
Colin Snover
1c0c540fa7 MACOS: Use 'unsigned int' instead of NSUInteger
NSUInteger apparently does not exist until macOS 10.5, but
buildbot targets 10.4.
2016-07-10 11:46:32 -05:00
Colin Snover
46804fda15 SCI32: Re-enable KQ7 subtitles, but with a warning on game start 2016-07-10 11:46:19 -05:00
Colin Snover
c294e4fbf8 MACOS: Fix sign comparison 2016-07-10 10:50:05 -05:00