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
Filippos Karapetis
d365b71945
SCI: Turned a warning into an error
...
svn-id: r51838
2010-08-07 16:42:10 +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
Martin Kiewitz
d2d22de911
SCI: removing kDoBresen hack for sq5
...
adding detailed comment about sq5 scrubbing issue
not 100% fixed (waltervn should look into it), but at least it works now
svn-id: r51833
2010-08-07 13:56:31 +00:00
Martin Kiewitz
1c1eff9ec5
SCI: adding sq5 scrubbing patch
...
(for testing only, i'm not sure if it works because i'm unable to reproduce the bug anymore)
svn-id: r51832
2010-08-07 13:40:14 +00:00
Filippos Karapetis
9aa3f25499
SCI: Improve output when VM_DEBUG_SEND is set
...
svn-id: r51831
2010-08-07 12:36:17 +00:00
Neeraj Kumar
8e7cce6e5b
fixed a typo with hotkeys in ButtonWidget
...
svn-id: r51830
2010-08-07 12:13:12 +00:00
Filippos Karapetis
421ac25628
SCI: Added support for the inbuilt leftover parser in XMAS1990
...
svn-id: r51829
2010-08-07 08:59:43 +00:00
Filippos Karapetis
7b7364a80f
SCI: Fixed script bug #3039395 - "KQ5: Crash when opening leather pouch"
...
svn-id: r51823
2010-08-07 01:27:14 +00:00
Filippos Karapetis
978e52379f
SCI: Fixed script bug #3040012 - "PEPPER: Book crash"
...
svn-id: r51822
2010-08-07 01:14:58 +00:00
Filippos Karapetis
ab79d58153
SCI: Fixed script bug #3040142 - "PEPPER: Crash on Pugh's office"
...
svn-id: r51821
2010-08-07 01:09:32 +00:00
Filippos Karapetis
0cb8e130d8
SCI: Changed a warning into a debugC
...
svn-id: r51820
2010-08-07 00:59:40 +00:00
Filippos Karapetis
53474618ac
SCI: Fixed script bug #3039036 - "Castle of Dr. Brain: Crash at robot jokes"
...
svn-id: r51817
2010-08-07 00:34:38 +00:00
Filippos Karapetis
7935ebf4a3
SCI: Converted an error back into a warning when loading games
...
svn-id: r51816
2010-08-07 00:22:57 +00:00
Filippos Karapetis
cb0aa86798
SCI: Fixed 2 SQ1 script bugs ( #3040894 and #3040905 )
...
svn-id: r51815
2010-08-06 23:56:19 +00:00
Filippos Karapetis
ab0d57d73d
SCI: Some cleanup of the script patch code. Added a PATCH_MAGICDWORD define to make the patch tables easier to understand
...
svn-id: r51811
2010-08-06 22:51:25 +00:00
Filippos Karapetis
57fd588327
SCI: Split the new script patch code in a separate file
...
svn-id: r51810
2010-08-06 22:36:46 +00:00
Martin Kiewitz
dfe4c8d9a0
SCI: fixing typo
...
svn-id: r51809
2010-08-06 22:14:38 +00:00
Filippos Karapetis
92dfff36bf
SCI: Fixed script bug #3040844 - "QFG3: Crash near the end"
...
svn-id: r51808
2010-08-06 21:52:16 +00:00