Commit Graph
137148 Commits
Author SHA1 Message Date
Nathanael Gentry 9a4aeffc25 DIRECTOR: Refactoring for implementing stretch of sprite 2020-07-09 15:53:59 -04:00
djsrv 591ab83914 DIRECTOR: Fix window initialization 2020-07-09 15:40:04 -04:00
djsrv 72eba878a1 DIRECTOR: Move _wm->draw() to DirectorEngine 2020-07-09 15:40:04 -04:00
sluicebox ec4bce9c2f SCI: Fix font parsing when bitmaps are unordered
GfxFontFromResource::getCharData() calculates the size of a character's
bitmap by assuming that it's followed by the next character's bitmap,
but the bitmap order isn't relied upon by Sierra's interpreter or the
major resource viewers. Several Polish games have fonts whose bitmaps
appear in arbitrary orders and also have extra bytes between them.

Fixed by calculating bitmap size by dimensions, which is what the
drawing code uses anyway.

Fixes Polish versions of KQ5, LSL1VGA, LSL5, and LSL6. Bug #10509
2020-07-09 12:09:39 -07:00
djsrv 1b6185ecdd DIRECTOR: LINGO: Implement forget window 2020-07-09 13:59:08 -04:00
Nathanael Gentry 422b7aeb91 DIRECTOR: Do not try to draw null shape 2020-07-09 13:52:17 -04:00
Nathanael Gentry e672c8a844 DIRECTOR: Remove some hardcoded colours 2020-07-09 13:38:25 -04:00
Nathanael Gentry 0bffd5d616 DIRECTOR: Reorganize control of DirectorPlotData
The Channel is also made into a class.
2020-07-09 13:31:32 -04:00
Nathanael Gentry 9652a17acf DIRECTOR: Make invert-on-click faster 2020-07-09 13:31:27 -04:00
djsrv 4d9863e246 DIRECTOR: Don't loop invalid movies 2020-07-09 12:38:02 -04:00
djsrv 324ecfa880 DIRECTOR: Play MIAWs 2020-07-09 12:20:39 -04:00
djsrv 04f457c46b DIRECTOR: Add _playState to Score 2020-07-09 12:20:39 -04:00
Nathanael Gentry 46b9bed44d DIRECTOR: Add extra conditions on shape inks 2020-07-09 09:40:14 -04:00
Nathanael Gentry ea48193089 DIRECTOR: Add manual ink fixup mode
This is necessary because texts and shapes, in particular, come already
colourized and we need to adjust the colourization to match the ink style before
we get to the blitting step. This seems faster than copying the surface or just
keeping the text as a mask and colourizing the chunks as we go.
2020-07-09 09:40:14 -04:00
Nathanael Gentry e3cf71185d DIRECTOR: Standardize channel colour access 2020-07-09 09:40:14 -04:00
Nathanael Gentry ed36fd4a37 DIRECTOR: Standardize cast colour access 2020-07-09 09:40:14 -04:00
Eugene Sandulenko fd1b779f17 DIRECTOR: Parse Win32 executable version info 2020-07-09 12:40:11 +02:00
djsrv 57bb4359ef DIRECTOR: LINGO: Implement the visible of window 2020-07-09 00:54:31 -04:00
djsrv 94d8c49a84 DIRECTOR: LINGO: Properly init/destroy windows 2020-07-09 00:37:23 -04:00
djsrv e18f8a6c84 DIRECTOR: LINGO: Mark Datum functions as const 2020-07-08 21:52:15 -04:00
djsrv 3aaeced035 GRAPHICS: MACGUI: Allow windows to be hidden 2020-07-08 17:10:55 -04:00
djsrv 6e727d58a1 DIRECTOR: LINGO: Add missing include 2020-07-08 15:21:13 -04:00
djsrv 27c02f3646 DIRECTOR: LINGO: c_open -> b_open
open needs to be compiled to c_call for the open window method to work.
2020-07-08 15:19:04 -04:00
djsrv 191ed3bc19 DIRECTOR: LINGO: Implement window list 2020-07-08 15:19:04 -04:00
djsrv a56f400e32 DIRECTOR: Add main stage 2020-07-08 15:19:04 -04:00
Nathanael Gentry 25dcbc3cf8 DIRECTOR: Move TransParams to stage 2020-07-08 13:44:02 -04:00
Nathanael Gentry 8a85754f25 DIRECTOR: Move Channel to its own file 2020-07-08 13:44:02 -04:00
Nathanael Gentry 3b4c416fbf DIRECTOR: Apply fore/back colours to basic inks
Note that the colourization of copy-family inks is very inefficient.
2020-07-08 12:50:32 -04:00
Nathanael Gentry 4b86de7d25 DIRECTOR: Check when we should apply fore/back colour 2020-07-08 12:49:22 -04:00
D G Turner 5f1126653a ULTIMA8: Fix Compiler Warning 2020-07-08 16:41:06 +01:00
D G Turner 43bfab4ba7 ULTIMA8: Fix Set But Unused Variable Compiler Warning 2020-07-08 16:05:40 +01:00
djsrv 38fb0e81af DIRECTOR: LINGO: Add missing return to mainContext 2020-07-08 10:50:40 -04:00
Scott Percival 976ba87e3e DIRECTOR: Only blit visible channels 2020-07-08 21:37:45 +08:00
Eugene Sandulenko 2a25231035 DIRECTOR: Use MacResMan's vers parser 2020-07-08 11:42:59 +02:00
Eugene Sandulenko bcd1d3c688 COMMON: Add 'vers' resource parser to MacResMan 2020-07-08 11:42:59 +02:00
Matthew Duggan 5b7d732407 ULTIMA8: Support a few more crusader intrinsics 2020-07-08 17:03:02 +09:00
Matthew Duggan 9704171836 ULTIMA8: Implement Crusader GuardProcess (WIP) 2020-07-08 17:03:02 +09:00
Matthew Duggan 3ecc3ae046 ULTIMA8: Add red crosshairs in Crusader 2020-07-08 17:03:02 +09:00
Matthew Duggan 630c63ae09 ULTIMA8: Add use item hotkeys for crusader 2020-07-08 17:03:02 +09:00
Matthew Duggan 2a1138407f ULTIMA8: Halve frame repeat on crusader to make it feel better 2020-07-08 17:03:02 +09:00
Matthew Duggan a34fb53da6 ULTIMA8: Disable some unneeded debug messages 2020-07-08 17:03:02 +09:00
Matthew Duggan 2751b79c35 ULTIMA8: Add functions to pause/resume palette cycle 2020-07-08 17:03:02 +09:00
Matthew Duggan 656c57f4ac ULTIMA8: Put in a small hack for crusader elevators 2020-07-08 17:03:02 +09:00
Paul Gilbert dc35d40397 GLK: COMPREHEND: Switch to using nw conf loading 2020-07-07 22:06:19 -07:00
Paul Gilbert c4ca9aff2b GLK: Fix signed vs unsigned warnings 2020-07-07 22:06:19 -07:00
Paul Gilbert 478647d23e GLK: Splitting up Conf loading from constructor
This is the basis for fixing a problem where sub-engines with
a differing color scheme were overriding configuration after
it had already loaded, meaning that even if users set new
colors or other properties in scummvm.ini, the sub-engine was
ignoring them
2020-07-07 22:06:18 -07:00
Nathanael Gentry b248f432e9 DIRECTOR: Finish implementing constraint of sprite 2020-07-07 23:21:16 -04:00
Eugene Sandulenko 2dc0208a38 DIRECTOR: Parse 'vers' chunk from Mac Projectors 2020-07-08 00:30:12 +02:00
djsrv 4e33136e38 DIRECTOR: LINGO: Fix segfault when loading factory 2020-07-07 18:05:20 -04:00
Andrei Prykhodko e9f2fee0ab PETKA: fix reading some bitmaps 2020-07-08 00:43:02 +03:00