Commit Graph
137148 Commits
Author SHA1 Message Date
djsrv 045b5e08b2 DIRECTOR: Fix ABMP length 2020-08-12 12:12:57 -04:00
djsrv 28ca9065d4 DIRECTOR: Validate uncompressed chunk length 2020-08-12 10:38:45 -04:00
djsrv f8e8a3ff38 DIRECTOR: Fix CAS*, KEY* error handling
Need to check hasResource
2020-08-12 10:26:54 -04:00
djsrv 2a7eb0fda3 DIRECTOR: Fix loading APPL movies 2020-08-12 10:09:46 -04:00
Gunnar Birke 24f3573750 WINTERMUTE: Fix shadowed variable names 2020-08-12 12:59:07 +02:00
Eugene Sandulenko febe9ef39b JANITORIAL: Formatting fixes 2020-08-12 09:16:51 +02:00
Eugene Sandulenko 838bdf1ba5 GRAPHICS: MACGUI: Fix warnings 2020-08-12 09:07:21 +02:00
Nathanael Gentry f28808007b DIRECTOR: Eliminate intermediate surface 2020-08-12 02:35:26 -04:00
Nathanael Gentry a639ae4002 GRAPHICS: MACGUI: Add WM direct copy mode
This does not keep the current screen state cached in a surface, but re-creates
the screen from its various components each time something changes. This avoids
an intermediate blitting.

The mode is enabled just by not providing a surface to the WM, and instead
providing a width and height.
2020-08-12 02:34:45 -04:00
Nathanael Gentry 59dd1716b1 GRAPHICS: MACGUI: Put pause token on heap 2020-08-12 02:34:24 -04:00
Nathanael Gentry 07166de33f GRAPHICS: MACGUI: Add dirty rect handling to MacWindow
The Director engine, which relied on this functionality in its Window class, is
also updated.
2020-08-12 02:34:24 -04:00
Gunnar Birke 021d7b233f WINTERMUTE: Skip correct terminator when parsing animation keys 2020-08-12 06:18:42 +02:00
Gunnar Birke 98a066a68c WINTERMUTE: Handle lack of { when reading matrix keys 2020-08-12 06:18:42 +02:00
Gunnar Birke 6738f3264a WINTERMUTE: Explicitely skip face normals (for possible reading) 2020-08-12 06:18:42 +02:00
Gunnar Birke 6556352093 WINTERMUTE: Use skipObject function where appropiate 2020-08-12 06:18:42 +02:00
Gunnar Birke c43f301fb6 WINTERMUTE: Add function to skip object definition in .X file 2020-08-12 06:18:42 +02:00
djsrv decc738ff2 DIRECTOR: Read ABMP 2020-08-11 21:25:58 -04:00
djsrv 43fd94166d DIRECTOR: Implement readZlibData 2020-08-11 21:25:58 -04:00
djsrv 5fdc06e7e4 DIRECTOR: Implement readVarInt 2020-08-11 21:25:58 -04:00
djsrv 49e7a9d80f DIRECTOR: Refactor RIFXArchive::openStream
Separate it into helper functions
2020-08-11 21:25:33 -04:00
Eugene Sandulenko 301f0b4782 DIRECTOR: Added hacky way of startion Digital Video 2020-08-12 00:51:12 +02:00
Eugene Sandulenko 4823eeab7a DIRECTOR: Added STUB for non-8bpp videos instead of crashing 2020-08-11 23:58:25 +02:00
Eugene Sandulenko e008baab98 DIRECTOR: Add sanity checks to DigitalVideo rendering 2020-08-11 23:45:19 +02:00
Gunnar Birke d8029c0e26 WINTERMUTE: Store actual material indices in a list 2020-08-11 22:47:32 +02:00
Gunnar Birke 62d84ba210 WINTERMUTE: Return success during mesh operations to prevent abort 2020-08-11 22:47:32 +02:00
djsrv bec0ad6e97 DIRECTOR: Properly dispose of methods 2020-08-11 12:36:27 -04:00
Pawel Kolodziejski f49bd85483 WINTERMUTE: Fixed compiler warning, struct vs class 2020-08-11 14:50:33 +02:00
antoniou 56951518f5 ANDROID: Restore Immersive Fullscreen after keyboard hide
This in some older devices (eg. Android 7.2.2) had issues before this fix
2020-08-11 14:11:53 +03:00
Eugene Sandulenko 72ccb76940 DIRECTOR: Decode digital video frames (produces garbage) 2020-08-11 13:10:10 +02:00
Eugene Sandulenko 40a368deb0 DIRECTOR: Remove redundant method 2020-08-11 13:10:10 +02:00
Eugene Sandulenko 819a6130cb DIRECTOR: Create surface for DigitalVideo 2020-08-11 13:10:10 +02:00
Eugene Sandulenko 1c420e3fc3 JANITORIAL: Indentation fixes 2020-08-11 13:10:10 +02:00
sluicebox 43ae2cc2ce SCI: Set palette entry 0 on more SCI 1.1 operations
In SCI 1.1 most palette operations copy entry 0 to the system palette,
such as when drawing a view. This continues an earlier fix which
included entry 0 when drawing a pic and exposed that this needs to
happen in other places too: 3de471de36

Fixes bug #11544 where a KQ6 RAVE resource ended up with the wrong
color in room 380. System palette entry 0 ended up as [7,7,7] when
the RAVE was drawn instead of black, the expected color, causing the
RAVE palette to merge incorrectly. [7,7,7] comes from pic 380's
palette, after which entry 0 should be set to black when drawing
view 5 and copying its palette, which is what now happens.
2020-08-11 01:39:31 -07:00
antoniou 6352a0c212 ANDROID: Improve on Immersive full screen
Sample is taken from android developers, takes into account focus change

The system bars should now be hidden when resuming back to the ScummVM app
https://developer.android.com/training/system-ui/immersive.html#java
2020-08-11 11:21:53 +03:00
antoniou b92a474ea1 ANDROID: Enable Immersive Sticky mode
This hides the status and navigation (system UI) bars

The user has to swipe at the edge of the screen (top and right respectively) to show the system status and navigation bars
2020-08-11 10:36:26 +03:00
djsrv efc3f48360 DIRECTOR: Make window active when opened 2020-08-10 23:54:53 -04:00
Matthew Jimenez 2e38da497a ULTIMA8: Alter Ultima8::Rect constructors and some methods to match Common::Rect 2020-08-10 18:15:37 -05:00
Pawel Kolodziejski aea3bae26d ALL: Synced with ScummVM - rev 0b777c23a9 2020-08-11 00:59:40 +02:00
Gunnar Birke b557bb7f60 WINTERMUTE: Use/store actual viewport for 3d rendering/picking 2020-08-11 00:46:55 +02:00
Gunnar Birke bfa52b67d4 WINTERMUTE: Use window dimensions for 2d viewport 2020-08-11 00:46:55 +02:00
Gunnar Birke 74b2184a5d WINTERMUTE: Correctly convert Direct3D viewport parameters 2020-08-11 00:46:55 +02:00
Gunnar Birke 7dbb176b7f WINTERMUTE: Scale projection matrix entries by window/viewport ratio 2020-08-11 00:46:55 +02:00
Gunnar Birke 38504b74f3 WINTERMUTE: Factor out common code for .X file loading 2020-08-11 00:02:07 +02:00
Gunnar Birke 10a11f1231 WINTERMUTE: Implement merging of .X file data 2020-08-11 00:02:07 +02:00
Gunnar Birke 6f94877fcc WINTERMUTE: Implement update of static mesh 2020-08-11 00:02:07 +02:00
Gunnar Birke b836535ab0 WINTERMUTE: Default init pointer to null 2020-08-11 00:02:07 +02:00
Gunnar Birke e704069bcc WINTERMUTE: Implement loading of matrix animation keys 2020-08-11 00:02:07 +02:00
Gunnar Birke 98646d1c86 WINTERMUTE: Allow '-' inside identifiers in .X files 2020-08-11 00:02:07 +02:00
Gunnar Birke ef50319902 WINTERMUTE: Accept .3DS has file suffix for geometry data, too 2020-08-11 00:02:07 +02:00
Roland van Laar f734be9285 DIRECTOR: Document free resources list
The id of the first free resource is in the RIFX header.
Free resoures have a field that points to the next free resource.
The last free resource in the list is -1.

The nextFreeResourceId seems flag like to imap and mmap resources.
The field is 0 for other resources.
2020-08-10 22:39:53 +02:00