Commit Graph
137148 Commits
Author SHA1 Message Date
Borja Lorente ec6bb1431e GRAPHICS: Fix leak in ninepatch destructor 2016-08-26 12:27:16 +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
Borja Lorente 5bba089724 GRAPHICS: Fix big leak when blitting macgui borders 2016-08-25 13:26:02 +02:00
Borja Lorente 9444a1864b GRAPHICS: Fix leak in macgui border loading 2016-08-25 13:26:02 +02: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
Paul Gilbert e733f8113f TITANIC: Implemented more game classes 2016-08-24 18:42:32 -04:00
Eugene Sandulenko faf52df065 DIRECTOR: Fix horizontal coordinate calculation in 1bpp uncompressed 2016-08-24 23:24:07 +02:00
Eugene Sandulenko 381e8fc51d WAGE: Fix think line drawing, as pointed by md5 2016-08-24 23:23:47 +02:00
Eugene Sandulenko 35243a235a DIRECTOR: Implemented uncompressed 1bpp pictures. Works sometimes 2016-08-24 22:40:35 +02:00
Colin Snover 71294a8a98 SCI32: Remove extra ! in error message 2016-08-24 15:23:30 -05:00
Colin Snover 64f4ad4ad5 SCI32: Fix incorrect boolean operator 2016-08-24 15:22:55 -05:00
Colin Snover 1b6ea78216 SCI32: Remove error check for negative celNo
Negative cel numbers are exploited by at least the hi-res mode of
PQ4CD.
2016-08-24 15:21:42 -05:00
Walter van Niftrik e228b088c6 ADL: Set hires #1, #2 and #0 to TESTING 2016-08-24 21:05:22 +02:00
Retro-Junk 1111b24eea FULLPIPE: Fix direction calculation in MctlGraph::getLinkDir 2016-08-24 20:43:22 +02:00
Alexander Tkachev 368f664c81 COMMON: Fix WriteStream::pos() once again
MemoryReadWriteStream now returns int32, not uint32. It actually doesn't
ever return -1 to indicate that an error occured, so uint32 was a better
choice, but that's what is used in WriteStream base class now.

That method is abstract, so that's also why OutSaveFile had to override
it.
2016-08-24 16:24:16 +06:00
Alexander Tkachev ea360ef8f2 TITANIC: Fix OutSaveFile usage 2016-08-24 16:07:55 +06:00