Commit Graph

66919 Commits

Author SHA1 Message Date
Filippos Karapetis
68b7839d99 ZVISION: Fix bug #6768 (unable to save in the prison area)
The save buffer preparation code had a bug, which triggered in the
jail area because its room is 'j'
2015-01-19 05:09:03 +02:00
RichieSams
3a31e1de96 ZVISION: Don't change location when coming back from ScummVM save dialog and do change location when coming back from restore dialog
Fixes bug # 6771

We don't need to change locations, since we use the ScummVM save dialog instead
of the original one (which is actually a location). Instead we just need to reset _nextLocation to
_currentLocation so the engine can stop trying to save. If we change locations, the
StateKey_LastWorld/Room/etc. end up being overwritten with the current room. So if a script
refers to location 0, 0, 0, 0 (aka, the last room), the engine will try to change location to the same room.

On restore, we have to force a location change, just in case we restore to the same room. (Since the logic
will only do a location change if _nextLocation != _currentLocation)
2015-01-18 20:22:02 -06:00
RichieSams
0fafb6a62c Revert "ZVISION: Don't change location when coming back from ScummVM save dialog"
This reverts commit b835eacc0c.
2015-01-18 20:11:10 -06:00
RichieSams
b835eacc0c ZVISION: Don't change location when coming back from ScummVM save dialog
Fixes bug # 6771

We don't need to change locations, since we use the ScummVM save dialog instead
of the original one (which is actually a location). Instead we just need to reset _nextLocation to
_currentLocation so the engine can stop trying to save. If we change locations, the
StateKey_LastWorld/Room/etc. end up being overwritten with the current room. So if a script
refers to location 0, 0, 0, 0 (aka, the last room), the engine will try to change location to the same room.
2015-01-18 19:26:49 -06:00
RichieSams
a26a9c7268 ZVISION: Fix formatting and add curlies 2015-01-18 17:06:37 -06:00
Matthew Hoops
762e2ca69b CONFIGURE: Use -mlongcall on Mac PPC builds
Calls larger than 32MB away should no longer cause linker errors, provided libraries are rebuilt with that too
2015-01-18 17:00:51 -05:00
Matthew Hoops
e10512c8b9 CONFIGURE: Use "powerpc" instead of "ppc" as config.guess outputs
powerpc-* targets get detected properly again now
2015-01-18 16:58:03 -05:00
clone2727
79c902338b TEST: Use "/usr/bin/env python" as the shebang line in cxxtestgen.py 2015-01-18 14:41:16 -05:00
clone2727
db64442c4a COMMON: Fix strict-alignment READ_BE_UINT64 on LE and READ_LE_UINT64 on BE 2015-01-18 14:41:15 -05:00
Sven Hesse
3f66f28624 ZVISION: Remove trailing whitespace 2015-01-18 20:35:51 +01:00
Filippos Karapetis
7c23eae102 ZVISION: Fix path handling in case-sensitive file systems (bug #6775)
A regression from commit d70503cc98. Thanks to wjp for bisecting.
2015-01-18 21:30:07 +02:00
Alyssa Milburn
cac7be425a ANDROID: Remove plugins/unpacker from makefile. 2015-01-18 12:04:15 +01:00
Thierry Crozat
1244597849 JANITORIAL: Update copyright year 2015-01-18 02:24:51 +00:00
Paul Gilbert
926404bd10 MADS: Renamings of Layer and a transition type 2015-01-17 20:51:52 -05:00
Paul Gilbert
9b8fa20c76 MADS: Fix horizontal flipping of scene background sprites 2015-01-17 17:29:08 -05:00
Paul Gilbert
4ee29ef3a8 MADS: Add loading of SpriteInfo frame numbers for scene background sprites 2015-01-17 16:46:57 -05:00
Filippos Karapetis
263c592490 ZVISION: Fix bug #6769 (the "Alchemical debacle" video in ZGI) 2015-01-17 23:38:50 +02:00
Paul Gilbert
ccd0c63a7b MADS: Implement background scrolling in anim views 2015-01-17 12:23:41 -05:00
Filippos Karapetis
8e07aae504 Merge pull request #565 from fedor4ever/master
ZVISION: made error messages detailed
2015-01-17 19:15:16 +02:00
Fedor
b3c204e2ba ZVISION: made error messages more detailed 2015-01-17 19:24:21 +03:00
Paul Gilbert
9c25e2eea0 MADS: Fix crash on exit after watching introduction twice 2015-01-17 10:57:51 -05:00
Filippos Karapetis
9f00880aa4 ZVISION: Properly handle sounds reusing the same sound slot (bug #6761)
This is based on Marisa-Chan's observations in commit 28e27ea1d9.
Tested with both ZNEM and ZGI
2015-01-16 14:08:15 +02:00
Filippos Karapetis
3fe7c645ed ZVISION: Fix detection of Windows fonts 2015-01-16 03:43:42 +02:00
Filippos Karapetis
11e429672e ZVISION: Add detection for the Spanish version of ZGI (bug #6764) 2015-01-16 01:52:24 +02:00
Filippos Karapetis
4287e2ebca ZVISION: Allow empty sound streams. Fixes bugs #6762 and #6763
A regression from commit 07ad10babe
2015-01-16 01:47:31 +02:00
RichieSams
89f233f488 ZVISION: Set the state value for the lever position during user dragging
Not just during the "returning" animation. Addresses part of bug #6761
2015-01-15 00:41:13 -06:00
RichieSams
4f28cec6ac ZVISION: Keep the hand cursor during lever movement
We have to explicitly set the cursor each call otherwise the cursor will
be reset to the idle cursor. Addresses part of bug #6761
2015-01-15 00:40:37 -06:00
RichieSams
28e27ea1d9 ZVISION: Allow multiple sound effects to play at the same time
This is the original behavior. This was noted in bug #6761. Specifically,
the knocker on the door plays a sound whenever it is a the top of the bottom
of the swing. By only allowing one sound effect to play at the same time, the
knocker would only play once, even though it bounces at the bottom.
2015-01-15 00:31:39 -06:00
Willem Jan Palenstijn
cc045f7a83 COMMON: Fix strict-alignment READ_UINT64 2015-01-14 23:20:33 +01:00
RichieSams
fb97e58886 ZVISION: Add support for German ZGI - CD version
Fixes #6760
2015-01-13 19:53:38 -06:00
Bastien Bouclet
4b1cec6247 ZVISION: Add detection for the French version of ZGI 2015-01-13 15:47:30 +01:00
Filippos Karapetis
1b829b95b4 ZVISION: Add support for Liberation Fonts
These look better than the GNU FreeType fonts, and are thus preferred
over them. Many thanks to eriktorbjorn for his work on the different
fonts available

Also, this commit cleans up the font style array, moving it back into
the CPP file
2015-01-13 03:08:35 +02:00
Torbjörn Andersson
b247515c58 ZVISION: Check eos() after reading from stream, not before
This fixes stray character in ZGI game over screen, when it reads
an empty line of text.
2015-01-12 06:47:12 +01:00
Filippos Karapetis
3f4c924c9e ZVISION: Check for all the required fonts before starting a game 2015-01-12 02:37:53 +02:00
Eugene Sandulenko
dc6c1a5cab Merge pull request #558 from klusark/patch-3
SDL: Warn if the selected joystick does not exist
2015-01-12 00:36:01 +01:00
Filippos Karapetis
b0defeed4d Merge pull request #564 from mcb30/gk1fix
SCI: fix definition of GK1 police-sleep patch
2015-01-11 23:30:11 +02:00
Michael Brown
d603fe32e4 SCI: fix definition of GK1 police-sleep patch 2015-01-11 21:14:36 +00:00
Eugene Sandulenko
d1292c8e59 Merge pull request #560 from klusark/unpack
ANDROID: Remove unpacker and fix support for non arm
2015-01-11 21:58:32 +01:00
Eugene Sandulenko
8e0d7d7255 Merge pull request #559 from fedor4ever/master
VIDEO: Add Theora support to systems which use libtremor
2015-01-11 21:12:01 +01:00
Filippos Karapetis
dd7da7c3c3 Merge pull request #561 from MestreLion/foa_help
SCUMM: Improve FOA keyboard help
2015-01-11 18:51:08 +02:00
Filippos Karapetis
e972eb32f4 README: Add game-specific information for Zork Nemesis and Zork Grand Inquisitor 2015-01-11 17:01:07 +02:00
Filippos Karapetis
3a0ea6ec2a NEWS: Mention support for Zork Nemesis and Zork Grand Inquisitor 2015-01-11 17:00:41 +02:00
Filippos Karapetis
bc959e54dc ZVISION: Build the engine by default 2015-01-11 17:00:00 +02:00
RichieSams
468a26be40 ZVISION: Add detection for Nemesis CD - German version
CSCR.ZFS is the same between the German and the French versions. Therefore
we added a detection entry using the language file NEMESIS.STR
2015-01-10 22:19:46 -06:00
Filippos Karapetis
5b3705660d ZVISION: Avoid using floating point math when upscaling subtitle timing
Spotted by clone2727
2015-01-11 04:51:07 +02:00
Filippos Karapetis
21e9007d80 Revert "ZVISION: Remove ActionRestoreGame and loading of r.svr (restart slot)"
This reverts commit 9f642074ba, as it
broke the credits screen in ZGI.

This has been rewritten to use the common save code
2015-01-10 22:03:15 +02:00
Filippos Karapetis
899cf4813c ZVISION: Change screen resolution for the hires DVD videos to 800x600
Also, this hooks up the MPEG-PS decoder, but only if libmpeg2 is
compiled in. The DVD videos are still disabled until AC3 audio support
is implemented.
The hires DVD videos are encoded a 720x480 resolution, with double the
frame rate of the lowres ones (29.97FPS up from 15FPS)
2015-01-10 21:32:15 +02:00
Filippos Karapetis
616b34e629 ZVISION: Change wording 2015-01-10 17:30:11 +02:00
Filippos Karapetis
2d0075817a ZVISION: Remove unused variable 2015-01-10 01:37:39 +02:00
Filippos Karapetis
c82480461c ZVISION: Make sure only existing files are dumped 2015-01-10 01:36:20 +02:00