Commit Graph
83 Commits
Author SHA1 Message Date
Le Philousophe 54ec6bdea0 MOHWAK: Adapt to subtitles changes and optimize
Subtitles are now tied to VideoEntry instead of the VideoManager this
allows to load different videos while having a subtitle for each.
Screen update is done only when necessary and overlay is cleared at
specific points.
2022-11-20 17:18:38 +01:00
Le Philousophe 8d09103a2e MOHAWK: Show overlay as in-game 2022-11-12 19:12:05 +01:00
BLooperZ b17b1d3250 MOHAWK: hide overlay when movie is skipped 2022-10-04 20:37:09 +03:00
BLooperZ c809c7be13 MOHAWK: MYST: Add support for video subtitles 2022-09-28 17:10:21 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Bastien Bouclet 1d731aeef9 MOHAWK: Simplify retrieving game features 2020-03-28 07:38:39 +01:00
Bastien Bouclet 84b2dc5cc8 MOHAWK: Fix some clang-tidy warnings 2018-03-31 13:36:09 +02:00
Bastien Bouclet 07aaed5659 MOHAWK: Myst: Set the mixer sound type to SFX for videos
Also simplify video filename construction.
2017-07-30 17:42:01 +02:00
Willem Jan Palenstijn 7fcfb4214e MOHAWK: Remove unnecessary include that was breaking some builds
This was breaking builds with the Myst sub-engine disabled.
2017-07-23 15:14:08 +02:00
Bastien Bouclet 49fa0bdd68 MOHAWK: Myst: Change blocking movies and waits to use the main loop 2017-07-22 20:38:56 +02:00
Bastien Bouclet a106dc8dd4 MOHAWK: Remove unused parameters VideoManager 2017-07-22 20:38:56 +02:00
Bastien Bouclet c5496e3206 MOHAWK: Get rid of VideoHandle 2017-07-22 20:38:56 +02:00
Bastien Bouclet 0b9bfb3d3c MOHAWK: Myst: Remove delayUntilMovieEnds
This will break movies called by scripts until event handling is
decorrelated from script calls.
2017-07-22 20:38:56 +02:00
Bastien Bouclet f977b57123 MOHAWK: Rewrite the Riven movie manager 2017-07-03 08:50:10 +02:00
Bastien Bouclet 1a5b2a1e50 MOHAWK: Move MLST loading to RivenCard 2017-07-03 08:50:10 +02:00
Bastien Bouclet 3f1f407c14 MOHAWK: Remove VideoHandle usage 2017-07-03 08:50:10 +02:00
Bastien Bouclet 0bc1f8a4e8 MOHAWK: Also enable dithering for the making of Myst 2016-03-05 20:49:12 +01:00
Bastien Bouclet 0623a0aa41 MOHAWK: Drawing a single movie frame no longer updates all the movies
Also fixes drawing the last frame of a movie
2016-03-05 14:43:10 +01:00
Bastien Bouclet 84841fa635 MOHAWK: Clip the videos to make sure they don't go outside of the screen 2016-02-20 14:00:59 +01:00
Bastien Bouclet f47d7c7328 MOHAWK: Don't close videos when displaying just a frame 2016-02-13 13:52:37 +01:00
Bastien Bouclet fd1f82e227 MOHAWK: Make the conversion from VideoEntryPtr to VideoHandle explicit
So that it is a bit less confusing
2016-02-13 13:52:37 +01:00
Matthew Hoops 9665efa39a MOHAWK: Move further VideoManager functionality to VideoEntry 2015-07-17 20:05:04 -04:00
Matthew Hoops 7e6c8be7db MOHAWK: Make video handles actual objects 2015-07-17 20:05:00 -04:00
Matthew Hoops d521ece7cb MOHAWK: Set dithering on any original Myst video
Fixes display of the library "swirl" video
2015-04-12 20:18:31 -04:00
Matthew Hoops a5992a08a0 MOHAWK: Run Myst in 8bpp 2015-04-11 14:37:17 -04:00
Matthew Hoops 955b8194db MOHAWK: Fix Riven movie volume clipping 2014-03-03 21:06:25 -05:00
Johannes Schickel abd9e92086 MOHAWK: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Johannes Schickel 575cfca013 MOHAWK: Take advantage of Surface::getPixels. 2013-08-03 04:02:51 +02:00
Johannes Schickel 6eb9c8da9e MOHAWK: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:32 +02:00
Bastien Bouclet bbc760c51c MOHAWK: Implement Mechanical fortress rotation
Both the simulation and the actual rotation.
2012-12-16 06:51:01 +01:00
Bastien Bouclet fdad5ec7b4 MOHAWK: Allow changing video rates
getVideoDuration now returns an Timestamp
2012-12-16 06:51:00 +01:00
Willem Jan Palenstijn 23de059262 VIDEO: Make getCurFrame declaration consistent
The declaration used int32 while the definition used int.
This should fix building on AmigaOS4 (bug #3570577).
2012-09-21 22:35:15 +02:00
Matthew Hoops 7569ec7dc0 VIDEO: Rename setStopTime() to setEndTime()
To better differentiate with stop()
2012-08-16 13:34:28 -04:00
Matthew Hoops fb35c7f46f VIDEO: Remove setSystemPalette() 2012-08-16 13:30:32 -04:00
Matthew Hoops 0817a02a7d MOHAWK: Use setStopTime() 2012-08-12 01:22:47 -04:00
Matthew Hoops 991710d0a1 VIDEO: Adapt QuickTimeDecoder to the AdvancedVideoDecoder API 2012-07-27 11:32:51 -04:00
Johannes Schickel d214391431 MOHAWK: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:59 +02:00
Matthew Hoops 3324aef8d0 MOHAWK: Make sure we convert video surfaces if they're not in the screen format 2012-06-11 23:14:26 -04:00
Matthew Hoops d67f9b89f2 MOHAWK: Use video volume control in Riven 2012-05-28 14:05:17 -04:00
Matthew Hoops 9e330174c8 VIDEO: Change getElapsedTime() into getTime()
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-05-12 21:28:13 -04:00
Matthew Hoops 29f7cc33fb MOHAWK: Use Surface::convertTo() for video 8bpp->true color conversion 2012-03-20 01:06:47 +01:00
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Matthew Hoops 8cd55a11a0 MOHAWK: Fix Stoneship's hologram projector 2011-12-12 12:28:48 -05:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Matthew Hoops 5174832e31 MOHAWK: Finish implementation of Riven's storeMovieOpcode opcode 2011-06-14 10:36:49 -04:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel 71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel ca240b4936 MOHAWK: Do not access Surface::bytesPerPixel anymore. 2011-04-17 20:58:07 +02:00
Johannes Schickel fedd4d7809 MOHAWK: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:30:02 +02:00