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
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Sven Hesse
4d3a4a85f6
Rotating the object backwards in the magnifing view works now
...
svn-id: r35396
2008-12-16 20:21:29 +00:00
Sven Hesse
c45f149ea1
First step at getting the magnifier and memory view corrected
...
svn-id: r35389
2008-12-16 02:57:48 +00:00
Sven Hesse
6b043aa05b
Support for Urban Runner's new cursors (frames out of 16bit color VMDs)
...
svn-id: r35376
2008-12-15 05:16:23 +00:00
Sven Hesse
bbe6ff006e
Music/Video handling fixes/stubs
...
svn-id: r35351
2008-12-14 03:08:02 +00:00
Sven Hesse
c7fa7f888a
On second thought, an octree only works if the color to look up is in the palette.
...
So using a table-based approach to find the nearest color now, using only the upper 6 bits to stop the table from getting too large. It still takes noticeable time to build it. :/
But as a result, the video actually looks okay now...
svn-id: r35298
2008-12-11 03:06:43 +00:00
Sven Hesse
99322bf68f
Experimental support for VMD frames encoded in Indeo 3 (Indeo 3 decoder closely based on the one in ffmpeg).
...
Since Indeo 3 uses full 24bit colors (in YUV-space), frame data is mapped to the current palette (using an octree, should be the fasted way, methinks) and dithered with the Sierra-2-4A ("Filter Light") error distribution algorithm.
svn-id: r35290
2008-12-09 14:56:33 +00:00
Sven Hesse
bc5f25b5a0
Evaluating kFeaturesPalette flag for VMDs. Now you can actually see something in Urban Runner (though it's far from pretty)
...
svn-id: r35249
2008-12-05 18:47:50 +00:00
Sven Hesse
5d9c8b7c47
Changing the GobEngine to use its dirty rects also for OSystem-copies, instead of relying on kFeatureAutoComputeDirtyRects
...
svn-id: r35239
2008-12-04 18:38:55 +00:00
Sven Hesse
353a239bdb
Preliminary support for extra data and scripts in video files (urgh, this is so...vile).
...
Used in The Last Dynasty, which now plays a bit further (the video sequences, at least)
svn-id: r35227
2008-12-03 22:14:47 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page
30b1a62e81
Removed unnecessary #inlcudes
...
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0
Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
...
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
a43f016b94
GOB works with the new GMM implementation
...
svn-id: r32955
2008-07-08 00:16:55 +00:00
Christopher Page
c14804e22f
Added main menu dialog files. Gob is now using the new _quit flag
...
svn-id: r32771
2008-06-24 23:19:23 +00:00
Sven Hesse
0c6c7de355
Fixed a palette issue in Lost in Time
...
svn-id: r32738
2008-06-19 22:54:17 +00:00
Sven Hesse
8da68b2964
Script variables are now always stored in the game version's native endianess.
...
This should make Woodruff playable on big-endian systems.
svn-id: r32352
2008-05-28 21:15:11 +00:00
Sven Hesse
3f4d22338e
Fixing Bug #1970111 ("WOODRUFF: Close Up not erased")
...
svn-id: r32266
2008-05-25 06:25:16 +00:00
Sven Hesse
62d0a0d1d1
Implemented GobEngine::pauseEngineIntern()
...
svn-id: r32233
2008-05-23 20:40:28 +00:00
Sven Hesse
bfff91b172
Reverting my last commit, as it breaks Gob3 (and probably elsewhere, too)
...
svn-id: r32214
2008-05-22 18:30:29 +00:00
Sven Hesse
6a54cbc4eb
Fixing the flickering when changing from object animations to videos
...
svn-id: r32213
2008-05-22 17:33:31 +00:00
Sven Hesse
ec763c4be9
This fixes the messed-up palette after levitating in Bigwig's place in Woodruff.
...
I hope it doesn't break anything else, though...
svn-id: r32159
2008-05-17 19:26:10 +00:00
Sven Hesse
aac4786bbe
This should fix the video not closing / chunk slot clogging bug (Yeah, I'm apparently stupid *g*)
...
svn-id: r32131
2008-05-14 23:58:26 +00:00
Sven Hesse
18db41db50
Implemented the background "music" / atmospheric sounds in Woodruff
...
svn-id: r31949
2008-05-08 15:51:02 +00:00
Sven Hesse
9d5eea2d2c
Sound in object videos works now, too
...
svn-id: r31916
2008-05-07 03:49:53 +00:00
Sven Hesse
a666136b8e
Fixing object video related segfault
...
svn-id: r31797
2008-05-01 18:38:36 +00:00
Sven Hesse
455a167b9d
Fixing the object video offsets
...
svn-id: r31795
2008-05-01 03:00:51 +00:00
Sven Hesse
ab1a3b0cc8
Implemented support for VMDs substituting object animations.
...
Still far from being complete (and correct), but it's a start...
- Only VMD "command" -3 is followed
- Not all animation types are working
- Timing is still off in most cases
- Offsets are generally OK, but not always
- No sound yet
- Shouldn't segfault randomly, but I'm not entirely sure ;)
svn-id: r31750
2008-04-27 03:19:19 +00:00
Sven Hesse
85b61f3d10
Fixing my Lost in Time fixes
...
svn-id: r31020
2008-03-01 15:13:06 +00:00
Sven Hesse
5878f701c1
Fixed some Lost in Time bugs:
...
- CD cutscenes are drawn correctly know
- CD cutscenes are (more) correctly synced now
- The cursor doesn't flicker anymore when a video is played in the background
svn-id: r31014
2008-02-29 22:24:52 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Torbjörn Andersson
b6017da9e2
Always update the video's position, even if it's already been loaded, because
...
it won't necessarily be played at the same position every time. For instance,
in Lost in Time you can look at the captain's chair several times. The position
of the video seems to depend on exactly where on the screen you clicked.
svn-id: r28668
2007-08-19 19:07:31 +00:00
Sven Hesse
e7e26ad767
The talking videos work a bit better now. The sync and coordinates are still screwy
...
svn-id: r28604
2007-08-14 00:42:32 +00:00
Sven Hesse
5bacb6edee
Woodruff is now controllable
...
svn-id: r28591
2007-08-13 14:04:50 +00:00
Torbjörn Andersson
d7b6f0ecc8
Clear _curFile in closeVideo(). This fixes a regression in Lost in Time, where
...
the screen would go blank after closing the notebook.
svn-id: r28567
2007-08-12 18:15:54 +00:00
Sven Hesse
771741647d
This should fix bug #1770655 and another one eriktorbjorn experienced in the CD version of Lost in Time in one go! :D
...
svn-id: r28535
2007-08-11 20:55:43 +00:00
Sven Hesse
2e9ca7bf85
Still partly broken/stubby VMD playing
...
svn-id: r28363
2007-07-31 18:16:33 +00:00
Sven Hesse
4c2ec23de7
Added a few stub messages
...
svn-id: r28333
2007-07-30 18:35:16 +00:00
Sven Hesse
f06f150c76
Restructured and cleaned-up IMD playing
...
svn-id: r28327
2007-07-30 15:53:38 +00:00