Sven Hesse
1151676d82
VIDEO: Use proper palettes in CoktelDecoder
...
Not just the 6 bits per color component used in VGA
svn-id: r51921
2010-08-08 01:08:17 +00:00
Sven Hesse
dc3a417699
VIDEO: Change the mixer parameter from a reference to a pointer
...
To match the other VideoDecoder classes with sound support.
svn-id: r51919
2010-08-08 01:07:17 +00:00
Sven Hesse
f7c23d28e7
GOB: Reactivate the Coh-Cott-workaround
...
svn-id: r51918
2010-08-08 01:06:44 +00:00
Sven Hesse
a78ddb8488
GOB: Handle VMD subtitles again
...
svn-id: r51916
2010-08-08 01:05:46 +00:00
Sven Hesse
e6f5785436
GOB: Fix a VMD slot seeking regression
...
svn-id: r51914
2010-08-08 01:04:46 +00:00
Sven Hesse
f40b128bd9
GOB: Partly fixing VMD slot playing
...
svn-id: r51913
2010-08-08 01:04:19 +00:00
Sven Hesse
cebc1aca81
GOB: Fix playing of slot videos
...
The actual frame content is still not there, though :P
svn-id: r51911
2010-08-08 01:03:21 +00:00
Sven Hesse
5dc322454d
GOB: Fix playing of sound VMDs with a starting frame != 0
...
svn-id: r51910
2010-08-08 01:02:49 +00:00
Sven Hesse
945103a43c
VIDEO/GOB: Implement and use CoktelDecoder::getFrameCoords()
...
svn-id: r51909
2010-08-08 01:02:19 +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
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
3295d6ec6b
GOB: Make o6_playVmdOrMusic use the new VideoPlayer interface
...
svn-id: r51891
2010-08-08 00:53:27 +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
f2e5eb78bb
GOB: Play 23 frames backwards, not back to frame 23
...
svn-id: r51882
2010-08-08 00:49:38 +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
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
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
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
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
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
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
Sven Hesse
7424d39a98
GOB: Respect mute option on startup (bug #3032781 )
...
svn-id: r51379
2010-07-27 17:14:33 +00:00
Torbjörn Andersson
30a92bec6b
Removed unused variables.
...
svn-id: r50947
2010-07-16 23:02:17 +00:00
David Turner
59f4c903a6
GOB : Adding workaround for Bug #3018918 UOTODDV Reload Goblin Stuck Issue.
...
This was present in the original interpreter.
svn-id: r50480
2010-06-29 03:53:06 +00:00
Florian Kagerer
3962f8ba59
AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)
...
svn-id: r50281
2010-06-25 18:47:52 +00:00
Arnaud Boutonné
9a3ef9b8e1
Initialize properly paramCount in gob1. This fixes several valgrind errors, and the unknown opcodes are now skipped as expected. (related to bug #3018918 , only partially solved)
...
svn-id: r50209
2010-06-24 11:50:25 +00:00