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
Alejandro Marzini
33e40e1a20
Merged from trunk, from r51495 to r51775
...
svn-id: r51776
2010-08-06 03:21:21 +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
Alejandro Marzini
fb4086cadb
Merged from trunk, from Rev 50841 to HEAD
...
svn-id: r51495
2010-07-30 05:28:09 +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
Alejandro Marzini
609e08d5db
Merged from trunk, from Rev 49499 to HEAD
...
svn-id: r50840
2010-07-13 04:31:15 +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
Max Horn
bbad3f333a
Patch #1956501 : "GUI/LAUNCHER: Midi device selection"
...
svn-id: r50128
2010-06-21 21:36:36 +00:00
Eugene Sandulenko
44a39ffbc6
AdvancedDetector: Add new parameter directoryGlobs.
...
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.
svn-id: r49788
2010-06-15 10:59:23 +00:00
Eugene Sandulenko
977b1561d4
Split out detection tables for Gob engine
...
svn-id: r49692
2010-06-15 10:14:38 +00:00
Alejandro Marzini
e1ef3cd9fc
Renamed getAudioCD to getAudioCDManager.
...
svn-id: r49678
2010-06-15 04:13:12 +00:00
Eugene Sandulenko
4d517ed0e9
Extended advancedDetector with depth parameter.
...
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.
svn-id: r49653
2010-06-14 14:50:23 +00:00
Alejandro Marzini
e991cd8c53
- Revised abstract AudioCDManager.
...
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.
svn-id: r49548
2010-06-09 20:09:57 +00:00
Johannes Schickel
cbbb78d9f2
Enforce conversion formatting on pointer casts in the DEV code.
...
svn-id: r49068
2010-05-17 22:46:53 +00:00
Max Horn
2149a2383d
Reduce indirect header dependencies further
...
svn-id: r48936
2010-05-04 12:00:16 +00:00
Max Horn
970745e60c
Move DebugChannel related code to new header
...
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
b3e404109c
Move initGraphics and initCommonGFX from to new header.
...
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.
svn-id: r48934
2010-05-04 11:58:12 +00:00
Sven Hesse
89c0e30ddc
Only draw letters that actually fit on the surface. Should fix bug #2992268 (Reproducible crash creating Intuition formula)
...
svn-id: r48829
2010-04-28 19:14:20 +00:00
Max Horn
460d69e885
COMMON: Move DebugChannel stuff into a new DebugMan singleton
...
svn-id: r48821
2010-04-27 21:40:52 +00:00
Arnaud Boutonné
8275b3e13b
Fix warning using GCC 4.5
...
svn-id: r48819
2010-04-27 20:47:06 +00:00
Ori Avtalion
2fc9d6845b
Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew language
...
svn-id: r48645
2010-04-12 21:21:06 +00:00
Max Horn
a1840bd573
AUDIO: Rename Mixer::playInputStream to playStream
...
svn-id: r48637
2010-04-12 09:14:17 +00:00
Arnaud Boutonné
9fbf1a113c
Add detection for an English ADI2 environment disk (for Amiga)
...
svn-id: r48580
2010-04-07 06:46:50 +00:00
Max Horn
d78dba3bca
COMMON: Move Common::RandomSource to common/random.*
...
svn-id: r48279
2010-03-18 15:07:11 +00:00
Arnaud Boutonné
80a8111193
Use resSize instead of computing its value again.
...
svn-id: r48274
2010-03-17 20:29:26 +00:00
Arnaud Boutonné
072e3806f1
Add detection for Adiboo 2.14. Specify the exact version of a Adi 4.0
...
svn-id: r48273
2010-03-16 19:59:12 +00:00
Sven Hesse
8191092c18
Loading the intro videos tira.imd and tirb.imd as early PreIMD
...
svn-id: r48235
2010-03-11 06:15:51 +00:00
Sven Hesse
c8d5f21010
Adding support for the early Fascination IMD format
...
svn-id: r48234
2010-03-11 06:15:23 +00:00
Torbjörn Andersson
65585f6433
Silenced some harmless cppcheck warnings about unreachable code after a return.
...
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.
svn-id: r48218
2010-03-10 06:39:23 +00:00
Arnaud Boutonné
a5a8b6c19f
- Reorder detection (floppy, CD, demos).
...
- Move Gob3CD _doSubtitles initialization to updateConfig().
svn-id: r48171
2010-03-06 22:40:55 +00:00
Arnaud Boutonné
cb71fd7240
Playtoons - Add MD5s specified by scoriae in the forums
...
svn-id: r48168
2010-03-06 09:46:42 +00:00
Arnaud Boutonné
e011df1f68
Gob3CD - Move subtitle check to initialization
...
svn-id: r48167
2010-03-06 09:37:03 +00:00
Arnaud Boutonné
e869b5c7e6
Gob3 CD - some texts are skipped in the CD version because they are considered as subtitles. Even if this behavior is also found in the original, it's incorrect. This fixes those texts (see newspaper after death level).
...
svn-id: r48166
2010-03-06 00:35:27 +00:00