Commit Graph
86814 Commits
Author SHA1 Message Date
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
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
Sven Hesse b5b47d50c8 VIDEO: Make Indeo3 a proper video codec
This way, Indeo3 is properly usable in various container VideoDecoder,
for example AVI, and not just VMD.
Since VMD is not yet ready for this, we're disabling Indeo3 in VMDs
for now.

svn-id: r51849
2010-08-08 00:33:13 +00:00
Tony Puccinelli 924c4e0c06 removed gp2x-wiz plugin provider from backends/module.mk
svn-id: r51847
2010-08-07 22:42:12 +00:00
Tony Puccinelli 9cf5dedca5 got rid of rest of leftover stuff from GP2X-WIZ elf-loader attempt
svn-id: r51846
2010-08-07 22:30:18 +00:00
Tony Puccinelli de1e941370 refined constructors, removed destructors, got rid of unneccessary method duplication in DLObject and its subtypes
svn-id: r51845
2010-08-07 22:27:23 +00:00
Tony Puccinelli 68b986545a added necessary files I forgot to commit yesterday (whoops...) for mips and arm loaders
svn-id: r51843
2010-08-07 21:47:50 +00:00
Neeraj Kumar 37d28b35b9 TESTBED: added checks to make sure the object is acquired before use, fixed a typo
svn-id: r51841
2010-08-07 21:01:31 +00:00
Neeraj Kumar dab72c519c TESTBED: fixed default disabling of FS testsuite when game data files are not found
svn-id: r51840
2010-08-07 20:35:50 +00:00
Filippos Karapetis d365b71945 SCI: Turned a warning into an error
svn-id: r51838
2010-08-07 16:42:10 +00:00
Neeraj Kumar a4a28eb16e TESTBED: fix in fs tests
svn-id: r51837
2010-08-07 16:17:12 +00:00
Martin Kiewitz adc243c5ac SCI: changing kBaseSetter behaviour when scaled
fixes lb2 docks issue (bug #3036306)

svn-id: r51835
2010-08-07 15:02:08 +00:00
Florian Kagerer f4d38ccd40 LOL: added english floppy version
svn-id: r51834
2010-08-07 14:38:07 +00:00