Commit Graph

58020 Commits

Author SHA1 Message Date
Eugene Sandulenko
54d0eef6f2 RECORDER: Fix CID 1046882. Uninitalized variables 2013-07-14 19:30:35 +03:00
Eugene Sandulenko
9efff8f350 RECORDER: Rename class variables in accoudance with our code style 2013-07-14 19:27:13 +03:00
Eugene Sandulenko
6751a385a8 RECORDER: Fix CID 1046883. Uninitialized variables 2013-07-14 19:24:47 +03:00
Eugene Sandulenko
51046d0ce7 RECORDER: Fix CID 1046881. Unused value 2013-07-14 19:22:53 +03:00
Eugene Sandulenko
e3a11085a9 RECORDER: Fix CID 1046888. Wrong check. 2013-07-14 19:20:06 +03:00
Eugene Sandulenko
977038e847 RECORDER: Rename class variable in accoudance with our code style. 2013-07-14 19:16:01 +03:00
Eugene Sandulenko
c1397788f2 RECORDER: Fix CID 1046884. Uninitialized class variables. 2013-07-14 19:14:00 +03:00
Eugene Sandulenko
aaaf466c71 RECORDER: Fix CID 1046886. Uninit class variables. 2013-07-14 19:03:29 +03:00
Paul Gilbert
cddf499942 TSAGE: Fix for returning to landing bay from crane controls 2013-07-14 11:39:32 -04:00
D G Turner
485118ecd9 TUCKER: Add support for skipping unhandled/invalid instructions.
This ensures that if any unhandled/invalid instructions are present,
they are skipped, rather than locking up engine execution.

This is a secondary fix for bug #3614697 - "Spanish version
uncompletable at end of 2nd part" and any other future bugs of this
type.
2013-07-14 05:07:11 +01:00
D G Turner
1946dead77 TUCKER: Fix for bug #3614697 - "Spanish version uncompletable..."
This add support for the unhandled "mof" instruction present in the
Spanish version. This effectively skips it as a NOP/invalid, which
prevents it locking up the game at the end of the 2nd part.
2013-07-14 05:04:02 +01:00
Paul Gilbert
5f2465466e Merge pull request #2 from criezy/mortevielle
Mortevielle create_mortdat textual fixes
2013-07-13 18:50:23 -07:00
Paul Gilbert
e14278eb58 MORTEVIELLE: Changed savegames to use the game target to generate filenames 2013-07-13 19:10:03 -04:00
Thierry Crozat
c16d414e9b MORTEVIELLE: Fix typo in English text 2013-07-13 22:44:07 +01:00
Thierry Crozat
79886597e7 MORTEVIELLE: Convert non-ASCII characters to their octal value 2013-07-13 22:41:25 +01:00
Thierry Crozat
7ca31f66d8 MORTEVIELLE: Add missing eol character in devtool usage message 2013-07-13 22:40:49 +01:00
Paul Gilbert
a986df44e8 TSAGE: Fixes for R2R Crane Controls 2013-07-13 17:11:11 -04:00
Torbjörn Andersson
d0df423575 DEVTOOLS: Fix unimportant memory/resource leaks
CID 1022280, 1022281, 1022282
2013-07-13 23:08:32 +02:00
Torbjörn Andersson
a5864d992d DEVTOOLS: Fix unimportant memory/resource leaks
CID 1022283, 1022284, 1022285
2013-07-13 22:58:27 +02:00
Strangerke
364cfaf9d2 MORTEVIELLE: Fix some typos identified by wjp 2013-07-13 22:22:57 +02:00
Tobia Tesan
23d9d5b509 WINTERMUTE: Remove fixedPath snippet
fixedPath is apparently never used anywhere else in the class and this
loop can cause the next one to never get to run.
2013-07-13 12:40:01 +02:00
Paul Gilbert
8a098d75aa MORTEVIELLE: Fixed ifdef header guard naming 2013-07-12 21:28:22 -04:00
Paul Gilbert
5ed7bec4c6 TSAGE: Extra comments for crane control scene 2013-07-12 21:07:08 -04:00
Johannes Schickel
adf8cee449 GRAPHICS: Allow arbitrary input sizes for thumbnail scaling.
Instead of a fixed 1/2 or 1/4 scaling we do a two step scaling now:
1) Scale image to width < 160*2 && height < [100,120]*2 with 1/4 or 1/2
   nearest-neighbor.
2) Use a bilinear scaler to scale aspect preserving to 160x[100,120]

This fixes bug #3614568 "GRAPHICS: Odd thumbnail sizes crash".
2013-07-13 01:57:23 +02:00
Johannes Schickel
57cc59356c Merge pull request #355 from lordhoto/skip-thumbnail
GRAPHICS: Be more robust with broken/unsupported thumbnail headers.
2013-07-12 15:33:19 -07:00
Johannes Schickel
e9bb9ddcf5 GRAPHICS: Be more robust with broken/unsupported thumbnail headers.
This fixes future issues like bug #3614654:
"ALL: ScummVM 1.5.0 can't read newer saved games".

There are a few behavior changes introduced with this commit:

- checkThumbnailHeader will now also report the presence of
  unsupported/broken (but skippable) headers.

- skipThumbnail will also try to skip the data for broken/unsupported
  thumbnail data.

- loadThumbnail will skip over broken/unsupported thumbnail data but still
  return 0 in this case.
2013-07-12 22:54:53 +02:00
Willem Jan Palenstijn
52541fc257 TUCKER: Fix palette fades
This is a regression from 362b0cd5e4
and fixes bug #3614686.
2013-07-12 21:17:40 +02:00
Matthew Hoops
1f6894ab25 COMMON: Cleanup the MacResManager a bit 2013-07-11 23:45:19 -04:00
Paul Gilbert
8b71a631ea TSAGE: Further fixes for R2R landing bay 2013-07-11 09:05:50 -04:00
Paul Gilbert
dcbc2f2399 TSAGE: Fixes for R2R Bridge and Landing bay 2013-07-10 22:07:16 -04:00
D G Turner
1e646c5470 DC: Amend tests on serial disable/enable blocks.
These now restore the original release build logic to ensure that we
don't have issues with releases. Missing something here as _debug_build
doesn't seem to work as I expected...
2013-07-11 01:53:06 +01:00
Tobia Tesan
d2c85e19eb TEST: Whitespaces in test/common/ 2013-07-10 13:22:57 +02:00
Tobia Tesan
e9406fad24 TEST: removed fixed hashes in test/common/hash-str.h
The hash function does not necessarily have to conform to one specific algorithm as long as equals/differs is respected.
2013-07-10 13:22:01 +02:00
Tobia Tesan
6245a68632 TEST: Thorough testing for common/hash-str.h
We test the various equal_to and hash functions therein.
2013-07-10 13:21:24 +02:00
Tobia Tesan
2e4933dcd5 TEST: reorganize test/common/util.h
Split a few test cases in two.
The resulting file is now better organized.
2013-07-10 13:17:59 +02:00
Tobia Tesan
377789db77 TEST: tests for common/rendermode.h
tests for parseRenderMode, renderMode2GUIO and getRenderModeCode.
2013-07-10 13:17:52 +02:00
Tobia Tesan
4a18eab8a5 TEST: test cases for common/util.cpp 2013-07-10 13:17:47 +02:00
Tobia Tesan
4f7d92acb4 TEST: tests for common/huffman.h
A few tests for the Huffman decoder.

The encoding is the example from Wikipedia.
This could be improved by someone more knowledgeable by
generating one at runtime or using multiple encodings
which would each contain one edge case.
2013-07-10 13:17:41 +02:00
D G Turner
e6259afc23 DC: Only enable serial debug output when --enable-debug is passed.
After this change, release builds will still have serial debug disabled,
but debug builds will now not provide this unless --enable-debug is
passed explicitly. This could have been another option or environment
variable, but other embedded ports do similar things with _debug_build
and this looks like the cleanest way to deal with this.
2013-07-10 05:00:25 +01:00
Paul Gilbert
685c42b39a Merge branch 'master' of https://github.com/scummvm/scummvm 2013-07-09 21:37:55 -04:00
Paul Gilbert
41748acf85 TSAGE: Implemented missing visual speaker methods for R2R 2013-07-09 21:37:16 -04:00
Filippos Karapetis
37ebaa3763 NEVERHOOD: Fix incorrect sound heard when pressing the ladder button
When the ladder is down, pressing the ladder button shouldn't do
anything
2013-07-09 06:28:41 +03:00
Kirben
395ee92a85 SCUMM: Add another French Windows version of Pajama Sam 2. 2013-07-09 11:45:45 +10:00
Kirben
cd8c702544 BUILD: Disable data path in mingw builds, since it was using a hard coded path. All external data files are stored in the Windows executable file anyway. 2013-07-09 11:00:55 +10:00
Filippos Karapetis
fef7d59c54 SCI: Rewrite the song loop comments in commit 6fa668e to make more sense 2013-07-08 12:32:12 +03:00
Filippos Karapetis
6fa668e32a SCI: Add some comments a possible TODO regarding song looping 2013-07-08 12:19:15 +03:00
Paul Gilbert
9999a0e210 TSAGE: Fix for crash when saving in R2R scene 300 2013-07-07 21:43:26 -04:00
Paul Gilbert
08e3adcf28 TSAGE: Fix for visual speakers animation in R2R 2013-07-07 14:35:08 -04:00
Filippos Karapetis
0f30ba2f10 SCI: Fix bug #3614566 - "LSL6: ScummVM locks up at Electro-Shock room"
We now do the jumpToTick() for hold events after waiting for the delta
of the current event, like we do for the signal set events. This keeps
the fixes for the hold timings in QFG3, while not breaking LSL6.

Many thanks to wjp for pinpointing the actual cause of the issue.
2013-07-07 19:41:42 +03:00
Littleboy
a949a88220 CREATE_PROJECT: Add support for tests
- Added --tests command line switch
 - Parse test/module.mk to extract the list of test folders
 - Automatically run tests after a successful build
2013-07-07 12:10:31 -04:00