Torbjörn Andersson
8f8185f035
Major revamping of the BS2 memory manager and, some small changes to the
...
resource manager. All new code! All new bugs!
svn-id: r13603
2004-04-23 07:02:11 +00:00
Torbjörn Andersson
afefe7dcfa
Use the binary .pal file format that was introduced for 0.6.0.
...
Invalidate the lookup table when the screen changes. (TODO: We also have to
invalidate it if the change happens between cutscenes, don't we?)
Some cleanup, particularly in the BS2 cutscene player. More needed, I
guess...
svn-id: r13377
2004-03-24 07:29:59 +00:00
Max Horn
3fddbc18d6
Unify MPEG2 code even more
...
svn-id: r13365
2004-03-23 00:10:18 +00:00
Max Horn
d24be923f3
share 'init' method, too
...
svn-id: r13361
2004-03-22 20:46:30 +00:00
Max Horn
4466a85598
move commong code into separate source file (more could be done, but it's a start)
...
svn-id: r13358
2004-03-22 01:28:45 +00:00
Max Horn
a9789acfc6
Moved Surface/Font code into new 'graphics' module
...
svn-id: r13357
2004-03-21 21:20:25 +00:00
Max Horn
b94448514e
Unify a bit more...
...
svn-id: r13354
2004-03-21 18:49:04 +00:00
Nicolas Bacca
9e1fa63575
Apply patch #907359 : Broken Sword videos improved frameskip
...
svn-id: r13180
2004-03-04 18:54:35 +00:00
James Brown
b77231a9a3
Fix from Roever for bug #892827
...
svn-id: r13107
2004-03-01 04:05:10 +00:00
Max Horn
c6752cccf5
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
...
svn-id: r13087
2004-02-28 12:58:13 +00:00
Torbjörn Andersson
55556c813c
Proper handling of BS2 cutscene lead-outs, plus some other minor fixes.
...
svn-id: r12907
2004-02-15 14:22:54 +00:00
Torbjörn Andersson
7d9105b7ba
Paint the overlay black at the end of the movie. Not all movies fade out on
...
their own, and sometimes the cutscene player will have to wait for the lead
out to finish before returning to the game. (This will probably be true
even after we fix the timing of the lead-outs.)
svn-id: r12871
2004-02-14 10:37:21 +00:00
Torbjörn Andersson
5447cd09b5
Changed the playback code to use the new "elapsed time" function instead.
...
This fixes bug #880484 for me, but may need some fine-tuning.
svn-id: r12830
2004-02-12 16:55:18 +00:00
Torbjörn Andersson
802a301a16
Removed some of the #includes from sword2.h
...
svn-id: r12739
2004-02-05 14:19:07 +00:00
Max Horn
2f8d19d004
avoid using huge static structs - they can't be stripped, and increase the exe size (in this case, 16 MB...)
...
svn-id: r12678
2004-01-30 20:57:23 +00:00
Max Horn
4dab40f123
fix whitespaces (we should eventually try to remove this code duplication again, folks. maybe add a 'video' global module or so...)
...
svn-id: r12676
2004-01-30 20:47:21 +00:00
Torbjörn Andersson
4b9602615c
This should make subtitles work again in "overlay" cutscene mode.
...
svn-id: r12506
2004-01-18 21:09:57 +00:00
James Brown
ad46828d1c
BS1 cutscene support. Also bugfixes (don't crash if cutscene ogg unavailable)
...
svn-id: r12465
2004-01-18 05:52:04 +00:00
James Brown
04f2bc0276
Update BS2 cutscene player with changes from roever: overlay support (default, 8bit backends should define BACKEND_8BIT for fast colour remapping) and sound syncronisation.
...
svn-id: r12456
2004-01-17 14:20:32 +00:00
Paweł Kołodziejski
4270eebbb4
fix compilation for msvc when libmpeg2 enabled
...
svn-id: r12447
2004-01-17 09:15:42 +00:00
Torbjörn Andersson
15738c13d3
I wanted to Valgrind the cutscene code, so I had to fix the warnings about
...
uninitialized values. Now the only warnings I got were from libmpeg2
itself, and I don't know how serious that is.
I've also added some code - disabled by default - to allow the cutscenes to
run with libmpeg 0.3.1, since that's what I've got on my Linux box. It
appears to work on that one, though I only have the "eye" cutscene on it
yet.
Ogg Vorbis playback is still broken for me under Windows, though. I wonder
if it is because I don't have the very latest Ogg Vorbis libraries on it
(since I didn't manage to compile them under MinGW). But surely the file
format hasn't changed in any important way...?
svn-id: r12374
2004-01-14 08:14:25 +00:00
Max Horn
c39aa04c31
cut down pointless header interdependencies
...
svn-id: r12360
2004-01-13 14:22:29 +00:00
Max Horn
34960cf375
Moved some methods into class AnimationState (where they really belong - nicely shown by the fact that now all member vars of AnimationState are private)
...
svn-id: r12359
2004-01-13 14:16:40 +00:00
Torbjörn Andersson
dca14d9532
Some more formatting cleanups. Made the Ogg file handle part of the
...
animation state so that it can be deleted in doneAnimation().
svn-id: r12358
2004-01-13 13:12:40 +00:00
Torbjörn Andersson
8a66ba33cf
Moved the rest of the MoviePlayer class into animation.cpp/.h, plus some
...
minor cleanups. (Mostly spacing and indentation).
Unfortunately the Ogg Vorbis playback causes ScummVM to crash for me, so I
can't say for certain that I didn't break anything.
svn-id: r12356
2004-01-13 10:09:53 +00:00
Max Horn
b04dac03f2
added legal header; fixed incorrect fscanf use; C++ification (the code still is quite Cish, though :-)
...
svn-id: r12351
2004-01-13 01:26:18 +00:00
Travis Howell
9471d58720
Add mpeg2 option to mingw makefile
...
Fix compile on mingw
svn-id: r12350
2004-01-12 23:41:05 +00:00
Paweł Kołodziejski
b8e3dda84c
- whitespaces
...
- fix for compilation at MAX, at include types
- changed to our types
svn-id: r12344
2004-01-12 19:08:04 +00:00
James Brown
a685422a13
Initial libmpeg2 cutscene support based on patch #874510 .
...
Pre-converted cutscenes w/ palette files available - ask LeChuck about Cutscenes :)
svn-id: r12338
2004-01-12 11:11:19 +00:00