Nathanael Gentry
5ab3544c5c
DIRECTOR: Improve sprite/cast type integration
...
Now, rather than having a _castType in the sprite, I fixed the issue that might
have made this necessary in the first place -- overloading _castId with the
shape pattern whenever the sprite is a QuickDraw shape. There is now a separate
test function for QuickDraw shapes.
2020-07-06 11:37:35 -04:00
Nathanael Gentry
ca5be75426
DIRECTOR: Optionally force apply a matte mask
2020-07-06 11:37:01 -04:00
Nathanael Gentry
091458b2b5
DIRECTOR: Split out two different sprite focus methods
2020-07-06 11:37:01 -04:00
Nathanael Gentry
f89ec907c5
DIRECTOR: Read more fields from bitmap cast
2020-07-06 11:37:01 -04:00
Nathanael Gentry
80cc7ba64f
DIRECTOR: Split out stage blitting functions
...
Now there is inkBlitShape, for QuickDraw shapes which do not have surfaces of
their own, and inkBlitSurface, for sprites that do have their own surfaces.
2020-07-06 11:37:01 -04:00
Eugene Sandulenko
f568483bbb
DIRECTOR: Fix crash when cleaning up Lingo
2020-07-06 13:43:32 +02:00
Eugene Sandulenko
585faec1ca
DIRECTOR: Rename 'bytecode' to 'nobytecode'. Run bytecode by default for D4+
2020-07-06 13:19:20 +02:00
Eugene Sandulenko
db8298298a
DIRECTOR: Fix potential NULL dereference
2020-07-06 12:40:59 +02:00
Eugene Sandulenko
28836aad2d
DIRECTOR: Init TransParams
2020-07-06 12:38:14 +02:00
Eugene Sandulenko
d90e2f06ec
DIRECTOR: Init Stxt for D4 variant
2020-07-06 12:08:03 +02:00
Eugene Sandulenko
dea1b4a2ab
DIRECTOR: Plug memory leak
2020-07-06 12:06:21 +02:00
Eugene Sandulenko
548345161c
DIRECTOR: Plug memory leak
2020-07-06 12:04:41 +02:00
Eugene Sandulenko
7264109786
DIRECTOR: Set Movie stageColor.
...
However, I do not see it set anywhere else. It could be a bigger problem
2020-07-06 12:01:48 +02:00
Eugene Sandulenko
3b6d290a12
DIRECTOR: LINGO: Copy all fields in the copy constructor
2020-07-06 11:58:53 +02:00
Eugene Sandulenko
5ed12e2fe8
DIRECTOR: Initialize Director class members
2020-07-06 11:56:37 +02:00
Matthew Duggan
5f34a083fa
ULTIMA8: Fix null check that was backwards
2020-07-06 16:27:20 +09:00
Matthew Duggan
51ee9991bd
ULTIMA8: Display crusader item data from ini file
2020-07-06 16:27:16 +09:00
Matthew Duggan
e2d33860fa
ULTIMA8: Show item pickups in Crusader
2020-07-06 16:23:27 +09:00
Einar Johan Trøan Sømåen
626c55780b
Merge pull request #1655 from GunnarBirke/savegames
...
GSOC WME3D: Savegames
2020-07-05 22:53:11 +02:00
Eugene Sandulenko
952c4c98ee
GRAPHICS: MACGUI: Try to generate different font slant first
2020-07-05 22:45:46 +02:00
Eugene Sandulenko
25c1e4a590
MACGUI: Restrict TTF font generation to regular fonts only
2020-07-05 22:45:07 +02:00
Eugene Sandulenko
561052c476
GRAPHICS: MACGUI: Fix bug when we stopped loading font family after TTF font
2020-07-05 22:42:49 +02:00
Cameron Cawley
4a3d5fea85
WINTERMUTE: Fix warning when building without FoxTail support
2020-07-05 11:34:01 +01:00
Paul Gilbert
d58cf612d7
GLK: COMPREHEND: Implement CC endgame
2020-07-04 22:21:11 -07:00
Paul Gilbert
f16d48c93d
GLK: COMPREHEND: Implement CC throneroom cutscene
2020-07-04 20:15:22 -07:00
Paul Gilbert
c492a5e602
GLK: COMPREHEND: Correctly map noun references
2020-07-04 19:45:17 -07:00
Paul Gilbert
4f8fb4a92e
GLK: COMPREHEND: Rename object for better clarity
2020-07-04 16:57:12 -07:00
Paul Gilbert
56f1386e06
GLK: COMPREHEND: Fix loading of extra string files
2020-07-04 15:36:52 -07:00
Paul Gilbert
a3526a9e2b
GLK: COMPREHEND: Fix testing object validity
2020-07-04 11:10:09 -07:00
George Kormendi
df37f7adc7
I18N: Update translation (Hungarian)
...
Currently translated at 99.4% (1374 of 1381 strings)
2020-07-04 11:43:15 +00:00
Paul Gilbert
2cca542d74
GLK: COMPREHEND: Fix restarting CC from disk 2
2020-07-03 21:17:45 -07:00
Paul Gilbert
092ce97d83
GLK: COMPREHEND: Fix loading item graphics for CC disk 2
2020-07-03 19:32:51 -07:00
Matthew Duggan
1eb6b86b0b
ULTIMA8: Correct my typo that made U8 run too fast.
2020-07-04 11:20:22 +09:00
Paul Gilbert
a262a387c7
GLK: COMPREHEND: Parse/use action tables like original games
2020-07-03 15:47:11 -07:00
Antoniou Athanasios
542ad4230d
I18N: Update translation (Greek)
...
Currently translated at 100.0% (1381 of 1381 strings)
2020-07-03 22:43:17 +00:00
Nathanael Gentry
fc4478930b
DIRECTOR: Only decompose colours for inks that need them
2020-07-03 17:04:03 -04:00
Nathanael Gentry
18f5c9c0e3
DIRECTOR: Merge dirty rect utility function
2020-07-03 17:04:03 -04:00
Nathanael Gentry
30fb1b6c2c
DIRECTOR: Remove old header entries
2020-07-03 17:04:03 -04:00
Roland van Laar
a86e326967
DIRECTOR: handle unk1 -> offset change in debugtext
2020-07-03 22:34:31 +02:00
Roland van Laar
1216106d8c
DIRECTOR: Rename unk1 to offset
...
unk1 is observed to be always 12, the offset at which
the stxt text is read.
2020-07-03 22:29:58 +02:00
Roland van Laar
1b3995bd3f
DIRECTOR: stxt handle stream of size 0
...
An stxt can have a stream size of 0, we skip handling those.
2020-07-03 22:29:58 +02:00
Eugene Sandulenko
b0b1a07413
DIRECTOR: Fix warning
2020-07-03 22:07:32 +02:00
djsrv
07bc3e58e8
DIRECTOR: Remove vm arg from constructors
...
Pass the object's direct parent instead, and get things like the stage
from that instead of from the _vm when possible.
2020-07-03 15:55:14 -04:00
djsrv
2c41b3f291
DIRECTOR: Give Stage ownership of movies
2020-07-03 15:55:14 -04:00
Nathanael Gentry
a8b779ee0e
DIRECTOR: Lazily load ink masks
...
This is for mask and matte inks. Now, rather than a bitmap sprite requiring a
flood fill every time (for mask ink) the matte is created and cached when matte
ink is first requested on that cast. Mask ink does not require a new surface to
be created, but it uses the same new channel interface.
2020-07-03 13:19:06 -04:00
Gunnar Birke
70e1448101
WINTERMUTE: Set scene geometry to null when loading 2d game save
2020-07-03 19:07:19 +02:00
djsrv
509871448d
DIRECTOR: Add desktop debug flag
2020-07-03 11:03:21 -04:00
Nathanael Gentry
03856ec067
DIRECTOR: Mark channel dirty on changed ink type
2020-07-03 10:51:46 -04:00
Nathanael Gentry
9f24eabcf8
DIRECTOR: Move to bitwise rendering of reverse sprites
...
Some functionality may be lost here, as the old drawReverseSprite seems to have
dealt with more edge cases, but these can be reimplemented as they are needed.
With my bitwise method, reverse ink issues in Warlock and our colour testing
movie are fixed.
2020-07-03 10:40:24 -04:00
Nathanael Gentry
533bab342b
DIRECTOR: Fix dissolve transition calculation
...
Without this, rnd is never 0 and so the transition is never drawn around
point (0, 0).
2020-07-03 09:41:01 -04:00