Alyssa Milburn
8e9aefbf6e
CONFIGURE: Use -Wno-long-long when we use -pedantic.
2013-07-16 11:00:34 +02:00
Eugene Sandulenko
0c52bfa43e
CONFIGURE: Added more 64bit integers to probing
2013-07-15 19:26:02 +03:00
Eugene Sandulenko
6dc3768faa
SWORD25: Fix compilation on some 32-bit systems
2013-07-15 19:19:45 +03:00
Eugene Sandulenko
b7e3d52abc
SWORD25: Replace Pluto with Tamed Pluto for increased compatibility
...
Still saves are incompatible but at least this now has enhanced
debugging capabilities.
2013-07-15 19:02:34 +03:00
Johannes Schickel
3e246b3e67
Merge pull request #323 from tobiatesan/test_for_common
...
Test for common
2013-07-15 05:26:13 -07:00
Johannes Schickel
6a1112f98f
GUI: Mark some intentional fall throughs in switches.
...
All of these are for handling kCloseCmd.
2013-07-15 13:44:24 +02:00
Johannes Schickel
ddcfdf5329
GUI: Allow the event recorder dialog to be closed.
...
This is a regression from 6e4217e1ba1df9fd2ee4cd0d61151ed7dfc53021.
setResult does not automatically close the dialog. However,
Dialog::handleCommand will close the dialog when kCloseCmd is received.
2013-07-15 13:40:59 +02:00
Eugene Sandulenko
9572bc6e30
RECORDER: Fix wrong argument order
2013-07-15 14:31:34 +03:00
Eugene Sandulenko
8cdca523ea
AGI: Mark fall-through. Detected by CID 1003771
2013-07-15 12:00:10 +03:00
Eugene Sandulenko
e809ebb904
AGI: Fix CID 1003768. Missing break in switch
2013-07-15 11:59:59 +03:00
Eugene Sandulenko
ce057f896f
AGI: Fix CID 1003769. Missing break in switch
2013-07-15 11:54:26 +03:00
Eugene Sandulenko
059fa15d14
DEVTOOLS: Fix CID 1022207. Missing break in switch
2013-07-15 11:51:57 +03:00
Eugene Sandulenko
e0e6b95384
INSANE: Fix CID 1003734. Missing break in switch
2013-07-15 11:48:05 +03:00
Eugene Sandulenko
b1c886334d
INSANE: Fix CID 1003733. Missing break in switch.
...
In fact the code was wrong there due to copy-paste error
2013-07-15 11:47:51 +03:00
Eugene Sandulenko
7ae3386090
SAGA: Fix CID 1002507. Unused pointer value.
2013-07-15 11:29:46 +03:00
Paul Gilbert
96e1d3b09a
TSAGE: Added R2R ability to combine items. Further bugfixes for landing bay
2013-07-14 15:38:22 -04:00
Sven Hesse
5e835ef915
RECORDER: Fix indenting
2013-07-14 19:04:09 +02:00
Sven Hesse
989ea7cb56
JANITORIAL: Remove trailing whitespace
2013-07-14 19:01:47 +02:00
Eugene Sandulenko
6e4217e1ba
RECORDER: Fix CID 1046887. Missing break in switch
2013-07-14 19:35:17 +03:00
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
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
Paul Gilbert
5ed7bec4c6
TSAGE: Extra comments for crane control scene
2013-07-12 21:07:08 -04: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 362b0cd5e4a71a0b2610ff8abb6aeecddc842cf0
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