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
424e802bb9
GOB: Add copyFrame
...
svn-id: r51893
2010-08-08 00:54:24 +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
285ba14e23
GOB: Make the demoplayer use the new VideoPlayer interface
...
svn-id: r51885
2010-08-08 00:51:09 +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
7fe406a5dd
GOB: Fix video continuing
...
svn-id: r51878
2010-08-08 00:47:54 +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
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
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
bb746b5b61
GOB: Properly utilize FixedRateVideoDecoder::getTimeToNextFrame()
...
svn-id: r51861
2010-08-08 00:40:00 +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
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
Sven Hesse
a802e1e64f
VIDEO: Stub a VideoDecoder-like CoktelDecoder
...
This creates a new CoktelDecoder class using the VideoDecoder
interface, which will eventually become the new way to decode
PreIMD, IMD and VMD videos.
Since the VideoPlayer in gob is not yet ready for this, we're
disabling all video playback in the gob engine for now.
svn-id: r51850
2010-08-08 00:33:59 +00:00
Max Horn
0e2807dc27
GRAPHICS: Change signature of VideoDecoder::load()
...
Now takes a pointer to a stream, instead of a reference.
The rational is that in all instances, callers have a pointer
(and dereference it to call load), and all load implementations
turn the reference back into a pointer.
svn-id: r51725
2010-08-04 08:25:05 +00:00
Johannes Schickel
cbbb78d9f2
Enforce conversion formatting on pointer casts in the DEV code.
...
svn-id: r49068
2010-05-17 22:46:53 +00:00
Sven Hesse
c8d5f21010
Adding support for the early Fascination IMD format
...
svn-id: r48234
2010-03-11 06:15:23 +00:00
Arnaud Boutonné
ee9273b3c0
Gob - Fix animations without extension
...
svn-id: r45352
2009-10-23 21:48:28 +00:00
Arnaud Boutonné
b7c6ae3f74
gob - Cleanup of previous modification
...
svn-id: r45228
2009-10-18 17:28:02 +00:00
Arnaud Boutonné
e392f939b6
gob - "Windows" Gob3 has errors in scripts, calling .IMD videos instead of .VMD ones. This modification fixes that.
...
svn-id: r45226
2009-10-18 16:59:33 +00:00
Arnaud Boutonné
833ff0ccb7
Add another extension: SMD
...
svn-id: r43707
2009-08-24 21:33:35 +00:00
Sven Hesse
1471f0e3dd
When ESCing videos, seek to the last frame that was meant to be played. Fixes graphical glitches (bug #2830985 ) and crashes (bug #2830988 )
...
svn-id: r42995
2009-08-02 10:40:27 +00:00
Sven Hesse
3668895abc
CoktelVideo cleanup: Splitting up some IMD methods and removing the obsolete notifyPaused()
...
svn-id: r42715
2009-07-24 21:36:42 +00:00
Sven Hesse
c4baedc6db
Renaming getAnchor() to getFrameCoords()
...
svn-id: r42713
2009-07-24 21:35:57 +00:00
Sven Hesse
adc537161a
Adding subtitle support to Woodruff
...
svn-id: r42705
2009-07-24 21:31:00 +00:00
Sven Hesse
025702ba40
/Finally/ fixing the longstanding flicker bug in Woodruff. I was completely mistaken about its cause, too
...
svn-id: r42572
2009-07-17 20:03:41 +00:00
Sven Hesse
df52a5d58e
Adding a workaround for the vanishing Coh Cott bug ( #1972466 ), which is actually an error in that video file
...
svn-id: r42570
2009-07-17 19:22:12 +00:00
Sven Hesse
e861fab808
Added a Key and ShortKey enum
...
svn-id: r42121
2009-07-05 11:27:11 +00:00
Sven Hesse
dd9e62e31e
Adding DataIO::existData()
...
svn-id: r41752
2009-06-22 10:12:33 +00:00
Sven Hesse
9f3a628ad5
Fixing the demoplayer's auto double mode and added a REBASE0 option that sets the video's X and Y coordinates to 0,0
...
svn-id: r41307
2009-06-06 21:45:47 +00:00
Sven Hesse
ebc9e38ed0
Fixing the Woodruff intro: Using a flag that's /not/ already used be the scripts
...
svn-id: r41306
2009-06-06 21:41:22 +00:00
Max Horn
0989bb0b90
GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
...
svn-id: r41299
2009-06-06 20:03:13 +00:00
Sven Hesse
2901694486
Demoplayer:
...
- Fixing the flawed double mode
- Adding an "auto" double mode, where the videos get scaled if possible
svn-id: r41294
2009-06-06 19:06:47 +00:00
Sven Hesse
cc07d7aeec
Fixing a regression in the VideoPlayer, introduced by Fingolfin in r41077
...
svn-id: r41088
2009-05-31 23:49:37 +00:00
Max Horn
400d2b10af
GOB: Replaced many uses of strdupcpy by Common::String
...
svn-id: r41077
2009-05-31 16:59:45 +00:00
Sven Hesse
10b1b28610
Splitting a few helper functions out of gob.h
...
svn-id: r40765
2009-05-21 17:12:33 +00:00
Sven Hesse
43f58b2869
Moving CoktelVideo (IMD/VMD) and the Indeo3 code (needed for Urban Runner's VMDs) to graphics/video/
...
svn-id: r40744
2009-05-20 20:41:10 +00:00
Sven Hesse
ae46e8e1ca
Adding a strdup-like inline function
...
svn-id: r40216
2009-04-30 15:57:10 +00:00
Sven Hesse
d0c88ca6a0
Playing half-sized videos fullscreen in the demoplayer
...
svn-id: r40211
2009-04-29 19:58:43 +00:00
Sven Hesse
d8972c3f2c
The video now works correctly in the non-interactive Urban Runner demo
...
svn-id: r40128
2009-04-24 21:30:40 +00:00