Colin Snover
10f9cb7023
SCI32: Fix crash when destroying GfxTransitions32
2016-08-01 10:37:14 -05:00
Colin Snover
2071196f42
SCI32: Add bitmap segment and remove GC option from hunk segment
2016-08-01 10:37:14 -05:00
Colin Snover
4e31c9aaf4
SCI32: Don't crash on zero-dimension show rects
...
In the original engine this would have simply resulted in no draw,
but ScummVM is more strict about it. It is not 100% clear whether
these are normal and should be allowed or not, so for the moment
we'll emit a warning whenever a zero-dimension show rect is seen.
For now they only seem to be generated by plane transitions, and
these zero-dimension screen items cannot simply be omitted because
the 2.1early transitions code requires a fixed number of screen
items per step.
2016-08-01 10:37:14 -05:00
Colin Snover
0f535e79f5
SCI32: Add 6-argument signature of kAddPicAt
...
This is used by Torin in room 50900.
2016-08-01 10:37:14 -05:00
Colin Snover
156c68fe58
SCI32: Implement plane transitions (kSetShowStyle and kSetScroll)
...
This commit implements all of the known plane transitions from
SCI2 through SCI2.1mid games. Because kSetShowStyle is always
called indirectly via the Styler game script, it is difficult to
find all the places where transitions are used. As such,
transitions that appeared to never be used have been added as
stubs which will trigger a game crash with a message to report
what was being done, so any missed transition types can be
identified quickly and then implemented.
2016-08-01 10:37:14 -05:00
Colin Snover
4a637d65c3
SCI32: Enable optional explicit memory management of hunk entries
...
Bitmaps in ScrollWindow and Robot code are managed by the kernel
and not by game scripts, although they must be able to be
referenced through a reg_t. To prevent incorrect GC of bitmaps
that are in use but not referenced by any game script, explicit
memory management of hunk entries can be enabled.
2016-08-01 10:37:14 -05:00
Bastien Bouclet
3645ec0d0d
ENGINES: Remove the aesop submodule
2016-08-01 13:12:06 +02:00
Eugene Sandulenko
34cbdd8a1d
TITANIC: Fix warnings
2016-08-01 12:26:58 +03:00
Eugene Sandulenko
bb9c755bcc
SHERLOCK: Fix even more warnings
2016-08-01 12:07:42 +03:00
Eugene Sandulenko
6412e40b38
SHERLOCK: Fix another warning
2016-08-01 11:55:48 +03:00
Eugene Sandulenko
2b0297755d
SHERLOCK: Fix warning
2016-08-01 11:46:18 +03:00
Eugene Sandulenko
e5a34d1353
TITANIC: Fix compilation for openpandora
2016-08-01 08:39:34 +03:00
Paul Gilbert
75f5a988b2
TITANIC: Compilation fix for LiftbotScript
2016-07-31 21:31:52 -04:00
Paul Gilbert
0192f83c5e
TITANIC: Added LiftbotScript methods
2016-07-31 21:00:57 -04:00
Paul Gilbert
320985b0c5
TITANIC: Added DoorbotScript scriptChanged
2016-07-31 18:58:42 -04:00
Eugene Sandulenko
605d915d90
TITANIC: Fix warnings
2016-08-01 01:19:32 +03:00
Paul Gilbert
7ace328cb8
TITANIC: Fix various warnings
2016-07-31 18:08:57 -04:00
Eugene Sandulenko
a0f051a374
TITANIC: Remove duplicate from module.mk
2016-08-01 00:57:51 +03:00
Paul Gilbert
093acc60df
TITANIC: Remove unneeded CTestArray class that was breaking compilation
2016-07-31 17:51:22 -04:00
Paul Gilbert
1e806a885b
TITANIC: Syntax fixes pointed out by criezy
2016-07-31 17:43:27 -04:00
Eugene Sandulenko
9d3a2c1c7f
Merge pull request #786 from dreammaster/titanic
...
TITANIC: Starship Titanic engine
2016-08-01 00:27:28 +03:00
Paul Gilbert
19f8a0965b
TITANIC: Added DoorbotScript process
2016-07-31 17:16:23 -04:00
Paul Gilbert
16aeae7819
TITANIC: Added DeskbotScript scriptChanged
2016-07-31 15:07:48 -04:00
Paul Gilbert
267b8405fd
TITANIC: Added DeskbotScript process
2016-07-31 15:02:29 -04:00
Paul Gilbert
af286f2c97
DEVTOOLS: Add entries sentence sets for Deskbot in create_titanic
2016-07-31 15:02:09 -04:00
Paul Gilbert
07bf730443
TITANIC: Adding lots of const prefixes
2016-07-31 14:31:36 -04:00
Paul Gilbert
e2b00938c7
TITANIC: Added DeskbotScript preprocess
2016-07-31 13:06:51 -04:00
Borja Lorente
2b586e7c59
WAGE: Fallback to built-in borders
2016-07-31 14:47:22 +02:00
Borja Lorente
3b1ba50c88
GRAPHICS: First approximation to custom border offsets
2016-07-31 14:47:19 +02:00
Borja Lorente
fafd209d04
WAGE: Remove custom borders
2016-07-31 14:45:37 +02:00
Borja Lorente
638e8e99c8
WAGE: Change GUI Scene to load BMP borders
2016-07-31 14:45:37 +02:00
Borja Lorente
f642ad1cae
GRAPHICS: Refactor MacWindow to accept MacWindowBorder
2016-07-31 14:45:37 +02:00
Borja Lorente
1bfb1a561c
WAGE: Implement active/inactive borders
2016-07-31 14:45:36 +02:00
Borja Lorente
a2955b1025
GRAPHICS: Add active/inactive borders to MacWindowBorders
2016-07-31 14:45:36 +02:00
Borja Lorente
4ab02530ae
GRAPHICS: Add MacWindowBorder to abstract borders
2016-07-31 14:45:36 +02:00
Borja Lorente
26238ee6f9
GRAPHICS: Fix border loading
2016-07-31 14:44:48 +02:00
Borja Lorente
d49d573edc
WAGE: Fix border loading
2016-07-31 14:05:15 +02:00
Borja Lorente
b6722a1477
GRAPHICS: Fix segfault in macwindow
2016-07-31 14:05:15 +02:00
Borja Lorente
4a16f5fc39
WAGE: Begin adding borders to the windows
2016-07-31 14:05:15 +02:00
Borja Lorente
3d950ad125
WAGE: Remove superfluous comment
2016-07-31 14:05:15 +02:00
Borja Lorente
6c89eaa1b8
GRAPHICS: Include border loading code
2016-07-31 14:05:15 +02:00
Borja Lorente
98d0838df3
WAGE: Add basic border loading code
2016-07-31 14:05:15 +02:00
Borja Lorente
b8d36443f3
WAGE: Remove unnecessary border code
2016-07-31 14:05:15 +02:00
Borja Lorente
1f00d2a099
GRAPHICS: Introduce NinePatchBitmap to MacWindow
2016-07-31 14:05:15 +02:00
Borja Lorente
5bb5bb64f0
WAGE: Fix style issues
2016-07-31 14:05:14 +02:00
Borja Lorente
c071eb0e18
GRAPHICS: Fix style issues
2016-07-31 14:05:14 +02:00
Borja Lorente
b9ca6836bd
WAGE: Adapt to namespace change
2016-07-31 14:05:14 +02:00
Borja Lorente
80604fb3f5
GRAPHICS: Clean up namespaces
2016-07-31 14:05:14 +02:00
Borja Lorente
9ce6fbd0d7
GRAPHICS: Move MacMenu constants
2016-07-31 14:05:14 +02:00
Borja Lorente
1080f19995
GRAPHICS: Create wrapper namespace for MacWindowManager constants
2016-07-31 14:05:14 +02:00