75387 Commits

Author SHA1 Message Date
WinterGrascph
77cd7df08d DM: Add support for drawing portions of bitmaps
Create Frame structure and drawFrame(..) convenience method, also
DisplayMan unpacks all the bitmaps with unpackGraphics()
2016-08-26 23:02:22 +02:00
WinterGrascph
4a8b34e993 DM: Add the original palettes, edit palette loading accordingly 2016-08-26 23:02:22 +02:00
WinterGrascph
66c55db9f0 DM: Fix typos and whitespace 2016-08-26 23:02:22 +02:00
WinterGrascph
b7987d84c1 DM: Fix memory leak in dm.cpp and gfx.cpp 2016-08-26 23:02:22 +02:00
WinterGrascph
cdf377f7a7 DM: Add support for Dungeon.dat uncompression
Add DungeonMan class with support for loading and uncompressing
Dungeon.dat file into memory
2016-08-26 23:02:22 +02:00
WinterGrascph
055e789d04 DM: Create DisplayMan, add support parsing IMG0 files
Add display manager named DisplayMan with functions: setUpScreens(),
loadGraphics() (which loads graphics from the graphics.dat file),
setPalette(..), loadIntoBitmap(..) which loads the requested image into a
bitmap and blitToScreen(..)
2016-08-26 23:02:22 +02:00
WinterGrascph
5ae7d3a84b DM: Add detection for Amiga v2.0 English 2016-08-26 23:02:22 +02:00
WinterGrascph
96cc074ea0 DM: Create engine and detection with dummy data 2016-08-26 23:02:22 +02:00
Willem Jan Palenstijn
e880fd74ed SCI32: Fix warning 2016-08-26 18:57:43 +02:00
Eugene Sandulenko
12c07ee18f DIRECTOR: Lingo: Remove irrelevant header 2016-08-26 18:39:47 +02:00
Eugene Sandulenko
b7570373dd DIRECTOR: Reworked event loop, so the mouse is more responsive 2016-08-26 18:39:47 +02:00
Eugene Sandulenko
8a372eaf71 DIRECTOR: Execute proper script on frames. This fixes the playback 2016-08-26 18:39:47 +02:00
Paul Gilbert
41ee7dd371 TITANIC: Implemented more game classes 2016-08-26 07:47:31 -04:00
Eugene Sandulenko
e40caf40a1 DIRECTOR: Fix object initialization 2016-08-26 12:33:48 +02:00
Eugene Sandulenko
c8989b8dd3 DIRECTOR: Slow down execution and hid noisy warning 2016-08-26 11:51:55 +02:00
Filippos Karapetis
ad693ee768 SCI: Add a sanity check in wrapFilename(), as in unwrapFilename() 2016-08-26 11:26:09 +03:00
Filippos Karapetis
25b8f196cb Merge pull request #815 from wjp/sci-fileiorename
SCI: Make kFileIORename use wrapped filenames
2016-08-26 11:20:11 +03:00
Paul Gilbert
fde400c332 TITANIC: Implemented nav helmet classes 2016-08-25 22:55:34 -04:00
Paul Gilbert
9a71c9166b TITANIC: Implemented more game classes and music widget classes 2016-08-25 22:13:04 -04:00
Paul Gilbert
1f0b9cb68d TITANIC: Implemented more game classes 2016-08-25 20:46:33 -04:00
Paul Gilbert
db179c11bb TITANIC: Implemented CStringParser class 2016-08-25 20:46:01 -04:00
Paul Gilbert
63ffcf0a0d TITANIC: Add loading of bedhead data 2016-08-25 18:36:14 -04:00
Paul Gilbert
9de6753865 DEVTOOLS: Add bedhead data to create_titanic 2016-08-25 18:35:50 -04:00
Eugene Sandulenko
f27c001527 FULLPIPE: Another fix to gotoLastFrame() 2016-08-25 23:02:12 +02:00
Eugene Sandulenko
797676678d FULLPIPE: Fix gotoLastFrame() implementation 2016-08-25 22:45:55 +02:00
Retro-Junk
967ef350d2 FULLPIPE: Fix array allocation in StepArray::insertPoints 2016-08-25 22:17:30 +02:00
Willem Jan Palenstijn
5734400a37 SCI: Make kFileIORename use wrapped filenames
This fixes deleting savegames in Phantasmagoria 1.
2016-08-25 22:05:24 +02:00
Filippos Karapetis
ed461fba65 SCI32: Add a workaround when starting a new game in Phantasmagoria
This workaround is needed when starting a new game from a chapter after
the first one
2016-08-25 21:56:23 +03:00
Filippos Karapetis
429759b481 SCI32: Also handle chase.dat in Phantasmagoria like phantsg.dir
This file is used during the chase sequence, and needs the same
read/write logic as phantsg.dir
2016-08-25 21:56:22 +03:00
Eugene Sandulenko
ff628a6b62 DIRECTOR: Do not try to compile all text resources except first one 2016-08-25 18:16:15 +02:00
Eugene Sandulenko
1a5ad0de5a DIRECTOR: Fix warning 2016-08-25 18:16:15 +02:00
Eugene Sandulenko
6e8e0845a1 DIRECTOR: Fix font parameter reading 2016-08-25 18:16:15 +02:00
Eugene Sandulenko
7e0899f5d4 DIRECTOR: Start executing frame scripts 2016-08-25 18:16:15 +02:00
Filippos Karapetis
b3e24c2518 SCI32: Remove the warning about already opened robot files
This happens all the time in Phantasmagoria, with no ill side-effects
2016-08-25 17:02:22 +03:00
Filippos Karapetis
25515c690e SCI32: Fix the signature of kDoAudioCritical, and add documentation
This is used in Phantasmagoria, chapter 3, nursery (room 14200),
during the "ghost lullaby" event. It is used to make the lullaby
sound exclusive, but it really doesn't make any major difference.

Also, the documentation has been adjusted to contain this
information. Finally, the documentation has been adjusted to use
80 columns
2016-08-25 17:02:21 +03:00
Eugene Sandulenko
8605b6da85 GRAPHICS: Correcting think line thickness 2016-08-25 12:25:58 +02:00
Eugene Sandulenko
2b3af190db GRAPHICS: Fix potential rounding errors in the h/v thick line drawing 2016-08-25 12:18:11 +02:00
Filippos Karapetis
102fe0be9f GRAPHICS: Fix discrepancy in the thick line drawing function
The shortcuts for horizontal and vertical lines should draw the extra
thickness pixels around the line, not below it or to the right
2016-08-25 11:57:08 +03:00
Eugene Sandulenko
a5b97a989c DIRECTOR: Fix numerous crashes on destruction 2016-08-25 10:22:20 +02:00
Eugene Sandulenko
03cf470082 FULLPIPE: Fix if() condition 2016-08-25 09:14:47 +02:00
Eugene Sandulenko
5a6428aac2 FULLPIPE: Restore original tangled logic in stopAnim_maybe
The compiler was super-optimizing there, and my initial untangling
was incorrect. Restoring it with nasty goto's and will fix it later
once we have enough test cases.
2016-08-25 09:10:32 +02:00
Eugene Sandulenko
8a3ee2261d DIRECTOR: Remove now redundant image width correction table 2016-08-25 08:19:05 +02:00
Paul Gilbert
58df8d72f0 TITANIC: Implemented CBedhead class 2016-08-24 23:40:02 -04:00
Paul Gilbert
25e977f81d TITANIC: Compilation fix for CMissiveOMat 2016-08-24 21:33:42 -04:00
Paul Gilbert
e81e3aefde TITANIC: Implemented CMissiveOMat class 2016-08-24 21:20:03 -04:00
Paul Gilbert
456ed17671 DEVTOOLS: Add MissiveOMat message data to create_titanic 2016-08-24 21:19:37 -04:00
Willem Jan Palenstijn
866f0a6257 DIRECTOR: Clean up padding in image decoding 2016-08-25 02:59:52 +02:00
Willem Jan Palenstijn
6890948f74 DIRECTOR: Improve decoding compressed images 2016-08-25 02:46:08 +02:00
Willem Jan Palenstijn
224704ec88 DIRECTOR: Try to simplify uncompressed detection heuristic 2016-08-25 01:32:12 +02:00
Eugene Sandulenko
3f1f3c5c1e DIRECTOR: More heuristics for 1bpp image decoding. Courtesy of wjp. 2016-08-25 01:16:03 +02:00