Commit Graph
86814 Commits
Author SHA1 Message Date
Eugene Sandulenko 35186ae5b0 SHERLOCK: Fix warnings 2016-05-28 17:20:50 +02:00
Eugene Sandulenko 31913eee17 COMMON: Fix warning about shadowing class members 2016-05-28 17:18:17 +02:00
Eugene Sandulenko 8fc736fb2d GRAPHICS: Fix warnings 2016-05-28 17:17:00 +02:00
Eugene Sandulenko 986f4bbbf6 SCI: Explicit type conversion. Avoids warnings on number of compilers. 2016-05-28 17:11:49 +02:00
Eugene Sandulenko 4bb793a72d SCI: Fix warning 2016-05-28 17:09:50 +02:00
Colin Snover c8019487f9 SCI32: Remove unused titled text bitmap code
Titled text bitmaps do not appear to be used by any game scripts.
They seem to only be used by the error manager in SSCI, but
ScummVM has its own error handling, so we don’t need this
implementation.
2016-05-28 09:14:33 -05:00
Eugene Sandulenko 506549ae45 PARALLACTION: Safer string manipulation 2016-05-28 15:26:31 +02:00
Eugene Sandulenko b16c5439b0 PARALLACTION: Cleanup object initialization 2016-05-28 15:26:31 +02:00
Eugene Sandulenko 829e62a9fe GROOVIE: Clean initialization for few classes 2016-05-28 15:26:31 +02:00
Paul Gilbert f1f50b3a9d ACCESS: Fix derived Screen copyBlock method signature 2016-05-27 21:54:41 -04:00
Colin Snover 371b50e75a SCI32: Add explicit checks for null pointers
CID 1351617, 1351618, 1351619, 1351620, 1351621, 1351622, 1354791.
2016-05-27 19:20:22 -05:00
Colin Snover 4840b889d7 SCI32: Initialise pointers in CelObj scaler
This ensures that if there is a bug in the drawing code that causes
the row to be unset, it will not result in silently reading garbage
out of random memory.

CID 1354802
2016-05-27 15:54:14 -05:00
Colin Snover 746c4e7b03 SCI32: Fix CelObj cache
The previous implementation did not work properly, assigning the
next insertion index to the oldest object instead of filling empty
cache slots on a cache miss.
2016-05-27 15:54:14 -05:00
Colin Snover 4ee5b0f910 SCI32: Use better name for fixed priority field
The old name matches the selector, but isn’t as clear.
2016-05-27 15:54:14 -05:00
Paul Gilbert 2b2dffc02c SHERLOCK: Remove redundant allocation in surface creation 2016-05-27 06:01:15 -04:00
Paul Gilbert f582548516 MADS: Remove redundant allocation in surface creation 2016-05-27 06:00:58 -04:00
Paul Gilbert e68de1d3b5 ACCESS: Remove redundant allocation in surface creation 2016-05-27 06:00:48 -04:00
Paul Gilbert bb0629dfc7 GRAPHICS: Remove virtual inheritance from Graphics::Screen 2016-05-26 23:09:07 -04:00
Paul Gilbert 559b9744bf TSAGE: Refactor GfxSurface and Screen to not use virtual inheritance 2016-05-26 23:01:34 -04:00
Paul Gilbert 4d933a15f6 VOYEUR: Reorder ViewPortResource fields to fix VS packing warnings 2016-05-26 22:17:42 -04:00
Paul Gilbert 4a88f39cc9 SHERLOCK: Refactor Surface and Screen to not use virtual inheritance 2016-05-26 21:48:40 -04:00
Paul Gilbert 78e52365bd MADS: Refactor MSurface and Screen to not use virtual inheritance 2016-05-26 21:37:52 -04:00
Paul Gilbert ac8adb07c8 ACCESS: Refactor ASurface and Screen to not use virtual inheritance 2016-05-26 21:21:03 -04:00
Colin Snover 741e26cfd2 SCI32: Remove unused Plane fields
These fields were written and never read in SSCI.
2016-05-26 19:06:35 -05:00
Eugene Sandulenko a2174d76c1 GRAPHICS: Added 9-patch bitmap renderer 2016-05-26 22:37:42 +02:00
Eugene Sandulenko 9bc6a73686 SCUMM HE: Moved global variables of Moonbase AI to the class 2016-05-26 22:11:32 +02:00
Eugene Sandulenko dcc388cbaa SCUMM HE: Moved remnants of Moonabse to HE100 2016-05-26 21:53:23 +02:00
Eugene Sandulenko 36526cb27b SCUMM HE: Moved Moonbase to ScummEngine_v100he 2016-05-26 21:30:02 +02:00
Eugene Sandulenko edb8e6865b SCUMM HE: Eliminated global _vm reference in Moonbase AI 2016-05-26 21:22:30 +02:00
Eugene Sandulenko 2b5ecc4f88 SCUMM HE: Wrapped Moonbase AI into a class 2016-05-26 21:06:43 +02:00
Eugene Sandulenko 056c5a7ae7 SCUMM HE: Fixed SCUMM wrapper for nuking array in U32.
This was leading to an out of bounds assert.
2016-05-26 12:16:04 +02:00
Strangerke d035e96014 GNAP: Use enums for sequence flags in GameSys 2016-05-26 07:55:10 +02:00
Colin Snover 719160d494 SCI32: Fix assertion failures in LSL6 hires caused by bad rects
LSL6 hires sends rectangles to kernel calls that have negative
dimensions. SSCI did not care about this and would simply accept
these invalid rects, so we do the same, at least for now.
2016-05-25 19:16:11 -05:00
Colin Snover c4e8ffc821 SCI32: Update header parameters with const, to match implementation 2016-05-25 19:16:11 -05:00
Colin Snover c231d22c28 SCI32: Fix LSL6 hires control panel script bug
The control panel initialisation script makes an invalid two-argument
call to get the width of the settings dial; this only happens to work
because the third argument on the stack was set to zero by an earlier
call.
2016-05-25 19:16:11 -05:00
Lothar Serra Mari 51fe8501c6 NEWS/DE: Mention QfG3 dialog fix 2016-05-25 20:39:36 +02:00
Lothar Serra Mari c3705c0930 NEWS: Mention QfG3 dialog fix 2016-05-25 20:39:36 +02:00
Colin Snover 79ddb9e605 SCI: Allow debugging output of all VM variables in one shot 2016-05-25 12:36:53 -05:00
Ori Avtalion 32e7eec73d GNAP: Fix typo in initialization code 2016-05-25 14:38:08 +03:00
Kirben b994a02077 SCUMM HE: Document more opcodes. 2016-05-25 19:51:16 +10:00
Strangerke 8b685a2b1e GNAP: Use an enum value in the declaration of setHotspot 2016-05-25 07:55:35 +02:00
Strangerke bffe2315c2 GNAP: Small changes in scene 02 hotspots 2016-05-25 07:48:40 +02:00
Strangerke 454bcdc51c GNAP: Strengthen sanity checks in drawBitmap 2016-05-25 07:17:20 +02:00
Strangerke 03f7ab132e GNAP: More initializations 2016-05-25 07:01:01 +02:00
Strangerke 0d77dbc1e1 GNAP: Initialize some more variables 2016-05-25 06:49:26 +02:00
Torbjörn Andersson 85e55d0c6e JANITORIAL: Remove unnecessary semicolons 2016-05-25 05:37:07 +02:00
Strangerke f37bfb4677 GNAP: Remove extra semi-column 2016-05-24 23:28:47 +02:00
Strangerke a68ef2fd1c GNAP: Initialize the members of CutScene 2016-05-24 23:17:08 +02:00
Strangerke 2a36415710 GNAP: Enlarge some arrays in the alien arcade game 2016-05-24 23:06:35 +02:00
Strangerke be6f7c0f83 GNAP: Remove duplicate code. Renaming and cleanup. 2016-05-24 22:26:15 +02:00