Commit Graph
56205 Commits
Author SHA1 Message Date
Alyssa Milburn 1eefd6301b PARALLACTION: Don't use an invalid array index. 2013-04-17 23:20:31 +02:00
Alyssa Milburn c9ccba01df PARALLACTION: Add some sanity checks to SoundMan_br::execute. 2013-04-17 23:20:13 +02:00
Alyssa Milburn a514927381 PARALLACTION: Fix buffer size in unpackBackground. 2013-04-17 23:19:47 +02:00
Alyssa Milburn 98934898cf PARALLACTION: Use strlcpy instead of strncpy. 2013-04-17 23:17:22 +02:00
Einar Johan Trøan Sømåen 9dea64209d WINTERMUTE: Add more const to AdResponseBox 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen b71570b4c8 WINTERMUTE: Improve const-usage in VideoTheoraPlayer. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen 76d9256679 WINTERMUTE: Protect more members in BaseRenderer. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen 3597f7596d WINTERMUTE: Constify _width and _height in BaseRenderer. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen 5f5b415289 WINTERMUTE: Increase const-usage. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen 7f4b95b3f8 WINTERMUTE: Use only const BaseGame-ref in SaveThumbHelper. 2013-04-17 21:21:17 +02:00
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