Commit Graph

48293 Commits

Author SHA1 Message Date
Paul Gilbert
5291a72742 TITANIC: Fix loading of item descriptions 2016-10-26 19:26:14 -04:00
Paul Gilbert
21562fba08 TITANIC: Add yet another mouse hiding counter the game uses 2016-10-26 19:11:35 -04:00
Willem Jan Palenstijn
2fe167afc3 SCI: Rename hexDigitToInt to indicate it's intentionally broken 2016-10-26 22:59:33 +02:00
Willem Jan Palenstijn
4071871610 MADS: Fix two off-by-ones in Fader::insertionSort
Fixes bug #9631.
2016-10-26 22:30:02 +02:00
Eugene Sandulenko
f6dda6b7fb DIRECTOR: Skip header in VWLB resource for D4+
For some reason the pointer in D4 movies points to the header
instead of data. Perhaps there is a flag which indicates that.
In the meanwhile, adding a hack to skip it so we could proceed
with development.
2016-10-26 10:48:37 +02:00
Eugene Sandulenko
814db5fd38 DIRECTOR: Renamed resource/archive files to better reflect reality 2016-10-26 10:48:37 +02:00
Eugene Sandulenko
df2bd1a94c DIRECTOR: Skipping useless movie scanning.
We can easily rely on the FS path resolving.
2016-10-26 10:48:37 +02:00
Paul Gilbert
45d208b2ec TITANIC: Further work on mouse cursor enablement logic 2016-10-25 23:10:46 -04:00
Colin Snover
eb6fa08311 SCI: Implement SSCI bug in hexadecimal escape sequences
In SSCI, strchr is called against a hex string with a duplicate 0
("01234567890abcdef") to determine the decimal value of hex digits,
which means the values A-F are incorrectly interpreted as 11-16
instead of 10-15.

All versions of SSCI with support for hexadecimal escape sequences
in messages (starting somewhere around Feb 1993) are buggy.

The native save/load dialog of SCI32 relies on this defect to
render the up and down arrows of the game selector.

Fixes Trac#9582.
2016-10-25 20:05:12 -05:00
Eugene Sandulenko
56490360c2 FULLPIPE: Fix if statement. Thanks to PVS-Studio 2016-10-26 01:51:39 +02:00
Paul Gilbert
6c54d5e020 TITANIC: Fix dragging Photograph 2016-10-25 19:50:45 -04:00
Paul Gilbert
8ec1f77c06 TITANIC: Fix setting active NPC 2016-10-25 19:26:42 -04:00
Paul Gilbert
44bcade6d3 TITANIC: Keep cursor disabled for entire Doorbot intro 2016-10-25 19:15:47 -04:00
Paul Gilbert
20092fb386 TITANIC: Implement hide counting for mouse cursor hide/show 2016-10-25 18:43:20 -04:00
Willem Jan Palenstijn
b4515d0872 KYRA: (LOL) Fix buffer overflow in _lastOverridePalFile
It was storing filenames of length 12 in a char[12] buffer.
Fixes bug #9627.
2016-10-25 23:13:22 +02:00
Paul Gilbert
1c370c9644 TITANIC: Add conversation text to the PET 2016-10-24 20:30:18 -04:00
Kirben
0a03c986a2 AGOS: Add missing subtitle delay for Simon the Sorcerer 1 (Hebrew DOS CD). 2016-10-25 09:12:09 +11:00
Thomas Fach-Pedersen
d93847b1e9 BLADERUNNER: Typo in SetEffects::setFadeColor (CID 1364307) 2016-10-24 21:32:15 +02:00
Thomas Fach-Pedersen
94b1528d49 BLADERUNNER: Fix null pointer dereference (Actually CID 1364205)
Previous fix for CID 1364205 was actually for CID 1364306.
2016-10-24 21:26:28 +02:00
Thomas Fach-Pedersen
125f699997 BLADERUNNER: Fix potential buffer overrun (CID 1364276) 2016-10-24 19:40:18 +02:00
Thomas Fach-Pedersen
8045edab27 BLADERUNNER: Fix out-of-bounds write (CID 1364262) 2016-10-24 19:40:18 +02:00
Thomas Fach-Pedersen
e0a04a3185 BLADERUNNER: Fix out-of-bounds access in voiceover actor (multiple CIDs)
CID 1364219
CID 1364223
2016-10-24 19:40:18 +02:00
Thomas Fach-Pedersen
4b6e0f0e7d BLADERUNNER: Fix out-of-bounds read (CID 1364207) 2016-10-24 19:40:18 +02:00
Thomas Fach-Pedersen
c64767b202 BLADERUNNER: Fix null pointer dereference (CID 1364205) 2016-10-24 19:40:18 +02:00
Thomas Fach-Pedersen
ec880c549a BLADERUNNER: Fix resource leak (CID 1364202) 2016-10-24 19:40:18 +02:00
Eugene Sandulenko
31ffd4d2e8 DIRECTOR: Load shared cast only when it exists 2016-10-24 19:06:07 +02:00
Eugene Sandulenko
012cf1b561 DIRECTOR: Run start movie specified in the command line 2016-10-24 10:56:40 +02:00
Eugene Sandulenko
af783c73e7 DIRECTOR: Added D4 generic target 2016-10-24 10:56:40 +02:00
Paul Gilbert
2640b8730a TITANIC: Fix freeze in Doorbot conversation 2016-10-23 22:04:41 -04:00
Paul Gilbert
7e5842fd43 TITANIC: Fix showing multiple NPC animations as Doorbot speaks 2016-10-23 21:35:22 -04:00
Paul Gilbert
3852d14061 TITANIC: Match the CWaveFile duration method closer to original 2016-10-23 20:11:30 -04:00
Paul Gilbert
588aaeac39 TITANIC: Start Doorbot animating in closeup conversation 2016-10-23 17:53:53 -04:00
Paul Gilbert
84eef664a8 TITANIC: Fix resetting NPC flags when Doorbot finishes speaking 2016-10-23 17:35:12 -04:00
Eugene Sandulenko
cc1b658c48 MOHAWK: Support for the Riven JP CD structure 2016-10-23 21:49:25 +02:00
Eugene Sandulenko
d6ac4cf6d7 MOHAWK: Fix Riven JP platform 2016-10-23 21:37:36 +02:00
Eugene Sandulenko
3718ea7809 MOHAWK: Add detection for Japanese Riven 2016-10-23 19:13:28 +02:00
Thomas Fach-Pedersen
307321ec20 BLADERUNNER: Fix invalid assert in AudStream 2016-10-22 20:24:57 +02:00
Colin Snover
724385eb5e SCI32: Fix slow SCI2.1mid transitions
SSCI transitions code sends a large number of small show rects
to the graphics manager, one at a time, for each division of a
transition. Each time a rect is submitted, a call to showBits
is made. This design was used when transitions for SCI32 were
first implemented in ScummVM, and it worked OK because the
hardware surface was updated by EventManager::getSciEvent,
not showBits, so the large number of calls to showBits from the
transitions code did not adversely affect engine performance.

Later in SCI32 engine development, hardware surface updates
were changed to occur in showBits so that the hardware surface
would be updated at frame-out time, instead of at input-in time.
This change meant that now the large number of calls to showBits
from transitions became very expensive, and the engine would
stall constantly refreshing the entire hardware surface.

To fix this problem, the transitions code now (1) maximises the
size of rects coming from transitions, when possible, and (2) only
calls showBits when all the rects from one frame of a transition
have been calculated and added to the show rects list.

Additionally, there were some arithmetic errors in the
implementation of pixel dissolve that have been corrected in this
changeset.

Fixes Trac#9614.
2016-10-22 13:18:38 -05:00
Thomas Fach-Pedersen
669e6be438 BLADERUNNER: Fix uninitialized variable accesses
Fixes a couple of issues reported by valgrind and clang
sanitizers.

In particular, the initialization of Actor::_inCombat means that McCoy
no longer randomly has his gun out at the beginning of the game. In
SliceRenderer::drawInWorld, the assert of _sliceFramePtr has been
moved to after the call to setupFrameInWorld which is the method that
initializes the field. This misplaced assert caused the game to crash
for several people.
2016-10-22 18:46:28 +02:00
Paul Gilbert
41e6a5d2a6 TITANIC: Fix looping in CTrueTalkManager::triggerNPC 2016-10-22 12:33:07 -04:00
Paul Gilbert
2bf087d2b9 TITANIC: Workaround for Doorbot's 'cloak off' movie playback
The original starts a movie for the Doorbot taking his cloak off,
but then plays a cutscene of the doorbot first appearing. Because of
this delay, our VideoDecoder wasn't correctly playing the movie after.
To fix that, new movies are initially paused when started, and then
resumed the first time we try to do events checking for it
2016-10-22 11:40:51 -04:00
Colin Snover
90c2f77686 SCI32: Implement HShutterIn for SCI2.1mid+
Fixes Trac#9584.
2016-10-21 21:04:01 -05:00
Paul Gilbert
41d1e0a415 SHERLOCK: 3DO: Fixes to allow game to start 2016-10-21 20:01:14 -04:00
Willem Jan Palenstijn
bbd5b89c13 BLADERUNNER: Fix presumable typo 2016-10-21 23:36:17 +02:00
Eugene Sandulenko
c8dca57555 PRINCE: Refactored detection code into widely accepted schema 2016-10-21 10:32:48 +02:00
Colin Snover
c9ad2062db SCI32: Fix wrong value passed to updateInfoFlagViewVisible
updateInfoFlagViewVisible accepts a property index, not a selector
ID.

Fixes Trac#9583.
2016-10-20 11:33:30 -05:00
Colin Snover
bd4b0dbbfd SCI32: Fix QFG4 version comments 2016-10-20 11:33:30 -05:00
Colin Snover
45f7aef8cb SCI32: Fix typo 2016-10-20 11:33:29 -05:00
Colin Snover
34bd1bcaa9 SCI32: Split out detection of features that cross SSCI versions 2016-10-20 11:33:29 -05:00
Colin Snover
55222ec06c SCI32: Fix zero-offset exports
Exports with a zero offset are supposed to point to the start of
the code block in the script hunk, but they were being ignored.

This may also apply to SCI1.1 games, but until that can be
verified, this fixes the zero-offset in only SCI32 games for now.
2016-10-20 11:33:08 -05:00
Eugene Sandulenko
06ca6531ae DIRECTOR: Fix movie scanning 2016-10-19 21:53:18 +02:00
Eugene Sandulenko
4162295464 DIRECTOR: Lingo: Implemented getting 'the frame' entity 2016-10-19 21:47:44 +02:00
Eugene Sandulenko
6ef67b9186 DIRECTOR: Further work on text cast loading and rendering 2016-10-18 11:50:12 +02:00
Eugene Sandulenko
0eac022f55 DIRECTOR: Added debug chanel for text rendering 2016-10-18 11:50:12 +02:00
Paul Gilbert
9f90b4b50b XEEN: Visual Studio compilation fix 2016-10-17 21:56:44 -04:00
angstsmurf
ec06c04faa COMPOSER: Use setPixel() and getPixel() methods to read and write to private pixel member 2016-10-18 03:09:19 +02:00
angstsmurf
c3994cd6ea COMPOSER: Add missing 'typename' prior to dependent type name 2016-10-18 03:03:15 +02:00
angstsmurf
17f3626214 COMPOSER: Delete leftover git conflict marker 2016-10-18 02:58:19 +02:00
angstsmurf
a946e9eab9 COMPOSER: Include config manager header in composer.cpp again
It was removed in 253e18c
2016-10-18 02:57:04 +02:00
upthorn
74c75e36ca COMPOSER: Fix for issue when save_slot is in config. 2016-10-18 02:12:56 +02:00
upthorn
5649ce55fc COMPOSER: Various formatting fixes. 2016-10-18 02:12:45 +02:00
upthorn
a9441186b7 COMPOSER: Better spacing of autosaves 2016-10-18 02:12:34 +02:00
upthorn
483cad039e COMPOSER: Enable autosaving. 2016-10-18 02:12:19 +02:00
upthorn
582006d1cf COMPOSER: Added loading from launcher support 2016-10-18 02:12:04 +02:00
upthorn
69a6a200a2 COMPOSER: Fixed some scope issues 2016-10-18 02:11:51 +02:00
upthorn
d91368aa1a COMPOSER: Saving/loading code deduplication 2016-10-18 02:11:17 +02:00
upthorn
c4c6cce78e COMPOSER: Completely removed unnecessary #ifdefs 2016-10-18 02:10:11 +02:00
upthorn
027bab88fb COMPOSER: Added support for saving/loading in V1 games. 2016-10-18 02:09:59 +02:00
upthorn
1f1928c9ac COMPOSER: Added new file to module.mk 2016-10-18 02:09:47 +02:00
upthorn
3d6eb8b49d COMPOSER: cleaned up miscellaneous gcc warnings and formatting issues. 2016-10-18 02:09:35 +02:00
upthorn
bbcf4a9218 COMPOSER: Fixed audio issues after save-game load. 2016-10-18 02:09:25 +02:00
upthorn
4e1f98a155 COMPOSER: failed attempt to correct audio sync issue 2016-10-18 02:09:14 +02:00
upthorn
70220384cd COMPOSER: game saving/loading now actually works 2016-10-18 02:09:04 +02:00
upthorn
2b58f42b8c COMPOSER: Continued work on saving/loading functionality. 2016-10-18 02:08:53 +02:00
upthorn
529a82a50a COMPOSER/JANITORIAL: Corrected a number of formatting issues in and around new functions related to saving. 2016-10-18 02:08:23 +02:00
upthorn
49fad58b2a COMPOSER: Preliminary (non-functional) game saving/loading support 2016-10-18 02:08:10 +02:00
Eugene Sandulenko
402c4758f3 DIRECTOR: Lingo: Hide noisy warnings 2016-10-17 19:31:47 +02:00
Ori Avtalion
d3c173da7a TITANIC: Remove always-true test 2016-10-17 16:10:38 +03:00
Colin Snover
a854c7e274 SCI32: Fix screen items incorrectly drawing over higher planes
Fixes Trac#9583.
2016-10-16 21:21:13 -05:00
Colin Snover
e704e5f3c8 SCI32: Fix crash when clicking around the arterial blockage in SQ6
Thanks @hpvb for the report.

Fixes Trac#9615. Closes #850.
2016-10-16 19:30:47 -05:00
Eugene Sandulenko
5eb1da42c3 FULLPIPE: Fix steps sounds 2016-10-16 23:25:38 +02:00
Arnaud Boutonné
7bd5ca57b2 Merge pull request #849 from rootfather/chewy-de-detection
CHEWY: Add detection entries for German versions
2016-10-16 19:51:29 +02:00
Thierry Crozat
5151bd99dd Merge pull request #847 from criezy/sdl-filtering
Add graphics linear filtering feature
2016-10-16 18:42:40 +01:00
rootfather
2abdea727e CHEWY: Add detection entries for German versions 2016-10-16 18:45:05 +02:00
Colin Snover
abc4656cc0 SCI32: Fix workaround comment 2016-10-16 11:10:25 -05:00
Colin Snover
65d0c659ef SCI32: Fix crash clicking quit button during LSL6hires credits 2016-10-15 20:57:48 -05:00
Colin Snover
06d58c91b9 SCI32: Fix crash in LSL6hires ending
Fixes Trac#9613.
2016-10-15 19:29:00 -05:00
Colin Snover
f35fafa525 SCI32: Fix kPalVary(SetVary) in SCI2.1early games
Game scripts pass an extra argument which is never used in SSCI.
This happens e.g. when warping from room 620 to room 860 in
LSL6hires.

Adding a signature for kPalVarySetVary for SCI2.1early games only
does not work because KQ7 1.51 is detected as SCI2.1early but the
interpreter includes kPalVary code that matches SCI2.1mid.

Fixes Trac#9611.
2016-10-15 18:00:37 -05:00
Eugene Sandulenko
af2027ddd1 Merge pull request #838 from bluegr/chewy
Chewy: Esc from F5. New WIP engine.
2016-10-15 13:51:00 +02:00
Eugene Sandulenko
e928198a72 BLADERUNNER: Mark engine as highres 2016-10-15 13:50:15 +02:00
Eugene Sandulenko
6ab1edf597 BLADERUNNER: Fix compilation on older gcc 2016-10-15 13:47:06 +02:00
Eugene Sandulenko
23544e6866 DIRECTOR: Added Mac font rendering test 2016-10-15 12:25:20 +02:00
Colin Snover
6303468555 SCI32: Fix mouse position clamping 2016-10-14 19:52:21 -05:00
Colin Snover
c3adfc065e SCI: Ensure export breakpoints always trigger on export calls
Previously, export calls to non-existing functions would act like
there was never an export call, and the breakpoint would never be
triggered.
2016-10-14 19:43:47 -05:00
Colin Snover
a05ae2e24a SCI32: Fix slow transitions in SQ6 2016-10-14 19:43:47 -05:00
Willem Jan Palenstijn
699a147348 SCI: Make -propDict- unique for each class
Previously, this was using the offset of the property dict inside the
script. However, this isn't unique. For example, SQ6's DPath and
PolyPath classes both have their property dict at offset 8 of their
respective scripts. This would break Obj::isMemberOf.

Closes #846.
2016-10-14 19:43:32 -05:00
Paul Gilbert
a8dd2856b7 TITANIC: Fix getting NPC animation name lists 2016-10-13 23:10:10 -04:00
Eugene Sandulenko
a350cc8fd0 BLADERUNNER: Fix compilation with plugins enabled 2016-10-14 00:16:30 +02:00
Eugene Sandulenko
e89c76f63c Merge pull request #836 from peterkohaut/bladerunner
BLADERUNNER: added basic support for blade runner game
2016-10-13 23:48:50 +02:00
Thierry Crozat
48ec053a13 TESTBED: Add test for kFeatureFilteringMode 2016-10-13 01:45:01 +01:00
Thierry Crozat
3e08c33c35 GUI: Add checkbox and config option to enable/disable graphics filtering 2016-10-13 01:45:01 +01:00
Thierry Crozat
0a186a66d6 TESTBED: Fix fullscreen test
The test was always failing when starting from the fullscreen state.
2016-10-12 23:04:42 +01:00
Peter Kohaut
577c3b56a5 BLADERUNNER: added picking up of items
and some formatting
2016-10-12 23:00:33 +02:00
Willem Jan Palenstijn
3dc5431884 SCI: Add modified workaround for Simbani bridge room for GOG
The GOG version comes with a fan patch that uses rm470::name to
store a timer to rate-limit rm470::doit. This breaks the workaround
detection since that uses the name field.
2016-10-12 22:06:50 +02:00
Martin Kiewitz
32ca051485 AGI: Make TIME_DELAY 0 to set the game to 40 fps
Original AGI TIME_DELAY 0 made the game run as fast
as possible. We didn't go that far, but it still seems to run
too fast. This should hopefully fix that.
See bug #9607
2016-10-12 21:48:35 +02:00
Retro-Junk
25ff6fcd5f FULLPIPE: Fix animation lock-up 2016-10-12 09:06:01 +02:00
Colin Snover
82c39aa6ad SCI32: Fix garbage collection of objects stored in IntArrays 2016-10-11 19:40:08 -05:00
Strangerke
86e525c1ad DM: Fix isSquareACorridorTeleporterPitOrDoor for the demo, set version of demo to 2.0 2016-10-11 21:44:03 +02:00
Strangerke
7c138231e0 DM: Handle demo dungeon file 2016-10-11 21:44:01 +02:00
Colin Snover
c118e2fe12 SCI32: Reset active hot rect index when changing hot rects 2016-10-10 19:35:28 -05:00
Colin Snover
4b6b328bbb SCI32: Check for existence of visiblePlane before dereferencing
CID 1351620.
2016-10-10 19:35:28 -05:00
Filippos Karapetis
53de49a052 CHEWY: Create a scene class 2016-10-10 05:05:42 +03:00
Filippos Karapetis
5fbf9ad171 CHEWY: Remove duplicate table 2016-10-10 05:05:19 +03:00
Filippos Karapetis
375618828f CHEWY: Move cursor related functions into a separate file 2016-10-10 04:50:35 +03:00
Filippos Karapetis
684cbfa2fd CHEWY: Add support for palette fadeout to videos 2016-10-10 04:42:06 +03:00
Filippos Karapetis
a292fcdd93 CHEWY: Fix typo 2016-10-10 04:41:31 +03:00
Strangerke
93392024d2 DM: Add detection for an amiga demo version 2016-10-09 23:53:45 +02:00
Strangerke
dcfa51cd9d DM: Remove useless variable 2016-10-09 23:50:36 +02:00
Filippos Karapetis
bda8a9b92b CHEWY: Initial work on converting TMF music data back to MOD data
This way, we can use our regular Protracker MOD player
2016-10-09 23:39:41 +03:00
Filippos Karapetis
0a4c1eeca1 CHEWY: Move all sound functions into sound.* 2016-10-09 23:38:39 +03:00
Filippos Karapetis
c1e44df357 CHEWY: Use atds.tap for detection
Now that a lot of the game's resources have been figured out, it turns
out that using comic.tgp was a bad idea, as it's the same in both the
English and German versions. atds.tap contains all of the game's texts,
so it is probably the best candidate for detection
2016-10-09 23:34:51 +03:00
Filippos Karapetis
339e1c1f88 CHEWY: Pass the text parameter of getLine() by reference
Saves an unneeded copy
2016-10-09 23:33:19 +03:00
Colin Snover
d0ec919fb7 SCI: Fix crash when attempting to view invalid list, array, bitmap references 2016-10-09 13:52:04 -05:00
Peter Kohaut
8720c3a98f BLADERUNNER: fixed some compilation warnings 2016-10-09 20:26:53 +02:00
Colin Snover
6cc761e728 SCI32: Allow 'focused' variable to break out of the event loop 2016-10-09 11:41:52 -05:00
Colin Snover
832979c2db SCI: Fix memory leak 2016-10-09 11:32:01 -05:00
Colin Snover
40444b0aeb SCI32: Clarify some identifiers
transparentColor -> skipColor
displace -> origin
scaledWidth -> xResolution
scaledHeight -> yResolution
2016-10-09 11:21:46 -05:00
Colin Snover
8c555200d9 SCI32: Change storage type of int16 arrays to hold reg_ts instead
Memory references and integers in SSCI are both 16-bit numbers,
so game scripts frequently (incorrectly) use an IntArray instead
of an IDArray for holding references. Since references in ScummVM
are 32-bit reg_ts, IntArray entries must be large enough to hold
reg_ts in order to be compatible with game scripts that store
references in integer arrays.

The alternative solution is to find and patch all incorrect use of
IntArray across all games. This is possible, but a bit risky from
a save game stability perspective, since incorrect IntArray usage
is sometimes not apparent until well after the array is
instantiated (like GK1's global interview array).

This change invalidates existing SCI32 save games.
2016-10-09 11:21:13 -05:00
Eugene Sandulenko
ee324a07cf SCUMM: Fix crash on exit in FT demo 2016-10-09 15:26:48 +02:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Peter Kohaut
f7acbcb057 BLADERUNNER: fixed speed of pickup effect
formating, small fixes
2016-10-09 12:03:19 +02:00
Eugene Sandulenko
b5c4e09cec BLADERUNNER: Fix compilation 2016-10-09 10:02:22 +02:00
Willem Jan Palenstijn
379e3b80da SCI: Release SCI music mutex earlier in reconstructPlayList
This avoids a deadlock where the main thread (via reconstructPlayList)
tries to acquire the mixer lock (in soundPlay) while holding the SCI
music lock, and the audio thread is holding the mixer lock and tries to
acquire the SCI music lock (in miditimerCallback). Bug #6691.
2016-10-08 22:32:13 +02:00
Peter Kohaut
f30f3c46e3 BLADERUNNER: added item pickup effect
also added support for rendering items on screen (not in the world)
pickup effect can be tested in debug compilation by clicking on any object (not item, but object like, hydrant, or doors) in first scene
2016-10-08 21:06:22 +02:00
Paul Gilbert
d09c49fb0d TITANIC: Fix transparency handling of Doorbot and Photograph 2016-10-07 20:25:07 -04:00
Eugene Sandulenko
086963fd23 GRAPHICS: Search for font substitution for MacFonts 2016-10-07 19:42:55 +02:00
Eugene Sandulenko
6de4334f2b MOHAWK: Enable Myst for the release 2016-10-07 12:02:33 +02:00
Eugene Sandulenko
3537e46d4a WINTERMUTE: Enable supported games for the release 2016-10-07 11:57:55 +02:00
Eugene Sandulenko
82b28c9292 GNAP: Enable engine for the release 2016-10-07 11:53:31 +02:00
Eugene Sandulenko
de715ca446 ADL: Enable hires0-3 for the release 2016-10-07 11:53:31 +02:00
Filippos Karapetis
8df9eb5b8f CHEWY: Fix undefined behavior 2016-10-07 12:29:14 +03:00
Filippos Karapetis
c3a4950c98 CHEWY: Properly dispose audio streams after use 2016-10-07 09:31:16 +03:00
Paul Gilbert
6a1e5bd43a TITANIC: Cleanup usages of CTransparencySurface 2016-10-06 22:01:43 -04:00
Paul Gilbert
cf96b50f08 TITANIC: Fix videos playing vertically flipped 2016-10-06 20:33:24 -04:00
Filippos Karapetis
7002ede1ed CHEWY: Const correctness 2016-10-07 03:13:16 +03:00
Filippos Karapetis
cf7c010d47 CHEWY: Use new instead of malloc() in the CFO video decoder
Thanks to wjp for noticing this
2016-10-07 03:12:00 +03:00
Einar Johan Trøan Sømåen
d077fc0fc7 WINTERMUTE: Change in-engine thumbnail-defaults.
Instead of the engine-based 0, we now default to
kThumbnailWidth/kThumbnailHeight2, as values of 0
here disable thumbnails in the engine.

TODO: Perhaps consider looking into always running the
thumbnail-generation even if the sizes are 0?
2016-10-07 01:35:17 +02:00
Einar Johan Trøan Sømåen
1eca88cb39 WINTERMUTE: Don't crop UIEdit strings to negative sizes
If _maxLength was -1, we would end up with a 0-size allocation,
and a write that starts right before it, which gives odd results.
2016-10-07 00:19:58 +02:00
Eugene Sandulenko
b2dcd1bb1e GRAPHICS: Move font-related MacGUI code to MacFontManager 2016-10-06 23:49:39 +02:00
Peter Kohaut
c934941e4f BLADERUNNER: fixed some of endianness issues 2016-10-06 22:32:27 +02:00