Commit Graph

62 Commits

Author SHA1 Message Date
Arnaud Boutonné
ee9273b3c0 Gob - Fix animations without extension
svn-id: r45352
2009-10-23 21:48:28 +00:00
Arnaud Boutonné
b7c6ae3f74 gob - Cleanup of previous modification
svn-id: r45228
2009-10-18 17:28:02 +00:00
Arnaud Boutonné
e392f939b6 gob - "Windows" Gob3 has errors in scripts, calling .IMD videos instead of .VMD ones. This modification fixes that.
svn-id: r45226
2009-10-18 16:59:33 +00:00
Arnaud Boutonné
833ff0ccb7 Add another extension: SMD
svn-id: r43707
2009-08-24 21:33:35 +00:00
Sven Hesse
1471f0e3dd When ESCing videos, seek to the last frame that was meant to be played. Fixes graphical glitches (bug #2830985) and crashes (bug #2830988)
svn-id: r42995
2009-08-02 10:40:27 +00:00
Sven Hesse
3668895abc CoktelVideo cleanup: Splitting up some IMD methods and removing the obsolete notifyPaused()
svn-id: r42715
2009-07-24 21:36:42 +00:00
Sven Hesse
c4baedc6db Renaming getAnchor() to getFrameCoords()
svn-id: r42713
2009-07-24 21:35:57 +00:00
Sven Hesse
adc537161a Adding subtitle support to Woodruff
svn-id: r42705
2009-07-24 21:31:00 +00:00
Sven Hesse
025702ba40 /Finally/ fixing the longstanding flicker bug in Woodruff. I was completely mistaken about its cause, too
svn-id: r42572
2009-07-17 20:03:41 +00:00
Sven Hesse
df52a5d58e Adding a workaround for the vanishing Coh Cott bug (#1972466), which is actually an error in that video file
svn-id: r42570
2009-07-17 19:22:12 +00:00
Sven Hesse
e861fab808 Added a Key and ShortKey enum
svn-id: r42121
2009-07-05 11:27:11 +00:00
Sven Hesse
dd9e62e31e Adding DataIO::existData()
svn-id: r41752
2009-06-22 10:12:33 +00:00
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