Commit Graph

56195 Commits

Author SHA1 Message Date
Einar Johan Trøan Sømåen
411b7128ab WINTERMUTE: Rename base_save_thumb_helper.cpp to match class-hierarchy. 2013-04-17 21:21:16 +02:00
Einar Johan Trøan Sømåen
e1bce6377d WINTERMUTE: Detach BaseSaveThumbHelper from inheritance tree. 2013-04-17 21:21:16 +02:00
Willem Jan Palenstijn
ff33c5c367 DREAMWEB: Make location array sizes more consistent
While location 15 doesn't actually exist, this makes roomPics more
consistent with the roomsCanGo array.
2013-04-17 21:14:04 +02:00
digitall
06afc39590 CONFIGURE: Fix OpenGL test broken in previous commit. 2013-04-17 20:02:09 +01:00
digitall
002c6dec0e CONFIGURE: Add workaround for MinGW Win32 antivirus false positive on build.
This is triggered by the scummvm-conf.exe binary produced from the OpenGL test.

It is detected by a generic signature in AVG, Malware-bytes and several other
antivirus programs, so not easy to get this fixed.

This workaround avoids this by adding some redundant output code to the binary
which changes it enough to avoid the signature.
2013-04-17 19:51:23 +01:00
Einar Johan Trøan Sømåen
95164a8f24 WINTERMUTE: Avoid including BaseGame in BaseRegion. 2013-04-17 20:06:53 +02:00
Einar Johan Trøan Sømåen
769b1084ab WINTERMUTE: Privatize even more members in BaseGame. 2013-04-17 20:02:08 +02:00
Einar Johan Trøan Sømåen
fd7c38f6d8 WINTERMUTE: Privatize thumbnail sizes in BaseGame. 2013-04-17 19:57:39 +02:00
Einar Johan Trøan Sømåen
122279a10a WINTERMUTE: Privatize more members of BaseGame. 2013-04-17 19:51:57 +02:00
Einar Johan Trøan Sømåen
cbae39ab87 WINTERMUTE: Move settings from BaseGame to separate struct. 2013-04-17 19:42:05 +02:00
Einar Johan Trøan Sømåen
75443da53f WINTERMUTE: Use strlcpy instead of strcpy in AdScene::loadBuffer() 2013-04-17 17:15:31 +02:00
Einar Johan Trøan Sømåen
3ff6af3dde WINTERMUTE: Use strlcpy instead of strcpy in SXString::scCallMethod() 2013-04-17 17:11:44 +02:00
Einar Johan Trøan Sømåen
6ccfac7e33 WINTERMUTE: Avoid dereferncing null-pointer in TransparentSurface 2013-04-17 17:08:58 +02:00
Einar Johan Trøan Sømåen
c303428f48 WINTERMUTE: Avoid div-by-zero in SystemClassRegistry::loadInstances() 2013-04-17 17:02:09 +02:00
Einar Johan Trøan Sømåen
136931d7c7 WINTERMUTE: Avoid div-by-zero in SystemClassRegistry::loadTable 2013-04-17 17:00:44 +02:00
Einar Johan Trøan Sømåen
d7531327d1 WINTERMUTE: Check results while traversing file-system. 2013-04-17 16:54:27 +02:00
Einar Johan Trøan Sømåen
167c9f534b WINTERMUTE: Avoid passing BasePoint by value in Scene::getPath() 2013-04-17 16:47:27 +02:00
Einar Johan Trøan Sømåen
c93a9c4805 WINTERMUTE: Avoid passing BasePoint by-value 2013-04-17 16:45:14 +02:00
Einar Johan Trøan Sømåen
5be672a8f4 WINTERMUTE: Add sanity check to VideoTheoraPlayer 2013-04-17 16:40:38 +02:00
Einar Johan Trøan Sømåen
23b8b66fcb WINTERMUTE: Remove unused member _volumeOriginal 2013-04-17 16:32:49 +02:00
Einar Johan Trøan Sømåen
faf688a252 WINTERMUTE: Initialize _savedTimeStamp and _savedPlayTime 2013-04-17 16:20:20 +02:00
Einar Johan Trøan Sømåen
ad5ef64b86 WINTERMUTE: Replace strcat with strlcat in BaseGame::displayDebugInfo 2013-04-17 16:13:18 +02:00
Einar Johan Trøan Sømåen
3185e91576 WINTERMUTE: Use strlcat/strlcpy in BaseGame::setWindowTitle 2013-04-17 16:09:35 +02:00
Einar Johan Trøan Sømåen
a69512a0c2 WINTERMUTE: Avoid passing BasePoint by value. 2013-04-17 16:05:20 +02:00
Einar Johan Trøan Sømåen
8430c491f0 WINTERMUTE: Replace strcpy by strlcpy in BaseFileManager 2013-04-17 15:35:09 +02:00
Einar Johan Trøan Sømåen
4ab80160da WINTERMUTE: Add a sanity check for _game. 2013-04-17 15:25:10 +02:00
Einar Johan Trøan Sømåen
c64386fe88 WINTERMUTE: Initialize _gameDescription in default-constructor. 2013-04-17 15:17:56 +02:00
Alyssa Milburn
e5509488ed HOPKINS: fix ingame save thumbnails on BE 2013-04-17 12:30:38 +02:00
Alyssa Milburn
4b086b46b2 HOPKINS: fix palette writes on BE 2013-04-17 12:24:16 +02:00
Strangerke
6548104b96 HUGO: Fix Uninitialized scalar variables 2013-04-17 08:13:19 +02:00
Strangerke
ea5b0b3312 CGE: Fix uninitialized variables 2013-04-17 07:58:25 +02:00
Matthew Hoops
5c5b19a77b PEGASUS: Add Windows demo support 2013-04-16 21:53:51 -04:00
Matthew Hoops
918920b47a PEGASUS: Add DVD raise/lower sounds for the inventory/biochip panels
Thanks to Keith Kaisershot (blitter)
2013-04-16 21:53:43 -04:00
Matthew Hoops
c99f3213de PEGASUS: Let the DVD demo use the full Prehistoric AI video set 2013-04-16 21:53:39 -04:00
Matthew Hoops
8fb73dd2c3 PEGASUS: Clean up DVD demo Theora playback 2013-04-16 21:53:34 -04:00
Matthew Hoops
06cd644a9e PEGASUS: Add new Prehistoric sounds for the DVD demo 2013-04-16 21:53:29 -04:00
Matthew Hoops
bd6a8f37d5 PEGASUS: Add support for PICT cursors 2013-04-16 21:53:25 -04:00
Matthew Hoops
2ea09d1191 PEGASUS: Add detection for the new DVD Demo data file 2013-04-16 21:53:18 -04:00
Matthew Hoops
5727b097b2 PEGASUS: Add the new demo theora videos 2013-04-16 21:53:13 -04:00
Johannes Schickel
a41457e224 GUI: Always try to show as many entries as possible in ListWidget.
In case there were less items in the list than on a page, it was possible
that a "scrollTo" call scrolled items out of the view even though all could
be displayed. This caused odd behavior in the load dialog in T7G. There
the list contains 10 entries. In case the last one was loaded via the dialog,
the next time it was brought up again it showed the 9th entry at the top
of the view and effectively hiding all the others. It furthermore did not
show the scroll bar because all entries would have fit onto one page.

To prevent this odd behavior, a boundary check has been added to all places
where the scroll position is set. This has been taken from "scrollToCurrent"
which already tried to prevent this.

This fixes the second issue described in bug #3610960
"T7G - savegame glitches".
2013-04-16 23:25:04 +02:00
Willem Jan Palenstijn
f280789afe SCI: Don't suppress loop delta in SCI1 midi
This fixes bug #3293354.
2013-04-16 23:10:09 +02:00
Willem Jan Palenstijn
457f5da095 SCI: Don't suppress end-of-track delta in SCI0 midi
This fixes the main part of bug #3487090.
This seems to be a conversion error from SCI1's channel mixing to SCI0's
channel filtering code.
2013-04-16 23:04:33 +02:00
Willem Jan Palenstijn
b8df8203c5 COMMON: Don't use parserError for non-parser errors 2013-04-16 19:13:30 +02:00
Matthew Hoops
54d4707edc AUDIO: Fix invalid free call 2013-04-16 12:05:42 -04:00
Matthew Hoops
2d6b66ef41 GRAPHICS: Fix quantization table id check 2013-04-16 12:00:39 -04:00
Matthew Hoops
8a50d87445 SCI: Fix potential memory leak with Mac cursor's hotspot 2013-04-16 11:14:04 -04:00
Matthew Hoops
6c1b019056 SCI: Fix mac cursor memory leak 2013-04-16 11:09:30 -04:00
Matthew Hoops
a69b3231a9 PEGASUS: Remove unused variable 2013-04-16 11:01:02 -04:00
Matthew Hoops
43d264cb2f VIDEO: Fix uninitialized track pointers 2013-04-16 10:40:16 -04:00
Strangerke
7d0af11deb TSAGE: Fix some obvious errors detected by Coverity in R2R 2013-04-16 08:07:57 +02:00