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
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
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
Martin Kiewitz
8ddcf3942b
SCI: adding patch for lsl6 issue
...
fixes crashing when dieing at least in german lsl6, caused by temp memory space corruption. Also happened in sierra sci.
svn-id: r51807
2010-08-06 21:51:45 +00:00
Filippos Karapetis
96fd9e6c82
SCI: Added support for scripts that have more than one export table. Fixes bug #3039785 - "Conquests of Camelot: Crash in Glastonbury Tor"
...
svn-id: r51805
2010-08-06 21:21:39 +00:00
Filippos Karapetis
d0ff92e2a0
SCI: Fixed an off-by one error in the kDoBresen sanity check
...
svn-id: r51804
2010-08-06 21:18:43 +00:00
Filippos Karapetis
346bc3f7e0
SCI: Added a workaround for kAbs to properly support patched scripts by NRS in QFG1VGA. Properly fixes bug #3037218 - "QFG1 VGA: kAbs signature mismatch" (thanks to wjp for his help on this)
...
svn-id: r51799
2010-08-06 20:29:27 +00:00
Martin Kiewitz
7b0a5ec099
SCI: adjusting patch to write 0 instead of 1
...
patch still worked, but 0 was meant to be there thx to lskovlun to point this out
svn-id: r51796
2010-08-06 19:13:19 +00:00
Martin Kiewitz
753c431937
SCI: adding script patching
...
including a patch for hoyle 4 and commenting out the workaround code inside kDisposeWindow
svn-id: r51795
2010-08-06 18:54:58 +00:00
Filippos Karapetis
993c8b70f2
SCI: Fixed script bug #3040469 , "QFG2: Second crash in thief's job"
...
svn-id: r51792
2010-08-06 17:29:17 +00:00
Filippos Karapetis
91753047be
SCI: Fixed script bug #3040565 , "QFG3: Crash when looking at stats"
...
svn-id: r51791
2010-08-06 17:00:23 +00:00
Filippos Karapetis
7c70e488ea
SCI: Fixed script bug #3040624 - "QFG3: Crash after any combat in jungle"
...
svn-id: r51790
2010-08-06 16:43:59 +00:00
Martin Kiewitz
8ca076fb3a
SCI: fixing another warning
...
svn-id: r51789
2010-08-06 15:30:23 +00:00
Martin Kiewitz
afed447b6f
SCI: fix warnings
...
svn-id: r51788
2010-08-06 15:12:03 +00:00
Martin Kiewitz
2a4768401e
SCI: some work on the script patcher
...
signature matching is working (added hoyle 4 signature)
svn-id: r51787
2010-08-06 15:06:42 +00:00
Filippos Karapetis
eb112d6711
SCI: Rewrote the Mother Goose workaround to be like the others, some cleanup
...
svn-id: r51786
2010-08-06 15:05:05 +00:00
Willem Jan Palenstijn
4d03efe855
SCI: Fix whitespace
...
svn-id: r51785
2010-08-06 14:54:00 +00:00
Martin Kiewitz
9013c15480
SCI: properly implementing qfg2 astrologer workaround
...
svn-id: r51783
2010-08-06 11:45:32 +00:00