40001 Commits

Author SHA1 Message Date
Sven Hesse
74bec1696b VIDEO: Implement VMDDecoder::seek()
svn-id: r51901
2010-08-08 00:58:29 +00:00
Sven Hesse
f447ddb36a VIDEO: Fix compilation after the VideoDecoder::load signature change in r51725
svn-id: r51900
2010-08-08 00:58:00 +00:00
Sven Hesse
b13afba053 VIDEO: Implement embedded file handling for VMDs
svn-id: r51899
2010-08-08 00:57:27 +00:00
Sven Hesse
41f5d78128 VIDEO: Implement VMD loading
svn-id: r51898
2010-08-08 00:56:58 +00:00
Sven Hesse
d081c2e20f VIDEO: Move the frame calculation out of seek()
svn-id: r51897
2010-08-08 00:56:29 +00:00
Sven Hesse
1f63009426 VIDEO/GOB: Stubb VMDDecoder
svn-id: r51896
2010-08-08 00:56:04 +00:00
Sven Hesse
bab55f3a1d GOB: Adapt the remaining bits to the new VideoPlayer interface
svn-id: r51895
2010-08-08 00:55:27 +00:00
Sven Hesse
a2847e853b GOB: Make o6_loadCursor use the new VideoPlayer interface
svn-id: r51894
2010-08-08 00:54:52 +00:00
Sven Hesse
424e802bb9 GOB: Add copyFrame
svn-id: r51893
2010-08-08 00:54:24 +00:00
Sven Hesse
3c5e02900f VIDEO: Add getSurface
svn-id: r51892
2010-08-08 00:53:55 +00:00
Sven Hesse
3295d6ec6b GOB: Make o6_playVmdOrMusic use the new VideoPlayer interface
svn-id: r51891
2010-08-08 00:53:27 +00:00
Sven Hesse
6ebec969c5 VIDEO: Fix deLZ77'ing video data directly onto the video surface
svn-id: r51890
2010-08-08 00:52:59 +00:00
Sven Hesse
a57e53c986 VIDEO: Add some comments, fix a style issue
svn-id: r51888
2010-08-08 00:52:30 +00:00
Sven Hesse
f61a3c5315 GOB: Fix videos with the kNoVideo flag
svn-id: r51887
2010-08-08 00:52:01 +00:00
Sven Hesse
66aeee8ddc VIDEO: Don't crash when sound is disabled :P
svn-id: r51886
2010-08-08 00:51:33 +00:00
Sven Hesse
285ba14e23 GOB: Make the demoplayer use the new VideoPlayer interface
svn-id: r51885
2010-08-08 00:51:09 +00:00
Sven Hesse
0cf837c1af VIDEO: renderBlockWhole2Y still works
svn-id: r51884
2010-08-08 00:50:35 +00:00
Sven Hesse
c812fedb5d GOB: Fix another another with continuing videos
svn-id: r51883
2010-08-08 00:50:12 +00:00
Sven Hesse
f2e5eb78bb GOB: Play 23 frames backwards, not back to frame 23
svn-id: r51882
2010-08-08 00:49:38 +00:00
Sven Hesse
d1d772367b VIDEO: Fix another IMD seek issue
svn-id: r51881
2010-08-08 00:49:15 +00:00
Sven Hesse
688ae2bfff GOB: Another VideoPlayer interface adaption
svn-id: r51880
2010-08-08 00:48:51 +00:00
Sven Hesse
8a09b25f7b GOB: Make the Bargon Attack intro use the new VideoPlayer interface
svn-id: r51879
2010-08-08 00:48:23 +00:00
Sven Hesse
7fe406a5dd GOB: Fix video continuing
svn-id: r51878
2010-08-08 00:47:54 +00:00
Sven Hesse
53b67deaf0 VIDEO: Fix another IMD seek issue
svn-id: r51877
2010-08-08 00:47:25 +00:00
Sven Hesse
8f621b3d2c GOB: Make o4_playVmdOrMusic use the new VideoPlayer interface
svn-id: r51876
2010-08-08 00:46:57 +00:00
Sven Hesse
737ef02707 VIDEO/GOB: Stub hasEmbeddedFile / getEmbeddedFile
Stubbing CoktelDecoder::hasEmbeddedFile() and
CoktelDecoder::getEmbeddedFile(), formerly hasExtraData/getExtraData.

svn-id: r51875
2010-08-08 00:46:34 +00:00
Sven Hesse
933ffcaa60 VIDEO: Make getFrameRate() protected again
svn-id: r51874
2010-08-08 00:45:58 +00:00
Sven Hesse
f956f059e3 GOB: Minor cleanup
svn-id: r51873
2010-08-08 00:45:27 +00:00
Sven Hesse
61739bc180 GOB: Fix video workaround detection
svn-id: r51872
2010-08-08 00:44:56 +00:00
Sven Hesse
2296aad042 VIDEO/GOB: Fix IMD playing
Fix IMD playing for some fringe cases, especially when seeking
beforehand.

svn-id: r51871
2010-08-08 00:44:33 +00:00
Sven Hesse
2bcc02a27a VIDEO/GOB: Fixing the frame rate for mult'd videos.
In the gob engine, some videos are opened, and then played, at
a later time, one frame at a time. In this case, we need to
emulate the original's video player's behaviour, not calculating
any "lag" for videos without sound.

svn-id: r51870
2010-08-08 00:44:05 +00:00
Sven Hesse
6e5518271b GOB: Use the new VideoPlayer interface for coktel.imd
svn-id: r51869
2010-08-08 00:43:45 +00:00
Sven Hesse
a824bcefaa GOB: Make playImd() use the new VideoPlayer interface
svn-id: r51868
2010-08-08 00:43:22 +00:00
Sven Hesse
fecbdf60a9 VIDEO/GOB: Implement IMD frame rendering
svn-id: r51867
2010-08-08 00:42:59 +00:00
Sven Hesse
6172fe8ea7 VIDEO/GOB: Implement IMD frame decoding
Rendering the frame video data is still stubbed out.

svn-id: r51866
2010-08-08 00:42:30 +00:00
Sven Hesse
f19be90c37 VIDEO/GOB: Implement IMD loading
svn-id: r51865
2010-08-08 00:41:56 +00:00
Sven Hesse
31ecaa5275 GOB: Make o2_playImd use the new VideoPlayer interface
svn-id: r51864
2010-08-08 00:41:22 +00:00
Sven Hesse
160172d0e8 GOB: Hook the new IMDDecoder into VideoPlayer
svn-id: r51863
2010-08-08 00:40:52 +00:00
Sven Hesse
dcf8298a75 VIDEO: Stub IMDDecoder
svn-id: r51862
2010-08-08 00:40:24 +00:00
Sven Hesse
bb746b5b61 GOB: Properly utilize FixedRateVideoDecoder::getTimeToNextFrame()
svn-id: r51861
2010-08-08 00:40:00 +00:00
Sven Hesse
aa113e5ab3 VIDEO: Add CoktelDecoder::setFrameRate().
Allows client code to overwrite the video's frame rate.

svn-id: r51860
2010-08-08 00:39:32 +00:00
Sven Hesse
f7363fdb10 VIDEO/GOB: Add CoktelDecoder::getDirtyRects()
This allows for the client code to only update the parts of the
video frames that actually changed.

svn-id: r51859
2010-08-08 00:39:03 +00:00
Sven Hesse
12c9e895b5 VIDEO/GOB: Add CoktelDecoder::setXY()
This allows for positioning the video within the video memory.

svn-id: r51858
2010-08-08 00:38:26 +00:00
Sven Hesse
9255d2e217 VIDEO/GOB: Add setSurfaceMemory() to CoktelDecoder
This allows the video player to directly draw onto its own video
memory without having to blit each frame another time.
Will also be needed for proper handling of transparency in Woodruff.

svn-id: r51857
2010-08-08 00:37:52 +00:00
Sven Hesse
863872216f GOB: Basic video playback using the new interface
Implement basic video playback using the new VideoPlayer interface.
Still quite stubby, still lots of stuff missing.

svn-id: r51856
2010-08-08 00:37:19 +00:00
Sven Hesse
9c2172b901 GOB: Fix an copy&paste error
Fixing an accidentally overwritten video file name

svn-id: r51855
2010-08-08 00:36:47 +00:00
Sven Hesse
167c6e8787 VIDEO: Bare PreIMD decoding
Implemented bare PreIMD decoding using the new CoktelDecoder interface.
No fancy stuff yet, only basic vieo frames.

svn-id: r51854
2010-08-08 00:36:19 +00:00
Sven Hesse
59b9b3bc2b GOB: Implement the new VideoPlayer::openVideo function further
svn-id: r51853
2010-08-08 00:35:50 +00:00
Sven Hesse
4415953393 GOB: Add constants for different surfaces/sprites
Add
static const int kFrontSurface   = 20;
static const int kBackSurface    = 21;
static const int kAnimSurface    = 22;
static const int kCursorSurface  = 23;
static const int kCaptureSurface = 30;
to class Draw and substitute the raw numbers in other files with
those aliases, for readability.

svn-id: r51852
2010-08-08 00:35:18 +00:00
Sven Hesse
f8a43ee35f GOB: Stub the new VideoPlayer interface
This is will be the new, less convoluted interface for playing videos
within the gob engine. No actual functionality is implemented yet, and
old functions are mostly commented out for now.

svn-id: r51851
2010-08-08 00:34:33 +00:00