Commit graph

58 commits

Author SHA1 Message Date
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
Matthew Hoops
cdc4c3bfa8 MOHAWK: Add a getDuration() function to the VideoManager 2011-03-21 18:27:49 -04:00
Max Horn
d7370f11e4 VIDEO: Remove unused SeekableVideoDecoder::seekToFrame method
svn-id: r55844
2011-02-09 00:14:06 +00:00
Max Horn
85aabef6fe VIDEO: Replace Video::VideoTimestamp with Audio::Timestamp
svn-id: r55814
2011-02-07 22:57:35 +00:00
Max Horn
357c225f64 VIDEO: Rename VideoDecoder::load() to loadStream()
svn-id: r55810
2011-02-07 17:54:16 +00:00
David Turner
8afafd89eb MOHAWK: Fix GCC-3 cast warning.
Seen with a number of buildbot chains.

svn-id: r55718
2011-02-02 14:36:09 +00:00
Bastien Bouclet
67c057dc15 MOHAWK: Allow videos to be paused individually
svn-id: r55576
2011-01-27 21:12:34 +00:00
Matthew Hoops
c81be09bcd MOHAWK: Fix the Riven demo intro sequence (a regression from r55188)
svn-id: r55484
2011-01-23 22:08:14 +00:00
Eugene Sandulenko
caa6684752 VIDEO: Move video classes to Video:: namespace
svn-id: r55479
2011-01-23 19:08:09 +00:00
Eugene Sandulenko
806ccf5d25 GRAPHICS: Move graphics/video/ to video/. Step 1/2
svn-id: r55473
2011-01-23 17:14:43 +00:00
Matthew Hoops
0761ab7b3a MOHAWK: Rename some VideoManager functions so we have some unified naming between versions
svn-id: r55312
2011-01-18 20:30:16 +00:00
Matthew Hoops
da1669c666 MOHAWK: Add a sanity check to waitUntilMovieEnds()
svn-id: r55309
2011-01-18 19:22:48 +00:00
Bastien Bouclet
09c35e99b8 MOHAWK: Implement Myst's clock tower gears puzzle
svn-id: r55253
2011-01-15 19:11:53 +00:00
Alyssa Milburn
311c643c1e MOHAWK: Don't delete the wrong video.
svn-id: r55241
2011-01-14 16:07:46 +00:00
Matthew Hoops
55c0658c8d MOHAWK: Set the system palette on 8bpp videos when in 8bpp mode
svn-id: r55210
2011-01-11 20:35:30 +00:00
Matthew Hoops
ee081dc476 MOHAWK: Adapt the VideoManager to allow for seeking; cleanup
svn-id: r55204
2011-01-11 17:27:43 +00:00
Matthew Hoops
cd6d818ca3 MOHAWK: Cleanup named video handling
svn-id: r55188
2011-01-09 17:26:22 +00:00
Alyssa Milburn
7e5ffb2bcf MOHAWK: Remove sound.h include from resource.h
svn-id: r54988
2010-12-21 18:16:20 +00:00
Matthew Hoops
98a2bc8a9a VIDEO: Remove the need to call updateAudioBuffer() externally for QuickTime
svn-id: r54929
2010-12-16 01:49:29 +00:00
Matthew Hoops
1ead0d8436 VIDEO: Make VideoDecoder::getPalette() return a const byte pointer
svn-id: r54928
2010-12-16 01:41:11 +00:00
Matthew Hoops
375f32fbe9 VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
2010-12-16 01:35:13 +00:00
Alyssa Milburn
32ed3b3582 MOHAWK: Allow background videos to be played/manipulated with resource handles
svn-id: r54843
2010-12-09 21:24:31 +00:00
Max Horn
121056c12f MOHAWK: Pass objs by const ref not by value
svn-id: r54443
2010-11-23 22:32:39 +00:00
Matthew Hoops
0f2bcd2f9f MOHAWK: Cleanup resource handling
- Renamed getRawData() to getResource()
- Add a getResource() and hasResource() function for named resources
- Other minor formatting changes

svn-id: r54396
2010-11-20 23:53:14 +00:00
Matthew Hoops
8a168f028b MOHAWK: Improve support for the Riven Demo
- The exit button now appears and is functional
- The intro movies now play on start up
- Add shortcuts for returning to the menu/playing the intro videos again
- Make the text when hitting a boundary match the original
- Change the wording of the browser button message
- Note: The demo's extras.mhk (not the full game's!) is required now

svn-id: r52509
2010-09-03 19:13:58 +00:00
Matthew Hoops
649e275ca6 MOHAWK: Implement xbookclick
It is now possible to trap Gehn in the trap book. Side note: Riven is now completable from the beginning provided you know the D'ni number system already (and the marble puzzle is just hacked to always work).

svn-id: r52482
2010-09-01 13:28:12 +00:00