Commit Graph
137148 Commits
Author SHA1 Message Date
Peter Kohaut d7080148c3 BLADERUNNER: Added credits for Blade Runner 2017-03-25 23:51:35 +01:00
Eugene Sandulenko 31d6dee5ed TITANIC: Fix warning and stray semicolon 2017-03-25 23:41:02 +01:00
Paul Gilbert 87d894f6f2 TITANIC: Added CBaseStarRef process method 2017-03-25 18:28:48 -04:00
Paul Gilbert c4ea4c362d TITANIC: Added CStarPoints2 draw 2017-03-25 16:29:41 -04:00
Paul Gilbert 7d99857e4c TITANIC: Added CStarPoints1 draw method 2017-03-25 14:55:27 -04:00
Bastien Bouclet c7e75552ef STARK: Implement the fast forward mode
Used to skip animations. Does not behave exactly as the original due to
frame timing being incorrect in ResidualVM.

Fixes #1324.
2017-03-25 18:31:12 +01:00
Paul Gilbert 6ecc83325d TITANIC: Finished DMatrix class 2017-03-24 21:19:38 -04:00
Eugene Sandulenko c9f9582994 DIRECTOR: Fix Spaceship Warlock Mac detection 2017-03-24 22:30:44 +01:00
Paul Gilbert c676c535ea TITANIC: Finished DVector class 2017-03-23 22:36:18 -04:00
Paul Gilbert e3a11ba1d8 TITANIC: Finished FMatrix class 2017-03-23 21:16:22 -04:00
Paul Gilbert 5f71b73a32 TITANIC: Finished FVector class 2017-03-23 21:13:16 -04:00
Paul Gilbert 9a7cd6b367 TITANIC: Finished CStarControlSub27 class 2017-03-23 21:09:30 -04:00
Paul Gilbert 6da793a8dd TITANIC: Finished CStarControlSub26 class 2017-03-23 19:49:05 -04:00
Filippos Karapetis b0b0971b3e FULLPIPE: Plug one more memory leak in the Movement class destructor 2017-03-24 00:56:12 +02:00
Filippos Karapetis a93c8c5d3e Unify all string function parameters to be const Common::String &
Thanks to wjp for the suggestion
2017-03-24 00:56:11 +02:00
Peter Kohaut 1c083fe000 BLADERUNNER: Reorganized script files 2017-03-23 16:20:10 +01:00
Eugene Sandulenko 4fe4cc8c0e TITANIC: Fix warning 2017-03-23 08:21:27 +01:00
Eugene Sandulenko db4979fb1c Merge pull request #925 from bluegr/fullpipe_common_str
Fullpipe Common::String + memory leak fixes
2017-03-23 07:17:00 +00:00
Paul Gilbert 530aa6c9a0 TITANIC: Finished CStarControlSub24 class 2017-03-22 20:52:33 -04:00
Peter Kohaut 710b48a6ff BLADERUNNER: Fixed function for changing actors goal 2017-03-23 00:57:35 +01:00
Peter Kohaut 52476b0778 BLADERUNNER: Added more functionality to movement track 2017-03-23 00:25:38 +01:00
Filippos Karapetis 3e515890e8 FULLPIPE: Plug a memory leak in _dynamicPhases
Free the pixel data of each entry in the _dynamicPhases array before
emptying it
2017-03-22 23:05:38 +02:00
Filippos Karapetis 8bc03c87c5 FULLPIPE: Fix corruption in flipped bitmaps
The TODO in the code in question should be reviewed, but the call to
freePixelData() unconditionally deleted the original bitmap, which is
not correct
2017-03-22 23:02:52 +02:00
Filippos Karapetis 95c776e1eb FULLPIPE: Refactor _pixels so that it's not part of the Bitmap class 2017-03-22 22:59:55 +02:00
Filippos Karapetis 808e465e7e FULLPIPE: _data is unused in the Statics and DynamicPhase classes 2017-03-22 22:58:22 +02:00
Strangerke c084e987d8 GNAP: Fix a warning in the PSP port 2017-03-22 21:44:21 +01:00
Strangerke 26199eba38 GNAP: Split font description array in two 2017-03-22 21:35:22 +01:00
Filippos Karapetis f669aca3f2 FULLPIPE: Fix mismatched free() when deleting _bitmap
_bitmap is initialized with new, so it needs to be freed with delete,
not free()
2017-03-22 22:20:18 +02:00
Filippos Karapetis af874d469e FULLPIPE: Code optimization
Checking for an empty string is what the original code does, according
to sev, so the check for a string of size 1 was wrong
2017-03-22 22:17:36 +02:00
Eugene Sandulenko d84535192a DIRECTOR: Fix data sizes when reading from archives 2017-03-22 19:34:09 +01:00
Eugene Sandulenko a0253001d8 DIRECTOR: Added sanity check for broken score files 2017-03-22 09:10:50 +01:00
Filippos Karapetis abe1c65d62 FULLPIPE: Change the sound code to use Common::String 2017-03-22 05:22:36 +02:00
Filippos Karapetis 2649e2b1fc FULLPIPE: Change genFileName() and loadFile() to use Common::String 2017-03-22 04:50:37 +02:00
Filippos Karapetis 83fef244fb FULLPIPE: Plug a memory leak in getDibInfo() 2017-03-22 04:33:28 +02:00
Filippos Karapetis 93982b2ca9 FULLPIPE: Change more object-related functions to use Common::String 2017-03-22 04:32:23 +02:00
Filippos Karapetis 56ec429537 FULLPIPE: Change some more _memfilename usage to Common::String 2017-03-22 04:29:46 +02:00
Filippos Karapetis f3e81b5f17 FULLPIPE: Use Common::String in all scene object names 2017-03-22 04:11:49 +02:00
Paul Gilbert 4591dd966a TITANIC: Finished CStarControlSub22 class 2017-03-21 22:11:32 -04:00
Paul Gilbert c0030abe5e TITANIC: Finished CStarControlSub21 class 2017-03-21 22:07:38 -04:00
Filippos Karapetis 728b23af2a FULLPIPE: Change transCyrillic() to accept a Common::String 2017-03-22 04:07:33 +02:00
Paul Gilbert 6d78d4ca33 TITANIC: Added CStarControlSub12 fn3 2017-03-21 21:53:51 -04:00
Filippos Karapetis 93e93b5640 FULLPIPE: Use Common::String with _memfilename and loadFile()
There are several calls to loadFile() with _memfilename, which is why
these two changes are interconnected
2017-03-22 03:10:32 +02:00
Filippos Karapetis a2b4d637db FULLPIPE: Change _staticsName to be a Common::String 2017-03-22 03:02:58 +02:00
Eugene Sandulenko 3bb70ee70c DIRECTOR: Lingo: Open '.MMM' files on Windows 2017-03-21 23:44:51 +01:00
Eugene Sandulenko 9ab68d71d8 DIRECTOR: Do not call event handler after movie is ended 2017-03-21 23:44:51 +01:00
Eugene Sandulenko 6fc8b6e6df DIRECTOR: Added sanity check to event processor 2017-03-21 23:44:51 +01:00
Eugene Sandulenko 71b4514281 DIRECTOR: Fix loading from built-in movie 2017-03-21 23:44:51 +01:00
Eugene Sandulenko 0e34584573 DIRECTOR: Fix loading D2 EXE 2017-03-21 23:44:51 +01:00
Eugene Sandulenko eb1393a859 DIRECTOR: Dump bulit-in director file for D3 2017-03-21 23:44:51 +01:00
Thierry Crozat a20d2172fa SDL: Respect OS setting for wheel scroll direction on SDL 2.0.4+
The setting was already respected on SDL < 2.0.4 (such as SDL1).
If the OS inverts the scrolling direction, this is reflected on the sign
of the y value of the SDL event. Since version 2.0.4 the SDL event
also had a flag to indicate if the direction is flipped and we were
using it to change back the y sign. That means the OS scrolling
direction setting was not respected. With this commit we now have
a consistent behaviour with all SDL versions (the OS scroll direction
setting is respected).

If our wheel events are used for something other than scrolling
however, we might want to get the actually wheel move direction
(i.e. use a Common::EVENT_WHEELDOWN when moving the wheel
down even if the OS scroll setting is to flip it). In such a case we
might want to revert this change and instead add an additional flag
to the event so that we know the scroll direction should be flipped
and use it in places where the event is used for scrolling.
2017-03-21 21:06:35 +00:00